Searched refs:get_port_addr (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | ksz_common.h | 323 u32 (*get_port_addr)(int port, int offset); member 561 return ksz_read8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread8() 567 return ksz_read16(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread16() 573 return ksz_read32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread32() 579 return ksz_write8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite8() 585 return ksz_write16(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_pwrite16() 592 return ksz_write32(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_pwrite32() 599 return ksz_rmw8(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_prmw8() 606 return ksz_rmw32(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_prmw32()
|
D | ksz_ptp.c | 1107 ptpmsg_irq->ts_reg = ops->get_port_addr(port->num, ts_reg[n]); in ksz_ptp_msg_irq_setup() 1132 ptpirq->reg_mask = ops->get_port_addr(p, REG_PTP_PORT_TX_INT_ENABLE__2); in ksz_ptp_irq_setup() 1133 ptpirq->reg_status = ops->get_port_addr(p, in ksz_ptp_irq_setup()
|
D | ksz_common.c | 282 .get_port_addr = ksz8_get_port_addr, 317 .get_port_addr = ksz8_get_port_addr, 365 .get_port_addr = ksz9477_get_port_addr, 409 .get_port_addr = ksz9477_get_port_addr, 2472 pirq->reg_mask = dev->dev_ops->get_port_addr(p, REG_PORT_INT_MASK); in ksz_pirq_setup() 2473 pirq->reg_status = dev->dev_ops->get_port_addr(p, REG_PORT_INT_STATUS); in ksz_pirq_setup()
|
D | ksz9477_acl.c | 792 reg = dev->dev_ops->get_port_addr(port, KSZ9477_PORT_ACL_CTRL_0); in ksz9477_acl_wait_ready()
|