Home
last modified time | relevance | path

Searched refs:port_regs (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/qlogic/
Dqla3xxx.c106 struct ql3xxx_port_registers __iomem *port_regs = in ql_sem_spinlock() local
113 &port_regs->CommonRegs.semaphoreReg); in ql_sem_spinlock()
114 value = readl(&port_regs->CommonRegs.semaphoreReg); in ql_sem_spinlock()
124 struct ql3xxx_port_registers __iomem *port_regs = in ql_sem_unlock() local
126 writel(sem_mask, &port_regs->CommonRegs.semaphoreReg); in ql_sem_unlock()
127 readl(&port_regs->CommonRegs.semaphoreReg); in ql_sem_unlock()
132 struct ql3xxx_port_registers __iomem *port_regs = in ql_sem_lock() local
136 writel((sem_mask | sem_bits), &port_regs->CommonRegs.semaphoreReg); in ql_sem_lock()
137 value = readl(&port_regs->CommonRegs.semaphoreReg); in ql_sem_lock()
166 struct ql3xxx_port_registers __iomem *port_regs = in ql_set_register_page() local
[all …]
/linux-5.19.10/drivers/net/ethernet/freescale/enetc/
Denetc_pci_mdio.c17 void __iomem *port_regs; in enetc_pci_mdio_probe() local
22 port_regs = pci_iomap(pdev, 0, 0); in enetc_pci_mdio_probe()
23 if (!port_regs) { in enetc_pci_mdio_probe()
29 hw = enetc_hw_alloc(dev, port_regs); in enetc_pci_mdio_probe()
78 iounmap(port_regs); in enetc_pci_mdio_probe()
Denetc_mdio.c161 struct enetc_hw *enetc_hw_alloc(struct device *dev, void __iomem *port_regs) in enetc_hw_alloc() argument
169 hw->port = port_regs; in enetc_hw_alloc()
/linux-5.19.10/include/linux/fsl/
Denetc_mdio.h42 struct enetc_hw *enetc_hw_alloc(struct device *dev, void __iomem *port_regs);
51 struct enetc_hw *enetc_hw_alloc(struct device *dev, void __iomem *port_regs) in enetc_hw_alloc() argument
/linux-5.19.10/drivers/usb/cdns3/
Dcdnsp-gadget.c102 __le32 __iomem *port_regs, in cdnsp_set_link_state() argument
108 temp = readl(port_regs); in cdnsp_set_link_state()
111 writel(temp, port_regs); in cdnsp_set_link_state()
119 trace_cdnsp_handle_port_status(port_num, readl(port_regs)); in cdnsp_set_link_state()
120 writel(temp, port_regs); in cdnsp_set_link_state()
121 trace_cdnsp_link_state_changed(port_num, readl(port_regs)); in cdnsp_set_link_state()
125 __le32 __iomem *port_regs) in cdnsp_disable_port() argument
127 u32 temp = cdnsp_port_state_to_neutral(readl(port_regs)); in cdnsp_disable_port()
129 writel(temp | PORT_PED, port_regs); in cdnsp_disable_port()
133 __le32 __iomem *port_regs) in cdnsp_clear_port_change_bit() argument
[all …]
Dcdnsp-ring.c789 struct cdnsp_port_regs __iomem *port_regs; in cdnsp_handle_port_status() local
804 port_regs = pdev->active_port->regs; in cdnsp_handle_port_status()
810 portsc = readl(&port_regs->portsc); in cdnsp_handle_port_status()
812 (portsc & PORT_CHANGE_BITS), &port_regs->portsc); in cdnsp_handle_port_status()
828 cdnsp_set_link_state(pdev, &port_regs->portsc, in cdnsp_handle_port_status()
882 if (readl(&port_regs->portsc) & PORT_CHANGE_BITS) in cdnsp_handle_port_status()
Dcdnsp-gadget.h1553 __le32 __iomem *port_regs, u32 link_state);
/linux-5.19.10/drivers/net/ethernet/ti/
Dnetcp_ethss.c689 void __iomem *port_regs; member
2061 writel(mac_hi(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_hi)); in gbe_set_slave_mac()
2062 writel(mac_lo(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_lo)); in gbe_set_slave_mac()
2235 rx_maxlen_reg = GBE_REG_ADDR(slave, port_regs, rx_maxlen); in gbe_port_config()
2307 GBE_REG_ADDR(slave, port_regs, rx_pri_map)); in gbe_slave_open()
2623 writel(0, GBE_REG_ADDR(slave, port_regs, ts_ctl)); in gbe_hwtstamp()
2640 writel(ts_en, GBE_REG_ADDR(slave, port_regs, ts_ctl)); in gbe_hwtstamp()
2641 writel(seq_id, GBE_REG_ADDR(slave, port_regs, ts_seq_ltype)); in gbe_hwtstamp()
2642 writel(ctl, GBE_REG_ADDR(slave, port_regs, ts_ctl_ltype2)); in gbe_hwtstamp()
3049 slave->port_regs = gbe_dev->switch_regs + port_reg_ofs + in init_slave()
[all …]
/linux-5.19.10/drivers/thunderbolt/
Ddebugfs.c436 DEBUGFS_ATTR_RW(port_regs);