Searched refs:PORT_CTRL_ADDR (Results 1 – 7 of 7) sorted by relevance
/drivers/net/dsa/microchip/ |
D | lan937x_main.c | 28 return regmap_update_bits(dev->regmap[0], PORT_CTRL_ADDR(port, offset), in lan937x_port_cfg() 58 temp = PORT_CTRL_ADDR(addr, (addr_base + (reg << 2))); in lan937x_vphy_ind_addr_wr()
|
D | lan937x_reg.h | 8 #define PORT_CTRL_ADDR(port, addr) ((addr) | (((port) + 1) << 12)) macro
|
D | ksz9477.c | 30 regmap_update_bits(dev->regmap[0], PORT_CTRL_ADDR(port, offset), in ksz_port_cfg() 42 regmap_update_bits(dev->regmap[2], PORT_CTRL_ADDR(port, offset), in ksz9477_port_cfg32() 225 PORT_CTRL_ADDR(port, REG_PORT_MIB_CTRL_STAT__4), in ksz9477_r_mib_cnt() 1172 return PORT_CTRL_ADDR(port, offset); in ksz9477_get_port_addr()
|
D | ksz8795_reg.h | 319 #define PORT_CTRL_ADDR(port, addr) \ macro
|
D | ksz8795.c | 37 regmap_update_bits(dev->regmap[0], PORT_CTRL_ADDR(port, offset), in ksz_port_cfg() 1391 return PORT_CTRL_ADDR(port, offset); in ksz8_get_port_addr()
|
D | ksz9477_reg.h | 713 #define PORT_CTRL_ADDR(port, addr) ((addr) | (((port) + 1) << 12)) macro
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 480 #define PORT_CTRL_ADDR(port, addr) \ macro 1873 PORT_CTRL_ADDR(port, addr); in port_chk() 1895 PORT_CTRL_ADDR(port, addr); in port_cfg() 1965 PORT_CTRL_ADDR(port, addr); in port_r8() 1983 PORT_CTRL_ADDR(port, addr); in port_r16() 2001 PORT_CTRL_ADDR(port, addr); in port_w16() 2178 PORT_CTRL_ADDR(port, addr); in sw_dis_prio_rate() 2561 PORT_CTRL_ADDR(port, addr); in port_get_def_vid() 2605 PORT_CTRL_ADDR(port, addr); in sw_cfg_port_base_vlan()
|