Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/drivers/staging/vt6655/
Dbaseband.c1996 int ii; in bb_vt3253_init() local
2003 for (ii = 0; ii < CB_VT3253_INIT_FOR_RFMD; ii++) in bb_vt3253_init()
2005 byVT3253InitTab_RFMD[ii][0], in bb_vt3253_init()
2006 byVT3253InitTab_RFMD[ii][1]); in bb_vt3253_init()
2009 for (ii = 0; ii < CB_VT3253B0_INIT_FOR_RFMD; ii++) in bb_vt3253_init()
2011 byVT3253B0_RFMD[ii][0], in bb_vt3253_init()
2012 byVT3253B0_RFMD[ii][1]); in bb_vt3253_init()
2014 for (ii = 0; ii < CB_VT3253B0_AGC_FOR_RFMD2959; ii++) in bb_vt3253_init()
2016 byVT3253B0_AGC4_RFMD2959[ii][0], in bb_vt3253_init()
2017 byVT3253B0_AGC4_RFMD2959[ii][1]); in bb_vt3253_init()
[all …]
Dsrom.c111 int ii; in SROMvReadAllContents() local
114 for (ii = 0; ii < EEP_MAX_CONTEXT_SIZE; ii++) { in SROMvReadAllContents()
116 (unsigned char)ii); in SROMvReadAllContents()
136 unsigned char ii; in SROMvReadEtherAddress() local
139 for (ii = 0; ii < ETH_ALEN; ii++) { in SROMvReadEtherAddress()
140 *pbyEtherAddress = SROMbyReadEmbedded(iobase, ii); in SROMvReadEtherAddress()
Drf.c412 int ii; in s_bAL7230Init() local
424 for (ii = 0; ii < CB_AL7230_INIT_SEQ; ii++) in s_bAL7230Init()
425 ret &= IFRFbWriteEmbedded(priv, dwAL7230InitTable[ii]); in s_bAL7230Init()
533 int ii; in RFbAL2230Init() local
549 for (ii = 0; ii < CB_AL2230_INIT_SEQ; ii++) in RFbAL2230Init()
550 ret &= IFRFbWriteEmbedded(priv, dwAL2230InitTable[ii]); in RFbAL2230Init()
685 int ii; in RFvWriteWakeProgSyn() local
703 for (ii = 0; ii < CB_AL2230_INIT_SEQ; ii++) in RFvWriteWakeProgSyn()
704 MACvSetMISCFifo(priv, (unsigned short)(MISCFIFO_SYNDATA_IDX + ii), dwAL2230InitTable[ii]); in RFvWriteWakeProgSyn()
706 …MACvSetMISCFifo(priv, (unsigned short)(MISCFIFO_SYNDATA_IDX + ii), dwAL2230ChannelTable0[uChannel … in RFvWriteWakeProgSyn()
[all …]
Ddpc.c36 int ii, r; in vnt_rx_data() local
63 for (ii = 0; ii < sband->n_bitrates; ii++) { in vnt_rx_data()
64 if (sband->bitrates[ii].hw_value == r) { in vnt_rx_data()
65 rate_idx = ii; in vnt_rx_data()
70 if (ii == sband->n_bitrates) { in vnt_rx_data()
Dupc.h46 unsigned long ii; \
51 for (ii = 0; ii < (uDelayUnit); ii++) \
Dcard.c718 unsigned char ii; in CARDvUpdateBasicTopRate() local
721 for (ii = RATE_54M; ii >= RATE_6M; ii--) { in CARDvUpdateBasicTopRate()
722 if ((priv->basic_rates) & ((u32)(1 << ii))) { in CARDvUpdateBasicTopRate()
723 byTopOFDM = ii; in CARDvUpdateBasicTopRate()
729 for (ii = RATE_11M;; ii--) { in CARDvUpdateBasicTopRate()
730 if ((priv->basic_rates) & ((u32)(1 << ii))) { in CARDvUpdateBasicTopRate()
731 byTopCCK = ii; in CARDvUpdateBasicTopRate()
734 if (ii == RATE_1M) in CARDvUpdateBasicTopRate()
742 int ii; in CARDbIsOFDMinBasicRate() local
744 for (ii = RATE_54M; ii >= RATE_6M; ii--) { in CARDbIsOFDMinBasicRate()
[all …]
Dmac.c673 unsigned int uu, ii; in MACvTimer0MicroSDelay() local
678 for (ii = 0; ii < 66; ii++) { /* assume max PCI clock is 66Mhz */ in MACvTimer0MicroSDelay()
773 int ii; in MACvSetKeyEntry() local
810 for (ii = 0; ii < 4; ii++) { in MACvSetKeyEntry()
813 ii, offset + ii, *pdwKey); in MACvSetKeyEntry()
814 iowrite16(offset + ii, io_base + MAC_REG_MISCFFNDEX); in MACvSetKeyEntry()
/kernel/linux/linux-5.10/fs/nilfs2/
Dinode.c78 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_get_block() local
85 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
101 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
333 struct nilfs_inode_info *ii; in nilfs_new_inode() local
347 ii = NILFS_I(inode); in nilfs_new_inode()
348 ii->i_state = BIT(NILFS_I_NEW); in nilfs_new_inode()
349 ii->i_root = root; in nilfs_new_inode()
368 ii->i_bh = bh; in nilfs_new_inode()
376 err = nilfs_bmap_read(ii->i_bmap, NULL); in nilfs_new_inode()
380 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_new_inode()
[all …]
Dgcinode.c165 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_init_gcinode() local
171 ii->i_flags = 0; in nilfs_init_gcinode()
172 nilfs_bmap_init_gc(ii->i_bmap); in nilfs_init_gcinode()
183 struct nilfs_inode_info *ii; in nilfs_remove_all_gcinodes() local
186 ii = list_first_entry(head, struct nilfs_inode_info, i_dirty); in nilfs_remove_all_gcinodes()
187 list_del_init(&ii->i_dirty); in nilfs_remove_all_gcinodes()
188 truncate_inode_pages(&ii->vfs_inode.i_data, 0); in nilfs_remove_all_gcinodes()
189 nilfs_btnode_cache_clear(ii->i_assoc_inode->i_mapping); in nilfs_remove_all_gcinodes()
190 iput(&ii->vfs_inode); in nilfs_remove_all_gcinodes()
Dsegment.c518 struct nilfs_inode_info *ii; in nilfs_segctor_end_finfo() local
525 ii = NILFS_I(inode); in nilfs_segctor_end_finfo()
527 if (test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_segctor_end_finfo()
528 cno = ii->i_cno; in nilfs_segctor_end_finfo()
764 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_lookup_dirty_node_buffers() local
765 struct inode *btnc_inode = ii->i_assoc_inode; in nilfs_lookup_dirty_node_buffers()
798 struct nilfs_inode_info *ii, *n; in nilfs_dispose_list() local
804 list_for_each_entry_safe(ii, n, head, i_dirty) { in nilfs_dispose_list()
805 list_del_init(&ii->i_dirty); in nilfs_dispose_list()
807 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()
391 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_fetch_dirty() local
393 if (nilfs_bmap_test_and_clear_dirty(ii->i_bmap)) { in nilfs_mdt_fetch_dirty()
394 set_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
397 return test_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
537 struct nilfs_inode_info *ii = NILFS_I(inode); in nilfs_mdt_save_to_shadow_map() local
547 ii->i_assoc_inode->i_mapping); in nilfs_mdt_save_to_shadow_map()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/vt6656/
Dmain_usb.c106 int ii; in vnt_download_firmware() local
118 for (ii = 0; ii < fw->size; ii += FIRMWARE_CHUNK_SIZE) { in vnt_download_firmware()
119 length = min_t(int, fw->size - ii, FIRMWARE_CHUNK_SIZE); in vnt_download_firmware()
121 ret = vnt_control_out(priv, 0, 0x1200 + ii, 0x0000, length, in vnt_download_firmware()
122 fw->data + ii); in vnt_download_firmware()
126 dev_dbg(dev, "Download firmware...%d %zu\n", ii, fw->size); in vnt_download_firmware()
188 int ii; in vnt_init_registers() local
220 for (ii = 0; ii < ARRAY_SIZE(init_cmd->sw_net_addr); ii++) in vnt_init_registers()
221 init_cmd->sw_net_addr[ii] = priv->current_net_addr[ii]; in vnt_init_registers()
259 for (ii = 0; ii < ARRAY_SIZE(priv->cck_pwr_tbl); ii++) { in vnt_init_registers()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
115 ii -= ti; in lzo1x_1_do_compress()
117 t = ip - ii; in lzo1x_1_do_compress()
121 COPY4(op, ii); in lzo1x_1_do_compress()
125 COPY8(op, ii); in lzo1x_1_do_compress()
126 COPY8(op + 8, ii + 8); in lzo1x_1_do_compress()
141 COPY8(op, ii); in lzo1x_1_do_compress()
142 COPY8(op + 8, ii + 8); in lzo1x_1_do_compress()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-magicmouse.c135 int ii; in magicmouse_firm_touch() local
140 for (ii = 0; ii < msc->ntouches; ii++) { in magicmouse_firm_touch()
141 int idx = msc->tracking_ids[ii]; in magicmouse_firm_touch()
313 int x = 0, y = 0, ii, clicks = 0, npoints; in magicmouse_raw_event() local
328 for (ii = 0; ii < npoints; ii++) in magicmouse_raw_event()
329 magicmouse_emit_touch(msc, ii, data + ii * 9 + 4); in magicmouse_raw_event()
350 for (ii = 0; ii < npoints; ii++) in magicmouse_raw_event()
351 magicmouse_emit_touch(msc, ii, data + ii * 9 + 12); in magicmouse_raw_event()
366 for (ii = 0; ii < npoints; ii++) in magicmouse_raw_event()
367 magicmouse_emit_touch(msc, ii, data + ii * 8 + 6); in magicmouse_raw_event()
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptfc.c291 int ii; in mptfc_GetFcDevPage0() local
383 for (ii = 0; ii < num_targ; ii++) { in mptfc_GetFcDevPage0()
384 fc = *(pp0_array+ii); in mptfc_GetFcDevPage0()
945 int ii; in mptfc_SetFcPortPage1_defaults() local
953 for (ii=0; ii<ioc->facts.NumberOfPorts; ii++) { in mptfc_SetFcPortPage1_defaults()
954 if (mptfc_GetFcPortPage1(ioc, ii) != 0) in mptfc_SetFcPortPage1_defaults()
956 pp1 = ioc->fc_data.fc_port_page1[ii].data; in mptfc_SetFcPortPage1_defaults()
966 mptfc_WriteFcPortPage1(ioc, ii); in mptfc_SetFcPortPage1_defaults()
1070 int ii; in mptfc_link_status_change() local
1072 for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) in mptfc_link_status_change()
[all …]
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 …]
Dmptdebug.h164 int ii, n; in DBG_DUMP_PUT_MSG_FRAME() local
173 for (ii=0; ii<=n; ii++) { in DBG_DUMP_PUT_MSG_FRAME()
174 if (ii && ((ii%8)==0)) in DBG_DUMP_PUT_MSG_FRAME()
176 printk(" %08x", le32_to_cpu(mfp[ii])); in DBG_DUMP_PUT_MSG_FRAME()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-iop3xx.c304 int ii; in iop3xx_i2c_writebytes() local
307 for (ii = 0; rc == 0 && ii != count; ++ii) in iop3xx_i2c_writebytes()
308 rc = iop3xx_i2c_write_byte(iop3xx_adap, buf[ii], ii==count-1); in iop3xx_i2c_writebytes()
316 int ii; in iop3xx_i2c_readbytes() local
319 for (ii = 0; rc == 0 && ii != count; ++ii) in iop3xx_i2c_readbytes()
320 rc = iop3xx_i2c_read_byte(iop3xx_adap, &buf[ii], ii==count-1); in iop3xx_i2c_readbytes()
/kernel/linux/linux-5.10/tools/testing/selftests/exec/
Dexecveat.c156 int ii, count, len; in check_execveat_pathmax() local
175 for (ii = 0; ii < count; ii++) { in check_execveat_pathmax()
399 int ii; in main() local
409 for (ii = 0; ii < argc; ii++) in main()
410 printf(" [%d]='%s'", ii, argv[ii]); in main()
/kernel/linux/linux-5.10/drivers/phy/broadcom/
Dphy-brcm-usb-init.c496 int ii; in brcmusb_usb3_enable_sigdet() local
499 for (ii = 0; ii < PHY_PORTS; ++ii) { in brcmusb_usb3_enable_sigdet()
513 int ii; in brcmusb_usb3_enable_skip_align() local
516 for (ii = 0; ii < PHY_PORTS; ++ii) { in brcmusb_usb3_enable_skip_align()
529 int ii; in brcmusb_usb3_unfreeze_aeq() local
532 for (ii = 0; ii < PHY_PORTS; ++ii) { in brcmusb_usb3_unfreeze_aeq()
546 int ii; in brcmusb_usb3_pll_54mhz() local
591 for (ii = 0; ii < PHY_PORTS; ++ii) { in brcmusb_usb3_pll_54mhz()

12345