/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/ |
D | response_manager.c | 64 int lio_process_ordered_list(struct octeon_device *octeon_dev, in lio_process_ordered_list() argument 74 octeon_free_sc_done_list(octeon_dev); in lio_process_ordered_list() 76 ordered_sc_list = &octeon_dev->response_list[OCTEON_ORDERED_SC_LIST]; in lio_process_ordered_list() 123 dev_err(&octeon_dev->pci_dev->dev, "%s: ", __func__); in lio_process_ordered_list() 124 dev_err(&octeon_dev->pci_dev->dev, in lio_process_ordered_list() 128 dev_err(&octeon_dev->pci_dev->dev, in lio_process_ordered_list() 140 atomic_dec(&octeon_dev->response_list in lio_process_ordered_list() 145 atomic_inc(&octeon_dev->response_list in lio_process_ordered_list() 149 &octeon_dev->response_list in lio_process_ordered_list() 163 (&octeon_dev->pci_dev->dev, in lio_process_ordered_list() [all …]
|
D | lio_main.c | 3338 static int setup_nic_devices(struct octeon_device *octeon_dev) in setup_nic_devices() argument 3360 octeon_register_dispatch_fn(octeon_dev, OPCODE_NIC, in setup_nic_devices() 3362 lio_nic_info, octeon_dev); in setup_nic_devices() 3367 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET, in setup_nic_devices() 3370 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET_SG, in setup_nic_devices() 3373 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_RESP_NET_SG, in setup_nic_devices() 3376 for (i = 0; i < octeon_dev->ifcount; i++) { in setup_nic_devices() 3380 octeon_alloc_soft_command(octeon_dev, data_size, in setup_nic_devices() 3390 if (OCTEON_CN23XX_PF(octeon_dev)) { in setup_nic_devices() 3391 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 | 1931 static int setup_nic_devices(struct octeon_device *octeon_dev) in setup_nic_devices() argument 1945 ifidx_or_pfnum = octeon_dev->pf_num; in setup_nic_devices() 1948 octeon_register_dispatch_fn(octeon_dev, OPCODE_NIC, OPCODE_NIC_INFO, in setup_nic_devices() 1949 lio_nic_info, octeon_dev); in setup_nic_devices() 1954 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET, in setup_nic_devices() 1957 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_NORESP_NET_SG, in setup_nic_devices() 1960 octeon_register_reqtype_free_fn(octeon_dev, REQTYPE_RESP_NET_SG, in setup_nic_devices() 1963 for (i = 0; i < octeon_dev->ifcount; i++) { in setup_nic_devices() 1967 octeon_alloc_soft_command(octeon_dev, data_size, in setup_nic_devices() 1979 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() 335 struct octeon_device *octeon_dev, in octeon_create_recv_info() argument 356 recv_pkt->octeon_id = (u16)octeon_dev->octeon_id; in octeon_create_recv_info() [all …]
|
D | lio_core.c | 811 int liquidio_setup_io_queues(struct octeon_device *octeon_dev, int ifidx, in liquidio_setup_io_queues() argument 825 netdev = octeon_dev->props[ifidx].netdev; in liquidio_setup_io_queues() 842 dev_dbg(&octeon_dev->pci_dev->dev, in liquidio_setup_io_queues() 846 octeon_dev, q_no, in liquidio_setup_io_queues() 847 CFG_GET_NUM_RX_DESCS_NIC_IF(octeon_get_conf(octeon_dev), in liquidio_setup_io_queues() 849 CFG_GET_NUM_RX_BUF_SIZE_NIC_IF(octeon_get_conf(octeon_dev), in liquidio_setup_io_queues() 853 dev_err(&octeon_dev->pci_dev->dev, in liquidio_setup_io_queues() 859 droq = octeon_dev->droq[q_no]; in liquidio_setup_io_queues() 861 dev_dbg(&octeon_dev->pci_dev->dev, "netif_napi_add netdev:%llx oct:%llx\n", in liquidio_setup_io_queues() 862 (u64)netdev, (u64)octeon_dev); in liquidio_setup_io_queues() [all …]
|
D | octeon_device.c | 1076 octeon_get_dispatch(struct octeon_device *octeon_dev, u16 opcode, in octeon_get_dispatch() argument 1086 spin_lock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() 1088 if (octeon_dev->dispatch.count == 0) { in octeon_get_dispatch() 1089 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() 1093 if (!(octeon_dev->dispatch.dlist[idx].opcode)) { in octeon_get_dispatch() 1094 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch() 1098 if (octeon_dev->dispatch.dlist[idx].opcode == combined_opcode) { in octeon_get_dispatch() 1099 fn = octeon_dev->dispatch.dlist[idx].dispatch_fn; in octeon_get_dispatch() 1102 &octeon_dev->dispatch.dlist[idx].list) { in octeon_get_dispatch() 1112 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.6.21/drivers/edac/ |
D | octeon_edac-lmc.c | 223 ATTRIBUTE_GROUPS(octeon_dev);
|