| /drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
| A D | ia_css_eed1_8.host.c | 121 for (j = 0; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { in ia_css_eed1_8_vmem_encode() 126 for (j = 1; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { in ia_css_eed1_8_vmem_encode() 143 for (j = 1; j < NUMBER_OF_CHGRINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 147 for (j = 1; j < NUMBER_OF_TCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 148 assert(tcinv_x[j] > tcinv_x[j - 1]); in ia_css_eed1_8_vmem_encode() 151 for (j = 1; j < NUMBER_OF_FCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 165 for (j = 0; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { in ia_css_eed1_8_vmem_encode() 172 for (j = 0; j < (IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS - 1); j++) { in ia_css_eed1_8_vmem_encode() 190 for (j = 0; j < NUMBER_OF_CHGRINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 197 for (j = 0; j < NUMBER_OF_TCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() [all …]
|
| /drivers/video/logo/ |
| A D | pnmtologo.c | 174 for (j = 0; j < logo_width; j++) in read_image() 183 for (j = 0; j < logo_width; j++) in read_image() 192 for (j = 0; j < logo_width; j++) { in read_image() 284 for (j = 0; j < logo_width; j++) in write_logo_mono() 293 for (j = 0; j < logo_width;) { in write_logo_mono() 312 for (j = 0; j < logo_width; j++) { in write_logo_vga16() 327 for (j = 0; j < logo_width; j++) { in write_logo_vga16() 351 for (j = 0; j < logo_width; j++) { in write_logo_clut224() 369 for (j = 0; j < logo_width; j++) { in write_logo_clut224() 397 for (j = 0; j < logo_width; j++) in write_logo_gray256() [all …]
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_csr.c | 65 u32 i, j; in fbnic_csr_get_regs_rpc_ram() local 72 for (j = 0; j < FBNIC_RPC_TCAM_ACT_DW_PER_ENTRY; j++) in fbnic_csr_get_regs_rpc_ram() 78 for (j = 0; j < FBNIC_RPC_TCAM_MACDA_DW_PER_ENTRY; j++) in fbnic_csr_get_regs_rpc_ram() 84 for (j = 0; j < FBNIC_RPC_TCAM_OUTER_IPSRC_DW_PER_ENTRY; j++) in fbnic_csr_get_regs_rpc_ram() 90 for (j = 0; j < FBNIC_RPC_TCAM_OUTER_IPDST_DW_PER_ENTRY; j++) in fbnic_csr_get_regs_rpc_ram() 96 for (j = 0; j < FBNIC_RPC_TCAM_IPSRC_DW_PER_ENTRY; j++) in fbnic_csr_get_regs_rpc_ram() 102 for (j = 0; j < FBNIC_RPC_TCAM_IPDST_DW_PER_ENTRY; j++) in fbnic_csr_get_regs_rpc_ram() 108 for (j = 0; j < FBNIC_RPC_RSS_TBL_DW_PER_ENTRY; j++) in fbnic_csr_get_regs_rpc_ram() 119 int i, j; in fbnic_csr_get_regs() local 128 for (j = bound->start; j < bound->end; j++) in fbnic_csr_get_regs() [all …]
|
| /drivers/acpi/acpica/ |
| A D | utbuffer.c | 37 u32 j; in acpi_ut_dump_buffer() local 64 for (j = 0; j < 16;) { in acpi_ut_dump_buffer() 70 j += display; in acpi_ut_dump_buffer() 109 j += display; in acpi_ut_dump_buffer() 118 for (j = 0; j < 16; j++) { in acpi_ut_dump_buffer() 128 if (j == 0) { in acpi_ut_dump_buffer() 209 u32 j; in acpi_ut_dump_buffer_to_file() local 232 for (j = 0; j < 16;) { in acpi_ut_dump_buffer_to_file() 238 j += display; in acpi_ut_dump_buffer_to_file() 277 j += display; in acpi_ut_dump_buffer_to_file() [all …]
|
| /drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| A D | channel.c | 236 for (j = 0; j < WL_TX_POWER_CCK_NUM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 240 for (j = 0; j < WL_TX_POWER_OFDM_NUM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 244 for (j = 0; j < BRCMS_NUM_RATES_OFDM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 249 for (j = 0; j < BRCMS_NUM_RATES_OFDM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 254 for (j = 0; j < BRCMS_NUM_RATES_OFDM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 259 for (j = 0; j < BRCMS_NUM_RATES_MCS_1_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 264 for (j = 0; j < BRCMS_NUM_RATES_MCS_1_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 269 for (j = 0; j < BRCMS_NUM_RATES_MCS_1_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 274 for (j = 0; j < BRCMS_NUM_RATES_MCS_2_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 279 for (j = 0; j < BRCMS_NUM_RATES_MCS_1_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() [all …]
|
| /drivers/md/bcache/ |
| A D | bset.c | 374 j = j * 2 + 1; in inorder_next() 379 j >>= ffz(j) + 1; in inorder_next() 391 j = j * 2; in inorder_prev() 394 j = j * 2 + 1; in inorder_prev() 396 j >>= ffs(j); in inorder_prev() 428 j -= (j - extra) >> 1; in __to_inorder() 449 j += j - extra; in __inorder_to_tree() 769 j = j * 2; in bch_bset_fix_invalidated_key() 779 j = j * 2 + 1; in bch_bset_fix_invalidated_key() 807 for (; j < t->size; j++) { in bch_bset_fix_lookup_table() [all …]
|
| A D | journal.c | 93 if (j->csum != csum_set(j)) { in journal_read_bucket() 118 if (i->j.seq >= j->last_seq) in journal_read_bucket() 126 if (j->seq == i->j.seq) in journal_read_bucket() 133 if (j->seq < i->j.last_seq) in journal_read_bucket() 140 if (j->seq > i->j.seq) { in journal_read_bucket() 152 unsafe_memcpy(&i->j, j, bytes, in journal_read_bucket() 163 j = ((void *) j) + blocks * block_bytes(ca); in journal_read_bucket() 330 for (j = 0; j < KEY_PTRS(k); j++) in bch_journal_mark() 569 #define last_seq(j) ((j)->seq - fifo_used(&(j)->pin) + 1) argument 698 j->cur = (j->cur == j->w) in bch_journal_next() [all …]
|
| /drivers/media/platform/verisilicon/ |
| A D | rockchip_av1_filmgrain.c | 245 s32 i, j; in rockchip_av1_generate_luma_grain_block() local 248 for (j = 0; j < 82; j++) { in rockchip_av1_generate_luma_grain_block() 264 for (j = 3; j < 82 - 3; j++) { in rockchip_av1_generate_luma_grain_block() 307 s32 i, j; in rockchip_av1_generate_chroma_grain_block() local 312 for (j = 0; j < 44; j++) { in rockchip_av1_generate_chroma_grain_block() 316 (*cb_grain_block)[i][j] = in rockchip_av1_generate_chroma_grain_block() 330 for (j = 0; j < 44; j++) { in rockchip_av1_generate_chroma_grain_block() 334 (*cr_grain_block)[i][j] = in rockchip_av1_generate_chroma_grain_block() 346 for (j = 3; j < 44 - 3; j++) { in rockchip_av1_generate_chroma_grain_block() 388 (*cb_grain_block)[i][j] = in rockchip_av1_generate_chroma_grain_block() [all …]
|
| A D | hantro_vp8.c | 53 u32 i, j, k; in hantro_vp8_prob_update() local 90 for (j = 0; j < 8; j += 4) { in hantro_vp8_prob_update() 91 dst[0] = entropy->mv_probs[i][j + 9 + 0]; in hantro_vp8_prob_update() 92 dst[1] = entropy->mv_probs[i][j + 9 + 1]; in hantro_vp8_prob_update() 93 dst[2] = entropy->mv_probs[i][j + 9 + 2]; in hantro_vp8_prob_update() 94 dst[3] = entropy->mv_probs[i][j + 9 + 3]; in hantro_vp8_prob_update() 114 for (j = 0; j < 8; ++j) { in hantro_vp8_prob_update() 116 dst[0] = entropy->coeff_probs[i][j][k][0]; in hantro_vp8_prob_update() 117 dst[1] = entropy->coeff_probs[i][j][k][1]; in hantro_vp8_prob_update() 118 dst[2] = entropy->coeff_probs[i][j][k][2]; in hantro_vp8_prob_update() [all …]
|
| /drivers/net/ethernet/sunplus/ |
| A D | spl2sw_desc.c | 17 u32 i, j; in spl2sw_rx_descs_flush() local 22 for (j = 0; j < comm->rx_desc_num[i]; j++) { in spl2sw_rx_descs_flush() 23 rx_desc[j].addr1 = rx_skbinfo[j].mapping; in spl2sw_rx_descs_flush() 24 rx_desc[j].cmd2 = (j == comm->rx_desc_num[i] - 1) ? in spl2sw_rx_descs_flush() 64 u32 i, j; in spl2sw_rx_descs_clean() local 72 for (j = 0; j < comm->rx_desc_num[i]; j++) { in spl2sw_rx_descs_clean() 73 rx_desc[j].cmd1 = 0; in spl2sw_rx_descs_clean() 75 rx_desc[j].cmd2 = 0; in spl2sw_rx_descs_clean() 129 u32 i, j; in spl2sw_rx_descs_init() local 139 for (j = 0; j < comm->rx_desc_num[i]; j++) { in spl2sw_rx_descs_init() [all …]
|
| /drivers/gpu/drm/panfrost/ |
| A D | panfrost_job.c | 410 int j; in panfrost_job_enable_interrupts() local 415 for (j = 0; j < NUM_JOB_SLOTS; j++) { in panfrost_job_enable_interrupts() 510 for (j = 0; j < NUM_JOB_SLOTS; j++) { in panfrost_job_handle_irq() 551 for (j = 0; j < NUM_JOB_SLOTS; j++) { in panfrost_job_handle_irq() 580 for (j = 0; j < NUM_JOB_SLOTS; j++) { in panfrost_job_handle_irq() 584 if (!failed[j] || !pfdev->jobs[j][0]) in panfrost_job_handle_irq() 700 for (j = 0; j < ARRAY_SIZE(pfdev->jobs[0]) && pfdev->jobs[i][j]; j++) { in panfrost_reset() 883 for (j = 0; j < NUM_JOB_SLOTS; j++) { in panfrost_job_init() 898 for (j--; j >= 0; j--) in panfrost_job_init() 912 for (j = 0; j < NUM_JOB_SLOTS; j++) { in panfrost_job_fini() [all …]
|
| /drivers/staging/rtl8723bs/core/ |
| A D | rtw_security.c | 958 for (j = 0; j < 16; j++) in aes_cipher() 967 for (j = 0 ; j < 8; j++) in aes_cipher() 971 for (j = 0; j < 8; j++) in aes_cipher() 1008 for (j = 0; j < 16; j++) in aes_cipher() 1010 for (j = 0; j < 8; j++) in aes_cipher() 1015 for (j = 0; j < 8; j++) in aes_cipher() 1213 for (j = 0; j < 8; j++) in aes_decipher() 1217 for (j = 0; j < 8; j++) in aes_decipher() 1253 for (j = 0; j < 16; j++) in aes_decipher() 1255 for (j = 0; j < 8; j++) in aes_decipher() [all …]
|
| /drivers/scsi/ |
| A D | atp870u.c | 371 j = (j & 0x07) | 0x40; in atp870u_intr_handle() 410 j = 0; in atp870u_intr_handle() 794 j = 0; in DEF_SCSI_QCMD() 851 j = (j & 0x07) | 0x40; in DEF_SCSI_QCMD() 1042 j = 16; in tscam() 1158 j = 0; in tscam() 1176 j++; in tscam() 1240 for (j=0; j < 2; j++) { in atp870u_free_tables() 1656 for (j = 0; j < 0x18; j++) { in atp870u_abort() 1663 for(j=0;j<16;j++) { in atp870u_abort() [all …]
|
| /drivers/video/fbdev/core/ |
| A D | fbcon_rotate.h | 42 int i, j; in rotate_ud() local 48 for (j = 0; j < width - shift; j++) { in rotate_ud() 49 if (pattern_test_bit(j, i, width, in)) in rotate_ud() 50 pattern_set_bit(width - (1 + j + shift), in rotate_ud() 60 int i, j, h = height, w = width; in rotate_cw() local 67 for (j = 0; j < w; j++) { in rotate_cw() 68 if (pattern_test_bit(j, i, width, in)) in rotate_cw() 78 int i, j, h = height, w = width; in rotate_ccw() local 85 for (j = 0; j < w; j++) { in rotate_ccw() 86 if (pattern_test_bit(j, i, width, in)) in rotate_ccw() [all …]
|
| /drivers/media/v4l2-core/ |
| A D | v4l2-vp9.c | 1230 for (j = 0; j < ARRAY_SIZE(probs->coef[0]); j++) in update_coef_probs() 1326 for (j = 0; j < ARRAY_SIZE(probs->y_mode[0]); ++j) in update_y_mode_probs() 1338 for (j = 0; j < 4; j++) { in update_partition_probs() 1376 for (j = 0; j < ARRAY_SIZE(probs->mv.classes[0]); j++) in update_mv_probs() 1377 p[j] = update_mv_prob(d[j], p[j]); in update_mv_probs() 1385 for (j = 0; j < ARRAY_SIZE(probs->mv.bits[0]); j++) in update_mv_probs() 1386 p[j] = update_mv_prob(d[j], p[j]); in update_mv_probs() 1399 for (j = 0; j < ARRAY_SIZE(probs->mv.fr[i]); j++) in update_mv_probs() 1400 p[j] = update_mv_prob(d[j], p[j]); in update_mv_probs() 1700 for (j = 0; j < ARRAY_SIZE(probs->coef[0]); j++) in _adapt_coef_probs() [all …]
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| A D | nv30.c | 66 calc_bias(struct nvkm_fb *fb, int k, int i, int j) in calc_bias() argument 80 int j, x = 0; in calc_ref() local 82 for (j = 0; j < 4; j++) { in calc_ref() 85 x |= (0x80 | clamp(m, 0, 0x1f)) << (8 * j); in calc_ref() 95 int i, j; in nv30_fb_init() local 106 for (j = 0; j < 3; j++) in nv30_fb_init() 107 nvkm_wr32(device, 0x10037c + 0xc * i + 0x4 * j, in nv30_fb_init() 108 calc_ref(fb, l, 0, j)); in nv30_fb_init() 110 for (j = 0; j < 2; j++) in nv30_fb_init() 111 nvkm_wr32(device, 0x1003ac + 0x8 * i + 0x4 * j, in nv30_fb_init() [all …]
|
| /drivers/tty/ipwireless/ |
| A D | tty.c | 441 if (!ttys[j]) in add_tty() 443 ttys[j]->index = j; in add_tty() 452 tty_port_register_device(&ttys[j]->port, ipw_tty_driver, j, NULL); in add_tty() 458 ttys[j]); in add_tty() 460 if (get_tty(j)) in add_tty() 471 int i, j; in ipwireless_tty_create() local 476 for (j = i; j < IPWIRELESS_PCMCIA_MINORS; in ipwireless_tty_create() 484 j = i; in ipwireless_tty_create() 514 int j; in ipwireless_tty_free() local 517 for (j = tty->index; j < IPWIRELESS_PCMCIA_MINORS; in ipwireless_tty_free() [all …]
|
| /drivers/input/joystick/ |
| A D | sidewinder.c | 180 int j; in sw_read_packet() local 182 for (j = 0; j < i; j++) printk("%d", buf[j]); in sw_read_packet() 305 for (j = 0; j < 7; j++) in sw_parse() 325 for (j = 0; j < 10; j++) in sw_parse() 348 for (j = 0; j < 9; j++) in sw_parse() 349 input_report_key(dev, sw_btn[SW_ID_PP][j], !GB(j,1)); in sw_parse() 368 for (j = 0; j < 6; j++) in sw_parse() 390 for (j = 0; j < 8; j++) in sw_parse() 719 l = j; in sw_connect() 750 for (j = 0; (bits = sw_bit[sw->type][j]); j++) { in sw_connect() [all …]
|
| A D | grip.c | 142 j++; in grip_xt_read_packet() 168 int i, j; in grip_poll() local 190 for (j = 0; j < 12; j++) in grip_poll() 192 input_report_key(dev, grip_btn_gpp[j], (*data >> j) & 1); in grip_poll() 210 for (j = 0; j < 5; j++) in grip_poll() 211 input_report_key(dev, grip_btn_bd[j], (data[3] >> (j + 4)) & 1); in grip_poll() 233 for (j = 0; j < 11; j++) in grip_poll() 253 for (j = 0; j < 9; j++) in grip_poll() 284 int i, j, t; in grip_connect() local 354 for (j = 0; (t = grip_abs[grip->mode[i]][j]) >= 0; j++) { in grip_connect() [all …]
|
| /drivers/sh/intc/ |
| A D | handle.c | 22 unsigned int i, j; in intc_grp_id() local 27 for (j = 0; g->enum_ids[j]; j++) { in intc_grp_id() 93 unsigned int j = 0; in intc_get_mask_handle() local 162 unsigned int j = 0; in intc_get_prio_handle() local 185 for (j = 0; j < ARRAY_SIZE(mr->enum_ids); j++) { in intc_ack_data() 235 unsigned int i, j, data; in intc_enable_disable_enum() local 238 i = j = 0; in intc_enable_disable_enum() 243 j++; in intc_enable_disable_enum() 247 i = j = 0; in intc_enable_disable_enum() 253 j++; in intc_enable_disable_enum() [all …]
|
| /drivers/isdn/mISDN/ |
| A D | dsp_blowfish.c | 377 if (j < 9) { in dsp_bf_encrypt() 378 bf_data_in[j] = *data; in dsp_bf_encrypt() 379 *data++ = bf_crypt_out[j++]; in dsp_bf_encrypt() 383 j = 0; in dsp_bf_encrypt() 443 dsp->bf_crypt_pos = j; in dsp_bf_encrypt() 481 j -= 9; in dsp_bf_decrypt() 550 dsp->bf_decrypt_in_pos = j; in dsp_bf_decrypt() 596 short i, j, count; in dsp_bf_init() local 619 for (j = 0; j < 4; j++, count++) in dsp_bf_init() 634 j = (j + 4) % keylen; in dsp_bf_init() [all …]
|
| /drivers/platform/x86/amd/pmf/ |
| A D | sps.c | 62 int i, j; in amd_pmf_dump_sps_defaults() local 67 for (j = 0; j < POWER_MODE_MAX; j++) { in amd_pmf_dump_sps_defaults() 69 slider_as_str(j)); in amd_pmf_dump_sps_defaults() 87 unsigned int i, j; in amd_pmf_dump_sps_defaults_v2() local 93 for (j = 0; j < POWER_MODE_V2_MAX; j++) in amd_pmf_dump_sps_defaults_v2() 95 data->sps_idx.power_states[i][j]); in amd_pmf_dump_sps_defaults_v2() 151 unsigned int i, j; in amd_pmf_load_defaults_sps_v2() local 159 for (j = 0; j < POWER_MODE_V2_MAX; j++) in amd_pmf_load_defaults_sps_v2() 161 output.sps_idx.power_states[i][j]; in amd_pmf_load_defaults_sps_v2() 169 int i, j, idx = 0; in amd_pmf_load_defaults_sps() local [all …]
|
| /drivers/acpi/numa/ |
| A D | srat.c | 111 for (j = 0; j <= max_nid; j++) { in fix_pxm_node_maps() 115 j, node_to_pxm_map_copy[j])) in fix_pxm_node_maps() 121 index = j; in fix_pxm_node_maps() 141 for (j = 0; j <= max_nid; j++) in fix_pxm_node_maps() 148 for (j = 0; in fix_pxm_node_maps() 151 j++) in fix_pxm_node_maps() 290 int i, j; in slit_valid() local 293 for (j = 0; j < d; j++) { in slit_valid() 295 if (i == j) { in slit_valid() 329 int i, j; in acpi_parse_slit() local [all …]
|
| /drivers/platform/x86/ |
| A D | uv_sysfs.c | 375 for (j = 0; j < uv_bios_obj_cnt; j++) { in uv_ports_init() 376 sz = hub_buf[j].ports * sizeof(*port_buf[j]); in uv_ports_init() 380 j--; in uv_ports_init() 390 for (j = 0; j < uv_bios_obj_cnt; j++) { in uv_ports_init() 395 j--; in uv_ports_init() 399 for (j = 0; j < uv_bios_obj_cnt; j++) { in uv_ports_init() 418 for (; j >= 0; j--) { in uv_ports_init() 426 for (; j >= 0; j--) in uv_ports_init() 430 for (; j >= 0; j--) in uv_ports_init() 440 for (j = 0; j < uv_bios_obj_cnt; j++) { in uv_ports_exit() [all …]
|
| /drivers/hid/intel-ish-hid/ishtp/ |
| A D | dma-if.c | 102 int i, j, free; in ishtp_cl_get_dma_send_buf() local 115 for (j = 0; j < required_slots; j++) in ishtp_cl_get_dma_send_buf() 116 if (dev->ishtp_dma_tx_map[i+j]) { in ishtp_cl_get_dma_send_buf() 118 i += j; in ishtp_cl_get_dma_send_buf() 123 for (j = 0; j < required_slots; j++) in ishtp_cl_get_dma_send_buf() 124 dev->ishtp_dma_tx_map[i+j] = 1; in ishtp_cl_get_dma_send_buf() 151 int i, j; in ishtp_cl_release_dma_acked_mem() local 165 for (j = 0; j < acked_slots; j++) { in ishtp_cl_release_dma_acked_mem() 166 if ((i + j) >= dev->ishtp_dma_num_slots || in ishtp_cl_release_dma_acked_mem() 167 !dev->ishtp_dma_tx_map[i+j]) { in ishtp_cl_release_dma_acked_mem() [all …]
|