Home
last modified time | relevance | path

Searched refs:lan_offset (Results 1 – 2 of 2) sorted by relevance

/drivers/phy/microchip/
Dlan966x_serdes.c24 #define lan_offset(...) lan_offset_(__VA_ARGS__) macro
27 lan_rmw_(val, mask, reg, lan_offset(off))
233 value = readl(macro->ctrl->regs + lan_offset(HSIO_SD_STAT(idx))); in lan966x_sd6g40_reg_cfg()
248 value = readl(macro->ctrl->regs + lan_offset(HSIO_SD_STAT(idx))); in lan966x_sd6g40_reg_cfg()
266 value = readl(macro->ctrl->regs + lan_offset(HSIO_SD_STAT(idx))); in lan966x_sd6g40_reg_cfg()
276 value = readl(macro->ctrl->regs + lan_offset(HSIO_SD_STAT(idx))); in lan966x_sd6g40_reg_cfg()
486 val = readl(macro->ctrl->regs + lan_offset(HSIO_HW_CFG)); in serdes_set_mode()
/drivers/net/ethernet/intel/igb/
De1000_mac.c793 u16 lan_offset; in igb_set_default_fc() local
805 lan_offset = NVM_82580_LAN_FUNC_OFFSET(hw->bus.func); in igb_set_default_fc()
807 lan_offset = 0; in igb_set_default_fc()
809 ret_val = hw->nvm.ops.read(hw, NVM_INIT_CONTROL2_REG + lan_offset, in igb_set_default_fc()