/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | catas.c | 171 mutex_lock(&persist->device_state_mutex); in mlx4_enter_error_state() 175 dev = persist->dev; in mlx4_enter_error_state() 209 mlx4_enter_error_state(persist); in mlx4_handle_error_state() 213 err = mlx4_restart_one(persist->pdev); in mlx4_handle_error_state() 260 queue_work(dev->persist->catas_wq, &dev->persist->catas_work); in poll_catas() 265 struct mlx4_dev_persistent *persist = in catas_reset() local 269 mlx4_handle_error_state(persist); in catas_reset() 311 flush_workqueue(dev->persist->catas_wq); in mlx4_stop_catas_poll() 318 if (!dev->persist->catas_wq) in mlx4_catas_init() 326 if (dev->persist->catas_wq) { in mlx4_catas_end() [all …]
|
A D | reset.c | 79 pcie_cap = pci_pcie_cap(dev->persist->pdev); in mlx4_reset() 84 if (pci_read_config_dword(dev->persist->pdev, i * 4, in mlx4_reset() 92 reset = ioremap(pci_resource_start(dev->persist->pdev, 0) + in mlx4_reset() 127 if (!pci_read_config_word(dev->persist->pdev, PCI_VENDOR_ID, in mlx4_reset() 143 if (pcie_capability_write_word(dev->persist->pdev, in mlx4_reset() 151 if (pcie_capability_write_word(dev->persist->pdev, in mlx4_reset() 164 if (pci_write_config_dword(dev->persist->pdev, i * 4, in mlx4_reset() 173 if (pci_write_config_dword(dev->persist->pdev, PCI_COMMAND, in mlx4_reset()
|
A D | main.c | 3561 memcpy(dev->persist->nvfs, nvfs, sizeof(dev->persist->nvfs)); in mlx4_load_one() 3953 struct mlx4_dev_persistent *persist = dev->persist; in mlx4_devlink_reload_down() local 3971 struct mlx4_dev_persistent *persist = dev->persist; in mlx4_devlink_reload_up() local 4005 dev->persist = kzalloc(sizeof(*dev->persist), GFP_KERNEL); in mlx4_init_one() 4006 if (!dev->persist) { in mlx4_init_one() 4036 kfree(dev->persist); in mlx4_init_one() 4044 struct mlx4_dev_persistent *persist = dev->persist; in mlx4_clean_dev() local 4049 priv->dev.persist = persist; in mlx4_clean_dev() 4213 memcpy(nvfs, dev->persist->nvfs, sizeof(dev->persist->nvfs)); in mlx4_restart_one_up() 4341 memcpy(nvfs, dev->persist->nvfs, sizeof(dev->persist->nvfs)); in mlx4_pci_resume() [all …]
|
A D | crdump.c | 94 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_collect_crspace() 95 struct pci_dev *pdev = dev->persist->pdev; in mlx4_crdump_collect_crspace() 133 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_collect_fw_health() 171 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_collect() 172 struct pci_dev *pdev = dev->persist->pdev; in mlx4_crdump_collect() 222 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_init() 223 struct pci_dev *pdev = dev->persist->pdev; in mlx4_crdump_init() 254 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_end()
|
A D | cmd.c | 248 mlx4_enter_error_state(dev->persist); in mlx4_cmd_reset_flow() 332 mlx4_enter_error_state(dev->persist); in mlx4_comm_cmd_poll() 396 mlx4_enter_error_state(dev->persist); in mlx4_comm_cmd_wait() 563 if (dev->persist->state & in mlx4_slave_cmd() 1688 if (!(dev->persist->state & in mlx4_master_process_vhcr() 1734 if (!(dev->persist->state & in mlx4_master_process_vhcr() 1810 if (!(dev->persist->state & in mlx4_master_process_vhcr() 2256 nmbr_bits = dev->persist->num_vfs + 1; in mlx4_master_comm_channel() 2321 if (dev->persist->interface_state & in sync_toggles() 2543 &dev->persist->pdev->dev, in mlx4_cmd_init() [all …]
|
A D | intf.c | 205 dev->persist->interface_state |= MLX4_INTERFACE_STATE_UP; in mlx4_register_device() 221 if (!(dev->persist->interface_state & MLX4_INTERFACE_STATE_UP)) in mlx4_unregister_device() 225 if (dev->persist->interface_state & MLX4_INTERFACE_STATE_DELETION && in mlx4_unregister_device() 234 mlx4_enter_error_state(dev->persist); in mlx4_unregister_device() 243 dev->persist->interface_state &= ~MLX4_INTERFACE_STATE_UP; in mlx4_unregister_device()
|
A D | eq.c | 167 for (i = 0; i <= dev->persist->num_vfs; i++) { in mlx4_gen_slave_eqe() 278 if (dev->persist->num_vfs < slave) in mlx4_gen_guid_change_eqe() 297 if (dev->persist->num_vfs < slave) in mlx4_gen_port_state_change_eqe() 352 for (i = 0; i < dev->persist->num_vfs + 1; i++) in set_all_slave_state() 476 if (dev->persist->interface_state & in mlx4_master_handle_slave_flr() 614 for (i = 0; i < dev->persist->num_vfs + 1; in mlx4_eq_int() 658 i < dev->persist->num_vfs + 1; in mlx4_eq_int() 944 pci_resource_start(dev->persist->pdev, 2) + in mlx4_get_eq_uar() 1121 free_irq(dev->persist->pdev->irq, dev); in mlx4_free_irqs() 1269 pci_name(dev->persist->pdev)); in mlx4_init_eq_table() [all …]
|
A D | icm.c | 60 dma_unmap_sg(&dev->persist->pdev->dev, chunk->sg, chunk->npages, in mlx4_free_icm_pages() 73 dma_free_coherent(&dev->persist->pdev->dev, in mlx4_free_icm_coherent() 187 ret = mlx4_alloc_icm_coherent(&dev->persist->pdev->dev, in mlx4_alloc_icm() 207 chunk->nsg = dma_map_sg(&dev->persist->pdev->dev, in mlx4_alloc_icm() 222 chunk->nsg = dma_map_sg(&dev->persist->pdev->dev, chunk->sg, in mlx4_alloc_icm()
|
A D | alloc.c | 586 dma_alloc_coherent(&dev->persist->pdev->dev, size, &t, in mlx4_buf_direct_alloc() 626 dma_alloc_coherent(&dev->persist->pdev->dev, in mlx4_buf_alloc() 647 dma_free_coherent(&dev->persist->pdev->dev, size, in mlx4_buf_free() 654 dma_free_coherent(&dev->persist->pdev->dev, in mlx4_buf_free() 727 pgdir = mlx4_alloc_db_pgdir(&dev->persist->pdev->dev); in mlx4_db_alloc() 764 dma_free_coherent(&dev->persist->pdev->dev, PAGE_SIZE, in mlx4_db_free()
|
A D | en_cq.c | 71 set_dev_node(&mdev->dev->persist->pdev->dev, node); in mlx4_en_create_cq() 74 set_dev_node(&mdev->dev->persist->pdev->dev, mdev->dev->numa_node); in mlx4_en_create_cq()
|
A D | pd.c | 154 offset = uar->index % ((int)pci_resource_len(dev->persist->pdev, in mlx4_uar_alloc() 159 uar->pfn = (pci_resource_start(dev->persist->pdev, 2) >> PAGE_SHIFT) in mlx4_uar_alloc()
|
A D | en_main.c | 294 mdev->dma_device = &dev->persist->pdev->dev; in mlx4_en_add() 295 mdev->pdev = dev->persist->pdev; in mlx4_en_add()
|
/linux/net/decnet/ |
A D | dn_timer.c | 73 if (scp->persist && scp->persist_fxn) { in dn_slow_timer() 74 if (scp->persist <= SLOW_INTERVAL) { in dn_slow_timer() 75 scp->persist = 0; in dn_slow_timer() 80 scp->persist -= SLOW_INTERVAL; in dn_slow_timer()
|
A D | dn_nsp_out.c | 274 scp->persist = dn_nsp_persist(sk); in dn_nsp_xmit_timeout() 519 scp->persist = dn_nsp_persist(sk); in dn_send_conn_conf() 614 scp->persist = dn_nsp_persist(sk); in dn_nsp_send_link() 689 scp->persist = dn_nsp_persist(sk); in dn_nsp_send_conninit()
|
A D | dn_nsp_in.c | 351 scp->persist = 0; in dn_nsp_conn_conf() 385 scp->persist = 0; in dn_nsp_conn_ack() 449 scp->persist = dn_nsp_persist(sk); in dn_nsp_disc_init() 498 scp->persist = dn_nsp_persist(sk); in dn_nsp_disc_conf()
|
/linux/Documentation/driver-api/usb/ |
A D | persist.rst | 1 .. _usb-persist: 72 The kernel includes a feature called USB-persist. It tries to work 74 persist across a power-session disruption. 80 "persist" attribute is set. It doesn't try to resume the device; that 104 Note that the "USB-persist" feature will be applied only to those 108 echo 1 >/sys/bus/usb/devices/.../power/persist 112 automatically and permanently enabled and the power/persist file 126 it would be more far-reaching than USB-persist. 138 WARNING: USB-persist can be dangerous!! 164 For those devices with avoid_reset_quirk attribute being set, persist [all …]
|
A D | index.rst | 16 persist
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_dcb.h | 153 ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist, 156 ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd); 165 bool __always_unused persist, in ice_aq_stop_lldp() argument 173 bool __always_unused persist, in ice_aq_start_lldp() argument
|
/linux/drivers/atm/ |
A D | atmtcp.c | 26 int persist; /* non-zero if persistent */ member 240 if (!dev_data->persist) return sprintf(page,"ephemeral\n"); in atmtcp_v_proc() 254 if (dev_data->persist) return; in atmtcp_c_close() 360 static int atmtcp_create(int itf,int persist,struct atm_dev **result) in atmtcp_create() argument 378 PRIV(dev)->persist = persist; in atmtcp_create() 436 if (!dev_data->persist) { in atmtcp_remove_persistent() 440 dev_data->persist = 0; in atmtcp_remove_persistent()
|
/linux/drivers/usb/core/ |
A D | Kconfig | 21 bool "Enable USB persist by default" 28 persist feature can still be enabled for individual devices 29 through the power/persist sysfs node. See 30 Documentation/driver-api/usb/persist.rst for more info.
|
/linux/include/uapi/linux/ |
A D | bpqether.h | 33 unsigned char persist; /* unused */ member
|
/linux/include/linux/ |
A D | yam.h | 52 unsigned int persist; /* Persistence */ member
|
A D | scc.h | 31 unsigned char persist; /* Persistence (0-255) as a % */ member
|
/linux/Documentation/ABI/stable/ |
A D | sysfs-bus-usb | 1 What: /sys/bus/usb/devices/.../power/persist 6 USB device directories can contain a file named power/persist. 12 For more information, see Documentation/driver-api/usb/persist.rst.
|
/linux/Documentation/powerpc/ |
A D | papr_hcalls.rst | 238 | 00 | PMEM device is unable to persist memory contents. | 241 | 01 | PMEM device failed to persist memory contents. Either contents were | 255 | 06 | PMEM device contents cannot persist due to current platform health | 259 | 07 | PMEM device is unable to persist memory contents in certain conditions|
|