Home
last modified time | relevance | path

Searched refs:lan743x_adapter (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_ptp.h10 struct lan743x_adapter;
26 int lan743x_gpio_init(struct lan743x_adapter *adapter);
29 bool lan743x_ptp_request_tx_timestamp(struct lan743x_adapter *adapter);
30 void lan743x_ptp_unrequest_tx_timestamp(struct lan743x_adapter *adapter);
31 void lan743x_ptp_tx_timestamp_skb(struct lan743x_adapter *adapter,
33 int lan743x_ptp_init(struct lan743x_adapter *adapter);
34 int lan743x_ptp_open(struct lan743x_adapter *adapter);
35 void lan743x_ptp_close(struct lan743x_adapter *adapter);
36 void lan743x_ptp_update_latency(struct lan743x_adapter *adapter,
Dlan743x_ptp.c18 static bool lan743x_ptp_is_enabled(struct lan743x_adapter *adapter);
19 static void lan743x_ptp_enable(struct lan743x_adapter *adapter);
20 static void lan743x_ptp_disable(struct lan743x_adapter *adapter);
21 static void lan743x_ptp_reset(struct lan743x_adapter *adapter);
22 static void lan743x_ptp_clock_set(struct lan743x_adapter *adapter,
26 int lan743x_gpio_init(struct lan743x_adapter *adapter) in lan743x_gpio_init()
44 static void lan743x_ptp_wait_till_cmd_done(struct lan743x_adapter *adapter, in lan743x_ptp_wait_till_cmd_done()
63 static void lan743x_ptp_tx_ts_enqueue_ts(struct lan743x_adapter *adapter, in lan743x_ptp_tx_ts_enqueue_ts()
82 static void lan743x_ptp_tx_ts_complete(struct lan743x_adapter *adapter) in lan743x_ptp_tx_ts_complete()
142 static int lan743x_ptp_reserve_event_ch(struct lan743x_adapter *adapter) in lan743x_ptp_reserve_event_ch()
[all …]
Dlan743x_ethtool.c22 static int lan743x_otp_power_up(struct lan743x_adapter *adapter) in lan743x_otp_power_up()
39 static void lan743x_otp_power_down(struct lan743x_adapter *adapter) in lan743x_otp_power_down()
51 static void lan743x_otp_set_address(struct lan743x_adapter *adapter, in lan743x_otp_set_address()
58 static void lan743x_otp_read_go(struct lan743x_adapter *adapter) in lan743x_otp_read_go()
64 static int lan743x_otp_wait_till_not_busy(struct lan743x_adapter *adapter) in lan743x_otp_wait_till_not_busy()
83 static int lan743x_otp_read(struct lan743x_adapter *adapter, u32 offset, in lan743x_otp_read()
115 static int lan743x_otp_write(struct lan743x_adapter *adapter, u32 offset, in lan743x_otp_write()
152 static int lan743x_eeprom_wait(struct lan743x_adapter *adapter) in lan743x_eeprom_wait()
175 static int lan743x_eeprom_confirm_not_busy(struct lan743x_adapter *adapter) in lan743x_eeprom_confirm_not_busy()
193 static int lan743x_eeprom_read(struct lan743x_adapter *adapter, in lan743x_eeprom_read()
[all …]
Dlan743x_main.c18 static void lan743x_pci_cleanup(struct lan743x_adapter *adapter) in lan743x_pci_cleanup()
26 static int lan743x_pci_init(struct lan743x_adapter *adapter, in lan743x_pci_init()
58 u32 lan743x_csr_read(struct lan743x_adapter *adapter, int offset) in lan743x_csr_read()
63 void lan743x_csr_write(struct lan743x_adapter *adapter, int offset, in lan743x_csr_write()
71 static int lan743x_csr_light_reset(struct lan743x_adapter *adapter) in lan743x_csr_light_reset()
83 static int lan743x_csr_wait_for_bit(struct lan743x_adapter *adapter, in lan743x_csr_wait_for_bit()
95 static int lan743x_csr_init(struct lan743x_adapter *adapter) in lan743x_csr_init()
142 struct lan743x_adapter *adapter = context; in lan743x_intr_software_isr()
156 struct lan743x_adapter *adapter = tx->adapter; in lan743x_tx_isr()
198 struct lan743x_adapter *adapter = rx->adapter; in lan743x_rx_isr()
[all …]
Dlan743x_main.h538 struct lan743x_adapter;
596 struct lan743x_adapter *adapter;
640 struct lan743x_adapter *adapter;
677 struct lan743x_adapter *adapter;
698 struct lan743x_adapter { struct
834 u32 lan743x_csr_read(struct lan743x_adapter *adapter, int offset);
835 void lan743x_csr_write(struct lan743x_adapter *adapter, int offset, u32 data);