Home
last modified time | relevance | path

Searched refs:regidx (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/sound/usb/6fire/
Dchip.c88 int regidx = -1; /* index in module parameter array */ in usb6fire_chip_probe() local
100 } else if (!devices[i] && regidx < 0) in usb6fire_chip_probe()
101 regidx = i; in usb6fire_chip_probe()
103 if (regidx < 0) { in usb6fire_chip_probe()
108 devices[regidx] = device; in usb6fire_chip_probe()
123 ret = snd_card_new(&intf->dev, index[regidx], id[regidx], in usb6fire_chip_probe()
135 chips[regidx] = chip; in usb6fire_chip_probe()
137 chip->regidx = regidx; in usb6fire_chip_probe()
179 devices[chip->regidx] = NULL; in usb6fire_chip_disconnect()
180 chips[chip->regidx] = NULL; in usb6fire_chip_disconnect()
Dchip.h18 int regidx; /* index in module parameter arrays */ member
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
Dg450_pll.c210 unsigned int regidx) in g450_isplllocked() argument
215 if (matroxfb_DAC_in(minfo, regidx) & 0x40) { in g450_isplllocked()
220 r += matroxfb_DAC_in(minfo, regidx) & 0x40; in g450_isplllocked()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_mac.c178 u32 regidx, vfta_delta, vfta, bits; in igb_vfta_set() local
195 regidx = vlan / 32; in igb_vfta_set()
197 vfta = adapter->shadow_vfta[regidx]; in igb_vfta_set()
240 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set()
271 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Ddebug.c831 len = sprintf(buf, "0x%08x\n", sc->debug.regidx); in read_file_regidx()
839 unsigned long regidx; in write_file_regidx() local
848 if (kstrtoul(buf, 0, &regidx)) in write_file_regidx()
851 sc->debug.regidx = regidx; in write_file_regidx()
873 regval = REG_READ_D(ah, sc->debug.regidx); in read_file_regval()
897 REG_WRITE_D(ah, sc->debug.regidx, regval); in write_file_regval()
Ddebug.h250 u32 regidx; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dsb1250-mac.c309 static int sbmac_mii_read(struct mii_bus *bus, int phyaddr, int regidx);
310 static int sbmac_mii_write(struct mii_bus *bus, int phyaddr, int regidx,
421 static int sbmac_mii_read(struct mii_bus *bus, int phyaddr, int regidx) in sbmac_mii_read() argument
446 sbmac_mii_senddata(sbm_mdio, regidx, 5); in sbmac_mii_read()
514 static int sbmac_mii_write(struct mii_bus *bus, int phyaddr, int regidx, in sbmac_mii_write() argument
526 sbmac_mii_senddata(sbm_mdio, regidx, 5); in sbmac_mii_write()
Dbnx2.c3608 u32 regidx; in bnx2_set_rx_mode() local
3617 regidx = (bit & 0xe0) >> 5; in bnx2_set_rx_mode()
3619 mc_filter[regidx] |= (1 << bit); in bnx2_set_rx_mode()
Dtg3.c9769 u32 regidx; in __tg3_set_rx_mode() local
9776 regidx = (bit & 0x60) >> 5; in __tg3_set_rx_mode()
9778 mc_filter[regidx] |= (1 << bit); in __tg3_set_rx_mode()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_llh_internal.h450 #define HW_ATL_GEN_INTR_MAP_ADR(regidx) (0x00002180u + (regidx) * 0x4) argument
Dhw_atl_llh.c481 u32 regidx) in hw_atl_reg_gen_irq_map_set() argument
483 aq_hw_write_reg(aq_hw, HW_ATL_GEN_INTR_MAP_ADR(regidx), gen_intr_map); in hw_atl_reg_gen_irq_map_set()
Dhw_atl_llh.h227 u32 regidx);
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmsc9420.c103 static int smsc9420_mii_read(struct mii_bus *bus, int phyaddr, int regidx) in smsc9420_mii_read() argument
119 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6) | in smsc9420_mii_read()
140 static int smsc9420_mii_write(struct mii_bus *bus, int phyaddr, int regidx, in smsc9420_mii_write() argument
160 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6) | in smsc9420_mii_write()
Dsmsc911x.c553 static int smsc911x_mii_read(struct mii_bus *bus, int phyaddr, int regidx) in smsc911x_mii_read() argument
570 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6); in smsc911x_mii_read()
589 static int smsc911x_mii_write(struct mii_bus *bus, int phyaddr, int regidx, in smsc911x_mii_write() argument
610 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6) | in smsc911x_mii_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3133 u32 regidx, vfta_delta, vfta, bits; in ixgbe_set_vfta_generic() local
3151 regidx = vlan / 32; in ixgbe_set_vfta_generic()
3153 vfta = IXGBE_READ_REG(hw, IXGBE_VFTA(regidx)); in ixgbe_set_vfta_generic()
3197 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regidx), vfta); in ixgbe_set_vfta_generic()
3230 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regidx), vfta); in ixgbe_set_vfta_generic()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dchip.c14425 unsigned idx, regoff, regidx; in init_qos() local
14430 regidx = idx / 8; in init_qos()
14432 reg = rmt->map[regidx]; in init_qos()
14436 rmt->map[regidx] = reg; in init_qos()
14475 int i, idx, regoff, regidx, start; in init_fecn_handling() local
14509 regidx = idx / 8; in init_fecn_handling()
14510 reg = rmt->map[regidx]; in init_fecn_handling()
14513 rmt->map[regidx] = reg; in init_fecn_handling()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_iba7322.c7348 int regidx; in set_txdds() local
7351 regidx = KREG_IBPORT_IDX(IBSD_DDS_MAP_TABLE) + ridx; in set_txdds()
7358 regidx += (dd->palign / sizeof(u64)); in set_txdds()
7364 qib_write_kreg(dd, regidx, pack_ent); in set_txdds()