Searched refs:PORT_CTRL_ADDR (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/net/dsa/microchip/ |
D | ksz9477.c | 75 regmap_update_bits(dev->regmap[0], PORT_CTRL_ADDR(port, offset), in ksz_port_cfg() 87 regmap_update_bits(dev->regmap[2], PORT_CTRL_ADDR(port, offset), in ksz9477_port_cfg32() 247 PORT_CTRL_ADDR(port, REG_PORT_MIB_CTRL_STAT__4), in ksz9477_r_mib_cnt() 1427 return PORT_CTRL_ADDR(port, offset); in ksz9477_get_port_addr()
|
D | ksz8795.c | 73 regmap_update_bits(dev->regmap[0], PORT_CTRL_ADDR(port, offset), in ksz_port_cfg() 1137 return PORT_CTRL_ADDR(port, offset); in ksz8795_get_port_addr()
|
D | ksz8795_reg.h | 348 #define PORT_CTRL_ADDR(port, addr) \ macro
|
D | ksz9477_reg.h | 720 #define PORT_CTRL_ADDR(port, addr) ((addr) | (((port) + 1) << 12)) macro
|
/Linux-v5.4/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 548 #define PORT_CTRL_ADDR(port, addr) \ macro 1939 PORT_CTRL_ADDR(port, addr); in port_chk() 1961 PORT_CTRL_ADDR(port, addr); in port_cfg() 2031 PORT_CTRL_ADDR(port, addr); in port_r8() 2049 PORT_CTRL_ADDR(port, addr); in port_r16() 2067 PORT_CTRL_ADDR(port, addr); in port_w16() 2244 PORT_CTRL_ADDR(port, addr); in sw_dis_prio_rate() 2627 PORT_CTRL_ADDR(port, addr); in port_get_def_vid() 2671 PORT_CTRL_ADDR(port, addr); in sw_cfg_port_base_vlan()
|