Home
last modified time | relevance | path

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

/linux-6.1.9/sound/usb/6fire/
Dchip.c87 int regidx = -1; /* index in module parameter array */ in usb6fire_chip_probe() local
99 } else if (!devices[i] && regidx < 0) in usb6fire_chip_probe()
100 regidx = i; in usb6fire_chip_probe()
102 if (regidx < 0) { in usb6fire_chip_probe()
107 devices[regidx] = device; in usb6fire_chip_probe()
122 ret = snd_card_new(&intf->dev, index[regidx], id[regidx], in usb6fire_chip_probe()
134 chips[regidx] = chip; in usb6fire_chip_probe()
136 chip->regidx = regidx; in usb6fire_chip_probe()
178 devices[chip->regidx] = NULL; in usb6fire_chip_disconnect()
179 chips[chip->regidx] = NULL; in usb6fire_chip_disconnect()
Dchip.h18 int regidx; /* index in module parameter arrays */ member
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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.c9759 u32 regidx; in __tg3_set_rx_mode() local
9766 regidx = (bit & 0x60) >> 5; in __tg3_set_rx_mode()
9768 mc_filter[regidx] |= (1 << bit); in __tg3_set_rx_mode()
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Ddebug.c880 len = sprintf(buf, "0x%08x\n", sc->debug.regidx); in read_file_regidx()
888 unsigned long regidx; in write_file_regidx() local
897 if (kstrtoul(buf, 0, &regidx)) in write_file_regidx()
900 sc->debug.regidx = regidx; in write_file_regidx()
922 regval = REG_READ_D(ah, sc->debug.regidx); in read_file_regval()
946 REG_WRITE_D(ah, sc->debug.regidx, regval); in write_file_regval()
Ddebug.h251 u32 regidx; member
/linux-6.1.9/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);
/linux-6.1.9/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
571 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6); in smsc911x_mii_read()
591 static int smsc911x_mii_write(struct mii_bus *bus, int phyaddr, int regidx, in smsc911x_mii_write() argument
613 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6) | in smsc911x_mii_write()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3134 u32 regidx, vfta_delta, vfta, bits; in ixgbe_set_vfta_generic() local
3152 regidx = vlan / 32; in ixgbe_set_vfta_generic()
3154 vfta = IXGBE_READ_REG(hw, IXGBE_VFTA(regidx)); in ixgbe_set_vfta_generic()
3198 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regidx), vfta); in ixgbe_set_vfta_generic()
3231 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regidx), vfta); in ixgbe_set_vfta_generic()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dmt7915.h507 int mt7915_mcu_rf_regval(struct mt7915_dev *dev, u32 regidx, u32 *val, bool set);
Dmcu.c3443 int mt7915_mcu_rf_regval(struct mt7915_dev *dev, u32 regidx, u32 *val, bool set) in mt7915_mcu_rf_regval() argument
3450 .idx = cpu_to_le32(u32_get_bits(regidx, GENMASK(31, 28))), in mt7915_mcu_rf_regval()
3451 .ofs = cpu_to_le32(u32_get_bits(regidx, GENMASK(27, 0))), in mt7915_mcu_rf_regval()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dchip.c14384 unsigned idx, regoff, regidx; in init_qos() local
14389 regidx = idx / 8; in init_qos()
14391 reg = rmt->map[regidx]; in init_qos()
14395 rmt->map[regidx] = reg; in init_qos()
14434 int i, idx, regoff, regidx, start; in init_fecn_handling() local
14468 regidx = idx / 8; in init_fecn_handling()
14469 reg = rmt->map[regidx]; in init_fecn_handling()
14472 rmt->map[regidx] = reg; in init_fecn_handling()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_iba7322.c7319 int regidx; in set_txdds() local
7322 regidx = KREG_IBPORT_IDX(IBSD_DDS_MAP_TABLE) + ridx; in set_txdds()
7329 regidx += (dd->palign / sizeof(u64)); in set_txdds()
7335 qib_write_kreg(dd, regidx, pack_ent); in set_txdds()