/kernel/linux/linux-5.10/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 | 3332 static int setup_nic_devices(struct octeon_device *octeon_dev) in setup_nic_devices() argument 3354 octeon_register_dispatch_fn(octeon_dev, OPCODE_NIC, in setup_nic_devices() 3356 lio_nic_info, octeon_dev); in setup_nic_devices() 3361 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET, in setup_nic_devices() 3364 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET_SG, in setup_nic_devices() 3367 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_RESP_NET_SG, in setup_nic_devices() 3370 for (i = 0; i < octeon_dev->ifcount; i++) { in setup_nic_devices() 3374 octeon_alloc_soft_command(octeon_dev, data_size, in setup_nic_devices() 3384 if (OCTEON_CN23XX_PF(octeon_dev)) { in setup_nic_devices() 3385 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 | 1942 static int setup_nic_devices(struct octeon_device *octeon_dev) in setup_nic_devices() argument 1956 ifidx_or_pfnum = octeon_dev->pf_num; in setup_nic_devices() 1959 octeon_register_dispatch_fn(octeon_dev, OPCODE_NIC, OPCODE_NIC_INFO, in setup_nic_devices() 1960 lio_nic_info, octeon_dev); in setup_nic_devices() 1965 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET, in setup_nic_devices() 1968 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET_SG, in setup_nic_devices() 1971 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_RESP_NET_SG, in setup_nic_devices() 1974 for (i = 0; i < octeon_dev->ifcount; i++) { in setup_nic_devices() 1978 octeon_alloc_soft_command(octeon_dev, data_size, in setup_nic_devices() 1990 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() 333 struct octeon_device *octeon_dev, in octeon_create_recv_info() argument 354 recv_pkt->octeon_id = (u16)octeon_dev->octeon_id; in octeon_create_recv_info() [all …]
|
D | lio_core.c | 808 int liquidio_setup_io_queues(struct octeon_device *octeon_dev, int ifidx, in liquidio_setup_io_queues() argument 822 netdev = octeon_dev->props[ifidx].netdev; in liquidio_setup_io_queues() 839 dev_dbg(&octeon_dev->pci_dev->dev, in liquidio_setup_io_queues() 843 octeon_dev, q_no, in liquidio_setup_io_queues() 844 CFG_GET_NUM_RX_DESCS_NIC_IF(octeon_get_conf(octeon_dev), in liquidio_setup_io_queues() 846 CFG_GET_NUM_RX_BUF_SIZE_NIC_IF(octeon_get_conf(octeon_dev), in liquidio_setup_io_queues() 850 dev_err(&octeon_dev->pci_dev->dev, in liquidio_setup_io_queues() 856 droq = octeon_dev->droq[q_no]; in liquidio_setup_io_queues() 858 dev_dbg(&octeon_dev->pci_dev->dev, "netif_napi_add netdev:%llx oct:%llx\n", in liquidio_setup_io_queues() 859 (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,
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | octeon_edac-lmc.c | 223 ATTRIBUTE_GROUPS(octeon_dev);
|