Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c225 ts->tv_sec = lan_rd(lan966x, PTP_TOD_SEC_LSB(TOD_ACC_PIN)); in lan966x_get_hwtimestamp()
226 curr_nsec = lan_rd(lan966x, PTP_TOD_NSEC(TOD_ACC_PIN)); in lan966x_get_hwtimestamp()
251 val = lan_rd(lan966x, PTP_TWOSTEP_CTRL); in lan966x_ptp_irq_handler()
269 delay = lan_rd(lan966x, PTP_TWOSTEP_STAMP); in lan966x_ptp_irq_handler()
279 val = lan_rd(lan966x, PTP_TWOSTEP_CTRL); in lan966x_ptp_irq_handler()
286 id = lan_rd(lan966x, PTP_TWOSTEP_STAMP); in lan966x_ptp_irq_handler()
334 if (!(lan_rd(lan966x, PTP_PIN_INTR))) in lan966x_ptp_ext_irq_handler()
346 if (!(lan_rd(lan966x, PTP_PIN_INTR) & BIT(pin))) in lan966x_ptp_ext_irq_handler()
357 s = lan_rd(lan966x, PTP_TOD_SEC_MSB(pin)); in lan966x_ptp_ext_irq_handler()
359 s |= lan_rd(lan966x, PTP_TOD_SEC_LSB(pin)); in lan966x_ptp_ext_irq_handler()
[all …]
Dlan966x_main.c207 return lan_rd(lan966x, QS_INJ_STATUS); in lan966x_port_inj_status()
214 if (lan_rd(lan966x, QS_INJ_STATUS) & QS_INJ_STATUS_FIFO_RDY_SET(BIT(grp))) in lan966x_port_inj_ready()
233 val = lan_rd(lan966x, QS_INJ_STATUS); in lan966x_port_ifh_xmit()
484 val = lan_rd(lan966x, ANA_CPU_FWD_CFG(port)); in lan966x_hw_offload()
510 return lan_rd(lan966x, QS_XTR_RD(grp)); in lan966x_port_xtr_status()
529 val = lan_rd(lan966x, QS_XTR_RD(grp)); in lan966x_rx_frame_word()
545 val = lan_rd(lan966x, QS_XTR_RD(grp)); in lan966x_rx_frame_word()
547 *rval = lan_rd(lan966x, QS_XTR_RD(grp)); in lan966x_rx_frame_word()
553 *rval = lan_rd(lan966x, QS_XTR_RD(grp)); in lan966x_rx_frame_word()
586 if (!(lan_rd(lan966x, QS_XTR_DATA_PRESENT) & BIT(grp))) in lan966x_xtr_irq_handler()
[all …]
Dlan966x_port.c39 val = lan_rd(lan966x, AFI_PORT_FRM_OUT(port->chip_port)); in lan966x_port_link_down()
103 val = lan_rd(lan966x, QSYS_SW_STATUS(port->chip_port)); in lan966x_port_link_down()
293 val = lan_rd(lan966x, DEV_PCS1G_STICKY(port->chip_port)); in lan966x_port_status_get()
299 val = lan_rd(lan966x, DEV_PCS1G_LINK_STATUS(port->chip_port)); in lan966x_port_status_get()
305 val = lan_rd(lan966x, DEV_PCS1G_ANEG_STATUS(port->chip_port)); in lan966x_port_status_get()
Dlan966x_mac.c36 return lan_rd(lan966x, ANA_MACACCESS); in lan966x_mac_get_status()
234 return ANA_MACACCESS_VALID_GET(lan_rd(lan966x, ANA_MACACCESS)); in lan966x_mac_lookup()
477 val = lan_rd(lan966x, ANA_MACTINDX); in lan966x_mac_irq_handler()
500 entry[column].mach = lan_rd(lan966x, ANA_MACHDATA); in lan966x_mac_irq_handler()
501 entry[column].macl = lan_rd(lan966x, ANA_MACLDATA); in lan966x_mac_irq_handler()
502 entry[column].maca = lan_rd(lan966x, ANA_MACACCESS); in lan966x_mac_irq_handler()
Dlan966x_switchdev.c18 flood_mask_ip = lan_rd(lan966x, ANA_PGID(pgid_ip)); in lan966x_port_set_mcast_ip_flood()
27 flood_mask = lan_rd(lan966x, ANA_PGID(PGID_MC)); in lan966x_port_set_mcast_ip_flood()
46 u32 val = lan_rd(port->lan966x, ANA_PGID(PGID_MC)); in lan966x_port_set_mcast_flood()
67 u32 val = lan_rd(port->lan966x, ANA_PGID(PGID_UC)); in lan966x_port_set_ucast_flood()
83 u32 val = lan_rd(port->lan966x, ANA_PGID(PGID_BC)); in lan966x_port_set_bcast_flood()
Dlan966x_fdma.c7 return lan_rd(lan966x, FDMA_CH_ACTIVE); in lan966x_fdma_channel_active()
155 mask = lan_rd(lan966x, FDMA_INTR_DB_ENA); in lan966x_fdma_rx_start()
280 mask = lan_rd(lan966x, FDMA_INTR_DB_ENA); in lan966x_fdma_tx_activate()
525 db = lan_rd(lan966x, FDMA_INTR_DB); in lan966x_fdma_irq_handler()
526 err = lan_rd(lan966x, FDMA_INTR_ERR); in lan966x_fdma_irq_handler()
536 err_type = lan_rd(lan966x, FDMA_ERRORS); in lan966x_fdma_irq_handler()
685 return lan_rd(lan966x, QSYS_SW_STATUS(CPU_PORT)); in lan966x_qsys_sw_status()
Dlan966x_vlan.c12 return lan_rd(lan966x, ANA_VLANACCESS); in lan966x_vlan_get_status()
Dlan966x_main.h424 static inline u32 lan_rd(struct lan966x *lan966x, int id, int tinst, int tcnt, in lan_rd() function
Dlan966x_ethtool.c309 lan_rd(lan966x, SYS_CNT(offset))); in lan966x_stats_update()