Lines Matching refs:cpsw_softc

126 static struct mbuf *cpsw_rx_dequeue(struct cpsw_softc *);
127 static void cpsw_rx_enqueue(struct cpsw_softc *);
131 static int cpsw_tx_dequeue(struct cpsw_softc *);
142 static void cpsw_ale_read_entry(struct cpsw_softc *, uint16_t, uint32_t *);
143 static void cpsw_ale_write_entry(struct cpsw_softc *, uint16_t, uint32_t *);
144 static int cpsw_ale_mc_entry_set(struct cpsw_softc *, uint8_t, int, uint8_t *);
145 static void cpsw_ale_dump_table(struct cpsw_softc *);
146 static int cpsw_ale_update_vlan_table(struct cpsw_softc *, int, int, int, int,
151 static void cpsw_add_sysctls(struct cpsw_softc *);
152 static void cpsw_stats_collect(struct cpsw_softc *);
207 sizeof(struct cpsw_softc),
398 cpsw_write_hdp_slotX(struct cpsw_softc *sc, struct cpsw_queue *queue, struct cpsw_slot *slot)
407 cpsw_write_cp_slotX(struct cpsw_softc *sc, struct cpsw_queue *queue, struct cpsw_slot *slot)
419 cpsw_dump_slot(struct cpsw_softc *sc, struct cpsw_slot *slot) in cpsw_dump_slot()
458 cpsw_dump_queue(struct cpsw_softc *sc, struct cpsw_slots *q) in cpsw_dump_queue()
483 cpsw_init_slots(struct cpsw_softc *sc) in cpsw_init_slots()
499 cpsw_add_slots(struct cpsw_softc *sc, struct cpsw_queue *queue, int requested) in cpsw_add_slots()
525 cpsw_free_slot(struct cpsw_softc *sc, struct cpsw_slot *slot) in cpsw_free_slot()
543 cpsw_reset(struct cpsw_softc *sc) in cpsw_reset()
598 cpsw_init(struct cpsw_softc *sc) in cpsw_init()
705 cpsw_intr_attach(struct cpsw_softc *sc) in cpsw_intr_attach()
721 cpsw_intr_detach(struct cpsw_softc *sc) in cpsw_intr_detach()
734 cpsw_get_fdt_data(struct cpsw_softc *sc, int port) in cpsw_get_fdt_data()
792 struct cpsw_softc *sc; in cpsw_attach()
923 struct cpsw_softc *sc; in cpsw_detach()
1117 cpsw_ports_down(struct cpsw_softc *sc) in cpsw_ports_down()
1213 struct cpsw_softc *sc; in cpsw_shutdown()
1232 cpsw_rx_teardown(struct cpsw_softc *sc) in cpsw_rx_teardown()
1254 cpsw_tx_teardown(struct cpsw_softc *sc) in cpsw_tx_teardown()
1327 struct cpsw_softc *sc; in cpsw_suspend()
1348 struct cpsw_softc *sc; in cpsw_resume()
1464 cpswp_miibus_ready(struct cpsw_softc *sc, uint32_t reg) in cpswp_miibus_ready()
1572 struct cpsw_softc *sc; in cpsw_intr_rx()
1576 sc = (struct cpsw_softc *)arg; in cpsw_intr_rx()
1599 cpsw_rx_dequeue(struct cpsw_softc *sc) in cpsw_rx_dequeue()
1726 cpsw_rx_enqueue(struct cpsw_softc *sc) in cpsw_rx_enqueue()
1825 struct cpsw_softc *sc; in cpsw_intr_tx()
1827 sc = (struct cpsw_softc *)arg; in cpsw_intr_tx()
1983 cpsw_tx_dequeue(struct cpsw_softc *sc) in cpsw_tx_dequeue()
2065 struct cpsw_softc *sc; in cpsw_intr_rx_thresh()
2069 sc = (struct cpsw_softc *)arg; in cpsw_intr_rx_thresh()
2087 cpsw_intr_misc_host_error(struct cpsw_softc *sc) in cpsw_intr_misc_host_error()
2171 struct cpsw_softc *sc = arg; in cpsw_intr_misc()
2248 cpsw_tx_watchdog_full_reset(struct cpsw_softc *sc) in cpsw_tx_watchdog_full_reset()
2273 struct cpsw_softc *sc; in cpsw_tx_watchdog()
2306 cpsw_ale_read_entry(struct cpsw_softc *sc, uint16_t idx, uint32_t *ale_entry) in cpsw_ale_read_entry()
2315 cpsw_ale_write_entry(struct cpsw_softc *sc, uint16_t idx, uint32_t *ale_entry) in cpsw_ale_write_entry()
2324 cpsw_ale_remove_all_mc_entries(struct cpsw_softc *sc) in cpsw_ale_remove_all_mc_entries()
2342 cpsw_ale_mc_entry_set(struct cpsw_softc *sc, uint8_t portmap, int vlan, in cpsw_ale_mc_entry_set()
2394 cpsw_ale_dump_table(struct cpsw_softc *sc) { in cpsw_ale_dump_table()
2500 cpsw_ale_update_vlan_table(struct cpsw_softc *sc, int vlan, int ports, in cpsw_ale_update_vlan_table()
2544 cpsw_stats_dump(struct cpsw_softc *sc)
2560 cpsw_stats_collect(struct cpsw_softc *sc) in cpsw_stats_collect()
2579 struct cpsw_softc *sc; in cpsw_stats_sysctl()
2583 sc = (struct cpsw_softc *)arg1; in cpsw_stats_sysctl()
2593 struct cpsw_softc *sc; in cpsw_stat_attached()
2597 sc = (struct cpsw_softc *)arg1; in cpsw_stat_attached()
2608 struct cpsw_softc *sc; in cpsw_intr_coalesce()
2611 sc = (struct cpsw_softc *)arg1; in cpsw_intr_coalesce()
2652 struct cpsw_softc *swsc; in cpsw_stat_uptime()
2707 struct cpsw_softc *sc) in cpsw_add_watchdog_sysctls()
2718 cpsw_add_sysctls(struct cpsw_softc *sc) in cpsw_add_sysctls()
2806 struct cpsw_softc *sc; in cpsw_getport()
2844 struct cpsw_softc *sc; in cpsw_setport()
2895 struct cpsw_softc *sc; in cpsw_getvgroup()
2924 cpsw_remove_vlan(struct cpsw_softc *sc, int vlan) in cpsw_remove_vlan()
2945 struct cpsw_softc *sc; in cpsw_setvgroup()