Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 2967) sorted by relevance

12345678910>>...119

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/crypto/
Daes_i.h33 #define RCON(i) rcon[(i)] argument
35 #define TE0(i) Te0[((i) >> 24) & 0xff] argument
36 #define TE1(i) Te1[((i) >> 16) & 0xff] argument
37 #define TE2(i) Te2[((i) >> 8) & 0xff] argument
38 #define TE3(i) Te3[(i) & 0xff] argument
39 #define TE41(i) (Te4[((i) >> 24) & 0xff] & 0xff000000) argument
40 #define TE42(i) (Te4[((i) >> 16) & 0xff] & 0x00ff0000) argument
41 #define TE43(i) (Te4[((i) >> 8) & 0xff] & 0x0000ff00) argument
42 #define TE44(i) (Te4[(i) & 0xff] & 0x000000ff) argument
43 #define TE421(i) (Te4[((i) >> 16) & 0xff] & 0xff000000) argument
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/ctp/gslx680new/
Dgsl_point_id.c39 unsigned int i; member
621 int i; in Sqrt() local
623 for (i = 14; i >= 0; i--) { in Sqrt()
624 if ((ret + (0x1 << i)) * (ret + (0x1 << i)) <= d) in Sqrt()
625 ret |= (0x1 << i); in Sqrt()
666 int i; in PointCoor() local
669 for (i = 0; i < point_num; i++) { in PointCoor()
671 point_now[i].all &= (FLAG_COOR_EX | FLAG_KEY | FLAG_ABLE); in PointCoor()
673 point_now[i].all &= (FLAG_COOR | FLAG_KEY | FLAG_ABLE); in PointCoor()
678 int i, j; in PointRepeat() local
[all …]
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/3rdparty/carotene/src/
Dconvert.cpp75 for(size_t i = w; i < size.width; i++ ) \
76 _dst[i] = internal::saturate_cast<T2>(_src[i]); \
95 for (size_t i = 0; i < w; i += 16)
97 internal::prefetch(_src + i);
98 uint8x16_t vu8 = vld1q_u8(_src + i);
100 vst1q_s8(_dst + i, vu1);
108 for (size_t i = 0; i < w; i += 16)
110 internal::prefetch(_src + i);
116 : [src] "r" (_src + i),
117 [dst1] "r" (_dst + i + 0),
[all …]
Dconvert_scale.cpp76 for(size_t i = w; i < size.width; i++ ) \
77 _dst[i] = internal::saturate_cast<T2>(_src[i]*alpha + beta); \
111 for(size_t i = w; i < size.width; i++ ) \
112 _dst[i] = internal::saturate_cast<T1>(_src[i]*alpha + beta); \
143 for (size_t i = 0; i < w; i += 16)
145 internal::prefetch(_src + i);
178 : [src] "r" (_src + i),
179 [dst1] "r" (_dst + i + 0),
190 for (size_t i = 0; i < w; i += 16)
192 internal::prefetch(_src + i);
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v33x/de330/
Dde_feat.c52 u32 i, index = 0, num_channels = 0; in de_feat_get_num_layers() local
53 for (i = 0; i < disp; i++) in de_feat_get_num_layers()
54 index += de_feat_get_num_chns(i); in de_feat_get_num_layers()
56 for (i = 0; i < num_channels; i++, index++) in de_feat_get_num_layers()
66 u32 i, index = 0; in de_feat_get_num_layers_by_chn() local
67 for (i = 0; i < disp; i++) in de_feat_get_num_layers_by_chn()
68 index += de_feat_get_num_chns(i); in de_feat_get_num_layers_by_chn()
79 u32 i, index = 0, num_channels = 0; in de_feat_is_support_vep() local
80 for (i = 0; i < disp; i++) in de_feat_is_support_vep()
81 index += de_feat_get_num_chns(i); in de_feat_is_support_vep()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dbcmsrom.c1125 uint i, off, nw; local
1127 BCM_REFERENCE(i);
1190 for (i = 0; i < nw; i++) {
1191 if (sprom_read_sdio(osh, (uint16)(off + i), (uint16 *)(buf + i)))
1215 uint i, nw, crc_range; local
1530 for (i = 0; i < nw; i++) {
1531 if (old[i] != new[i]) {
1538 i, new[i]);
1540 W_REG(osh, &srom[i], new[i]);
1567 for (i = 0; i < nw; i++) {
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/
Dphydm_math_lib.c57 u32 i; in odm_pwdb_conversion() local
62 for (i = (total_bit - 1); i > 0; i--) { in odm_pwdb_conversion()
63 if (X & BIT(i)) { in odm_pwdb_conversion()
64 integer = i; in odm_pwdb_conversion()
65 if (i > 0) { in odm_pwdb_conversion()
67 decimal = (X & BIT(i - 1)) ? 2 : 0; in odm_pwdb_conversion()
90 u16 i = 0; in phydm_find_intrvl() local
94 for (i = 0; i < th_len; i++) { in phydm_find_intrvl()
95 if (val < threshold[i]) { in phydm_find_intrvl()
96 ret_val = i; in phydm_find_intrvl()
[all …]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiirq/kernel/
Dhiirq.c187 int i; in unmap_tx_reg_for_aio() local
188 for (i = 0; i < AIO_TX_MAX_NUM; i++) { in unmap_tx_reg_for_aio()
189 if (map->tx_clr_reg[i] != HI_NULL) { in unmap_tx_reg_for_aio()
190 osal_iounmap_ex((void *)map->tx_clr_reg[i], SINGLE_REG_SIZE); in unmap_tx_reg_for_aio()
191 map->tx_clr_reg[i] = HI_NULL; in unmap_tx_reg_for_aio()
193 if (map->tx_raw_reg[i] != HI_NULL) { in unmap_tx_reg_for_aio()
194 osal_iounmap_ex((void *)map->tx_raw_reg[i], SINGLE_REG_SIZE); in unmap_tx_reg_for_aio()
195 map->tx_raw_reg[i] = HI_NULL; in unmap_tx_reg_for_aio()
197 if (map->tx_stat_reg[i] != HI_NULL) { in unmap_tx_reg_for_aio()
198 osal_iounmap_ex((void *)map->tx_stat_reg[i], SINGLE_REG_SIZE); in unmap_tx_reg_for_aio()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_irq/kernel/
Dhiirq.c139 int i; in unmap_int_reg_for_aio() local
150 for (i = 0; i < AO_DEV_MAX_NUM; i++) { in unmap_int_reg_for_aio()
151 if (map->tx_clr_reg[i] != HI_NULL) { in unmap_int_reg_for_aio()
152 osal_iounmap((void *)map->tx_clr_reg[i], SINGLE_REG_SIZE); in unmap_int_reg_for_aio()
153 map->tx_clr_reg[i] = HI_NULL; in unmap_int_reg_for_aio()
155 if (map->tx_raw_reg[i] != HI_NULL) { in unmap_int_reg_for_aio()
156 osal_iounmap((void *)map->tx_raw_reg[i], SINGLE_REG_SIZE); in unmap_int_reg_for_aio()
157 map->tx_raw_reg[i] = HI_NULL; in unmap_int_reg_for_aio()
159 if (map->tx_stat_reg[i] != HI_NULL) { in unmap_int_reg_for_aio()
160 osal_iounmap((void *)map->tx_stat_reg[i], SINGLE_REG_SIZE); in unmap_int_reg_for_aio()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/external/sbc/plc/
Dsbc_plc.c56 int i; in SqrtByCarmack() member
66 float_int.i = 0x5f375a86 - (float_int.i >> 1); in SqrtByCarmack()
144 int i; in AmplitudeMatch() local
149 for (i = 0; i < SBC_FS; i++){ in AmplitudeMatch()
150 sumx += absolute(y[SBC_LHIST - SBC_FS + i]); in AmplitudeMatch()
151 sumy += absolute(y[bestmatch + i]); in AmplitudeMatch()
217 int i = 0; in sbc_plc_bad_frame() local
232 for (i = 0; i < SBC_OLAL; i++){ in sbc_plc_bad_frame()
233 val = ZIRbuf[i] * rcos[i] in sbc_plc_bad_frame()
234 + sf * plc_state->hist[plc_state->bestlag + i] * rcos[SBC_OLAL - i - 1]; in sbc_plc_bad_frame()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v3x/
Dde_feat.c696 unsigned int i, index = 0, num_channels = 0; in de_feat_get_num_layers() local
702 for (i = 0; i < disp; i++) in de_feat_get_num_layers()
703 index += de_feat_get_num_chns(i); in de_feat_get_num_layers()
706 for (i = 0; i < num_channels; i++, index++) in de_feat_get_num_layers()
714 unsigned int i, index = 0; in de_feat_get_num_layers_by_chn() local
721 for (i = 0; i < disp; i++) in de_feat_get_num_layers_by_chn()
722 index += de_feat_get_num_chns(i); in de_feat_get_num_layers_by_chn()
730 unsigned int i, index = 0, num_channels = 0; in de_feat_is_support_vep() local
736 for (i = 0; i < disp; i++) in de_feat_is_support_vep()
737 index += de_feat_get_num_chns(i); in de_feat_is_support_vep()
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/camera/
Ddvp_gc0328c.c654 uint32_t size = sizeof(sensor_gc0328c_init_talbe) / 2, i; in gc0328c_init() local
658 for (i = 0; i < size; i++) in gc0328c_init()
660 SENSOR_I2C_WRITE(sensor_gc0328c_init_talbe[i][0], sensor_gc0328c_init_talbe[i][1]); in gc0328c_init()
669 uint32_t size, i; in gc0328c_set_ppi() local
680 for (i = 0; i < size; i++) in gc0328c_set_ppi()
682 SENSOR_I2C_WRITE(sensor_gc0328c_QVGA_320_240_talbe[i][0], in gc0328c_set_ppi()
683 sensor_gc0328c_QVGA_320_240_talbe[i][1]); in gc0328c_set_ppi()
693 for (i = 0; i < size; i++) in gc0328c_set_ppi()
695 SENSOR_I2C_WRITE(sensor_gc0328c_VGA_320_480_talbe[i][0], in gc0328c_set_ppi()
696 sensor_gc0328c_VGA_320_480_talbe[i][1]); in gc0328c_set_ppi()
[all …]
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/include/
Ddls.h25 for(int i = 0; i < N; i++) in init_points() local
27 p.at<double>(0,i) = opoints.at<OpointType>(i).x; in init_points()
28 p.at<double>(1,i) = opoints.at<OpointType>(i).y; in init_points()
29 p.at<double>(2,i) = opoints.at<OpointType>(i).z; in init_points()
32 mn.at<double>(0) += p.at<double>(0,i); in init_points()
33 mn.at<double>(1) += p.at<double>(1,i); in init_points()
34 mn.at<double>(2) += p.at<double>(2,i); in init_points()
37 double sr = std::pow(ipoints.at<IpointType>(i).x, 2) + in init_points()
38 std::pow(ipoints.at<IpointType>(i).y, 2) + (double)1; in init_points()
41 z.at<double>(0,i) = ipoints.at<IpointType>(i).x / sr; in init_points()
[all …]
/device/soc/telink/b91/b91_ble_sdk/vendor/common/
Ddevice_manage.c74 for (int i = 0; i < MASTER_MAX_NUM; i++) { in dev_char_info_insert() local
75 if (conn_dev_list[i].conn_state == 0) { in dev_char_info_insert()
76 index = i; in dev_char_info_insert()
82 for (int i = MASTER_MAX_NUM; i < MASTER_MAX_NUM + SLAVE_MAX_NUM; i++) { in dev_char_info_insert() local
83 if (conn_dev_list[i].conn_state == 0) { in dev_char_info_insert()
84 index = i; in dev_char_info_insert()
109 for (int i = 0; i < MASTER_MAX_NUM; i++) { in dev_char_info_insert_by_conn_event() local
110 if (conn_dev_list[i].conn_state == 0) { in dev_char_info_insert_by_conn_event()
111 index = i; in dev_char_info_insert_by_conn_event()
117 for (int i = MASTER_MAX_NUM; i < MASTER_MAX_NUM + SLAVE_MAX_NUM; i++) { in dev_char_info_insert_by_conn_event() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw_lib/
Dmatrix_yuv_func.c35 int i; in vector_vector_add() local
36 for ( i = 0; i < dim1; ++i ) { in vector_vector_add()
37 v2[i] = v1[i] + v2[i]; in vector_vector_add()
42 int i, j; in matrix_vector_multiply() local
46 for ( i = 0; i < dim1; ++i ) { in matrix_vector_multiply()
49 temp += ( ( (int32_t)m[i * dim2 + j] * v[j] ) ); in matrix_vector_multiply()
50 result[i] = (uint16_t)( ( temp + ( 1 << 7 ) ) >> 8 ); in matrix_vector_multiply()
52 for ( i = 0; i < dim1; ++i ) in matrix_vector_multiply()
53 v[i] = ACAMERA_MAX( -1023, ACAMERA_MIN( 1023, result[i] ) ); in matrix_vector_multiply()
57 int i, j, k; in matrix_matrix_multiply() local
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw8/
Dde_feat.c126 unsigned int i, index = 0, num_channels = 0; in de_feat_get_num_layers() local
132 for (i = 0; i < disp; i++) in de_feat_get_num_layers()
133 index += de_feat_get_num_chns(i); in de_feat_get_num_layers()
136 for (i = 0; i < num_channels; i++, index++) in de_feat_get_num_layers()
144 unsigned int i, index = 0; in de_feat_get_num_layers_by_chn() local
151 for (i = 0; i < disp; i++) in de_feat_get_num_layers_by_chn()
152 index += de_feat_get_num_chns(i); in de_feat_get_num_layers_by_chn()
160 unsigned int i, index = 0, num_channels = 0; in de_feat_is_support_vep() local
166 for (i = 0; i < disp; i++) in de_feat_is_support_vep()
167 index += de_feat_get_num_chns(i); in de_feat_is_support_vep()
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_sleep.c108 int i; in hal_sleep_start_stats() local
110 for (i = 0; i < ARRAY_SIZE(wakeup_src_map); i++) { in hal_sleep_start_stats()
111 wakeup_src_map[i] = 0; in hal_sleep_start_stats()
112 wakeup_multi_src_map[i] = 0; in hal_sleep_start_stats()
114 for (i = 0; i < ARRAY_SIZE(wakeup_total_interval); i++) { in hal_sleep_start_stats()
115 wakeup_total_interval[i] = 0; in hal_sleep_start_stats()
153 int i; in hal_sleep_calc_wakeup_interval() local
160 for (i = 0; i < ARRAY_SIZE(wakeup_src_map); i++) { in hal_sleep_calc_wakeup_interval()
162 if (wakeup_src_map[i] & (1 << j)) { in hal_sleep_calc_wakeup_interval()
163 index = i * 32 + j; in hal_sleep_calc_wakeup_interval()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6324/
Dmipi_dev_nvp6324.c139 int i, dev_num = 0; in vd_set_all() local
143 for (i = 0; i < 4; i++) { in vd_set_all()
145 , param->ch_param[i].ch in vd_set_all()
146 , param->ch_param[i].format in vd_set_all()
147 , param->ch_param[i].input in vd_set_all()
148 , param->ch_param[i].interface); in vd_set_all()
154 for (i = 0; i < 4; i++) { in vd_set_all()
155 video_val[i].ch = param->ch_param[i].ch; in vd_set_all()
156 video_val[i].format = param->ch_param[i].format; in vd_set_all()
157 video_val[i].input = param->ch_param[i].input; in vd_set_all()
[all …]
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/drv/cmd_bin/
Dddr_training_cmd.c156 int i, j; in ddr_training_result_init() local
164 for (i = 0; i < cfg->phy_num; i++) { in ddr_training_result_init()
165 if (cfg->phy[i].rank_num > DDR_SUPPORT_RANK_MAX) { in ddr_training_result_init()
169 ddrtr_res->phy_st[i].rank_num = cfg->phy[i].rank_num; in ddr_training_result_init()
171 for (j = 0; j < cfg->phy[i].rank_num; j++) { in ddr_training_result_init()
172 ddrtr_res->phy_st[i].rank_st[j].item = cfg->phy[i].rank[j].item; in ddr_training_result_init()
173 ddrtr_res->phy_st[i].rank_st[j].ddrtr_data.base_phy = cfg->phy[i].addr; in ddr_training_result_init()
174 ddrtr_res->phy_st[i].rank_st[j].ddrtr_data.byte_num = cfg->phy[i].total_byte_num; in ddr_training_result_init()
175 ddrtr_res->phy_st[i].rank_st[j].ddrtr_data.rank_idx = j; in ddr_training_result_init()
183 unsigned int i; in ddr_result_data_save() local
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/misc/sunxi-rf/
Dsunxi-bluetooth.c48 int ret = 0, i; in sunxi_bt_on() local
51 for (i = 0; i < CLK_MAX; i++) { in sunxi_bt_on()
52 if (!IS_ERR_OR_NULL(data->clk[i])) in sunxi_bt_on()
53 clk_prepare_enable(data->clk[i]); in sunxi_bt_on()
56 for (i = 0; i < PWR_MAX; i++) { in sunxi_bt_on()
57 if (!IS_ERR_OR_NULL(data->power[i])) { in sunxi_bt_on()
58 if (data->power_vol[i]) { in sunxi_bt_on()
59 ret = regulator_set_voltage(data->power[i], in sunxi_bt_on()
60 data->power_vol[i], data->power_vol[i]); in sunxi_bt_on()
63 i, data->power_name[i]); in sunxi_bt_on()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Dbcmendian.h71 #define HTON16(i) BCMSWAP16(i) argument
72 #define hton16(i) bcmswap16(i) argument
73 #define HTON32(i) BCMSWAP32(i) argument
74 #define hton32(i) bcmswap32(i) argument
75 #define NTOH16(i) BCMSWAP16(i) argument
76 #define ntoh16(i) bcmswap16(i) argument
77 #define NTOH32(i) BCMSWAP32(i) argument
78 #define ntoh32(i) bcmswap32(i) argument
79 #define LTOH16(i) (i) argument
80 #define ltoh16(i) (i) argument
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Disp_stats_v2x.c64 int i; in rkisp_stats_get_rawawb_meas_reg() local
71 for (i = 0; i < ISP2X_RAWAWB_SUM_NUM; i++) { in rkisp_stats_get_rawawb_meas_reg()
72 pbuf->params.rawawb.ro_rawawb_sum_r_nor[i] = in rkisp_stats_get_rawawb_meas_reg()
73 rkisp_read(stats_vdev->dev, ISP_RAWAWB_SUM_R_NOR_0 + 0x30 * i, true); in rkisp_stats_get_rawawb_meas_reg()
74 pbuf->params.rawawb.ro_rawawb_sum_g_nor[i] = in rkisp_stats_get_rawawb_meas_reg()
75 rkisp_read(stats_vdev->dev, ISP_RAWAWB_SUM_G_NOR_0 + 0x30 * i, true); in rkisp_stats_get_rawawb_meas_reg()
76 pbuf->params.rawawb.ro_rawawb_sum_b_nor[i] = in rkisp_stats_get_rawawb_meas_reg()
77 rkisp_read(stats_vdev->dev, ISP_RAWAWB_SUM_B_NOR_0 + 0x30 * i, true); in rkisp_stats_get_rawawb_meas_reg()
78 pbuf->params.rawawb.ro_rawawb_wp_num_nor[i] = in rkisp_stats_get_rawawb_meas_reg()
79 rkisp_read(stats_vdev->dev, ISP_RAWAWB_WP_NUM_NOR_0 + 0x30 * i, true); in rkisp_stats_get_rawawb_meas_reg()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_sun50iw1/
Dde_feat.c143 unsigned int i, index = 0, num_channels = 0; in de_feat_get_num_layers() local
149 for (i = 0; i < disp; i++) in de_feat_get_num_layers()
150 index += de_feat_get_num_chns(i); in de_feat_get_num_layers()
153 for (i = 0; i < num_channels; i++, index++) in de_feat_get_num_layers()
161 unsigned int i, index = 0; in de_feat_get_num_layers_by_chn() local
168 for (i = 0; i < disp; i++) in de_feat_get_num_layers_by_chn()
169 index += de_feat_get_num_chns(i); in de_feat_get_num_layers_by_chn()
177 unsigned int i, index = 0, num_channels = 0; in de_feat_is_support_vep() local
183 for (i = 0; i < disp; i++) in de_feat_is_support_vep()
184 index += de_feat_get_num_chns(i); in de_feat_is_support_vep()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/
Daml_dvb.c69 #define DSC_MODE_FUNC_DECL(i)\ argument
70 static ssize_t dsc##i##_store_mode(struct class *class,\
73 dsc_set_mode(&aml_dvb_device.dsc[i], SW_DSC_MODE);\
75 dsc_set_mode(&aml_dvb_device.dsc[i], HW_DSC_MODE);\
79 static ssize_t dsc##i##_show_mode(struct class *class,\
84 dsc_get_mode(&aml_dvb_device.dsc[i],&mode);\
96 #define DSC_PATH_FUNC_DECL(i) \ argument
97 static ssize_t dsc##i##_store_path(struct class *class,\
117 ret = hwdmx_set_dsc(aml_dvb_device.hwdmx[path],i,link);\
125 static ssize_t dsc##i##_show_path(struct class *class,\
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/
Dbta_gatts_utils.c66 UINT8 i; in bta_gatts_alloc_srvc_cb() local
68 for (i = 0; i < BTA_GATTS_MAX_SRVC_NUM; i ++) { in bta_gatts_alloc_srvc_cb()
69 if (!p_cb->srvc_cb[i].in_use) { in bta_gatts_alloc_srvc_cb()
70 p_cb->srvc_cb[i].in_use = 1; in bta_gatts_alloc_srvc_cb()
71 p_cb->srvc_cb[i].rcb_idx = rcb_idx; in bta_gatts_alloc_srvc_cb()
72 return i; in bta_gatts_alloc_srvc_cb()
89 UINT8 i; in bta_gatts_find_app_rcb_by_app_if() local
92 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; i ++, p_reg++) { in bta_gatts_find_app_rcb_by_app_if()
112 UINT8 i; in bta_gatts_find_app_rcb_idx_by_app_if() local
114 for (i = 0; i < BTA_GATTS_MAX_APP_NUM; i ++) { in bta_gatts_find_app_rcb_idx_by_app_if()
[all …]

12345678910>>...119