/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | catas.c | 55 ret = pci_read_config_word(dev->persist->pdev, 0, &vendor_id); 76 if (!pci_channel_offline(dev->persist->pdev)) { 103 if (pci_channel_offline(dev->persist->pdev)) 163 void mlx4_enter_error_state(struct mlx4_dev_persistent *persist) argument 171 mutex_lock(&persist->device_state_mutex); 172 if (persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) 175 dev = persist->dev; 190 if (!pci_channel_offline(dev->persist->pdev)) 193 dev->persist->state |= MLX4_DEVICE_STATE_INTERNAL_ERROR; 194 mutex_unlock(&persist 205 mlx4_handle_error_state(struct mlx4_dev_persistent *persist) argument 270 struct mlx4_dev_persistent *persist = local [all...] |
H A D | reset.c | 79 pcie_cap = pci_pcie_cap(dev->persist->pdev); 84 if (pci_read_config_dword(dev->persist->pdev, i * 4, 92 reset = ioremap(pci_resource_start(dev->persist->pdev, 0) + 127 if (!pci_read_config_word(dev->persist->pdev, PCI_VENDOR_ID, 143 if (pcie_capability_write_word(dev->persist->pdev, 151 if (pcie_capability_write_word(dev->persist->pdev, 164 if (pci_write_config_dword(dev->persist->pdev, i * 4, 173 if (pci_write_config_dword(dev->persist->pdev, PCI_COMMAND,
|
H A D | main.c | 200 ctx->val.vbool = dev->persist->crdump.snapshot_enable; 210 dev->persist->crdump.snapshot_enable = ctx->val.vbool; 479 if (dev_cap->uar_size > pci_resource_len(dev->persist->pdev, 2)) { 483 pci_resource_len(dev->persist->pdev, 2)); 550 if (enable_4k_uar || !dev->persist->num_vfs) 1030 pci_resource_len(dev->persist->pdev, 1035 pci_resource_len(dev->persist->pdev, 2)); 1360 dev->persist->num_vfs + 1) > 1) { 1368 nvfs = bitmap_weight(slaves_port1.slaves, dev->persist->num_vfs + 1) + 1369 bitmap_weight(slaves_port2.slaves, dev->persist 3993 struct mlx4_dev_persistent *persist = dev->persist; local 4011 struct mlx4_dev_persistent *persist = dev->persist; local 4085 struct mlx4_dev_persistent *persist = dev->persist; local 4096 struct mlx4_dev_persistent *persist = pci_get_drvdata(pdev); local 4178 struct mlx4_dev_persistent *persist = pci_get_drvdata(pdev); local 4253 struct mlx4_dev_persistent *persist = pci_get_drvdata(pdev); local 4342 struct mlx4_dev_persistent *persist = pci_get_drvdata(pdev); local 4366 struct mlx4_dev_persistent *persist = pci_get_drvdata(pdev); local 4385 struct mlx4_dev_persistent *persist = pci_get_drvdata(pdev); local 4422 struct mlx4_dev_persistent *persist = pci_get_drvdata(pdev); local 4446 struct mlx4_dev_persistent *persist = pci_get_drvdata(pdev); local 4465 struct mlx4_dev_persistent *persist = pci_get_drvdata(pdev); local [all...] |
H A D | crdump.c | 94 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; 95 struct pci_dev *pdev = dev->persist->pdev; 133 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; 171 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; 172 struct pci_dev *pdev = dev->persist->pdev; 222 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; 223 struct pci_dev *pdev = dev->persist->pdev; 254 struct mlx4_fw_crdump *crdump = &dev->persist->crdump;
|
H A D | intf.c | 125 adev->dev.parent = &dev->persist->pdev->dev; 303 delete_all = !(dev->persist->interface_state & MLX4_INTERFACE_STATE_UP); 329 if (!(dev->persist->interface_state & MLX4_INTERFACE_STATE_UP)) 341 dev->persist->interface_state |= MLX4_INTERFACE_STATE_UP; 359 if (!(dev->persist->interface_state & MLX4_INTERFACE_STATE_UP)) 363 if (dev->persist->interface_state & MLX4_INTERFACE_STATE_DELETION && 372 mlx4_enter_error_state(dev->persist); 377 dev->persist->interface_state &= ~MLX4_INTERFACE_STATE_UP;
|
H A D | icm.c | 60 dma_unmap_sg(&dev->persist->pdev->dev, chunk->sg, chunk->npages, 73 dma_free_coherent(&dev->persist->pdev->dev, 187 ret = mlx4_alloc_icm_coherent(&dev->persist->pdev->dev, 207 chunk->nsg = dma_map_sg(&dev->persist->pdev->dev, 222 chunk->nsg = dma_map_sg(&dev->persist->pdev->dev, chunk->sg,
|
H A D | cmd.c | 248 mlx4_enter_error_state(dev->persist); 273 mutex_lock(&dev->persist->device_state_mutex); 275 if (dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { 276 mutex_unlock(&dev->persist->device_state_mutex); 284 mutex_unlock(&dev->persist->device_state_mutex); 332 mlx4_enter_error_state(dev->persist); 387 if (!(dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR)) { 396 mlx4_enter_error_state(dev->persist); 410 if (dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) 422 if (pci_channel_offline(dev->persist [all...] |
H A D | eq.c | 167 for (i = 0; i <= dev->persist->num_vfs; i++) { 228 if (slave < 0 || slave > dev->persist->num_vfs || 278 if (dev->persist->num_vfs < slave) 297 if (dev->persist->num_vfs < slave) 352 for (i = 0; i < dev->persist->num_vfs + 1; i++) 476 if (dev->persist->interface_state & 614 for (i = 0; i < dev->persist->num_vfs + 1; 659 i < dev->persist->num_vfs + 1; 945 pci_resource_start(dev->persist->pdev, 2) + 1008 eq->page_list[i].buf = dma_alloc_coherent(&dev->persist [all...] |
H A D | pd.c | 154 offset = uar->index % ((int)pci_resource_len(dev->persist->pdev, 159 uar->pfn = (pci_resource_start(dev->persist->pdev, 2) >> PAGE_SHIFT)
|
H A D | en_cq.c | 71 set_dev_node(&mdev->dev->persist->pdev->dev, node); 74 set_dev_node(&mdev->dev->persist->pdev->dev, mdev->dev->numa_node);
|
H A D | alloc.c | 586 dma_alloc_coherent(&dev->persist->pdev->dev, size, &t, 626 dma_alloc_coherent(&dev->persist->pdev->dev, 647 dma_free_coherent(&dev->persist->pdev->dev, size, 654 dma_free_coherent(&dev->persist->pdev->dev, 727 pgdir = mlx4_alloc_db_pgdir(&dev->persist->pdev->dev); 764 dma_free_coherent(&dev->persist->pdev->dev, PAGE_SIZE,
|
H A D | en_main.c | 297 mdev->dma_device = &dev->persist->pdev->dev; 298 mdev->pdev = dev->persist->pdev;
|
H A D | mlx4.h | 223 &(mdev)->persist->pdev->dev, format, \ 228 dev_err(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 230 dev_info(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 232 dev_warn(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 1239 void mlx4_enter_error_state(struct mlx4_dev_persistent *persist);
|
H A D | port.c | 1120 dev->persist->num_vfs + 1); 1122 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; 1157 dev->persist->num_vfs + 1); 1160 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; 1211 if (slave < 0 || slave > dev->persist->num_vfs) 1872 dev->persist->num_vfs + 1) - 1; 1916 dev->persist->num_vfs + 1); 1946 dev->persist->num_vfs + 1);
|
H A D | resource_tracker.c | 318 if (slave > dev->persist->num_vfs) 324 (dev->persist->num_vfs + 1) + slave] : 363 (dev->persist->num_vfs + 1) + slave] += count; 387 if (slave > dev->persist->num_vfs) 394 (dev->persist->num_vfs + 1) + slave] : 410 (dev->persist->num_vfs + 1) + slave] -= count; 429 (2 * (dev->persist->num_vfs + 1)); 528 res_alloc->quota = kmalloc_array(dev->persist->num_vfs + 1, 531 res_alloc->guaranteed = kmalloc_array(dev->persist->num_vfs + 1, 537 (dev->persist [all...] |
/linux-master/include/uapi/linux/ |
H A D | bpqether.h | 33 unsigned char persist; /* unused */ member in struct:bpq_req
|
/linux-master/include/linux/ |
H A D | yam.h | 52 unsigned int persist; /* Persistence */ member in struct:yamcfg
|
H A D | scc.h | 31 unsigned char persist; /* Persistence (0-255) as a % */ member in struct:scc_kiss
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb.h | 156 ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist, 158 int ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd); 167 bool __always_unused persist, 175 bool __always_unused persist, 165 ice_aq_stop_lldp(struct ice_hw __always_unused *hw, bool __always_unused shutdown_lldp_agent, bool __always_unused persist, struct ice_sq_cd __always_unused *cd) argument 174 ice_aq_start_lldp(struct ice_hw __always_unused *hw, bool __always_unused persist, struct ice_sq_cd __always_unused *cd) argument
|
H A D | ice_dcb.c | 87 * @persist: True if Stop/Shutdown of LLDP Agent needs to be persistent across 94 ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist, argument 107 if (persist) 116 * @persist: True if Start of LLDP Agent needs to be persistent across reboots 121 int ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd) argument 132 if (persist)
|
/linux-master/samples/ftrace/ |
H A D | ftrace-ops.c | 67 static bool persist; variable 68 module_param(persist, bool, 0); 69 MODULE_PARM_DESC(persist, "Successfully load module and leave ftrace ops registered after test completes\n"); 228 if (persist)
|
/linux-master/drivers/atm/ |
H A D | atmtcp.c | 26 int persist; /* non-zero if persistent */ member in struct:atmtcp_dev_data 240 if (!dev_data->persist) return sprintf(page,"ephemeral\n"); 254 if (dev_data->persist) return; 360 static int atmtcp_create(int itf,int persist,struct atm_dev **result) argument 378 PRIV(dev)->persist = persist; 436 if (!dev_data->persist) { 440 dev_data->persist = 0;
|
/linux-master/drivers/media/platform/qcom/venus/ |
H A D | hfi_plat_bufs_v6.c | 1063 u32 (*persist)(void); member in struct:enc_bufsize_ops 1100 .persist = enc_persist_size, 1107 .persist = enc_persist_size, 1114 .persist = enc_persist_size, 1319 bufreq->size = enc_ops->persist();
|
/linux-master/drivers/net/hamradio/ |
H A D | scc.c | 1147 if (scc->dcd || (scc->kiss.persist) < Rand || (scc->kiss.group && is_grouped(scc)) ) 1309 case PARAM_PERSIST: scc->kiss.persist=arg; break; 1378 case PARAM_PERSIST: return CAST(scc->kiss.persist); 1868 scc->kiss.persist = 42; /* 25% persistence */ /* was 25 */ 1880 scc->kiss.persist = 64; /* 25% persistence */ /* was 25 */ 2056 K(txdelay), K(persist), K(slottime), K(tailtime),
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | sysfs.c | 362 snprintf(name, max, "%.8s%.2d.%d", pci_name(dev->dev->persist->pdev), 765 for (i = 0; i <= device->dev->persist->num_vfs; ++i) 780 for (slave = device->dev->persist->num_vfs; slave >= 0; --slave) {
|