Lines Matching +defs:priv +defs:ts

103 static void qtnf_deassert_intx(struct qtnf_pcie_topaz_state *ts)  in qtnf_deassert_intx()
113 static inline int qtnf_topaz_intx_asserted(struct qtnf_pcie_topaz_state *ts) in qtnf_topaz_intx_asserted()
121 static void qtnf_topaz_reset_ep(struct qtnf_pcie_topaz_state *ts) in qtnf_topaz_reset_ep()
129 static void setup_rx_irqs(struct qtnf_pcie_topaz_state *ts) in setup_rx_irqs()
136 static void enable_rx_irqs(struct qtnf_pcie_topaz_state *ts) in enable_rx_irqs()
143 static void disable_rx_irqs(struct qtnf_pcie_topaz_state *ts) in disable_rx_irqs()
152 struct qtnf_pcie_topaz_state *ts = arg; in qtnf_topaz_ipc_gen_ep_int() local
183 static int topaz_alloc_bd_table(struct qtnf_pcie_topaz_state *ts, in topaz_alloc_bd_table()
187 struct qtnf_pcie_bus_priv *priv = &ts->base; in topaz_alloc_bd_table() local
244 topaz_skb2rbd_attach(struct qtnf_pcie_topaz_state *ts, u16 index, u32 wrap) in topaz_skb2rbd_attach()
273 static int topaz_alloc_rx_buffers(struct qtnf_pcie_topaz_state *ts) in topaz_alloc_rx_buffers()
294 static void qtnf_topaz_free_xfer_buffers(struct qtnf_pcie_topaz_state *ts) in qtnf_topaz_free_xfer_buffers()
296 struct qtnf_pcie_bus_priv *priv = &ts->base; in qtnf_topaz_free_xfer_buffers() local
334 static int qtnf_pcie_topaz_init_xfer(struct qtnf_pcie_topaz_state *ts, in qtnf_pcie_topaz_init_xfer()
339 struct qtnf_pcie_bus_priv *priv = &ts->base; in qtnf_pcie_topaz_init_xfer() local
391 static void qtnf_topaz_data_tx_reclaim(struct qtnf_pcie_topaz_state *ts) in qtnf_topaz_data_tx_reclaim()
393 struct qtnf_pcie_bus_priv *priv = &ts->base; in qtnf_topaz_data_tx_reclaim() local
447 struct qtnf_pcie_topaz_state *ts = (void *)get_bus_priv(bus); in qtnf_try_stop_xmit() local
469 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_try_wake_xmit() local
482 static int qtnf_tx_queue_ready(struct qtnf_pcie_topaz_state *ts) in qtnf_tx_queue_ready()
484 struct qtnf_pcie_bus_priv *priv = &ts->base; in qtnf_tx_queue_ready() local
503 struct qtnf_pcie_topaz_state *ts = (void *)get_bus_priv(bus); in qtnf_pcie_data_tx() local
504 struct qtnf_pcie_bus_priv *priv = &ts->base; in qtnf_pcie_data_tx() local
568 struct qtnf_pcie_topaz_state *ts = (void *)get_bus_priv(bus); in qtnf_pcie_topaz_interrupt() local
569 struct qtnf_pcie_bus_priv *priv = &ts->base; in qtnf_pcie_topaz_interrupt() local
592 static int qtnf_rx_data_ready(struct qtnf_pcie_topaz_state *ts) in qtnf_rx_data_ready()
610 struct qtnf_pcie_topaz_state *ts = (void *)get_bus_priv(bus); in qtnf_topaz_rx_poll() local
611 struct qtnf_pcie_bus_priv *priv = &ts->base; in qtnf_topaz_rx_poll() local
722 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_pcie_data_tx_timeout() local
730 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_pcie_data_rx_start() local
738 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_pcie_data_rx_stop() local
758 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_dbg_irq_stats() local
768 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_dbg_pkt_stats() local
769 struct qtnf_pcie_bus_priv *priv = &ts->base; in qtnf_dbg_pkt_stats() local
800 static void qtnf_reset_dma_offset(struct qtnf_pcie_topaz_state *ts) in qtnf_reset_dma_offset()
811 static int qtnf_pcie_endian_detect(struct qtnf_pcie_topaz_state *ts) in qtnf_pcie_endian_detect()
852 struct qtnf_pcie_topaz_state *ts = (void *)get_bus_priv(bus); in qtnf_pre_init_ep() local
886 static int qtnf_post_init_ep(struct qtnf_pcie_topaz_state *ts) in qtnf_post_init_ep()
902 qtnf_ep_fw_load(struct qtnf_pcie_topaz_state *ts, const u8 *fw, u32 fw_size) in qtnf_ep_fw_load()
1003 static int qtnf_topaz_fw_upload(struct qtnf_pcie_topaz_state *ts, in qtnf_topaz_fw_upload()
1037 struct qtnf_pcie_topaz_state *ts = (void *)get_bus_priv(bus); in qtnf_topaz_fw_work_handler() local
1110 struct qtnf_pcie_topaz_state *ts = from_tasklet(ts, t, base.reclaim_tq); in qtnf_reclaim_tasklet_fn() local
1123 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_pcie_topaz_probe() local
1175 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_pcie_topaz_remove() local
1184 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_pcie_topaz_suspend() local
1201 struct qtnf_pcie_topaz_state *ts = get_bus_priv(bus); in qtnf_pcie_topaz_resume() local
1220 struct qtnf_pcie_topaz_state *ts; in qtnf_pcie_topaz_alloc() local