Searched refs:REG_PORT (Results 1 – 6 of 6) sorted by relevance
/drivers/net/dsa/ |
D | mv88e6xxx.c | 500 ret = _mv88e6xxx_reg_read(ds, REG_PORT(port), PORT_PCS_CTRL); in mv88e6xxx_adjust_link() 546 _mv88e6xxx_reg_write(ds, REG_PORT(port), PORT_PCS_CTRL, reg); in mv88e6xxx_adjust_link() 697 ret = _mv88e6xxx_reg_read(ds, REG_PORT(port), in _mv88e6xxx_get_ethtool_stat() 704 ret = _mv88e6xxx_reg_read(ds, REG_PORT(port), in _mv88e6xxx_get_ethtool_stat() 794 ret = mv88e6xxx_reg_read(ds, REG_PORT(port), i); in mv88e6xxx_get_regs() 903 reg = _mv88e6xxx_reg_read(ds, REG_PORT(port), PORT_STATUS); in mv88e6xxx_get_eee() 1049 reg = _mv88e6xxx_reg_read(ds, REG_PORT(port), PORT_CONTROL); in mv88e6xxx_set_port_state() 1068 ret = _mv88e6xxx_reg_write(ds, REG_PORT(port), PORT_CONTROL, in mv88e6xxx_set_port_state() 1084 reg = _mv88e6xxx_reg_read(ds, REG_PORT(port), PORT_BASE_VLAN); in _mv88e6xxx_port_vlan_map_set() 1091 return _mv88e6xxx_reg_write(ds, REG_PORT(port), PORT_BASE_VLAN, reg); in _mv88e6xxx_port_vlan_map_set() [all …]
|
D | mv88e6060.c | 68 ret = mdiobus_read(bus, sw_addr + REG_PORT(0), PORT_SWITCH_ID); in mv88e6060_probe() 90 ret = REG_READ(REG_PORT(i), PORT_CONTROL); in mv88e6060_switch_reset() 91 REG_WRITE(REG_PORT(i), PORT_CONTROL, in mv88e6060_switch_reset() 136 int addr = REG_PORT(p); in mv88e6060_setup_port()
|
D | mv88e6060.h | 19 #define REG_PORT(p) (0x8 + (p)) macro
|
D | mv88e6xxx.h | 31 #define REG_PORT(p) (0x10 + (p)) macro
|
/drivers/net/wireless/mwifiex/ |
D | sdio.h | 43 #define REG_PORT 0 macro 59 #define REG_PORT 0 macro
|
D | sdio.c | 763 REG_PORT | MWIFIEX_SDIO_BYTE_MODE_MASK, 0)) { in mwifiex_interrupt_status()
|