Searched refs:ksz_rmw8 (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/dsa/microchip/ |
H A D | ksz8.c | 162 return ksz_rmw8(dev, REG_SW_CTRL_2, KSZ8863_LEGAL_PACKET_ENABLE | in ksz8863_change_mtu() 176 ret = ksz_rmw8(dev, REG_SW_CTRL_1, SW_HUGE_PACKET, ctrl1); in ksz8795_change_mtu() 180 return ksz_rmw8(dev, REG_SW_CTRL_2, SW_LEGAL_PACKET_DISABLE, ctrl2); in ksz8795_change_mtu() 226 ret = ksz_rmw8(dev, REG_SW_CTRL_3, WEIGHTED_FAIR_QUEUE_ENABLE, in ksz8_port_queue_split() 239 ret = ksz_rmw8(dev, REG_SW_CTRL_19, in ksz8_port_queue_split() 1823 ksz_rmw8(dev, regs[S_BROADCAST_CTRL], SW_HALF_DUPLEX | SW_FLOW_CTRL | in ksz8_cpu_port_link_up() 1927 ret = ksz_rmw8(dev, REG_INT_ENABLE, INT_PME, 0); in ksz8_setup()
|
H A D | ksz_dcb.c | 329 return ksz_rmw8(dev, reg + (dscp / per_reg), mask << shift, in ksz_set_global_dscp_entry() 351 ret = ksz_rmw8(dev, KSZ9477_REG_SW_MAC_TOS_CTRL, in ksz_init_global_dscp_map()
|
H A D | ksz_common.h | 546 static inline int ksz_rmw8(struct ksz_device *dev, int offset, u8 mask, u8 val) in ksz_rmw8() function 599 return ksz_rmw8(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_prmw8()
|
H A D | ksz_common.c | 4592 return ksz_rmw8(dev, reg, mask, val); in ksz9477_drive_strength_write() 4634 return ksz_rmw8(dev, KSZ8873_REG_GLOBAL_CTRL_12, in ksz88x3_drive_strength_write()
|