media: atomisp: remove returns from void functions
Subsystems (4)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v2 1/1 media: atomisp: remove returns from void functions
Fixed the following checkpath warning on all files:
WARNING: void function return statements are not generally useful.
---
Hey, this is my first patch! Any feedback would be appreciated!
Changes in v2:
- Expanded the fix to cover all files within the driver per maintainer feedback.
--- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 1 - .../host/event_fifo_private.h | 1 - .../pci/hive_isp_css_common/host/fifo_monitor.c | 5 ----- .../host/fifo_monitor_private.h | 3 --- .../atomisp/pci/hive_isp_css_common/host/gdc.c | 2 -- .../pci/hive_isp_css_common/host/gp_device.c | 1 - .../host/gp_device_private.h | 1 - .../pci/hive_isp_css_common/host/gpio_private.h | 1 - .../hive_isp_css_common/host/input_formatter.c | 8 -------- .../host/input_formatter_private.h | 1 - .../atomisp/pci/hive_isp_css_common/host/irq.c | 10 ---------- .../pci/hive_isp_css_common/host/irq_private.h | 1 - .../atomisp/pci/hive_isp_css_common/host/isp.c | 1 - .../pci/hive_isp_css_common/host/isp_private.h | 6 ------ .../atomisp/pci/hive_isp_css_common/host/mmu.c | 2 -- .../pci/hive_isp_css_common/host/sp_private.h | 8 -------- .../pci/hive_isp_css_include/host/mmu_public.h | 1 - drivers/staging/media/atomisp/pci/hmm/hmm_bo.c | 2 -- .../atomisp/pci/isp2400_input_system_private.h | 4 ---- .../atomisp/pci/runtime/binary/src/binary.c | 1 - .../media/atomisp/pci/runtime/bufq/src/bufq.c | 1 - .../pci/runtime/debug/src/ia_css_debug.c | 10 ---------- .../media/atomisp/pci/runtime/frame/src/frame.c | 4 ---- .../media/atomisp/pci/runtime/ifmtr/src/ifmtr.c | 2 -- .../pci/runtime/inputfifo/src/inputfifo.c | 17 ----------------- .../media/atomisp/pci/runtime/isys/src/rx.c | 8 -------- drivers/staging/media/atomisp/pci/sh_css.c | 4 ---- .../media/atomisp/pci/sh_css_param_dvs.c | 1 - 28 files changed, 107 deletions(-)
drivers/staging/media/atomisp/pci/atomisp_cmd.c +0 -1
@@ -1415,7 +1415,6 @@ static void atomisp_update_grid_info(struct atomisp_sub_device *asd, err:atomisp_css_free_stat_buffers (asd); -return ; } static void atomisp_curr_user_grid_info(struct atomisp_sub_device *asd,
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/event_fifo_private.h +0 -1
@@ -20,7 +20,6 @@ STORAGE_CLASS_EVENT_C void event_wait_for(const event_ID_t ID)assert (ID <N_EVENT_ID );assert (event_source_addr[ID ] != ((hrt_address) -1 )); (void )ia_css_device_load_uint32 (event_source_addr[ID ]); -return ; } STORAGE_CLASS_EVENT_C void cnd_event_wait_for(const event_ID_t ID,
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c +0 -5
@@ -492,8 +492,6 @@ void fifo_channel_get_state(assert (0 );break ; } - -return ; } void fifo_switch_get_state(
@@ -514,8 +512,6 @@ void fifo_switch_get_state( state->is_none = (data ==HIVE_ISP_CSS_STREAM_SWITCH_NONE ); state->is_sp = (data ==HIVE_ISP_CSS_STREAM_SWITCH_SP ); state->is_isp = (data ==HIVE_ISP_CSS_STREAM_SWITCH_ISP ); - -return ; } void fifo_monitor_get_state(
@@ -537,7 +533,6 @@ void fifo_monitor_get_state(fifo_switch_get_state (ID , sw_id, &state->fifo_switches[sw_id]); } -return ; } static inline bool fifo_monitor_status_valid(
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor_private.h +0 -3
@@ -31,8 +31,6 @@ STORAGE_CLASS_FIFO_MONITOR_C void fifo_switch_set( (void )ID ;gp_device_reg_store (GP_DEVICE0_ID ,FIFO_SWITCH_ADDR [switch_id], sel); - -return ; } STORAGE_CLASS_FIFO_MONITOR_C hrt_data fifo_switch_get(
@@ -56,7 +54,6 @@ STORAGE_CLASS_FIFO_MONITOR_C void fifo_monitor_reg_store(assert (FIFO_MONITOR_BASE [ID ] != (hrt_address) -1 );ia_css_device_store_uint32 (FIFO_MONITOR_BASE [ID ] + reg *sizeof (hrt_data), value); -return ; } STORAGE_CLASS_FIFO_MONITOR_C hrt_data fifo_monitor_reg_load(
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/gdc.c +0 -2
@@ -49,7 +49,6 @@ void gdc_lut_store(gdc_reg_store (ID , lut_offset++, word_0);gdc_reg_store (ID , lut_offset++, word_1); } -return ; }/*
@@ -102,5 +101,4 @@ static inline void gdc_reg_store( const hrt_data value) {ia_css_device_store_uint32 (GDC_BASE [ID ] + reg *sizeof (hrt_data), value); -return ; }
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/gp_device.c +0 -1
@@ -96,5 +96,4 @@ void gp_device_get_state( _REG_GP_SYNCGEN_FRAME_CNT_ADDR); state->soft_reset =gp_device_reg_load (ID , _REG_GP_SOFT_RESET_ADDR); -return ; }
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/gp_device_private.h +0 -1
@@ -22,7 +22,6 @@ STORAGE_CLASS_GP_DEVICE_C void gp_device_reg_store(assert (GP_DEVICE_BASE [ID ] != (hrt_address) -1 );assert ((reg_addr %sizeof (hrt_data)) ==0 );ia_css_device_store_uint32 (GP_DEVICE_BASE [ID ] + reg_addr, value); -return ; } STORAGE_CLASS_GP_DEVICE_C hrt_data gp_device_reg_load(
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/gpio_private.h +0 -1
@@ -18,7 +18,6 @@ static inline void gpio_reg_store(OP___assert (ID <N_GPIO_ID );OP___assert (GPIO_BASE [ID ] != (hrt_address) -1 );ia_css_device_store_uint32 (GPIO_BASE [ID ] + reg *sizeof (hrt_data), value); -return ; } static inline hrt_data gpio_reg_load(
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_formatter.c +0 -8
@@ -65,8 +65,6 @@ void input_formatter_rst(if (!HIVE_IF_BIN_COPY [ID ]) {input_formatter_reg_store (ID , addr, rst); } - -return ; } unsigned int input_formatter_get_alignment(
@@ -88,7 +86,6 @@ void input_formatter_set_fifo_blocking_mode(input_formatter_reg_store (ID ,HIVE_IF_BLOCK_FIFO_NO_REQ_ADDRESS , enable); } -return ; } void input_formatter_get_switch_state(
@@ -121,8 +118,6 @@ void input_formatter_get_switch_state( _REG_GP_IFMT_input_switch_fsync_lut); state->if_input_switch_ch_id_fmt_type =gp_device_reg_load (GP_DEVICE0_ID , _REG_GP_IFMT_input_switch_ch_id_fmt_type); - -return ; } void input_formatter_get_state(
@@ -202,8 +197,6 @@ void input_formatter_get_state( HIVE_IF_FSM_VECTOR_SUPPORT); state->sensor_data_lost =input_formatter_reg_load (ID ,HIVE_IF_FIFO_SENSOR_STATUS ); - -return ; } void input_formatter_bin_get_state(
@@ -231,5 +224,4 @@ void input_formatter_bin_get_state( HIVE_STR2MEM_DUAL_BYTE_INPUTS_ENABLED_REG_ADDRESS); state->en_status_update =input_formatter_reg_load (ID ,HIVE_STR2MEM_EN_STAT_UPDATE_ADDRESS ); -return ; }
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_formatter_private.h +0 -1
@@ -22,7 +22,6 @@ STORAGE_CLASS_INPUT_FORMATTER_C void input_formatter_reg_store(assert (INPUT_FORMATTER_BASE [ID ] != (hrt_address)-1 );assert ((reg_addr %sizeof (hrt_data)) ==0 );ia_css_device_store_uint32 (INPUT_FORMATTER_BASE [ID ] + reg_addr, value); -return ; } STORAGE_CLASS_INPUT_FORMATTER_C hrt_data input_formatter_reg_load(
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/irq.c +0 -10
@@ -61,7 +61,6 @@ void irq_clear_all(irq_reg_store (ID , _HRT_IRQ_CONTROLLER_CLEAR_REG_IDX, mask); -return ; }/*
@@ -105,8 +104,6 @@ void irq_enable_channel( _HRT_IRQ_CONTROLLER_MASK_REG_IDX, mask);irq_wait_for_write_complete (ID ); - -return ; } void irq_enable_pulse(
@@ -121,7 +118,6 @@ void irq_enable_pulse(/* output is given as edge, not pulse */ irq_reg_store (ID , _HRT_IRQ_CONTROLLER_EDGE_NOT_PULSE_REG_IDX, edge_out); -return ; } void irq_disable_channel(
@@ -151,8 +147,6 @@ void irq_disable_channel( _HRT_IRQ_CONTROLLER_CLEAR_REG_IDX, me);irq_wait_for_write_complete (ID ); - -return ; } enum hrt_isp_css_irq_status irq_get_channel_id(
@@ -213,7 +207,6 @@ void irq_raise( (unsigned int)addr, 1);gp_device_reg_store (GP_DEVICE0_ID , (unsigned int )addr,0 ); -return ; }bool any_virq_signal (void )
@@ -252,7 +245,6 @@ void cnd_virq_enable_channel(irq_disable_channel (IRQ0_ID ,IRQ_NESTING_ID [ID ]); } } -return ; }void virq_clear_all (void )
@@ -262,7 +254,6 @@ void virq_clear_all(void)for (irq_id = (irq_ID_t )0 ; irq_id <N_IRQ_ID ; irq_id++) {irq_clear_all (irq_id); } -return ; }enum hrt_isp_css_irq_status
@@ -304,7 +295,6 @@ void virq_clear_info(struct virq_info *irq_info)for (ID = (irq_ID_t )0 ;ID <N_IRQ_ID ;ID ++) { irq_info->irq_status_reg[ID ] =0 ; } -return ; } enum hrt_isp_css_irq_status virq_get_channel_id(
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/irq_private.h +0 -1
@@ -21,7 +21,6 @@ STORAGE_CLASS_IRQ_C void irq_reg_store(assert (ID <N_IRQ_ID );assert (IRQ_BASE [ID ] != (hrt_address) -1 );ia_css_device_store_uint32 (IRQ_BASE [ID ] + reg *sizeof (hrt_data), value); -return ; } STORAGE_CLASS_IRQ_C hrt_data irq_reg_load(
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/isp.c +0 -1
@@ -27,7 +27,6 @@ void cnd_isp_irq_enable(isp_ctrl_clearbit (ID ,ISP_IRQ_READY_REG ,ISP_IRQ_READY_BIT ); } -return ; }/* ISP functions to control the ISP state from the host, even in crun. */
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/isp_private.h +0 -6
@@ -30,7 +30,6 @@ STORAGE_CLASS_ISP_C void isp_ctrl_store(#else hrt_master_port_store_32 (ISP_CTRL_BASE [ID ] + reg *sizeof (hrt_data), value);#endif -return ; } STORAGE_CLASS_ISP_C hrt_data isp_ctrl_load(
@@ -64,7 +63,6 @@ STORAGE_CLASS_ISP_C void isp_ctrl_setbit(hrt_data data =isp_ctrl_load (ID , reg);isp_ctrl_store (ID , reg, (data | (1UL << bit))); -return ; } STORAGE_CLASS_ISP_C void isp_ctrl_clearbit(
@@ -75,7 +73,6 @@ STORAGE_CLASS_ISP_C void isp_ctrl_clearbit(hrt_data data =isp_ctrl_load (ID , reg);isp_ctrl_store (ID , reg, (data & ~(1UL << bit))); -return ; } STORAGE_CLASS_ISP_C void isp_dmem_store(
@@ -91,7 +88,6 @@ STORAGE_CLASS_ISP_C void isp_dmem_store(#else hrt_master_port_store (ISP_DMEM_BASE [ID ] + addr, data, size);#endif -return ; } STORAGE_CLASS_ISP_C void isp_dmem_load(
@@ -107,7 +103,6 @@ STORAGE_CLASS_ISP_C void isp_dmem_load(#else hrt_master_port_load (ISP_DMEM_BASE [ID ] + addr, data, size);#endif -return ; } STORAGE_CLASS_ISP_C void isp_dmem_store_uint32(
@@ -123,7 +118,6 @@ STORAGE_CLASS_ISP_C void isp_dmem_store_uint32(#else hrt_master_port_store_32 (ISP_DMEM_BASE [ID ] + addr, data);#endif -return ; } STORAGE_CLASS_ISP_C uint32_t isp_dmem_load_uint32(
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/mmu.c +0 -2
@@ -12,7 +12,6 @@ void mmu_set_page_table_base_index( const hrt_data base_index) {mmu_reg_store (ID , _HRT_MMU_PAGE_TABLE_BASE_ADDRESS_REG_IDX, base_index); -return ; } hrt_data mmu_get_page_table_base_index(
@@ -25,7 +24,6 @@ void mmu_invalidate_cache( const mmu_ID_t ID) {mmu_reg_store (ID , _HRT_MMU_INVALIDATE_TLB_REG_IDX,1 ); -return ; }void mmu_invalidate_cache_all (void )
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/sp_private.h +0 -8
@@ -21,7 +21,6 @@ STORAGE_CLASS_SP_C void sp_ctrl_store(assert (ID <N_SP_ID );assert (SP_CTRL_BASE [ID ] != (hrt_address)-1 );ia_css_device_store_uint32 (SP_CTRL_BASE [ID ] + reg *sizeof (hrt_data), value); -return ; } STORAGE_CLASS_SP_C hrt_data sp_ctrl_load(
@@ -51,7 +50,6 @@ STORAGE_CLASS_SP_C void sp_ctrl_setbit(hrt_data data =sp_ctrl_load (ID , reg);sp_ctrl_store (ID , reg, (data | (1UL << bit))); -return ; } STORAGE_CLASS_SP_C void sp_ctrl_clearbit(
@@ -62,7 +60,6 @@ STORAGE_CLASS_SP_C void sp_ctrl_clearbit(hrt_data data =sp_ctrl_load (ID , reg);sp_ctrl_store (ID , reg, (data & ~(1UL << bit))); -return ; } STORAGE_CLASS_SP_C void sp_dmem_store(
@@ -74,7 +71,6 @@ STORAGE_CLASS_SP_C void sp_dmem_store(assert (ID <N_SP_ID );assert (SP_DMEM_BASE [ID ] != (hrt_address)-1 );ia_css_device_store (SP_DMEM_BASE [ID ] + addr, data, size); -return ; } STORAGE_CLASS_SP_C void sp_dmem_load(
@@ -86,7 +82,6 @@ STORAGE_CLASS_SP_C void sp_dmem_load(assert (ID <N_SP_ID );assert (SP_DMEM_BASE [ID ] != (hrt_address)-1 );ia_css_device_load (SP_DMEM_BASE [ID ] + addr, data, size); -return ; } STORAGE_CLASS_SP_C void sp_dmem_store_uint8(
@@ -98,7 +93,6 @@ STORAGE_CLASS_SP_C void sp_dmem_store_uint8(assert (SP_DMEM_BASE [ID ] != (hrt_address)-1 ); (void )ID ;ia_css_device_store_uint8 (SP_DMEM_BASE [SP0_ID ] + addr, data); -return ; } STORAGE_CLASS_SP_C void sp_dmem_store_uint16(
@@ -110,7 +104,6 @@ STORAGE_CLASS_SP_C void sp_dmem_store_uint16(assert (SP_DMEM_BASE [ID ] != (hrt_address)-1 ); (void )ID ;ia_css_device_store_uint16 (SP_DMEM_BASE [SP0_ID ] + addr, data); -return ; } STORAGE_CLASS_SP_C void sp_dmem_store_uint32(
@@ -122,7 +115,6 @@ STORAGE_CLASS_SP_C void sp_dmem_store_uint32(assert (SP_DMEM_BASE [ID ] != (hrt_address)-1 ); (void )ID ;ia_css_device_store_uint32 (SP_DMEM_BASE [SP0_ID ] + addr, data); -return ; } STORAGE_CLASS_SP_C uint8_t sp_dmem_load_uint8(
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/mmu_public.h +0 -1
@@ -63,7 +63,6 @@ static inline void mmu_reg_store(assert (ID <N_MMU_ID );assert (MMU_BASE [ID ] != (hrt_address) -1 );ia_css_device_store_uint32 (MMU_BASE [ID ] + reg *sizeof (hrt_data), value); -return ; }/*! Read from a control register of MMU[ID]
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c +0 -2
@@ -483,7 +483,6 @@ void hmm_bo_release(struct hmm_buffer_object *bo)__bo_insert_to_free_rbtree (&bdev->free_rbtree, bo);mutex_unlock (&bdev->rbtree_mutex); -return ; }void hmm_bo_device_exit (struct hmm_bo_device *bdev)
@@ -948,7 +947,6 @@ void hmm_bo_vunmap(struct hmm_buffer_object *bo) }mutex_unlock (&bo->mutex); -return ; }void hmm_bo_ref (struct hmm_buffer_object *bo)
drivers/staging/media/atomisp/pci/isp2400_input_system_private.h +0 -4
@@ -22,7 +22,6 @@ STORAGE_CLASS_INPUT_SYSTEM_C void input_system_reg_store(assert (INPUT_SYSTEM_BASE [ID ] != (hrt_address)-1 );ia_css_device_store_uint32 (INPUT_SYSTEM_BASE [ID ] + reg *sizeof (hrt_data), value); -return ; } STORAGE_CLASS_INPUT_SYSTEM_C hrt_data input_system_reg_load(
@@ -43,7 +42,6 @@ STORAGE_CLASS_INPUT_SYSTEM_C void receiver_reg_store(assert (ID <N_RX_ID );assert (RX_BASE [ID ] != (hrt_address)-1 );ia_css_device_store_uint32 (RX_BASE [ID ] + reg *sizeof (hrt_data), value); -return ; } STORAGE_CLASS_INPUT_SYSTEM_C hrt_data receiver_reg_load(
@@ -67,7 +65,6 @@ STORAGE_CLASS_INPUT_SYSTEM_C void receiver_port_reg_store(assert (MIPI_PORT_OFFSET [port_ID] != (hrt_address)-1 );ia_css_device_store_uint32 (RX_BASE [ID ] +MIPI_PORT_OFFSET [port_ID] + reg *sizeof (hrt_data), value); -return ; } STORAGE_CLASS_INPUT_SYSTEM_C hrt_data receiver_port_reg_load(
@@ -95,7 +92,6 @@ STORAGE_CLASS_INPUT_SYSTEM_C void input_system_sub_system_reg_store(assert (SUB_SYSTEM_OFFSET [sub_ID] != (hrt_address)-1 );ia_css_device_store_uint32 (INPUT_SYSTEM_BASE [ID ] +SUB_SYSTEM_OFFSET [sub_ID] + reg *sizeof (hrt_data), value); -return ; } STORAGE_CLASS_INPUT_SYSTEM_C hrt_data input_system_sub_system_reg_load(
drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c +0 -1
@@ -344,7 +344,6 @@ ia_css_binary_dvs_stat_grid_info( { (void )pipe;sh_css_binary_common_grid_info (binary, info); -return ; }int
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c +0 -1
@@ -176,7 +176,6 @@ static void map_buffer_type_to_queue_id( }assert (i !=SH_CSS_MAX_NUM_QUEUES ); -return ; } static void unmap_buffer_type_to_queue_id(
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c +0 -10
@@ -136,7 +136,6 @@ void ia_css_debug_dtrace(unsigned int level, const char *fmt, ...)void ia_css_debug_set_dtrace_level (const unsigned int trace_level) { dbg_level = trace_level; -return ; }unsigned int ia_css_debug_get_dtrace_level (void )
@@ -315,7 +314,6 @@ static void debug_print_fifo_channel_state(const fifo_channel_state_t *state, state->fifo_valid);ia_css_debug_dtrace (2 ,"\t%-32s: %d\n" ,"sink accept" , state->sink_accept); -return ; }void ia_css_debug_dump_pif_a_isp_fifo_state (void )
@@ -364,7 +362,6 @@ void ia_css_debug_dump_all_fifo_state(void)for (i =0 ; i <N_FIFO_CHANNEL ; i++)debug_print_fifo_channel_state (&state.fifo_channels[i],"squepfstqkt" ); -return ; }static void debug_binary_info_print (const struct ia_css_binary_xinfo *info)
@@ -386,7 +383,6 @@ static void debug_binary_info_print(const struct ia_css_binary_xinfo *info)ia_css_debug_dtrace (2 ,"enable_uds = %d\n" , info->sp.enable.uds);ia_css_debug_dtrace (2 ,"enable ds = %d\n" , info->sp.enable.ds);ia_css_debug_dtrace (2 ,"s3atbl_use_dmem = %d\n" , info->sp.s3a.s3atbl_use_dmem); -return ; }void ia_css_debug_binary_print (const struct ia_css_binary *bi)
@@ -441,8 +437,6 @@ void ia_css_debug_binary_print(const struct ia_css_binary *bi) bi->sctbl_width_per_color);ia_css_debug_dtrace (2 ,"s3atbl_width = %d\n" , bi->s3atbl_width);ia_css_debug_dtrace (2 ,"s3atbl_height = %d\n" , bi->s3atbl_height); -return ; -}void ia_css_debug_frame_print (const struct ia_css_frame *frame,const char *descr)
@@ -526,7 +520,6 @@ void ia_css_debug_frame_print(const struct ia_css_frame *frame,ia_css_debug_dtrace (2 ," unknown frame type\n" );break ; } -return ; }#if SP_DEBUG !=SP_DEBUG_NONE
@@ -808,8 +801,6 @@ void ia_css_debug_print_sp_debug_state(const struct sh_css_sp_debug_state#endif #if SP_DEBUG !=SP_DEBUG_NONE - - return; }#endif
@@ -823,7 +814,6 @@ void ia_css_debug_dump_sp_sw_debug_info(void)#endif ia_css_bufq_dump_queue_info ();ia_css_pipeline_dump_thread_map_info (); -return ; }/* this function is for debug use, it can make SP go to sleep
drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c +0 -4
@@ -525,7 +525,6 @@ static void frame_init_nv_planes(struct ia_css_frame *frame,frame_init_plane (&frame->planes.nv.y, y_width, y_stride, y_height,0 );frame_init_plane (&frame->planes.nv.uv, uv_width, uv_stride, uv_height, y_bytes); -return ; } static void frame_init_yuv_planes(struct ia_css_frame *frame,
@@ -558,7 +557,6 @@ static void frame_init_yuv_planes(struct ia_css_frame *frame,frame_init_plane (&frame->planes.yuv.v, uv_width, uv_stride, uv_height, y_bytes + uv_bytes); } -return ; } static void frame_init_rgb_planes(struct ia_css_frame *frame,
@@ -575,7 +573,6 @@ static void frame_init_rgb_planes(struct ia_css_frame *frame, width, stride, height, 1 * bytes);frame_init_plane (&frame->planes.planar_rgb.b, width, stride, height,2 * bytes); -return ; }static void frame_init_qplane6_planes (struct ia_css_frame *frame)
@@ -599,7 +596,6 @@ static void frame_init_qplane6_planes(struct ia_css_frame *frame) width, stride, height, 4 * bytes);frame_init_plane (&frame->planes.plane6.b_at_r, width, stride, height,5 * bytes); -return ; }static int frame_allocate_buffer_data (struct ia_css_frame *frame)
drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c +0 -2
@@ -471,8 +471,6 @@ static void ifmtr_set_if_blocking_mode(input_formatter_set_fifo_blocking_mode (id, block[id]); } } - -return ; } static int ifmtr_start_column(
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c +0 -17
@@ -88,7 +88,6 @@ _sh_css_fifo_snd(unsigned int token)while (!can_event_send_token (STR2MIPI_EVENT_ID ))udelay (1 );event_send_token (STR2MIPI_EVENT_ID , token); -return ; } static void inputfifo_send_data_a(
@@ -98,7 +97,6 @@ static void inputfifo_send_data_a(unsigned int token = (1 <<HIVE_STR_TO_MIPI_VALID_A_BIT ) | (data <<HIVE_STR_TO_MIPI_DATA_A_LSB );_sh_css_fifo_snd (token); -return ; } static void inputfifo_send_data_b(
@@ -108,8 +106,6 @@ static void inputfifo_send_data_b(unsigned int token = (1 <<HIVE_STR_TO_MIPI_VALID_B_BIT ) | (data << _HIVE_STR_TO_MIPI_DATA_B_LSB);_sh_css_fifo_snd (token); -return ; -}static void inputfifo_send_data ( /* static inline void inputfifo_send_data( */
@@ -121,7 +117,6 @@ static void inputfifo_send_data( (a <<HIVE_STR_TO_MIPI_DATA_A_LSB ) | (b << _HIVE_STR_TO_MIPI_DATA_B_LSB));_sh_css_fifo_snd (token); -return ; }static void inputfifo_send_sol (void )
@@ -131,7 +126,6 @@ static void inputfifo_send_sol(void) 1 << HIVE_STR_TO_MIPI_SOL_BIT);_sh_css_fifo_snd (token); -return ; }static void inputfifo_send_eol (void )
@@ -140,7 +134,6 @@ static void inputfifo_send_eol(void)hrt_data token =inputfifo_wrap_marker (1 <<HIVE_STR_TO_MIPI_EOL_BIT );_sh_css_fifo_snd (token); -return ; }static void inputfifo_send_sof (void )
@@ -150,7 +143,6 @@ static void inputfifo_send_sof(void) 1 << HIVE_STR_TO_MIPI_SOF_BIT);_sh_css_fifo_snd (token); -return ; }static void inputfifo_send_eof (void )
@@ -159,7 +151,6 @@ static void inputfifo_send_eof(void)hrt_data token =inputfifo_wrap_marker (1 <<HIVE_STR_TO_MIPI_EOF_BIT );_sh_css_fifo_snd (token); -return ; } static void inputfifo_send_ch_id_and_fmt_type(
@@ -177,7 +168,6 @@ static void inputfifo_send_ch_id_and_fmt_type(*/ token =inputfifo_wrap_marker (0 );_sh_css_fifo_snd (token); -return ; }static void inputfifo_send_empty_token (void )
@@ -186,7 +176,6 @@ static void inputfifo_send_empty_token(void)hrt_data token =inputfifo_wrap_marker (0 );_sh_css_fifo_snd (token); -return ; } static void inputfifo_start_frame(
@@ -196,7 +185,6 @@ static void inputfifo_start_frame( {inputfifo_send_ch_id_and_fmt_type (ch_id, fmt_type);inputfifo_send_sof (); -return ; } static void inputfifo_end_frame(
@@ -207,7 +195,6 @@ static void inputfifo_end_frame(for (i =0 ; i < marker_cycles; i++)inputfifo_send_empty_token ();inputfifo_send_eof (); -return ; } static void inputfifo_send_line2(
@@ -297,7 +284,6 @@ static void inputfifo_send_line2(for (i =0 ; i < hblank_cycles; i++)inputfifo_send_empty_token ();inputfifo_send_eol (); -return ; } static void
@@ -377,7 +363,6 @@ static void inputfifo_send_frame( } }inputfifo_end_frame (marker_cycles); -return ; } static enum inputfifo_mipi_data_type inputfifo_determine_type(
@@ -453,7 +438,6 @@ void ia_css_inputfifo_start_frame( s2mi->streaming = true;inputfifo_start_frame (ch_id, s2mi->fmt_type); -return ; } void ia_css_inputfifo_send_line(
@@ -516,5 +500,4 @@ void ia_css_inputfifo_end_frame(inputfifo_end_frame (s2mi->marker_cycles); s2mi->streaming = false; -return ; }
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c +0 -8
@@ -43,8 +43,6 @@ void ia_css_isys_rx_enable_all_interrupts(enum mipi_port_id port)* The CSI is nested into the Iunit IRQ's */ ia_css_irq_enable (IA_CSS_IRQ_INFO_CSS_RECEIVER_ERROR , true); - -return ; }/* This function converts between the enum used on the CSS API and the
@@ -196,8 +194,6 @@ void ia_css_isys_rx_clear_irq_info(enum mipi_port_id port,receiver_port_reg_store (RX0_ID , port, _HRT_CSS_RECEIVER_IRQ_ENABLE_REG_IDX, bits); - -return ; } static int ia_css_isys_2400_set_fmt_type(enum atomisp_input_format input_format,
@@ -638,9 +634,6 @@ void ia_css_isys_rx_configure(const rx_cfg_t *config,*/ input_system_reg_store (INPUT_SYSTEM0_ID ,0x207 ,1 ); -return ; -} -void ia_css_isys_rx_disable (void ) {enum mipi_port_id port;
@@ -650,5 +643,4 @@ void ia_css_isys_rx_disable(void) _HRT_CSS_RECEIVER_DEVICE_READY_REG_IDX, false); } -return ; }
drivers/staging/media/atomisp/pci/sh_css.c +0 -4
@@ -2928,8 +2928,6 @@ ia_css_get_crop_offsets( in_frame->crop_info.start_line = row;IA_CSS_LEAVE_PRIVATE ("void start_col: %u start_row: %u" , column, row); - -return ; } static int
@@ -3326,8 +3324,6 @@ static void send_raw_frames(struct ia_css_pipe *pipe) pipe->continuous_frames[i], pipe->cont_md_buffers[i]); } } - -return ; } static int
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c +0 -1
@@ -269,5 +269,4 @@ ia_css_dvs_statistics_get(enum dvs_statistics_type type,ia_css_get_dvs2_statistics (host_stats->p_dvs2_statistics_host, isp_stats->p_dvs_statistics_isp); } -return ; }
Signature · 1 line
2.34.1
kernel test robot
build botkernel test robot noticed the following build warnings:
Hi Everton,
kernel test robot noticed the following build warnings:
[auto build test WARNING on staging/staging-testing]
[also build test WARNING on staging/staging-next staging/staging-linus linus/master v7.1-rc2 next-20260508] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Everton-Colombo/media-atomisp-remove-returns-from-void-functions/20260510-154432 base: staging/staging-testing patch link: https://lore.kernel.org/r/20260506173028.24417-1-e.rcolombo2%40gmail.com patch subject: [PATCH v2] media: atomisp: remove returns from void functions config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20260510/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260510/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c: In function 'ia_css_debug_binary_print':
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:853:1: error: invalid storage class for function 'findf_dmem_params'
853 | findf_dmem_params(struct ia_css_stream *stream, short idx)
| ^~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1049:28: error: invalid storage class for function 'dtrace_dot'
1049 | static void __printf(1, 2) dtrace_dot(const char *fmt, ...)
| ^~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1063:1: error: invalid storage class for function 'ia_css_debug_pipe_graph_dump_frame'
1063 | ia_css_debug_pipe_graph_dump_frame(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1875:1: error: expected declaration or statement at end of input
1875 | }
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c: At top level:
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1862:6: warning: 'ia_css_debug_pc_dump' defined but not used [-Wunused-function]
1862 | void ia_css_debug_pc_dump(sp_ID_t id, unsigned int num_of_dumps)
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1848:6: warning: 'ia_css_debug_dump_trace' defined but not used [-Wunused-function]
1848 | void ia_css_debug_dump_trace(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1575:1: warning: 'ia_css_debug_dump_stream_config' defined but not used [-Wunused-function]
1575 | ia_css_debug_dump_stream_config(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1475:1: warning: 'ia_css_debug_dump_pipe_config' defined but not used [-Wunused-function]
1475 | ia_css_debug_dump_pipe_config(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1447:1: warning: 'ia_css_debug_dump_pipe_extra_config' defined but not used [-Wunused-function]
1447 | ia_css_debug_dump_pipe_extra_config(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1399:1: warning: 'ia_css_debug_pipe_graph_dump_stream_config' defined but not used [-Wunused-function]
1399 | ia_css_debug_pipe_graph_dump_stream_config(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1368:1: warning: 'ia_css_debug_pipe_graph_dump_sp_raw_copy' defined but not used [-Wunused-function]
1368 | ia_css_debug_pipe_graph_dump_sp_raw_copy(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1157:1: warning: 'ia_css_debug_pipe_graph_dump_stage' defined but not used [-Wunused-function]
1157 | ia_css_debug_pipe_graph_dump_stage(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1114:6: warning: 'ia_css_debug_pipe_graph_dump_epilogue' defined but not used [-Wunused-function]
1114 | void ia_css_debug_pipe_graph_dump_epilogue(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1039:1: warning: 'ia_css_debug_mode_enable_dma_channel' defined but not used [-Wunused-function]
1039 | ia_css_debug_mode_enable_dma_channel(int dma_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1024:1: warning: 'ia_css_debug_mode_disable_dma_channel' defined but not used [-Wunused-function]
1024 | ia_css_debug_mode_disable_dma_channel(int dma_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1011:6: warning: 'ia_css_debug_mode_init' defined but not used [-Wunused-function]
1011 | bool ia_css_debug_mode_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:976:6: warning: 'ia_css_debug_dump_isp_binary' defined but not used [-Wunused-function]
976 | void ia_css_debug_dump_isp_binary(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:946:6: warning: 'sh_css_dump_sp_raw_copy_linecount' defined but not used [-Wunused-function]
946 | void sh_css_dump_sp_raw_copy_linecount(bool reduced)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:877:6: warning: 'ia_css_debug_dump_isp_params' defined but not used [-Wunused-function]
877 | void ia_css_debug_dump_isp_params(struct ia_css_stream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:839:6: warning: 'ia_css_debug_wake_up_sp' defined but not used [-Wunused-function]
839 | void ia_css_debug_wake_up_sp(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:824:6: warning: 'ia_css_debug_enable_sp_sleep_mode' defined but not used [-Wunused-function]
824 | void ia_css_debug_enable_sp_sleep_mode(enum ia_css_sp_sleep_mode mode)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:807:6: warning: 'ia_css_debug_dump_sp_sw_debug_info' defined but not used [-Wunused-function]
807 | void ia_css_debug_dump_sp_sw_debug_info(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:441:6: warning: 'ia_css_debug_frame_print' defined but not used [-Wunused-function] 441 | void ia_css_debug_frame_print(const struct ia_css_frame *frame,
| ^~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c: In function 'inputfifo_send_data_b':
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:110:13: error: invalid storage class for function 'inputfifo_send_data'
110 | static void inputfifo_send_data(
| ^~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:122:13: error: invalid storage class for function 'inputfifo_send_sol'
122 | static void inputfifo_send_sol(void)
| ^~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:131:13: error: invalid storage class for function 'inputfifo_send_eol'
131 | static void inputfifo_send_eol(void)
| ^~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:139:13: error: invalid storage class for function 'inputfifo_send_sof'
139 | static void inputfifo_send_sof(void)
| ^~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:148:13: error: invalid storage class for function 'inputfifo_send_eof'
148 | static void inputfifo_send_eof(void)
| ^~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:156:13: error: invalid storage class for function 'inputfifo_send_ch_id_and_fmt_type'
156 | static void inputfifo_send_ch_id_and_fmt_type(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:173:13: error: invalid storage class for function 'inputfifo_send_empty_token'
173 | static void inputfifo_send_empty_token(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:181:13: error: invalid storage class for function 'inputfifo_start_frame'
181 | static void inputfifo_start_frame(
| ^~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:190:13: error: invalid storage class for function 'inputfifo_end_frame'
190 | static void inputfifo_end_frame(
| ^~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:200:13: error: invalid storage class for function 'inputfifo_send_line2'
200 | static void inputfifo_send_line2(
| ^~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:290:1: error: invalid storage class for function 'inputfifo_send_line'
290 | inputfifo_send_line(const unsigned short *data,
| ^~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:333:13: error: invalid storage class for function 'inputfifo_send_frame'
333 | static void inputfifo_send_frame(
| ^~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:368:38: error: invalid storage class for function 'inputfifo_determine_type'
368 | static enum inputfifo_mipi_data_type inputfifo_determine_type(
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:390:35: error: invalid storage class for function 'inputfifo_get_inst'
390 | static struct inputfifo_instance *inputfifo_get_inst(
| ^~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:503:1: error: expected declaration or statement at end of input
503 | }
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c: At top level:
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:488:6: warning: 'ia_css_inputfifo_end_frame' defined but not used [-Wunused-function]
488 | void ia_css_inputfifo_end_frame(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:467:6: warning: 'ia_css_inputfifo_send_embedded_line' defined but not used [-Wunused-function]
467 | void ia_css_inputfifo_send_embedded_line(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:443:6: warning: 'ia_css_inputfifo_send_line' defined but not used [-Wunused-function]
443 | void ia_css_inputfifo_send_line(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:421:6: warning: 'ia_css_inputfifo_start_frame' defined but not used [-Wunused-function]
421 | void ia_css_inputfifo_start_frame(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:396:6: warning: 'ia_css_inputfifo_send_input_frame' defined but not used [-Wunused-function]
396 | void ia_css_inputfifo_send_input_frame(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c: In function 'ia_css_isys_rx_configure':
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:646:1: error: expected declaration or statement at end of input
646 | }
| ^
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c: At top level:
>> drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:637:6: warning: 'ia_css_isys_rx_disable' defined but not used [-Wunused-function]
637 | void ia_css_isys_rx_disable(void)
| ^~~~~~~~~~~~~~~~~~~~~~vim +/ia_css_debug_pc_dump +1862 drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1847
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 @1848 void ia_css_debug_dump_trace(void)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1849 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1850 #if TRACE_ENABLE_SP0
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1851 debug_dump_one_trace(TRACE_SP0_ID);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1852 #endif
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1853 #if TRACE_ENABLE_SP1
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1854 debug_dump_one_trace(TRACE_SP1_ID);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1855 #endif
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1856 #if TRACE_ENABLE_ISP
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1857 debug_dump_one_trace(TRACE_ISP_ID);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1858 #endif
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1859 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1860
3c0538fbad9f1d0 drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-30 1861 /* ISP2401 */
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 @1862 void ia_css_debug_pc_dump(sp_ID_t id, unsigned int num_of_dumps)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1863 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1864 unsigned int pc;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1865 unsigned int i;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1866 hrt_data sc = sp_ctrl_load(id, SP_SC_REG);
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1867
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1868 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "SP%-1d Status reg: 0x%X\n", id, sc);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1869 sc = sp_ctrl_load(id, SP_CTRL_SINK_REG);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1870 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "SP%-1d Stall reg: 0x%X\n", id, sc);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1871 for (i = 0; i < num_of_dumps; i++) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1872 pc = sp_ctrl_load(id, SP_PC_REG);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1873 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "SP%-1d PC: 0x%X\n", id, pc);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1874 }ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 @1875 }
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
kernel test robot
build botkernel test robot noticed the following build errors:
Hi Everton,
kernel test robot noticed the following build errors:
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on staging/staging-next staging/staging-linus linus/master v7.1-rc2 next-20260508] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Everton-Colombo/media-atomisp-remove-returns-from-void-functions/20260510-154432 base: staging/staging-testing patch link: https://lore.kernel.org/r/20260506173028.24417-1-e.rcolombo2%40gmail.com patch subject: [PATCH v2] media: atomisp: remove returns from void functions config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20260511/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260511/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c: In function 'ia_css_debug_binary_print':
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:853:1: error: invalid storage class for function 'findf_dmem_params'
853 | findf_dmem_params(struct ia_css_stream *stream, short idx)
| ^~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1049:28: error: invalid storage class for function 'dtrace_dot'
1049 | static void __printf(1, 2) dtrace_dot(const char *fmt, ...)
| ^~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1063:1: error: invalid storage class for function 'ia_css_debug_pipe_graph_dump_frame'
1063 | ia_css_debug_pipe_graph_dump_frame(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1875:1: error: expected declaration or statement at end of input
1875 | }
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c: At top level:
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1862:6: warning: 'ia_css_debug_pc_dump' defined but not used [-Wunused-function]
1862 | void ia_css_debug_pc_dump(sp_ID_t id, unsigned int num_of_dumps)
| ^~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1848:6: warning: 'ia_css_debug_dump_trace' defined but not used [-Wunused-function]
1848 | void ia_css_debug_dump_trace(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1575:1: warning: 'ia_css_debug_dump_stream_config' defined but not used [-Wunused-function]
1575 | ia_css_debug_dump_stream_config(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1475:1: warning: 'ia_css_debug_dump_pipe_config' defined but not used [-Wunused-function]
1475 | ia_css_debug_dump_pipe_config(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1447:1: warning: 'ia_css_debug_dump_pipe_extra_config' defined but not used [-Wunused-function]
1447 | ia_css_debug_dump_pipe_extra_config(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1399:1: warning: 'ia_css_debug_pipe_graph_dump_stream_config' defined but not used [-Wunused-function]
1399 | ia_css_debug_pipe_graph_dump_stream_config(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1368:1: warning: 'ia_css_debug_pipe_graph_dump_sp_raw_copy' defined but not used [-Wunused-function]
1368 | ia_css_debug_pipe_graph_dump_sp_raw_copy(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1157:1: warning: 'ia_css_debug_pipe_graph_dump_stage' defined but not used [-Wunused-function]
1157 | ia_css_debug_pipe_graph_dump_stage(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1114:6: warning: 'ia_css_debug_pipe_graph_dump_epilogue' defined but not used [-Wunused-function]
1114 | void ia_css_debug_pipe_graph_dump_epilogue(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1039:1: warning: 'ia_css_debug_mode_enable_dma_channel' defined but not used [-Wunused-function]
1039 | ia_css_debug_mode_enable_dma_channel(int dma_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1024:1: warning: 'ia_css_debug_mode_disable_dma_channel' defined but not used [-Wunused-function]
1024 | ia_css_debug_mode_disable_dma_channel(int dma_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1011:6: warning: 'ia_css_debug_mode_init' defined but not used [-Wunused-function]
1011 | bool ia_css_debug_mode_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:976:6: warning: 'ia_css_debug_dump_isp_binary' defined but not used [-Wunused-function]
976 | void ia_css_debug_dump_isp_binary(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:946:6: warning: 'sh_css_dump_sp_raw_copy_linecount' defined but not used [-Wunused-function]
946 | void sh_css_dump_sp_raw_copy_linecount(bool reduced)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:877:6: warning: 'ia_css_debug_dump_isp_params' defined but not used [-Wunused-function]
877 | void ia_css_debug_dump_isp_params(struct ia_css_stream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:839:6: warning: 'ia_css_debug_wake_up_sp' defined but not used [-Wunused-function]
839 | void ia_css_debug_wake_up_sp(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:824:6: warning: 'ia_css_debug_enable_sp_sleep_mode' defined but not used [-Wunused-function]
824 | void ia_css_debug_enable_sp_sleep_mode(enum ia_css_sp_sleep_mode mode)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:807:6: warning: 'ia_css_debug_dump_sp_sw_debug_info' defined but not used [-Wunused-function]
807 | void ia_css_debug_dump_sp_sw_debug_info(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:441:6: warning: 'ia_css_debug_frame_print' defined but not used [-Wunused-function]
441 | void ia_css_debug_frame_print(const struct ia_css_frame *frame,
| ^~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c: In function 'inputfifo_send_data_b':
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:110:13: error: invalid storage class for function 'inputfifo_send_data'
110 | static void inputfifo_send_data(
| ^~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:122:13: error: invalid storage class for function 'inputfifo_send_sol'
122 | static void inputfifo_send_sol(void)
| ^~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:131:13: error: invalid storage class for function 'inputfifo_send_eol'
131 | static void inputfifo_send_eol(void)
| ^~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:139:13: error: invalid storage class for function 'inputfifo_send_sof'
139 | static void inputfifo_send_sof(void)
| ^~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:148:13: error: invalid storage class for function 'inputfifo_send_eof'
148 | static void inputfifo_send_eof(void)
| ^~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:156:13: error: invalid storage class for function 'inputfifo_send_ch_id_and_fmt_type'
156 | static void inputfifo_send_ch_id_and_fmt_type(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:173:13: error: invalid storage class for function 'inputfifo_send_empty_token'
173 | static void inputfifo_send_empty_token(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:181:13: error: invalid storage class for function 'inputfifo_start_frame'
181 | static void inputfifo_start_frame(
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:190:13: error: invalid storage class for function 'inputfifo_end_frame'
190 | static void inputfifo_end_frame(
| ^~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:200:13: error: invalid storage class for function 'inputfifo_send_line2'
200 | static void inputfifo_send_line2(
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:290:1: error: invalid storage class for function 'inputfifo_send_line'
290 | inputfifo_send_line(const unsigned short *data,
| ^~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:333:13: error: invalid storage class for function 'inputfifo_send_frame'
333 | static void inputfifo_send_frame(
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:368:38: error: invalid storage class for function 'inputfifo_determine_type'
368 | static enum inputfifo_mipi_data_type inputfifo_determine_type(
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:390:35: error: invalid storage class for function 'inputfifo_get_inst'
390 | static struct inputfifo_instance *inputfifo_get_inst(
| ^~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:503:1: error: expected declaration or statement at end of input
503 | }
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c: At top level:
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:488:6: warning: 'ia_css_inputfifo_end_frame' defined but not used [-Wunused-function]
488 | void ia_css_inputfifo_end_frame(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:467:6: warning: 'ia_css_inputfifo_send_embedded_line' defined but not used [-Wunused-function]
467 | void ia_css_inputfifo_send_embedded_line(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:443:6: warning: 'ia_css_inputfifo_send_line' defined but not used [-Wunused-function]
443 | void ia_css_inputfifo_send_line(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:421:6: warning: 'ia_css_inputfifo_start_frame' defined but not used [-Wunused-function]
421 | void ia_css_inputfifo_start_frame(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:396:6: warning: 'ia_css_inputfifo_send_input_frame' defined but not used [-Wunused-function]
396 | void ia_css_inputfifo_send_input_frame(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c: In function 'ia_css_isys_rx_configure':
>> drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:646:1: error: expected declaration or statement at end of input
646 | }
| ^
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c: At top level:
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:637:6: warning: 'ia_css_isys_rx_disable' defined but not used [-Wunused-function]
637 | void ia_css_isys_rx_disable(void)
| ^~~~~~~~~~~~~~~~~~~~~~vim +/findf_dmem_params +853 drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 850
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 851 /* Find a stage that support the kernel and return the parameters for that kernel */
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 852 static char *
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 @853 findf_dmem_params(struct ia_css_stream *stream, short idx)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 854 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 855 int i;
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 856
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 857 for (i = 0; i < stream->num_pipes; i++) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 858 struct ia_css_pipe *pipe = stream->pipes[i];
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 859 struct ia_css_pipeline *pipeline = ia_css_pipe_get_pipeline(pipe);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 860 struct ia_css_pipeline_stage *stage;
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 861
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 862 for (stage = pipeline->stages; stage; stage = stage->next) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 863 struct ia_css_binary *binary = stage->binary;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 864 short *offsets = (short *)&binary->info->mem_offsets.offsets.param->dmem;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 865 short dmem_offset = offsets[idx];
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 866 const struct ia_css_host_data *isp_data =
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 867 ia_css_isp_param_get_mem_init(&binary->mem_params,
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 868 IA_CSS_PARAM_CLASS_PARAM, IA_CSS_ISP_DMEM0);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 869 if (dmem_offset < 0)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 870 continue;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 871 return &isp_data->address[dmem_offset];
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 872 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 873 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 874 return NULL;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 875 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 876
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 877 void ia_css_debug_dump_isp_params(struct ia_css_stream *stream,
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 878 unsigned int enable)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 879 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 880 ia_css_debug_dtrace(IA_CSS_DEBUG_VERBOSE, "ISP PARAMETERS:\n");
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 881
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 882 assert(stream);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 883 if ((enable & IA_CSS_DEBUG_DUMP_FPN)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 884 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 885 ia_css_fpn_dump(FIND_DMEM_PARAMS(stream, fpn), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 886 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 887 if ((enable & IA_CSS_DEBUG_DUMP_OB)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 888 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 889 ia_css_ob_dump(FIND_DMEM_PARAMS(stream, ob), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 890 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 891 if ((enable & IA_CSS_DEBUG_DUMP_SC)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 892 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 893 ia_css_sc_dump(FIND_DMEM_PARAMS(stream, sc), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 894 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 895 if ((enable & IA_CSS_DEBUG_DUMP_WB)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 896 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 897 ia_css_wb_dump(FIND_DMEM_PARAMS(stream, wb), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 898 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 899 if ((enable & IA_CSS_DEBUG_DUMP_DP)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 900 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 901 ia_css_dp_dump(FIND_DMEM_PARAMS(stream, dp), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 902 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 903 if ((enable & IA_CSS_DEBUG_DUMP_BNR)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 904 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 905 ia_css_bnr_dump(FIND_DMEM_PARAMS(stream, bnr), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 906 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 907 if ((enable & IA_CSS_DEBUG_DUMP_S3A)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 908 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 909 ia_css_s3a_dump(FIND_DMEM_PARAMS(stream, s3a), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 910 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 911 if ((enable & IA_CSS_DEBUG_DUMP_DE)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 912 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 913 ia_css_de_dump(FIND_DMEM_PARAMS(stream, de), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 914 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 915 if ((enable & IA_CSS_DEBUG_DUMP_YNR)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 916 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 917 ia_css_nr_dump(FIND_DMEM_PARAMS_TYPE(stream, nr, ynr), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 918 ia_css_yee_dump(FIND_DMEM_PARAMS(stream, yee), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 919 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 920 if ((enable & IA_CSS_DEBUG_DUMP_CSC)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 921 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 922 ia_css_csc_dump(FIND_DMEM_PARAMS(stream, csc), IA_CSS_DEBUG_VERBOSE);
eaa399eb542cdfc drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 923 ia_css_yuv2rgb_dump(FIND_DMEM_PARAMS_TYPE(stream, yuv2rgb, csc),
eaa399eb542cdfc drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 924 IA_CSS_DEBUG_VERBOSE);
eaa399eb542cdfc drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 925 ia_css_rgb2yuv_dump(FIND_DMEM_PARAMS_TYPE(stream, rgb2yuv, csc),
eaa399eb542cdfc drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 926 IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 927 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 928 if ((enable & IA_CSS_DEBUG_DUMP_GC)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 929 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 930 ia_css_gc_dump(FIND_DMEM_PARAMS(stream, gc), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 931 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 932 if ((enable & IA_CSS_DEBUG_DUMP_TNR)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 933 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 934 ia_css_tnr_dump(FIND_DMEM_PARAMS(stream, tnr), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 935 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 936 if ((enable & IA_CSS_DEBUG_DUMP_ANR)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 937 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 938 ia_css_anr_dump(FIND_DMEM_PARAMS(stream, anr), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 939 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 940 if ((enable & IA_CSS_DEBUG_DUMP_CE)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 941 || (enable & IA_CSS_DEBUG_DUMP_ALL)) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 942 ia_css_ce_dump(FIND_DMEM_PARAMS(stream, ce), IA_CSS_DEBUG_VERBOSE);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 943 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 944 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 945
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 946 void sh_css_dump_sp_raw_copy_linecount(bool reduced)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 947 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 948 const struct ia_css_fw_info *fw;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 949 unsigned int HIVE_ADDR_raw_copy_line_count;
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 950 s32 raw_copy_line_count;
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 951 static s32 prev_raw_copy_line_count = -1;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 952
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 953 fw = &sh_css_sp_fw;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 954 HIVE_ADDR_raw_copy_line_count =
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 955 fw->info.sp.raw_copy_line_count;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 956
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 957 (void)HIVE_ADDR_raw_copy_line_count;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 958
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 959 sp_dmem_load(SP0_ID,
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 960 (unsigned int)sp_address_of(raw_copy_line_count),
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 961 &raw_copy_line_count,
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 962 sizeof(raw_copy_line_count));
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 963
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 964 /* only indicate if copy loop is active */
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 965 if (reduced)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 966 raw_copy_line_count = (raw_copy_line_count < 0) ? raw_copy_line_count : 1;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 967 /* do the handling */
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 968 if (prev_raw_copy_line_count != raw_copy_line_count) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 969 ia_css_debug_dtrace(IA_CSS_DEBUG_VERBOSE,
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 970 "sh_css_dump_sp_raw_copy_linecount() line_count=%d\n",
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 971 raw_copy_line_count);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 972 prev_raw_copy_line_count = raw_copy_line_count;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 973 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 974 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 975
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 976 void ia_css_debug_dump_isp_binary(void)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 977 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 978 const struct ia_css_fw_info *fw;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 979 unsigned int HIVE_ADDR_pipeline_sp_curr_binary_id;
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 980 u32 curr_binary_id;
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 981 static u32 prev_binary_id = 0xFFFFFFFF;
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 982 static u32 sample_count;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 983
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 984 fw = &sh_css_sp_fw;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 985 HIVE_ADDR_pipeline_sp_curr_binary_id = fw->info.sp.curr_binary_id;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 986
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 987 (void)HIVE_ADDR_pipeline_sp_curr_binary_id;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 988
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 989 sp_dmem_load(SP0_ID,
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 990 (unsigned int)sp_address_of(pipeline_sp_curr_binary_id),
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 991 &curr_binary_id,
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 992 sizeof(curr_binary_id));
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 993
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 994 /* do the handling */
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 995 sample_count++;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 996 if (prev_binary_id != curr_binary_id) {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 997 ia_css_debug_dtrace(IA_CSS_DEBUG_VERBOSE,
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 998 "sh_css_dump_isp_binary() pipe_id=%d, binary_id=%d, sample_count=%d\n",
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 999 (curr_binary_id >> 16),
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1000 (curr_binary_id & 0x0ffff),
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1001 sample_count);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1002 sample_count = 0;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1003 prev_binary_id = curr_binary_id;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1004 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1005 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1006
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1007 /*
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1008 * @brief Initialize the debug mode.
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1009 * Refer to "ia_css_debug.h" for more details.
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1010 */
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1011 bool ia_css_debug_mode_init(void)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1012 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1013 bool rc;
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1014
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1015 rc = sh_css_sp_init_dma_sw_reg(0);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1016 return rc;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1017 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1018
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1019 /*
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1020 * @brief Disable the DMA channel.
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1021 * Refer to "ia_css_debug.h" for more details.
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1022 */
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1023 bool
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1024 ia_css_debug_mode_disable_dma_channel(int dma_id,
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1025 int channel_id, int request_type)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1026 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1027 bool rc;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1028
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1029 rc = sh_css_sp_set_dma_sw_reg(dma_id, channel_id, request_type, false);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1030
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1031 return rc;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1032 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1033
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1034 /*
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1035 * @brief Enable the DMA channel.
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1036 * Refer to "ia_css_debug.h" for more details.
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1037 */
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1038 bool
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1039 ia_css_debug_mode_enable_dma_channel(int dma_id,
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1040 int channel_id, int request_type)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1041 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1042 bool rc;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1043
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1044 rc = sh_css_sp_set_dma_sw_reg(dma_id, channel_id, request_type, true);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1045
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1046 return rc;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1047 }
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1048
01cc2ec6ea04473 drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-09-23 @1049 static void __printf(1, 2) dtrace_dot(const char *fmt, ...)
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1050 {
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1051 va_list ap;
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1052
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1053 assert(fmt);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1054 va_start(ap, fmt);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1055
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1056 ia_css_debug_dtrace(IA_CSS_DEBUG_INFO, "%s", DPG_START);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1057 ia_css_debug_vdtrace(IA_CSS_DEBUG_INFO, fmt, ap);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1058 ia_css_debug_dtrace(IA_CSS_DEBUG_INFO, "%s", DPG_END);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1059 va_end(ap);
ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1060 }
bdfe0beb95eebc8 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 1061 Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
kernel test robot
build botkernel test robot noticed the following build errors:
Hi Everton,
kernel test robot noticed the following build errors:
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on staging/staging-next staging/staging-linus linus/master v7.1-rc3 next-20260508] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Everton-Colombo/media-atomisp-remove-returns-from-void-functions/20260510-154432 base: staging/staging-testing patch link: https://lore.kernel.org/r/20260506173028.24417-1-e.rcolombo2%40gmail.com patch subject: [PATCH v2] media: atomisp: remove returns from void functions config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20260512/[email protected]/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260512/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:443:1: error: function definition is not allowed here
443 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:808:1: error: function definition is not allowed here
808 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:825:1: error: function definition is not allowed here
825 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:840:1: error: function definition is not allowed here
840 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:854:1: error: function definition is not allowed here
854 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:879:1: error: function definition is not allowed here
879 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:947:1: error: function definition is not allowed here
947 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:977:1: error: function definition is not allowed here
977 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1012:1: error: function definition is not allowed here
1012 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1026:1: error: function definition is not allowed here
1026 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1041:1: error: function definition is not allowed here
1041 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1050:1: error: function definition is not allowed here
1050 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1069:1: error: function definition is not allowed here
1069 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1105:1: error: function definition is not allowed here
1105 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1115:1: error: function definition is not allowed here
1115 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1160:1: error: function definition is not allowed here
1160 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1370:1: error: function definition is not allowed here
1370 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1401:1: error: function definition is not allowed here
1401 | {
| ^
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c:1413:1: error: function definition is not allowed here
1413 | {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
--
>> drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:114:1: error: function definition is not allowed here
114 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:124:1: error: function definition is not allowed here
124 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:133:1: error: function definition is not allowed here
133 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:141:1: error: function definition is not allowed here
141 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:150:1: error: function definition is not allowed here
150 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:161:1: error: function definition is not allowed here
161 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:175:1: error: function definition is not allowed here
175 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:185:1: error: function definition is not allowed here
185 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:192:1: error: function definition is not allowed here
192 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:209:1: error: function definition is not allowed here
209 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:296:1: error: function definition is not allowed here
296 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:343:1: error: function definition is not allowed here
343 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:370:1: error: function definition is not allowed here
370 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:392:1: error: function definition is not allowed here
392 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:403:1: error: function definition is not allowed here
403 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:425:1: error: function definition is not allowed here
425 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:449:1: error: function definition is not allowed here
449 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:472:1: error: function definition is not allowed here
472 | {
| ^
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c:490:1: error: function definition is not allowed here
490 | {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
--
>> drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:638:1: error: function definition is not allowed here
638 | {
| ^
>> drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:646:2: error: expected '}'
646 | }
| ^
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:543:1: note: to match this '{'
543 | {
| ^2 errors generated.
vim +443 drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 387
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 388 void ia_css_debug_binary_print(const struct ia_css_binary *bi)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 389 {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 390 unsigned int i;
bdfe0beb95eebc drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 391
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 392 debug_binary_info_print(bi->info);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 393 ia_css_debug_dtrace(2,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 394 "input: %dx%d, format = %d, padded width = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 395 bi->in_frame_info.res.width,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 396 bi->in_frame_info.res.height,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 397 bi->in_frame_info.format,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 398 bi->in_frame_info.padded_width);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 399 ia_css_debug_dtrace(2,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 400 "internal :%dx%d, format = %d, padded width = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 401 bi->internal_frame_info.res.width,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 402 bi->internal_frame_info.res.height,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 403 bi->internal_frame_info.format,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 404 bi->internal_frame_info.padded_width);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 405 for (i = 0; i < IA_CSS_BINARY_MAX_OUTPUT_PORTS; i++) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 406 if (bi->out_frame_info[i].res.width != 0) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 407 ia_css_debug_dtrace(2,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 408 "out%d: %dx%d, format = %d, padded width = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 409 i,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 410 bi->out_frame_info[i].res.width,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 411 bi->out_frame_info[i].res.height,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 412 bi->out_frame_info[i].format,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 413 bi->out_frame_info[i].padded_width);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 414 }
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 415 }
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 416 ia_css_debug_dtrace(2,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 417 "vf out: %dx%d, format = %d, padded width = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 418 bi->vf_frame_info.res.width,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 419 bi->vf_frame_info.res.height,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 420 bi->vf_frame_info.format,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 421 bi->vf_frame_info.padded_width);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 422 ia_css_debug_dtrace(2, "online = %d\n", bi->online);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 423 ia_css_debug_dtrace(2, "input_buf_vectors = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 424 bi->input_buf_vectors);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 425 ia_css_debug_dtrace(2, "deci_factor_log2 = %d\n", bi->deci_factor_log2);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 426 ia_css_debug_dtrace(2, "vf_downscale_log2 = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 427 bi->vf_downscale_log2);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 428 ia_css_debug_dtrace(2, "dis_deci_factor_log2 = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 429 bi->dis.deci_factor_log2);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 430 ia_css_debug_dtrace(2, "dis hor coef num = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 431 bi->dis.coef.pad.width);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 432 ia_css_debug_dtrace(2, "dis ver coef num = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 433 bi->dis.coef.pad.height);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 434 ia_css_debug_dtrace(2, "dis hor proj num = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 435 bi->dis.proj.pad.height);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 436 ia_css_debug_dtrace(2, "sctbl_width_per_color = %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 437 bi->sctbl_width_per_color);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 438 ia_css_debug_dtrace(2, "s3atbl_width = %d\n", bi->s3atbl_width);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 439 ia_css_debug_dtrace(2, "s3atbl_height = %d\n", bi->s3atbl_height);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 440
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 441 void ia_css_debug_frame_print(const struct ia_css_frame *frame,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 442 const char *descr)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 @443 {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 444 char *data = NULL;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 445
bdfe0beb95eebc drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 446 assert(frame);
bdfe0beb95eebc drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 447 assert(descr);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 448
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 449 data = (char *)HOST_ADDRESS(frame->data);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 450 ia_css_debug_dtrace(2, "frame %s (%p):\n", descr, frame);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 451 ia_css_debug_dtrace(2, " resolution = %dx%d\n",
9a29f5fc340406 drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c Hans de Goede 2022-10-14 452 frame->frame_info.res.width, frame->frame_info.res.height);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 453 ia_css_debug_dtrace(2, " padded width = %d\n",
9a29f5fc340406 drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c Hans de Goede 2022-10-14 454 frame->frame_info.padded_width);
9a29f5fc340406 drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c Hans de Goede 2022-10-14 455 ia_css_debug_dtrace(2, " format = %d\n", frame->frame_info.format);
9a29f5fc340406 drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c Hans de Goede 2022-10-14 456 switch (frame->frame_info.format) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 457 case IA_CSS_FRAME_FORMAT_NV12:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 458 case IA_CSS_FRAME_FORMAT_NV16:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 459 case IA_CSS_FRAME_FORMAT_NV21:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 460 case IA_CSS_FRAME_FORMAT_NV61:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 461 ia_css_debug_dtrace(2, " Y = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 462 data + frame->planes.nv.y.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 463 ia_css_debug_dtrace(2, " UV = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 464 data + frame->planes.nv.uv.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 465 break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 466 case IA_CSS_FRAME_FORMAT_YUYV:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 467 case IA_CSS_FRAME_FORMAT_UYVY:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 468 case IA_CSS_FRAME_FORMAT_CSI_MIPI_YUV420_8:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 469 case IA_CSS_FRAME_FORMAT_CSI_MIPI_LEGACY_YUV420_8:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 470 case IA_CSS_FRAME_FORMAT_YUV_LINE:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 471 ia_css_debug_dtrace(2, " YUYV = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 472 data + frame->planes.yuyv.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 473 break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 474 case IA_CSS_FRAME_FORMAT_YUV420:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 475 case IA_CSS_FRAME_FORMAT_YUV422:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 476 case IA_CSS_FRAME_FORMAT_YUV444:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 477 case IA_CSS_FRAME_FORMAT_YV12:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 478 case IA_CSS_FRAME_FORMAT_YV16:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 479 case IA_CSS_FRAME_FORMAT_YUV420_16:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 480 case IA_CSS_FRAME_FORMAT_YUV422_16:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 481 ia_css_debug_dtrace(2, " Y = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 482 data + frame->planes.yuv.y.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 483 ia_css_debug_dtrace(2, " U = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 484 data + frame->planes.yuv.u.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 485 ia_css_debug_dtrace(2, " V = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 486 data + frame->planes.yuv.v.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 487 break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 488 case IA_CSS_FRAME_FORMAT_RAW_PACKED:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 489 ia_css_debug_dtrace(2, " RAW PACKED = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 490 data + frame->planes.raw.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 491 break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 492 case IA_CSS_FRAME_FORMAT_RAW:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 493 ia_css_debug_dtrace(2, " RAW = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 494 data + frame->planes.raw.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 495 break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 496 case IA_CSS_FRAME_FORMAT_RGBA888:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 497 case IA_CSS_FRAME_FORMAT_RGB565:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 498 ia_css_debug_dtrace(2, " RGB = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 499 data + frame->planes.rgb.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 500 break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 501 case IA_CSS_FRAME_FORMAT_QPLANE6:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 502 ia_css_debug_dtrace(2, " R = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 503 data + frame->planes.plane6.r.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 504 ia_css_debug_dtrace(2, " RatB = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 505 data + frame->planes.plane6.r_at_b.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 506 ia_css_debug_dtrace(2, " Gr = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 507 data + frame->planes.plane6.gr.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 508 ia_css_debug_dtrace(2, " Gb = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 509 data + frame->planes.plane6.gb.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 510 ia_css_debug_dtrace(2, " B = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 511 data + frame->planes.plane6.b.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 512 ia_css_debug_dtrace(2, " BatR = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 513 data + frame->planes.plane6.b_at_r.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 514 break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 515 case IA_CSS_FRAME_FORMAT_BINARY_8:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 516 ia_css_debug_dtrace(2, " Binary data = %p\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 517 data + frame->planes.binary.data.offset);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 518 break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 519 default:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 520 ia_css_debug_dtrace(2, " unknown frame type\n");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 521 break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 522 }
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 523 }
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c Mauro Carvalho Chehab 2020-04-19 524 Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki