| /freebsd-head/sys/dev/qcom_ess_edma/ |
| HD | qcom_ess_edma_hw.h | 35 extern int qcom_ess_edma_hw_reset(struct qcom_ess_edma_softc *sc); 37 struct qcom_ess_edma_softc *sc, uint32_t *usec); 39 struct qcom_ess_edma_softc *sc, uint32_t usec); 41 struct qcom_ess_edma_softc *sc, uint32_t usec); 42 extern int qcom_ess_edma_hw_intr_disable(struct qcom_ess_edma_softc *sc); 44 struct qcom_ess_edma_softc *sc, int rxq, bool state); 46 struct qcom_ess_edma_softc *sc, int txq, bool state); 47 extern int qcom_ess_edma_hw_intr_enable(struct qcom_ess_edma_softc *sc); 49 struct qcom_ess_edma_softc *sc); 50 extern int qcom_ess_edma_hw_intr_rx_ack(struct qcom_ess_edma_softc *sc, [all …]
|
| HD | qcom_ess_edma_hw.c | 82 qcom_ess_edma_hw_reset(struct qcom_ess_edma_softc *sc) in qcom_ess_edma_hw_reset() 111 qcom_ess_edma_hw_get_tx_intr_moderation(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_hw_get_tx_intr_moderation() 135 qcom_ess_edma_hw_set_tx_intr_moderation(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_hw_set_tx_intr_moderation() 161 qcom_ess_edma_hw_set_rx_intr_moderation(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_hw_set_rx_intr_moderation() 183 qcom_ess_edma_hw_intr_disable(struct qcom_ess_edma_softc *sc) in qcom_ess_edma_hw_intr_disable() 210 qcom_ess_edma_hw_intr_rx_intr_set_enable(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_hw_intr_rx_intr_set_enable() 223 qcom_ess_edma_hw_intr_tx_intr_set_enable(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_hw_intr_tx_intr_set_enable() 237 qcom_ess_edma_hw_intr_enable(struct qcom_ess_edma_softc *sc) in qcom_ess_edma_hw_intr_enable() 268 qcom_ess_edma_hw_intr_status_clear(struct qcom_ess_edma_softc *sc) in qcom_ess_edma_hw_intr_status_clear() 285 qcom_ess_edma_hw_intr_rx_ack(struct qcom_ess_edma_softc *sc, int rx_queue) in qcom_ess_edma_hw_intr_rx_ack() [all …]
|
| HD | qcom_ess_edma_rx.h | 35 extern int qcom_ess_edma_rx_queue_to_cpu(struct qcom_ess_edma_softc *sc, 37 extern int qcom_ess_edma_rx_ring_setup(struct qcom_ess_edma_softc *sc, 39 extern int qcom_ess_edma_rx_ring_clean(struct qcom_ess_edma_softc *sc, 41 extern int qcom_ess_edma_rx_buf_alloc(struct qcom_ess_edma_softc *sc, 44 struct qcom_ess_edma_softc *sc, 46 extern int qcom_ess_edma_rx_ring_fill(struct qcom_ess_edma_softc *sc, 48 extern int qcom_ess_edma_rx_ring_complete(struct qcom_ess_edma_softc *sc,
|
| HD | qcom_ess_edma_desc.h | 35 extern int qcom_ess_edma_desc_ring_setup(struct qcom_ess_edma_softc *sc, 43 extern int qcom_ess_edma_desc_ring_free(struct qcom_ess_edma_softc *sc, 46 struct qcom_ess_edma_softc *sc, 50 struct qcom_ess_edma_softc *sc, 54 struct qcom_ess_edma_softc *sc, 57 struct qcom_ess_edma_softc *sc, 60 struct qcom_ess_edma_softc *sc,
|
| HD | qcom_ess_edma_tx.h | 36 extern int qcom_ess_edma_tx_queue_to_cpu(struct qcom_ess_edma_softc *sc, 38 extern int qcom_ess_edma_tx_ring_setup(struct qcom_ess_edma_softc *sc, 40 extern int qcom_ess_edma_tx_ring_clean(struct qcom_ess_edma_softc *sc, 42 extern int qcom_ess_edma_tx_ring_complete(struct qcom_ess_edma_softc *sc, 44 extern int qcom_ess_edma_tx_ring_frame(struct qcom_ess_edma_softc *sc, 47 extern int qcom_ess_edma_tx_ring_frame_update(struct qcom_ess_edma_softc *sc,
|
| HD | qcom_ess_edma_gmac.h | 35 extern int qcom_ess_edma_gmac_parse(struct qcom_ess_edma_softc *sc, 37 extern int qcom_ess_edma_gmac_create_ifnet(struct qcom_ess_edma_softc *sc, 40 struct qcom_ess_edma_softc *sc, int gmac_id); 42 extern int qcom_ess_edma_gmac_receive_frames(struct qcom_ess_edma_softc *sc,
|
| HD | qcom_ess_edma.c | 86 qcom_ess_edma_release_intr(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_release_intr() 103 qcom_ess_edma_tx_queue_xmit(struct qcom_ess_edma_softc *sc, int queue_id) in qcom_ess_edma_tx_queue_xmit() 172 struct qcom_ess_edma_softc *sc = txs->sc; in qcom_ess_edma_tx_queue_xmit_task() 192 struct qcom_ess_edma_softc *sc = txs->sc; in qcom_ess_edma_tx_queue_complete_task() 226 qcom_ess_edma_setup_tx_state(struct qcom_ess_edma_softc *sc, int txq, int cpu) in qcom_ess_edma_setup_tx_state() 270 qcom_ess_edma_free_tx_state(struct qcom_ess_edma_softc *sc, int txq) in qcom_ess_edma_free_tx_state() 294 struct qcom_ess_edma_softc *sc = rxs->sc; in qcom_ess_edma_rx_queue_complete_task() 329 qcom_ess_edma_setup_rx_state(struct qcom_ess_edma_softc *sc, int rxq, int cpu) in qcom_ess_edma_setup_rx_state() 366 qcom_ess_edma_free_rx_state(struct qcom_ess_edma_softc *sc, int rxq) in qcom_ess_edma_free_rx_state() 381 struct qcom_ess_edma_softc *sc = device_get_softc(dev); in qcom_ess_edma_detach() [all …]
|
| HD | qcom_ess_edma_gmac.c | 83 struct qcom_ess_edma_softc *sc = gmac->sc; in qcom_ess_edma_gmac_mediachange() 114 struct qcom_ess_edma_softc *sc = gmac->sc; in qcom_ess_edma_gmac_ioctl() 171 struct qcom_ess_edma_softc *sc = gmac->sc; in qcom_ess_edma_gmac_init() 186 struct qcom_ess_edma_softc *sc = gmac->sc; in qcom_ess_edma_gmac_transmit() 247 struct qcom_ess_edma_softc *sc = gmac->sc; in qcom_ess_edma_gmac_qflush() 262 qcom_ess_edma_gmac_parse(struct qcom_ess_edma_softc *sc, int gmac_id) in qcom_ess_edma_gmac_parse() 329 qcom_ess_edma_gmac_create_ifnet(struct qcom_ess_edma_softc *sc, int gmac_id) in qcom_ess_edma_gmac_create_ifnet() 395 qcom_ess_edma_gmac_setup_port_mapping(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_gmac_setup_port_mapping() 438 qcom_ess_edma_gmac_receive_frames(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_gmac_receive_frames()
|
| HD | qcom_ess_edma_var.h | 92 struct qcom_ess_edma_softc; 98 struct qcom_ess_edma_softc *sc; 178 struct qcom_ess_edma_softc *sc; 190 struct qcom_ess_edma_softc *sc; 196 struct qcom_ess_edma_softc *sc; 211 struct qcom_ess_edma_softc { struct
|
| HD | qcom_ess_edma_desc.c | 77 qcom_ess_edma_desc_ring_setup(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_desc_ring_setup() 230 qcom_ess_edma_desc_ring_free(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_desc_ring_free() 270 qcom_ess_edma_desc_ring_get_sw_desc(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_desc_ring_get_sw_desc() 289 qcom_ess_edma_desc_ring_get_hw_desc(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_desc_ring_get_hw_desc() 307 qcom_ess_edma_desc_ring_flush_preupdate(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_desc_ring_flush_preupdate() 323 qcom_ess_edma_desc_ring_flush_postupdate(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_desc_ring_flush_postupdate() 337 qcom_ess_edma_desc_ring_get_num_available(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_desc_ring_get_num_available()
|
| HD | qcom_ess_edma_tx.c | 72 qcom_ess_edma_tx_queue_to_cpu(struct qcom_ess_edma_softc *sc, int queue) in qcom_ess_edma_tx_queue_to_cpu() 79 qcom_ess_edma_tx_ring_setup(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_tx_ring_setup() 107 qcom_ess_edma_tx_ring_clean(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_tx_ring_clean() 119 qcom_ess_edma_tx_unmap_and_clean(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_tx_unmap_and_clean() 161 qcom_ess_edma_tx_ring_complete(struct qcom_ess_edma_softc *sc, int queue) in qcom_ess_edma_tx_ring_complete() 226 qcom_ess_edma_tx_ring_frame(struct qcom_ess_edma_softc *sc, int queue, in qcom_ess_edma_tx_ring_frame() 439 qcom_ess_edma_tx_ring_frame_update(struct qcom_ess_edma_softc *sc, int queue) in qcom_ess_edma_tx_ring_frame_update()
|
| HD | qcom_ess_edma_rx.c | 67 qcom_ess_edma_rx_queue_to_cpu(struct qcom_ess_edma_softc *sc, int queue) in qcom_ess_edma_rx_queue_to_cpu() 73 qcom_ess_edma_rx_ring_setup(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_rx_ring_setup() 101 qcom_ess_edma_rx_ring_clean(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_rx_ring_clean() 119 qcom_ess_edma_rx_buf_alloc(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_rx_buf_alloc() 193 qcom_ess_edma_rx_buf_clean(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_rx_buf_clean() 254 qcom_ess_edma_rx_ring_fill(struct qcom_ess_edma_softc *sc, in qcom_ess_edma_rx_ring_fill() 328 qcom_ess_edma_rx_ring_complete(struct qcom_ess_edma_softc *sc, int queue, in qcom_ess_edma_rx_ring_complete()
|