/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
D | response_manager.c | 62 int lio_process_ordered_list(struct octeon_device *octeon_dev, in lio_process_ordered_list() argument 72 octeon_free_sc_done_list(octeon_dev); in lio_process_ordered_list() 74 ordered_sc_list = &octeon_dev->response_list[OCTEON_ORDERED_SC_LIST]; in lio_process_ordered_list() 121 dev_err(&octeon_dev->pci_dev->dev, "%s: ", __func__); in lio_process_ordered_list() 122 dev_err(&octeon_dev->pci_dev->dev, in lio_process_ordered_list() 126 dev_err(&octeon_dev->pci_dev->dev, in lio_process_ordered_list() 138 atomic_dec(&octeon_dev->response_list in lio_process_ordered_list() 143 atomic_inc(&octeon_dev->response_list in lio_process_ordered_list() 147 &octeon_dev->response_list in lio_process_ordered_list() 161 (&octeon_dev->pci_dev->dev, in lio_process_ordered_list() [all …]
|
D | lio_main.c | 3347 static int setup_nic_devices(struct octeon_device *octeon_dev) in setup_nic_devices() argument 3369 octeon_register_dispatch_fn(octeon_dev, OPCODE_NIC, in setup_nic_devices() 3371 lio_nic_info, octeon_dev); in setup_nic_devices() 3376 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET, in setup_nic_devices() 3379 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET_SG, in setup_nic_devices() 3382 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_RESP_NET_SG, in setup_nic_devices() 3385 for (i = 0; i < octeon_dev->ifcount; i++) { in setup_nic_devices() 3389 octeon_alloc_soft_command(octeon_dev, data_size, in setup_nic_devices() 3399 if (OCTEON_CN23XX_PF(octeon_dev)) { in setup_nic_devices() 3400 num_iqueues = octeon_dev->sriov_info.num_pf_rings; in setup_nic_devices() [all …]
|
D | response_manager.h | 130 int octeon_setup_response_list(struct octeon_device *octeon_dev); 132 void octeon_delete_response_list(struct octeon_device *octeon_dev); 140 int lio_process_ordered_list(struct octeon_device *octeon_dev,
|
D | lio_vf_main.c | 1924 static int setup_nic_devices(struct octeon_device *octeon_dev) in setup_nic_devices() argument 1938 ifidx_or_pfnum = octeon_dev->pf_num; in setup_nic_devices() 1941 octeon_register_dispatch_fn(octeon_dev, OPCODE_NIC, OPCODE_NIC_INFO, in setup_nic_devices() 1942 lio_nic_info, octeon_dev); in setup_nic_devices() 1947 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET, in setup_nic_devices() 1950 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET_SG, in setup_nic_devices() 1953 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_RESP_NET_SG, in setup_nic_devices() 1956 for (i = 0; i < octeon_dev->ifcount; i++) { in setup_nic_devices() 1960 octeon_alloc_soft_command(octeon_dev, data_size, in setup_nic_devices() 1972 if_cfg.s.num_iqueues = octeon_dev->sriov_info.rings_per_vf; in setup_nic_devices() [all …]
|
D | octeon_droq.c | 55 void *octeon_get_dispatch_arg(struct octeon_device *octeon_dev, in octeon_get_dispatch_arg() argument 65 spin_lock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch_arg() 67 if (octeon_dev->dispatch.count == 0) { in octeon_get_dispatch_arg() 68 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch_arg() 72 if (octeon_dev->dispatch.dlist[idx].opcode == combined_opcode) { in octeon_get_dispatch_arg() 73 fn_arg = octeon_dev->dispatch.dlist[idx].arg; in octeon_get_dispatch_arg() 76 &octeon_dev->dispatch.dlist[idx].list) { in octeon_get_dispatch_arg() 86 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch_arg() 336 struct octeon_device *octeon_dev, in octeon_create_recv_info() argument 357 recv_pkt->octeon_id = (u16)octeon_dev->octeon_id; in octeon_create_recv_info() [all …]
|
D | lio_core.c | 804 int liquidio_setup_io_queues(struct octeon_device *octeon_dev, int ifidx, in liquidio_setup_io_queues() argument 818 netdev = octeon_dev->props[ifidx].netdev; in liquidio_setup_io_queues() 835 dev_dbg(&octeon_dev->pci_dev->dev, in liquidio_setup_io_queues() 839 octeon_dev, q_no, in liquidio_setup_io_queues() 840 CFG_GET_NUM_RX_DESCS_NIC_IF(octeon_get_conf(octeon_dev), in liquidio_setup_io_queues() 842 CFG_GET_NUM_RX_BUF_SIZE_NIC_IF(octeon_get_conf(octeon_dev), in liquidio_setup_io_queues() 846 dev_err(&octeon_dev->pci_dev->dev, in liquidio_setup_io_queues() 852 droq = octeon_dev->droq[q_no]; in liquidio_setup_io_queues() 854 dev_dbg(&octeon_dev->pci_dev->dev, "netif_napi_add netdev:%llx oct:%llx\n", in liquidio_setup_io_queues() 855 (u64)netdev, (u64)octeon_dev); in liquidio_setup_io_queues() [all …]
|
D | octeon_device.c | 1064 octeon_get_dispatch(struct octeon_device *octeon_dev, u16 opcode, in octeon_get_dispatch() argument 1074 spin_lock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() 1076 if (octeon_dev->dispatch.count == 0) { in octeon_get_dispatch() 1077 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() 1081 if (!(octeon_dev->dispatch.dlist[idx].opcode)) { in octeon_get_dispatch() 1082 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() 1086 if (octeon_dev->dispatch.dlist[idx].opcode == combined_opcode) { in octeon_get_dispatch() 1087 fn = octeon_dev->dispatch.dlist[idx].dispatch_fn; in octeon_get_dispatch() 1090 &octeon_dev->dispatch.dlist[idx].list) { in octeon_get_dispatch() 1100 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() [all …]
|
D | octeon_iq.h | 348 int octeon_init_instr_queue(struct octeon_device *octeon_dev, 362 int octeon_delete_instr_queue(struct octeon_device *octeon_dev, u32 iq_no);
|
D | octeon_device.h | 669 int octeon_init_dispatch_list(struct octeon_device *octeon_dev); 675 void octeon_delete_dispatch_list(struct octeon_device *octeon_dev); 698 octeon_get_dispatch(struct octeon_device *octeon_dev, u16 opcode,
|
D | octeon_network.h | 219 int liquidio_setup_io_queues(struct octeon_device *octeon_dev, int ifidx,
|
/Linux-v5.4/drivers/edac/ |
D | octeon_edac-lmc.c | 223 ATTRIBUTE_GROUPS(octeon_dev);
|