@@ -1022,8 +1022,10 @@ sh_css_sp_init_stage(struct ia_css_binary *binary,
1022
1022
*/
1023
1023
if (binary -> info -> sp .pipeline .mode == IA_CSS_BINARY_MODE_PREVIEW &&
1024
1024
(binary -> vf_downscale_log2 > 0 )) {
1025
- /* TODO: Remove this after preview output decimation is fixed
1026
- * by configuring out&vf info fiels properly */
1025
+ /*
1026
+ * TODO: Remove this after preview output decimation is fixed
1027
+ * by configuring out&vf info fields properly.
1028
+ */
1027
1029
sh_css_sp_stage .frames .out [0 ].info .padded_width
1028
1030
<<= binary -> vf_downscale_log2 ;
1029
1031
sh_css_sp_stage .frames .out [0 ].info .res .width
@@ -1325,7 +1327,7 @@ bool sh_css_write_host2sp_command(enum host2sp_commands host2sp_command)
1325
1327
host2sp_command )
1326
1328
/ sizeof (int );
1327
1329
enum host2sp_commands last_cmd = host2sp_cmd_error ;
1328
- (void )HIVE_ADDR_host_sp_com ; /* Suppres warnings in CRUN */
1330
+ (void )HIVE_ADDR_host_sp_com ; /* Suppress warnings in CRUN */
1329
1331
1330
1332
/* Previous command must be handled by SP (by design) */
1331
1333
last_cmd = load_sp_array_uint (host_sp_com , offset );
@@ -1343,15 +1345,15 @@ sh_css_read_host2sp_command(void)
1343
1345
unsigned int HIVE_ADDR_host_sp_com = sh_css_sp_fw .info .sp .host_sp_com ;
1344
1346
unsigned int offset = (unsigned int )offsetof(struct host_sp_communication , host2sp_command )
1345
1347
/ sizeof (int );
1346
- (void )HIVE_ADDR_host_sp_com ; /* Suppres warnings in CRUN */
1348
+ (void )HIVE_ADDR_host_sp_com ; /* Suppress warnings in CRUN */
1347
1349
return (enum host2sp_commands )load_sp_array_uint (host_sp_com , offset );
1348
1350
}
1349
1351
1350
1352
/*
1351
1353
* Frame data is no longer part of the sp_stage structure but part of a
1352
1354
* separate structure. The aim is to make the sp_data struct static
1353
1355
* (it defines a pipeline) and that the dynamic (per frame) data is stored
1354
- * separetly .
1356
+ * separately .
1355
1357
*
1356
1358
* This function must be called first every where were you start constructing
1357
1359
* a new pipeline by defining one or more stages with use of variable
@@ -1364,7 +1366,7 @@ sh_css_init_host2sp_frame_data(void)
1364
1366
/* Clean table */
1365
1367
unsigned int HIVE_ADDR_host_sp_com = sh_css_sp_fw .info .sp .host_sp_com ;
1366
1368
1367
- (void )HIVE_ADDR_host_sp_com ; /* Suppres warnings in CRUN */
1369
+ (void )HIVE_ADDR_host_sp_com ; /* Suppress warnings in CRUN */
1368
1370
/*
1369
1371
* rvanimme: don't clean it to save static frame info line ref_in
1370
1372
* ref_out, and tnr_frames. Once this static data is in a
@@ -1544,7 +1546,7 @@ ia_css_pipe_set_irq_mask(struct ia_css_pipe *pipe,
1544
1546
* - different assert for Linux and Windows
1545
1547
*/
1546
1548
1547
- (void )HIVE_ADDR_host_sp_com ; /* Suppres warnings in CRUN */
1549
+ (void )HIVE_ADDR_host_sp_com ; /* Suppress warnings in CRUN */
1548
1550
1549
1551
IA_CSS_LOG ("or_mask=%x, and_mask=%x" , or_mask , and_mask );
1550
1552
event_irq_mask .or_mask = (uint16_t )or_mask ;
@@ -1573,7 +1575,7 @@ ia_css_event_get_irq_mask(const struct ia_css_pipe *pipe,
1573
1575
struct sh_css_event_irq_mask event_irq_mask ;
1574
1576
unsigned int pipe_num ;
1575
1577
1576
- (void )HIVE_ADDR_host_sp_com ; /* Suppres warnings in CRUN */
1578
+ (void )HIVE_ADDR_host_sp_com ; /* Suppress warnings in CRUN */
1577
1579
1578
1580
IA_CSS_ENTER_LEAVE ("" );
1579
1581
@@ -1623,7 +1625,7 @@ sh_css_sp_start_isp(void)
1623
1625
if (sp_running )
1624
1626
return ;
1625
1627
1626
- (void )HIVE_ADDR_sp_sw_state ; /* Suppres warnings in CRUN */
1628
+ (void )HIVE_ADDR_sp_sw_state ; /* Suppress warnings in CRUN */
1627
1629
1628
1630
/* no longer here, sp started immediately */
1629
1631
/*ia_css_debug_pipe_graph_dump_epilogue();*/
@@ -1664,7 +1666,7 @@ ia_css_isp_has_started(void)
1664
1666
{
1665
1667
const struct ia_css_fw_info * fw = & sh_css_sp_fw ;
1666
1668
unsigned int HIVE_ADDR_ia_css_ispctrl_sp_isp_started = fw -> info .sp .isp_started ;
1667
- (void )HIVE_ADDR_ia_css_ispctrl_sp_isp_started ; /* Suppres warnings in CRUN */
1669
+ (void )HIVE_ADDR_ia_css_ispctrl_sp_isp_started ; /* Suppress warnings in CRUN */
1668
1670
1669
1671
return (bool )load_sp_uint (ia_css_ispctrl_sp_isp_started );
1670
1672
}
@@ -1719,7 +1721,7 @@ sh_css_sp_set_dma_sw_reg(int dma_id,
1719
1721
sw_reg =
1720
1722
sh_css_sp_group .debug .dma_sw_reg ;
1721
1723
1722
- /* get the offest of the target bit */
1724
+ /* get the offset of the target bit */
1723
1725
bit_offset = (8 * request_type ) + channel_id ;
1724
1726
1725
1727
/* clear the value of the target bit */
0 commit comments