Lines Matching refs:rswitch_private

42 static void rswitch_reset(struct rswitch_private *priv)  in rswitch_reset()
48 static void rswitch_clock_enable(struct rswitch_private *priv) in rswitch_clock_enable()
53 static void rswitch_clock_disable(struct rswitch_private *priv) in rswitch_clock_disable()
81 static int rswitch_bpool_config(struct rswitch_private *priv) in rswitch_bpool_config()
94 static void rswitch_coma_init(struct rswitch_private *priv) in rswitch_coma_init()
100 static void rswitch_top_init(struct rswitch_private *priv) in rswitch_top_init()
109 static void rswitch_fwd_init(struct rswitch_private *priv) in rswitch_fwd_init()
133 static int rswitch_gwca_change_mode(struct rswitch_private *priv, in rswitch_gwca_change_mode()
151 static int rswitch_gwca_mcast_table_reset(struct rswitch_private *priv) in rswitch_gwca_mcast_table_reset()
158 static int rswitch_gwca_axi_ram_reset(struct rswitch_private *priv) in rswitch_gwca_axi_ram_reset()
165 static bool rswitch_is_any_data_irq(struct rswitch_private *priv, u32 *dis, bool tx) in rswitch_is_any_data_irq()
178 static void rswitch_get_data_irq_status(struct rswitch_private *priv, u32 *dis) in rswitch_get_data_irq_status()
188 static void rswitch_enadis_data_irq(struct rswitch_private *priv, int index, bool enable) in rswitch_enadis_data_irq()
195 static void rswitch_ack_data_irq(struct rswitch_private *priv, int index) in rswitch_ack_data_irq()
283 static void rswitch_gwca_ts_queue_free(struct rswitch_private *priv) in rswitch_gwca_ts_queue_free()
294 struct rswitch_private *priv, in rswitch_gwca_queue_alloc()
350 struct rswitch_private *priv, in rswitch_gwca_queue_format()
399 static void rswitch_gwca_ts_queue_fill(struct rswitch_private *priv, in rswitch_gwca_ts_queue_fill()
459 struct rswitch_private *priv, in rswitch_gwca_queue_ext_ts_format()
487 static int rswitch_gwca_linkfix_alloc(struct rswitch_private *priv) in rswitch_gwca_linkfix_alloc()
504 static void rswitch_gwca_linkfix_free(struct rswitch_private *priv) in rswitch_gwca_linkfix_free()
514 static int rswitch_gwca_ts_queue_alloc(struct rswitch_private *priv) in rswitch_gwca_ts_queue_alloc()
536 static struct rswitch_gwca_queue *rswitch_gwca_get(struct rswitch_private *priv) in rswitch_gwca_get()
552 static void rswitch_gwca_put(struct rswitch_private *priv, in rswitch_gwca_put()
561 struct rswitch_private *priv = rdev->priv; in rswitch_txdmac_alloc()
585 static int rswitch_txdmac_init(struct rswitch_private *priv, int index) in rswitch_txdmac_init()
595 struct rswitch_private *priv = rdev->priv; in rswitch_rxdmac_alloc()
619 static int rswitch_rxdmac_init(struct rswitch_private *priv, int index) in rswitch_rxdmac_init()
627 static int rswitch_gwca_hw_init(struct rswitch_private *priv) in rswitch_gwca_hw_init()
670 static int rswitch_gwca_hw_deinit(struct rswitch_private *priv) in rswitch_gwca_hw_deinit()
684 static int rswitch_gwca_halt(struct rswitch_private *priv) in rswitch_gwca_halt()
801 struct rswitch_private *priv; in rswitch_poll()
850 static irqreturn_t rswitch_data_irq(struct rswitch_private *priv, u32 *dis) in rswitch_data_irq()
871 struct rswitch_private *priv = dev_id; in rswitch_gwca_irq()
884 static int rswitch_gwca_request_irqs(struct rswitch_private *priv) in rswitch_gwca_request_irqs()
913 static void rswitch_ts(struct rswitch_private *priv) in rswitch_ts()
956 struct rswitch_private *priv = dev_id; in rswitch_gwca_ts_irq()
968 static int rswitch_gwca_ts_request_irqs(struct rswitch_private *priv) in rswitch_gwca_ts_request_irqs()
1406 static int rswitch_ether_port_init_all(struct rswitch_private *priv) in rswitch_ether_port_init_all()
1436 static void rswitch_ether_port_deinit_all(struct rswitch_private *priv) in rswitch_ether_port_deinit_all()
1693 static void rswitch_etha_init(struct rswitch_private *priv, int index) in rswitch_etha_init()
1709 static int rswitch_device_alloc(struct rswitch_private *priv, int index) in rswitch_device_alloc()
1780 static void rswitch_device_free(struct rswitch_private *priv, int index) in rswitch_device_free()
1791 static int rswitch_init(struct rswitch_private *priv) in rswitch_init()
1899 struct rswitch_private *priv; in renesas_eth_sw_probe()
1964 static void rswitch_deinit(struct rswitch_private *priv) in rswitch_deinit()
1990 struct rswitch_private *priv = platform_get_drvdata(pdev); in renesas_eth_sw_remove()