Home
last modified time | relevance | path

Searched refs:lan743x_csr_read (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ethtool.c26 #define LAN743X_CSR_READ_OP(offset) lan743x_csr_read(adapter, offset)
32 reg_value = lan743x_csr_read(adapter, OTP_PWR_DN); in lan743x_otp_power_up()
49 reg_value = lan743x_csr_read(adapter, OTP_PWR_DN); in lan743x_otp_power_down()
83 reg_val = lan743x_csr_read(adapter, OTP_STATUS); in lan743x_otp_wait_till_not_busy()
113 data[i] = lan743x_csr_read(adapter, OTP_READ_DATA); in lan743x_otp_read()
169 val = lan743x_csr_read(adapter, in lan743x_hs_syslock_acquire()
206 val = lan743x_csr_read(adapter, in lan743x_hs_syslock_release()
219 reg_value = lan743x_csr_read(adapter, HS_OTP_PWR_DN); in lan743x_hs_otp_power_up()
226 lan743x_csr_read(adapter, HS_OTP_PWR_DN); in lan743x_hs_otp_power_up()
235 reg_value = lan743x_csr_read(adapter, HS_OTP_PWR_DN); in lan743x_hs_otp_power_down()
[all …]
H A Dlan743x_ptp.c65 (data = (lan743x_csr_read(adapter, PTP_CMD_CTL) & in lan743x_ptp_wait_till_cmd_done()
206 u32 val = lan743x_csr_read(adapter, HW_CFG); in lan743x_led_mux_enable()
224 u32 val = lan743x_csr_read(adapter, HW_CFG); in lan743x_led_mux_save()
451 general_config = lan743x_csr_read(adapter, PTP_GENERAL_CONFIG); in lan743x_ptp_perout_off()
619 general_config = lan743x_csr_read(adapter, PTP_GENERAL_CONFIG); in lan743x_ptp_perout()
670 gen_cfg = lan743x_csr_read(adapter, HS_PTP_GENERAL_CONFIG); in lan743x_ptp_io_perout_off()
689 val = lan743x_csr_read(adapter, PTP_IO_EVENT_OUTPUT_CFG); in lan743x_ptp_io_perout_off()
696 val = lan743x_csr_read(adapter, PTP_IO_PIN_CFG); in lan743x_ptp_io_perout_off()
700 val = lan743x_csr_read(adapter, PTP_IO_PIN_CFG); in lan743x_ptp_io_perout_off()
799 gen_cfg = lan743x_csr_read(adapter, HS_PTP_GENERAL_CONFIG); in lan743x_ptp_io_perout()
[all …]
H A Dlan743x_main.c46 cfg_load = lan743x_csr_read(adapter, ETH_SYS_CONFIG_LOAD_STARTED_REG); in pci11x1x_strap_get_status()
48 hw_cfg = lan743x_csr_read(adapter, HW_CFG); in pci11x1x_strap_get_status()
52 strap = lan743x_csr_read(adapter, STRAP_READ); in pci11x1x_strap_get_status()
58 chip_rev = lan743x_csr_read(adapter, FPGA_REV); in pci11x1x_strap_get_status()
124 u32 lan743x_csr_read(struct lan743x_adapter *adapter, int offset) in lan743x_csr_read() function
135 #define LAN743X_CSR_READ_OP(offset) lan743x_csr_read(adapter, offset)
141 data = lan743x_csr_read(adapter, HW_CFG); in lan743x_csr_light_reset()
185 csr->id_rev = lan743x_csr_read(adapter, ID_REV); in lan743x_csr_init()
186 csr->fpga_rev = lan743x_csr_read(adapter, FPGA_REV); in lan743x_csr_init()
224 lan743x_csr_read(adapter, INT_EN_SET); in lan743x_tx_isr()
[all …]
H A Dlan743x_main.h1191 u32 lan743x_csr_read(struct lan743x_adapter *adapter, int offset);