Home
last modified time | relevance | path

Searched refs:reg_offset (Results 1 – 20 of 20) sorted by relevance

/drivers/net/
Dmacsonic.c73 + lp->reg_offset))
75 + lp->reg_offset))
344 lp->reg_offset = 0; in mac_onboard_sonic_probe()
353 lp->reg_offset = 2; in mac_onboard_sonic_probe()
362 lp->reg_offset = 0; in mac_onboard_sonic_probe()
367 lp->reg_offset = 2; in mac_onboard_sonic_probe()
373 lp->device->bus_id, sr, lp->dma_bitmode?32:16, lp->reg_offset); in mac_onboard_sonic_probe()
452 int reg_offset, dma_bitmode; in mac_nubus_sonic_probe() local
477 reg_offset = 2; in mac_nubus_sonic_probe()
484 reg_offset = 0; in mac_nubus_sonic_probe()
[all …]
Dne-h8300.c36 #define EI_SHIFT(x) (ei_local->reg_offset[x])
85 static u32 reg_offset[16]; variable
96 for (i = 0; i < ARRAY_SIZE(reg_offset); i++) in init_reg_offset()
98 reg_offset[i] = i * 2 + 1; in init_reg_offset()
100 reg_offset[i] = i; in init_reg_offset()
102 ei_local->reg_offset = reg_offset; in init_reg_offset()
Dmac8390.c47 #define EI_SHIFT(x) (ei_local->reg_offset[x])
558 ei_status.reg_offset = back4_offsets; in mac8390_initdev()
567 ei_status.reg_offset = back4_offsets; in mac8390_initdev()
582 ei_status.reg_offset = back4_offsets; in mac8390_initdev()
591 ei_status.reg_offset = fwrd2_offsets; in mac8390_initdev()
602 ei_status.reg_offset = fwrd4_offsets; in mac8390_initdev()
611 ei_status.reg_offset = fwrd4_offsets; in mac8390_initdev()
Dhydra.c34 #define EI_SHIFT(x) (ei_local->reg_offset[x])
162 ei_status.reg_offset = hydra_offsets; in hydra_init()
Dax88796.c58 #define EI_SHIFT(x) (ei_local->reg_offset[(x)])
873 ei_status.reg_offset = ax->plat->reg_offsets; in ax_probe()
875 ei_status.reg_offset = ax->reg_offsets; in ax_probe()
926 ei_status.reg_offset[0x1f] = ax->map2 - ei_status.mem; in ax_probe()
Dzorro8390.c37 #define EI_SHIFT(x) (ei_local->reg_offset[x])
247 ei_status.reg_offset = zorro8390_offsets; in zorro8390_init()
Dbmac.c91 unsigned short reg_offset;
212 void bmwrite(struct net_device *dev, unsigned long reg_offset, unsigned data ) in bmwrite() argument
214 out_le16((void __iomem *)dev->base_addr + reg_offset, data); in bmwrite()
219 unsigned short bmread(struct net_device *dev, unsigned long reg_offset ) in bmread() argument
221 return in_le16((void __iomem *)dev->base_addr + reg_offset); in bmread()
1595 bmread(bmac_devs, reg_entries[i].reg_offset));
D8390.h100 u32 *reg_offset; /* Register mapping table */ member
Dbnx2x_main.c2580 int reg_offset; in bnx2x_attn_int_deasserted0() local
2583 reg_offset = (port ? MISC_REG_AEU_ENABLE1_FUNC_1_OUT_0 : in bnx2x_attn_int_deasserted0()
2588 val = REG_RD(bp, reg_offset); in bnx2x_attn_int_deasserted0()
2590 REG_WR(bp, reg_offset, val); in bnx2x_attn_int_deasserted0()
2629 val = REG_RD(bp, reg_offset); in bnx2x_attn_int_deasserted0()
2631 REG_WR(bp, reg_offset, val); in bnx2x_attn_int_deasserted0()
2655 int reg_offset; in bnx2x_attn_int_deasserted1() local
2657 reg_offset = (port ? MISC_REG_AEU_ENABLE1_FUNC_1_OUT_1 : in bnx2x_attn_int_deasserted1()
2660 val = REG_RD(bp, reg_offset); in bnx2x_attn_int_deasserted1()
2662 REG_WR(bp, reg_offset, val); in bnx2x_attn_int_deasserted1()
[all …]
Dsonic.h294 int reg_offset; member
/drivers/staging/slicoss/
Dslic_os.h55 adapter->card->reg_offset[adapter->card->debug_ix] = \
66 adapter->card->reg_offset[adapter->card->debug_ix] = \
Dslic.h396 ushort reg_offset[32]; member
Dslicoss.c257 i, card->reg_type[i], card->reg_offset[i], in slic_dbg_register_trace()
/drivers/net/wireless/ath9k/
Dcore.h763 static inline void ath9k_iowrite32(struct ath_hal *ah, u32 reg_offset, u32 val) in ath9k_iowrite32() argument
768 iowrite32(val, ah->ah_sc->mem + reg_offset); in ath9k_iowrite32()
771 iowrite32(val, ah->ah_sc->mem + reg_offset); in ath9k_iowrite32()
774 static inline unsigned int ath9k_ioread32(struct ath_hal *ah, u32 reg_offset) in ath9k_ioread32() argument
780 val = ioread32(ah->ah_sc->mem + reg_offset); in ath9k_ioread32()
783 val = ioread32(ah->ah_sc->mem + reg_offset); in ath9k_ioread32()
/drivers/net/chelsio/
Despi.c62 int ch_addr, int reg_offset, u32 wr_data) in tricn_write() argument
67 V_REGISTER_OFFSET(reg_offset) | in tricn_write()
/drivers/net/arm/
Detherh.c53 #define EI_SHIFT(x) (ei_local->reg_offset[x])
738 ei_local->reg_offset = etherm_regoffsets; in etherh_probe()
741 ei_local->reg_offset = etherh_regoffsets; in etherh_probe()
/drivers/net/wireless/iwlwifi/
Diwl-4965.c144 u32 reg_offset; in iwl4965_load_bsm() local
176 for (reg_offset = BSM_SRAM_LOWER_BOUND; in iwl4965_load_bsm()
177 reg_offset < BSM_SRAM_LOWER_BOUND + len; in iwl4965_load_bsm()
178 reg_offset += sizeof(u32), image++) in iwl4965_load_bsm()
179 _iwl_write_prph(priv, reg_offset, le32_to_cpu(*image)); in iwl4965_load_bsm()
Diwl3945-base.c5219 u32 reg_offset; in iwl3945_load_bsm() local
5247 for (reg_offset = BSM_SRAM_LOWER_BOUND; in iwl3945_load_bsm()
5248 reg_offset < BSM_SRAM_LOWER_BOUND + len; in iwl3945_load_bsm()
5249 reg_offset += sizeof(u32), image++) in iwl3945_load_bsm()
5250 _iwl3945_write_prph(priv, reg_offset, in iwl3945_load_bsm()
/drivers/net/igb/
Digb_ethtool.c833 u16 reg_offset; member
1017 REG_PATTERN_TEST(test->reg + (i * test->reg_offset), in igb_reg_test()
1022 REG_SET_AND_CHECK(test->reg + (i * test->reg_offset), in igb_reg_test()
1029 + (i * test->reg_offset)); in igb_reg_test()
/drivers/scsi/
DFlashPoint.c4979 unsigned long reg_offset; in FPT_busMstrSGDataXferStart() local
4993 reg_offset = hp_aramBase; in FPT_busMstrSGDataXferStart()
5023 WR_HARP32(p_port, reg_offset, addr); in FPT_busMstrSGDataXferStart()
5024 reg_offset += 4; in FPT_busMstrSGDataXferStart()
5026 WR_HARP32(p_port, reg_offset, count); in FPT_busMstrSGDataXferStart()
5027 reg_offset += 4; in FPT_busMstrSGDataXferStart()