Home
last modified time | relevance | path

Searched refs:ctrl_mbox (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ctrl_net.c29 err = octep_ctrl_mbox_send(&oct->ctrl_mbox, &msg); in octep_get_link_status()
49 octep_ctrl_mbox_send(&oct->ctrl_mbox, &msg); in octep_set_link_status()
64 octep_ctrl_mbox_send(&oct->ctrl_mbox, &msg); in octep_set_rx_state()
80 err = octep_ctrl_mbox_send(&oct->ctrl_mbox, &msg); in octep_get_mac_addr()
103 return octep_ctrl_mbox_send(&oct->ctrl_mbox, &msg); in octep_set_mac_addr()
119 return octep_ctrl_mbox_send(&oct->ctrl_mbox, &msg); in octep_set_mtu()
137 err = octep_ctrl_mbox_send(&oct->ctrl_mbox, &msg); in octep_get_if_stats()
141 iface_rx_stats = oct->ctrl_mbox.barmem + oct->ctrl_mbox_ifstats_offset; in octep_get_if_stats()
142 iface_tx_stats = oct->ctrl_mbox.barmem + oct->ctrl_mbox_ifstats_offset + in octep_get_if_stats()
163 err = octep_ctrl_mbox_send(&oct->ctrl_mbox, &msg); in octep_get_link_info()
[all …]
Doctep_main.c885 ret = octep_ctrl_mbox_recv(&oct->ctrl_mbox, &msg); in octep_ctrl_mbox_task()
917 struct octep_ctrl_mbox *ctrl_mbox; in octep_device_setup() local
954 ctrl_mbox = &oct->ctrl_mbox; in octep_device_setup()
955 ctrl_mbox->barmem = CFG_GET_CTRL_MBOX_MEM_ADDR(oct->conf); in octep_device_setup()
956 ret = octep_ctrl_mbox_init(ctrl_mbox); in octep_device_setup()
961 oct->ctrl_mbox_ifstats_offset = OCTEP_CTRL_MBOX_SZ(ctrl_mbox->h2fq.elem_sz, in octep_device_setup()
962 ctrl_mbox->h2fq.elem_cnt, in octep_device_setup()
963 ctrl_mbox->f2hq.elem_sz, in octep_device_setup()
964 ctrl_mbox->f2hq.elem_cnt); in octep_device_setup()
994 octep_ctrl_mbox_uninit(&oct->ctrl_mbox); in octep_device_cleanup()
Doctep_main.h264 struct octep_ctrl_mbox ctrl_mbox; member