Home
last modified time | relevance | path

Searched refs:ii (Results 1 – 25 of 118) sorted by relevance

12345

/linux-6.12.1/drivers/staging/vt6655/
Dbaseband.c1993 int ii; in bb_vt3253_init() local
2000 for (ii = 0; ii < CB_VT3253_INIT_FOR_RFMD; ii++) in bb_vt3253_init()
2002 by_vt3253_init_tab_rfmd[ii][0], in bb_vt3253_init()
2003 by_vt3253_init_tab_rfmd[ii][1]); in bb_vt3253_init()
2006 for (ii = 0; ii < CB_VT3253B0_INIT_FOR_RFMD; ii++) in bb_vt3253_init()
2008 vt3253b0_rfmd[ii][0], in bb_vt3253_init()
2009 vt3253b0_rfmd[ii][1]); in bb_vt3253_init()
2011 for (ii = 0; ii < CB_VT3253B0_AGC_FOR_RFMD2959; ii++) in bb_vt3253_init()
2013 vt3253b0_agc4_rfmd2959[ii][0], in bb_vt3253_init()
2014 vt3253b0_agc4_rfmd2959[ii][1]); in bb_vt3253_init()
[all …]
Dsrom.c107 int ii; in SROMvReadAllContents() local
110 for (ii = 0; ii < EEP_MAX_CONTEXT_SIZE; ii++) { in SROMvReadAllContents()
112 (unsigned char)ii); in SROMvReadAllContents()
132 unsigned char ii; in SROMvReadEtherAddress() local
135 for (ii = 0; ii < ETH_ALEN; ii++) { in SROMvReadEtherAddress()
136 *pbyEtherAddress = SROMbyReadEmbedded(iobase, ii); in SROMvReadEtherAddress()
Ddpc.c34 int ii, r; in vnt_rx_data() local
61 for (ii = 0; ii < sband->n_bitrates; ii++) { in vnt_rx_data()
62 if (sband->bitrates[ii].hw_value == r) { in vnt_rx_data()
63 rate_idx = ii; in vnt_rx_data()
68 if (ii == sband->n_bitrates) { in vnt_rx_data()
Dcard.c654 unsigned char ii; in CARDvUpdateBasicTopRate() local
657 for (ii = RATE_54M; ii >= RATE_6M; ii--) { in CARDvUpdateBasicTopRate()
658 if ((priv->basic_rates) & ((u32)(1 << ii))) { in CARDvUpdateBasicTopRate()
659 byTopOFDM = ii; in CARDvUpdateBasicTopRate()
665 for (ii = RATE_11M;; ii--) { in CARDvUpdateBasicTopRate()
666 if ((priv->basic_rates) & ((u32)(1 << ii))) { in CARDvUpdateBasicTopRate()
667 byTopCCK = ii; in CARDvUpdateBasicTopRate()
670 if (ii == RATE_1M) in CARDvUpdateBasicTopRate()
678 int ii; in CARDbIsOFDMinBasicRate() local
680 for (ii = RATE_54M; ii >= RATE_6M; ii--) { in CARDbIsOFDMinBasicRate()
[all …]
Dmac.c680 unsigned int uu, ii; in MACvTimer0MicroSDelay() local
685 for (ii = 0; ii < 66; ii++) { /* assume max PCI clock is 66Mhz */ in MACvTimer0MicroSDelay()
780 int ii; in MACvSetKeyEntry() local
816 for (ii = 0; ii < 4; ii++) { in MACvSetKeyEntry()
819 ii, offset + ii, *pdwKey); in MACvSetKeyEntry()
820 iowrite16(offset + ii, io_base + MAC_REG_MISCFFNDEX); in MACvSetKeyEntry()
/linux-6.12.1/fs/nilfs2/
Dinode.c75 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_get_block() local
82 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
98 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
325 struct nilfs_inode_info *ii; in nilfs_new_inode() local
339 ii = NILFS_I(inode); in nilfs_new_inode()
340 ii->i_state = BIT(NILFS_I_NEW); in nilfs_new_inode()
341 ii->i_type = NILFS_I_TYPE_NORMAL; in nilfs_new_inode()
342 ii->i_root = root; in nilfs_new_inode()
348 ii->i_bh = bh; in nilfs_new_inode()
356 err = nilfs_bmap_read(ii->i_bmap, NULL); in nilfs_new_inode()
[all …]
Dgcinode.c162 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_init_gcinode() local
168 ii->i_flags = 0; in nilfs_init_gcinode()
169 nilfs_bmap_init_gc(ii->i_bmap); in nilfs_init_gcinode()
181 struct nilfs_inode_info *ii; in nilfs_remove_all_gcinodes() local
184 ii = list_first_entry(head, struct nilfs_inode_info, i_dirty); in nilfs_remove_all_gcinodes()
185 list_del_init(&ii->i_dirty); in nilfs_remove_all_gcinodes()
186 truncate_inode_pages(&ii->vfs_inode.i_data, 0); in nilfs_remove_all_gcinodes()
187 nilfs_btnode_cache_clear(ii->i_assoc_inode->i_mapping); in nilfs_remove_all_gcinodes()
188 iput(&ii->vfs_inode); in nilfs_remove_all_gcinodes()
Dsegment.c513 struct nilfs_inode_info *ii; in nilfs_segctor_end_finfo() local
520 ii = NILFS_I(inode); in nilfs_segctor_end_finfo()
522 if (ii->i_type & NILFS_I_TYPE_GC) in nilfs_segctor_end_finfo()
523 cno = ii->i_cno; in nilfs_segctor_end_finfo()
761 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_lookup_dirty_node_buffers() local
762 struct inode *btnc_inode = ii->i_assoc_inode; in nilfs_lookup_dirty_node_buffers()
794 struct nilfs_inode_info *ii, *n; in nilfs_dispose_list() local
800 list_for_each_entry_safe(ii, n, head, i_dirty) { in nilfs_dispose_list()
801 list_del_init(&ii->i_dirty); in nilfs_dispose_list()
803 if (unlikely(ii->i_bh)) { in nilfs_dispose_list()
[all …]
Dmdt.c35 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_insert_new_block() local
44 ret = nilfs_bmap_insert(ii->i_bmap, block, (unsigned long)bh); in nilfs_mdt_insert_new_block()
330 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_delete_block() local
333 err = nilfs_bmap_delete(ii->i_bmap, block); in nilfs_mdt_delete_block()
389 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_fetch_dirty() local
391 if (nilfs_bmap_test_and_clear_dirty(ii->i_bmap)) { in nilfs_mdt_fetch_dirty()
392 set_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
395 return test_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
538 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_save_to_shadow_map() local
548 ii->i_assoc_inode->i_mapping); in nilfs_mdt_save_to_shadow_map()
[all …]
/linux-6.12.1/drivers/net/wireless/rsi/
Drsi_91x_core.c33 u8 ii = 0; in rsi_determine_min_weight_queue() local
35 for (ii = 0; ii < NUM_EDCA_QUEUES; ii++) { in rsi_determine_min_weight_queue()
36 q_len = skb_queue_len(&common->tx_queue[ii]); in rsi_determine_min_weight_queue()
37 if ((tx_qinfo[ii].pkt_contended) && q_len) { in rsi_determine_min_weight_queue()
38 common->min_weight = tx_qinfo[ii].weight; in rsi_determine_min_weight_queue()
42 return ii; in rsi_determine_min_weight_queue()
56 u8 ii = 0; in rsi_recalculate_weights() local
59 for (ii = 0; ii < NUM_EDCA_QUEUES; ii++) { in rsi_recalculate_weights()
60 q_len = skb_queue_len(&common->tx_queue[ii]); in rsi_recalculate_weights()
63 if (tx_qinfo[ii].pkt_contended) { in rsi_recalculate_weights()
[all …]
Drsi_91x_mgmt.c322 u8 ii = 0; in rsi_set_contention_vals() local
324 for (; ii < NUM_EDCA_QUEUES; ii++) { in rsi_set_contention_vals()
325 common->tx_qinfo[ii].wme_params = in rsi_set_contention_vals()
326 (((common->edca_params[ii].cw_min / 2) + in rsi_set_contention_vals()
327 (common->edca_params[ii].aifs)) * in rsi_set_contention_vals()
329 common->tx_qinfo[ii].weight = common->tx_qinfo[ii].wme_params; in rsi_set_contention_vals()
330 common->tx_qinfo[ii].pkt_contended = 0; in rsi_set_contention_vals()
375 u8 ii; in rsi_load_radio_caps() local
438 for (ii = 0; ii < MAX_HW_QUEUES; ii++) { in rsi_load_radio_caps()
439 radio_caps->qos_params[ii].cont_win_min_q = cpu_to_le16(3); in rsi_load_radio_caps()
[all …]
Drsi_91x_main.c305 u8 ii = 0; in rsi_91x_init() local
322 for (ii = 0; ii < NUM_SOFT_QUEUES; ii++) in rsi_91x_init()
323 skb_queue_head_init(&common->tx_queue[ii]); in rsi_91x_init()
401 u8 ii; in rsi_91x_deinit() local
407 for (ii = 0; ii < NUM_SOFT_QUEUES; ii++) in rsi_91x_deinit()
408 skb_queue_purge(&common->tx_queue[ii]); in rsi_91x_deinit()
Drsi_91x_debugfs.c285 int ii; in rsi_init_dbgfs() local
299 for (ii = 0; ii < adapter->num_debugfs_entries; ii++) { in rsi_init_dbgfs()
300 files = &dev_debugfs_files[ii]; in rsi_init_dbgfs()
301 dev_dbgfs->rsi_files[ii] = in rsi_init_dbgfs()
/linux-6.12.1/drivers/staging/vt6656/
Dmain_usb.c104 int ii; in vnt_download_firmware() local
116 for (ii = 0; ii < fw->size; ii += FIRMWARE_CHUNK_SIZE) { in vnt_download_firmware()
117 length = min_t(int, fw->size - ii, FIRMWARE_CHUNK_SIZE); in vnt_download_firmware()
119 ret = vnt_control_out(priv, 0, 0x1200 + ii, 0x0000, length, in vnt_download_firmware()
120 fw->data + ii); in vnt_download_firmware()
124 dev_dbg(dev, "Download firmware...%d %zu\n", ii, fw->size); in vnt_download_firmware()
186 int ii; in vnt_init_registers() local
218 for (ii = 0; ii < ARRAY_SIZE(init_cmd->sw_net_addr); ii++) in vnt_init_registers()
219 init_cmd->sw_net_addr[ii] = priv->current_net_addr[ii]; in vnt_init_registers()
257 for (ii = 0; ii < ARRAY_SIZE(priv->cck_pwr_tbl); ii++) { in vnt_init_registers()
[all …]
/linux-6.12.1/drivers/w1/slaves/
Dw1_ds2423.c41 int ii; in w1_slave_show() local
64 for (ii = 0; ii < READ_BYTE_COUNT; ++ii) in w1_slave_show()
67 rbuf[(p * READ_BYTE_COUNT) + ii]); in w1_slave_show()
92 for (ii = 4; ii > 0; ii--) { in w1_slave_show()
95 READ_BYTE_COUNT) + ii]; in w1_slave_show()
/linux-6.12.1/lib/lzo/
Dlzo1x_compress.c31 const unsigned char *ii; in lzo1x_1_do_compress() local
36 ii = ip; in lzo1x_1_do_compress()
45 ip += 1 + ((ip - ii) >> 5); in lzo1x_1_do_compress()
113 ii -= ti; in lzo1x_1_do_compress()
115 t = ip - ii; in lzo1x_1_do_compress()
119 COPY4(op, ii); in lzo1x_1_do_compress()
123 COPY8(op, ii); in lzo1x_1_do_compress()
124 COPY8(op + 8, ii + 8); in lzo1x_1_do_compress()
139 COPY8(op, ii); in lzo1x_1_do_compress()
140 COPY8(op + 8, ii + 8); in lzo1x_1_do_compress()
[all …]
/linux-6.12.1/drivers/scsi/csiostor/
Dcsio_init.c699 int cur_cnt = 0, ii; in csio_lnodes_block_request() local
720 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_block_request()
721 csio_dbg(hw, "Blocking IOs on lnode: %p\n", lnode_list[ii]); in csio_lnodes_block_request()
722 ln = lnode_list[ii]; in csio_lnodes_block_request()
738 int cur_cnt = 0, ii; in csio_lnodes_unblock_request() local
759 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_unblock_request()
760 csio_dbg(hw, "unblocking IOs on lnode: %p\n", lnode_list[ii]); in csio_lnodes_unblock_request()
761 ln = lnode_list[ii]; in csio_lnodes_unblock_request()
776 int cur_cnt = 0, ii; in csio_lnodes_block_by_port() local
800 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_block_by_port()
[all …]
/linux-6.12.1/drivers/message/fusion/
Dmptspi.c262 int ii; in mptspi_writeIOCPage4() local
286 for (ii=0; ii < 8; ii++) { in mptspi_writeIOCPage4()
287 pReq->Reserved2[ii] = 0; in mptspi_writeIOCPage4()
292 ii = IOCPage4Ptr->ActiveSEP++; in mptspi_writeIOCPage4()
293 IOCPage4Ptr->SEP[ii].SEPTargetID = id; in mptspi_writeIOCPage4()
294 IOCPage4Ptr->SEP[ii].SEPBus = channel; in mptspi_writeIOCPage4()
301 (IOCPage4Ptr->Header.PageLength + ii) * 4; in mptspi_writeIOCPage4()
471 mptspi_print_write_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) in mptspi_print_write_nego() argument
475 hd->ioc->name, starget->id, ii, in mptspi_print_write_nego()
476 ii & MPI_SCSIDEVPAGE0_NP_WIDE ? "Wide ": "", in mptspi_print_write_nego()
[all …]
Dmptfc.c328 int ii; in mptfc_GetFcDevPage0() local
420 for (ii = 0; ii < num_targ; ii++) { in mptfc_GetFcDevPage0()
421 fc = *(pp0_array+ii); in mptfc_GetFcDevPage0()
983 int ii; in mptfc_SetFcPortPage1_defaults() local
991 for (ii=0; ii<ioc->facts.NumberOfPorts; ii++) { in mptfc_SetFcPortPage1_defaults()
992 if (mptfc_GetFcPortPage1(ioc, ii) != 0) in mptfc_SetFcPortPage1_defaults()
994 pp1 = ioc->fc_data.fc_port_page1[ii].data; in mptfc_SetFcPortPage1_defaults()
1004 mptfc_WriteFcPortPage1(ioc, ii); in mptfc_SetFcPortPage1_defaults()
1108 int ii; in mptfc_link_status_change() local
1110 for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) in mptfc_link_status_change()
[all …]
Dmptdebug.h165 int ii, n; in DBG_DUMP_PUT_MSG_FRAME() local
174 for (ii=0; ii<=n; ii++) { in DBG_DUMP_PUT_MSG_FRAME()
175 if (ii && ((ii%8)==0)) in DBG_DUMP_PUT_MSG_FRAME()
177 printk(" %08x", le32_to_cpu(mfp[ii])); in DBG_DUMP_PUT_MSG_FRAME()
/linux-6.12.1/drivers/hid/
Dhid-magicmouse.c156 int ii; in magicmouse_firm_touch() local
161 for (ii = 0; ii < msc->ntouches; ii++) { in magicmouse_firm_touch()
162 int idx = msc->tracking_ids[ii]; in magicmouse_firm_touch()
381 int x = 0, y = 0, ii, clicks = 0, npoints; in magicmouse_raw_event() local
396 for (ii = 0; ii < npoints; ii++) in magicmouse_raw_event()
397 magicmouse_emit_touch(msc, ii, data + ii * 9 + 4); in magicmouse_raw_event()
418 for (ii = 0; ii < npoints; ii++) in magicmouse_raw_event()
419 magicmouse_emit_touch(msc, ii, data + ii * 9 + 12); in magicmouse_raw_event()
434 for (ii = 0; ii < npoints; ii++) in magicmouse_raw_event()
435 magicmouse_emit_touch(msc, ii, data + ii * 8 + 6); in magicmouse_raw_event()
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-iop3xx.c306 int ii; in iop3xx_i2c_writebytes() local
309 for (ii = 0; rc == 0 && ii != count; ++ii) in iop3xx_i2c_writebytes()
310 rc = iop3xx_i2c_write_byte(iop3xx_adap, buf[ii], ii == count-1); in iop3xx_i2c_writebytes()
318 int ii; in iop3xx_i2c_readbytes() local
321 for (ii = 0; rc == 0 && ii != count; ++ii) in iop3xx_i2c_readbytes()
322 rc = iop3xx_i2c_read_byte(iop3xx_adap, &buf[ii], ii == count-1); in iop3xx_i2c_readbytes()
/linux-6.12.1/tools/testing/selftests/net/forwarding/
Drouter_mpath_seed.sh235 local ii
240 for ((ii = 0; ii < 100; ii++)); do
241 local act=$(probe_seed $group_id $((999331 * ii)) "${mz[@]}")
246 for ((ii = 0; ii < ${#tally[@]}; ii++)); do
247 ((tally[ii] > 0))
248 check_err $? "NH #$ii not hit, tally='$tally_str'"
/linux-6.12.1/tools/testing/selftests/exec/
Dexecveat.c170 int ii, count, len; in check_execveat_pathmax() local
188 for (ii = 0; ii < count; ii++) { in check_execveat_pathmax()
415 int ii; in main() local
425 for (ii = 0; ii < argc; ii++) in main()
426 ksft_print_msg("\t[%d]='%s\n'", ii, argv[ii]); in main()
/linux-6.12.1/drivers/phy/broadcom/
Dphy-brcm-usb-init.c548 int ii; in brcmusb_usb3_enable_sigdet() local
551 for (ii = 0; ii < PHY_PORTS; ++ii) { in brcmusb_usb3_enable_sigdet()
565 int ii; in brcmusb_usb3_enable_skip_align() local
568 for (ii = 0; ii < PHY_PORTS; ++ii) { in brcmusb_usb3_enable_skip_align()
581 int ii; in brcmusb_usb3_unfreeze_aeq() local
584 for (ii = 0; ii < PHY_PORTS; ++ii) { in brcmusb_usb3_unfreeze_aeq()
598 int ii; in brcmusb_usb3_pll_54mhz() local
644 for (ii = 0; ii < PHY_PORTS; ++ii) { in brcmusb_usb3_pll_54mhz()

12345