Lines Matching refs:mvneta_port

268 struct mvneta_port {  struct
423 static void mvreg_write(struct mvneta_port *pp, u32 offset, u32 data) in mvreg_write()
429 static u32 mvreg_read(struct mvneta_port *pp, u32 offset) in mvreg_read()
435 static void mvneta_mib_counters_clear(struct mvneta_port *pp) in mvneta_mib_counters_clear()
458 static void mvneta_rxq_non_occup_desc_add(struct mvneta_port *pp, in mvneta_rxq_non_occup_desc_add()
477 static int mvneta_rxq_busy_desc_num_get(struct mvneta_port *pp, in mvneta_rxq_busy_desc_num_get()
489 static void mvneta_rxq_desc_num_update(struct mvneta_port *pp, in mvneta_rxq_desc_num_update()
535 static void mvneta_txq_pend_desc_add(struct mvneta_port *pp, in mvneta_txq_pend_desc_add()
559 static void mvneta_rxq_buf_size_set(struct mvneta_port *pp, in mvneta_rxq_buf_size_set()
573 static int mvneta_port_is_fixed_link(struct mvneta_port *pp) in mvneta_port_is_fixed_link()
581 static void mvneta_port_up(struct mvneta_port *pp) in mvneta_port_up()
607 static void mvneta_port_down(struct mvneta_port *pp) in mvneta_port_down()
678 static void mvneta_port_enable(struct mvneta_port *pp) in mvneta_port_enable()
689 static void mvneta_port_disable(struct mvneta_port *pp) in mvneta_port_disable()
704 static void mvneta_set_ucast_table(struct mvneta_port *pp, int queue) in mvneta_set_ucast_table()
721 static void mvneta_set_special_mcast_table(struct mvneta_port *pp, int queue) in mvneta_set_special_mcast_table()
738 static void mvneta_set_other_mcast_table(struct mvneta_port *pp, int queue) in mvneta_set_other_mcast_table()
765 static void mvneta_defaults_set(struct mvneta_port *pp) in mvneta_defaults_set()
843 static void mvneta_set_ucast_addr(struct mvneta_port *pp, u8 last_nibble, in mvneta_set_ucast_addr()
873 static void mvneta_mac_addr_set(struct mvneta_port *pp, unsigned char *addr, in mvneta_mac_addr_set()
910 static void mvneta_txq_sent_desc_dec(struct mvneta_port *pp, in mvneta_txq_sent_desc_dec()
928 static int mvneta_txq_sent_desc_num_get(struct mvneta_port *pp, in mvneta_txq_sent_desc_num_get()
942 static void mvneta_rx_error(struct mvneta_port *pp, in mvneta_rx_error()
974 static struct mvneta_rx_queue *mvneta_rxq_handle_get(struct mvneta_port *pp, in mvneta_rxq_handle_get()
982 static void mvneta_rxq_drop_pkts(struct mvneta_port *pp, in mvneta_rxq_drop_pkts()
993 static int mvneta_rxq_fill(struct mvneta_port *pp, struct mvneta_rx_queue *rxq, in mvneta_rxq_fill()
1017 static int mvneta_rxq_init(struct mvneta_port *pp, in mvneta_rxq_init()
1044 static void mvneta_rxq_deinit(struct mvneta_port *pp, in mvneta_rxq_deinit()
1056 static int mvneta_txq_init(struct mvneta_port *pp, in mvneta_txq_init()
1082 static void mvneta_txq_deinit(struct mvneta_port *pp, in mvneta_txq_deinit()
1100 static void mvneta_cleanup_txqs(struct mvneta_port *pp) in mvneta_cleanup_txqs()
1109 static void mvneta_cleanup_rxqs(struct mvneta_port *pp) in mvneta_cleanup_rxqs()
1119 static int mvneta_setup_rxqs(struct mvneta_port *pp) in mvneta_setup_rxqs()
1137 static int mvneta_setup_txqs(struct mvneta_port *pp) in mvneta_setup_txqs()
1154 static void mvneta_start_dev(struct mvneta_port *pp) in mvneta_start_dev()
1162 struct mvneta_port *pp = dev_get_priv(dev); in mvneta_adjust_link()
1223 struct mvneta_port *pp = dev_get_priv(dev); in mvneta_open()
1242 static int mvneta_init2(struct mvneta_port *pp) in mvneta_init2()
1297 static void mvneta_bypass_mbus_windows(struct mvneta_port *pp) in mvneta_bypass_mbus_windows()
1314 static void mvneta_conf_mbus_windows(struct mvneta_port *pp) in mvneta_conf_mbus_windows()
1349 static int mvneta_port_power_up(struct mvneta_port *pp, int phy_mode) in mvneta_port_power_up()
1393 struct mvneta_port *pp = dev_get_priv(dev); in mvneta_init()
1423 static int smi_wait_ready(struct mvneta_port *pp) in smi_wait_ready()
1448 struct mvneta_port *pp = bus->priv; in mvneta_mdio_read()
1503 struct mvneta_port *pp = bus->priv; in mvneta_mdio_write()
1535 struct mvneta_port *pp = dev_get_priv(dev); in mvneta_start()
1598 struct mvneta_port *pp = dev_get_priv(dev); in mvneta_send()
1634 struct mvneta_port *pp = dev_get_priv(dev); in mvneta_recv()
1686 struct mvneta_port *pp = dev_get_priv(dev); in mvneta_probe()
1765 struct mvneta_port *pp = dev_get_priv(dev); in mvneta_stop()
1814 .priv_auto_alloc_size = sizeof(struct mvneta_port),