/linux-6.1.9/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 | 3341 static int setup_nic_devices(struct octeon_device *octeon_dev) in setup_nic_devices() argument 3363 octeon_register_dispatch_fn(octeon_dev, OPCODE_NIC, in setup_nic_devices() 3365 lio_nic_info, octeon_dev); in setup_nic_devices() 3370 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET, in setup_nic_devices() 3373 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET_SG, in setup_nic_devices() 3376 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_RESP_NET_SG, in setup_nic_devices() 3379 for (i = 0; i < octeon_dev->ifcount; i++) { in setup_nic_devices() 3383 octeon_alloc_soft_command(octeon_dev, data_size, in setup_nic_devices() 3393 if (OCTEON_CN23XX_PF(octeon_dev)) { in setup_nic_devices() 3394 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 | 1937 static int setup_nic_devices(struct octeon_device *octeon_dev) in setup_nic_devices() argument 1951 ifidx_or_pfnum = octeon_dev->pf_num; in setup_nic_devices() 1954 octeon_register_dispatch_fn(octeon_dev, OPCODE_NIC, OPCODE_NIC_INFO, in setup_nic_devices() 1955 lio_nic_info, octeon_dev); in setup_nic_devices() 1960 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET, in setup_nic_devices() 1963 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET_SG, in setup_nic_devices() 1966 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_RESP_NET_SG, in setup_nic_devices() 1969 for (i = 0; i < octeon_dev->ifcount; i++) { in setup_nic_devices() 1973 octeon_alloc_soft_command(octeon_dev, data_size, in setup_nic_devices() 1985 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 | 802 int liquidio_setup_io_queues(struct octeon_device *octeon_dev, int ifidx, in liquidio_setup_io_queues() argument 816 netdev = octeon_dev->props[ifidx].netdev; in liquidio_setup_io_queues() 833 dev_dbg(&octeon_dev->pci_dev->dev, in liquidio_setup_io_queues() 837 octeon_dev, q_no, in liquidio_setup_io_queues() 838 CFG_GET_NUM_RX_DESCS_NIC_IF(octeon_get_conf(octeon_dev), in liquidio_setup_io_queues() 840 CFG_GET_NUM_RX_BUF_SIZE_NIC_IF(octeon_get_conf(octeon_dev), in liquidio_setup_io_queues() 844 dev_err(&octeon_dev->pci_dev->dev, in liquidio_setup_io_queues() 850 droq = octeon_dev->droq[q_no]; in liquidio_setup_io_queues() 852 dev_dbg(&octeon_dev->pci_dev->dev, "netif_napi_add netdev:%llx oct:%llx\n", in liquidio_setup_io_queues() 853 (u64)netdev, (u64)octeon_dev); in liquidio_setup_io_queues() [all …]
|
D | octeon_device.c | 1063 octeon_get_dispatch(struct octeon_device *octeon_dev, u16 opcode, in octeon_get_dispatch() argument 1073 spin_lock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() 1075 if (octeon_dev->dispatch.count == 0) { in octeon_get_dispatch() 1076 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() 1080 if (!(octeon_dev->dispatch.dlist[idx].opcode)) { in octeon_get_dispatch() 1081 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() 1085 if (octeon_dev->dispatch.dlist[idx].opcode == combined_opcode) { in octeon_get_dispatch() 1086 fn = octeon_dev->dispatch.dlist[idx].dispatch_fn; in octeon_get_dispatch() 1089 &octeon_dev->dispatch.dlist[idx].list) { in octeon_get_dispatch() 1099 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-6.1.9/drivers/edac/ |
D | octeon_edac-lmc.c | 223 ATTRIBUTE_GROUPS(octeon_dev);
|