Home
last modified time | relevance | path

Searched refs:PORT_CTRL_ADDR (Results 1 – 7 of 7) sorted by relevance

/drivers/net/dsa/microchip/
Dlan937x_main.c28 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()
Dlan937x_reg.h8 #define PORT_CTRL_ADDR(port, addr) ((addr) | (((port) + 1) << 12)) macro
Dksz9477.c30 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()
Dksz8795_reg.h319 #define PORT_CTRL_ADDR(port, addr) \ macro
Dksz8795.c37 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()
Dksz9477_reg.h713 #define PORT_CTRL_ADDR(port, addr) ((addr) | (((port) + 1) << 12)) macro
/drivers/net/ethernet/micrel/
Dksz884x.c480 #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()