/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | catas.c | 55 ret = pci_read_config_word(dev->persist->pdev, 0, &vendor_id); in read_vendor_id() 76 if (!pci_channel_offline(dev->persist->pdev)) { in mlx4_reset_master() 103 if (pci_channel_offline(dev->persist->pdev)) in mlx4_reset_slave() 167 void mlx4_enter_error_state(struct mlx4_dev_persistent *persist) in mlx4_enter_error_state() argument 175 mutex_lock(&persist->device_state_mutex); in mlx4_enter_error_state() 176 if (persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) in mlx4_enter_error_state() 179 dev = persist->dev; in mlx4_enter_error_state() 187 dev->persist->state |= MLX4_DEVICE_STATE_INTERNAL_ERROR; in mlx4_enter_error_state() 189 mutex_unlock(&persist->device_state_mutex); in mlx4_enter_error_state() 197 mutex_unlock(&persist->device_state_mutex); in mlx4_enter_error_state() [all …]
|
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()
|
D | main.c | 343 if (dev_cap->uar_size > pci_resource_len(dev->persist->pdev, 2)) { in mlx4_dev_cap() 347 pci_resource_len(dev->persist->pdev, 2)); in mlx4_dev_cap() 602 err1 = pcie_capability_read_dword(dev->persist->pdev, PCI_EXP_LNKCAP, in mlx4_get_pcie_dev_link_caps() 604 err2 = pcie_capability_read_dword(dev->persist->pdev, PCI_EXP_LNKCAP2, in mlx4_get_pcie_dev_link_caps() 650 err = pcie_get_minimum_link(dev->persist->pdev, &speed, &width); in mlx4_check_pcie_caps() 904 pci_resource_len(dev->persist->pdev, in mlx4_slave_cap() 909 pci_resource_len(dev->persist->pdev, 2)); in mlx4_slave_cap() 1650 bf_start = pci_resource_start(dev->persist->pdev, 2) + in map_bf_area() 1652 bf_len = pci_resource_len(dev->persist->pdev, 2) - in map_bf_area() 1694 ioremap(pci_resource_start(dev->persist->pdev, in map_internal_clock() [all …]
|
D | cmd.c | 247 mlx4_enter_error_state(dev->persist); in mlx4_cmd_reset_flow() 272 mutex_lock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post() 274 if (dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_comm_cmd_post() 275 mutex_unlock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post() 284 mutex_unlock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post() 332 mlx4_enter_error_state(dev->persist); in mlx4_comm_cmd_poll() 387 if (!(dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR)) { in mlx4_comm_cmd_wait() 396 mlx4_enter_error_state(dev->persist); in mlx4_comm_cmd_wait() 410 if (dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) in mlx4_comm_cmd() 422 if (pci_channel_offline(dev->persist->pdev)) in cmd_pending() [all …]
|
D | eq.c | 156 for (i = 0; i <= dev->persist->num_vfs; i++) { in mlx4_gen_slave_eqe() 216 if (slave < 0 || slave > dev->persist->num_vfs || in mlx4_slave_event() 265 if (dev->persist->num_vfs < slave) in mlx4_gen_guid_change_eqe() 284 if (dev->persist->num_vfs < slave) in mlx4_gen_port_state_change_eqe() 339 for (i = 0; i < dev->persist->num_vfs + 1; i++) in set_all_slave_state() 463 if (dev->persist->interface_state & in mlx4_master_handle_slave_flr() 595 for (i = 0; i < dev->persist->num_vfs + 1; in mlx4_eq_int() 637 i < dev->persist->num_vfs + 1; in mlx4_eq_int() 927 ioremap(pci_resource_start(dev->persist->pdev, 2) + in mlx4_get_eq_uar() 990 eq->page_list[i].buf = dma_alloc_coherent(&dev->persist-> in mlx4_create_eq() [all …]
|
D | icm.c | 59 pci_unmap_sg(dev->persist->pdev, chunk->mem, chunk->npages, in mlx4_free_icm_pages() 72 dma_free_coherent(&dev->persist->pdev->dev, in mlx4_free_icm_coherent() 177 ret = mlx4_alloc_icm_coherent(&dev->persist->pdev->dev, in mlx4_alloc_icm() 197 chunk->nsg = pci_map_sg(dev->persist->pdev, chunk->mem, in mlx4_alloc_icm() 212 chunk->nsg = pci_map_sg(dev->persist->pdev, chunk->mem, in mlx4_alloc_icm()
|
D | alloc.c | 595 buf->direct.buf = dma_alloc_coherent(&dev->persist->pdev->dev, in mlx4_buf_alloc() 622 dma_alloc_coherent(&dev->persist->pdev->dev, in mlx4_buf_alloc() 661 dma_free_coherent(&dev->persist->pdev->dev, size, in mlx4_buf_free() 670 dma_free_coherent(&dev->persist->pdev->dev, in mlx4_buf_free() 744 pgdir = mlx4_alloc_db_pgdir(&dev->persist->pdev->dev, gfp); in mlx4_db_alloc() 781 dma_free_coherent(&dev->persist->pdev->dev, PAGE_SIZE, in mlx4_db_free()
|
D | en_cq.c | 74 set_dev_node(&mdev->dev->persist->pdev->dev, node); in mlx4_en_create_cq() 77 set_dev_node(&mdev->dev->persist->pdev->dev, mdev->dev->numa_node); in mlx4_en_create_cq()
|
D | intf.c | 204 dev->persist->interface_state |= MLX4_INTERFACE_STATE_UP; in mlx4_register_device() 227 dev->persist->interface_state &= ~MLX4_INTERFACE_STATE_UP; in mlx4_unregister_device()
|
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()
|
D | port.c | 562 dev->persist->num_vfs + 1); in mlx4_get_slave_num_gids() 564 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_num_gids() 599 dev->persist->num_vfs + 1); in mlx4_get_base_gid_ix() 602 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_base_gid_ix() 653 if (slave < 0 || slave > dev->persist->num_vfs) in mlx4_reset_roce_gids() 1193 dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_from_roce_gid() 1237 dev->persist->num_vfs + 1); in mlx4_get_slave_from_roce_gid() 1267 dev->persist->num_vfs + 1); in mlx4_get_slave_from_roce_gid()
|
D | en_main.c | 290 mdev->dma_device = &dev->persist->pdev->dev; in mlx4_en_add() 291 mdev->pdev = dev->persist->pdev; in mlx4_en_add()
|
D | mlx4.h | 220 &(mdev)->persist->pdev->dev, format, \ 225 dev_err(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 227 dev_info(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 229 dev_warn(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 1207 void mlx4_enter_error_state(struct mlx4_dev_persistent *persist);
|
D | mr.c | 708 dma_sync_single_for_cpu(&dev->persist->pdev->dev, dma_handle, in mlx4_write_mtt_chunk() 714 dma_sync_single_for_device(&dev->persist->pdev->dev, dma_handle, in mlx4_write_mtt_chunk() 1020 dma_sync_single_for_cpu(&dev->persist->pdev->dev, fmr->dma_handle, in mlx4_map_phys_fmr() 1026 dma_sync_single_for_device(&dev->persist->pdev->dev, fmr->dma_handle, in mlx4_map_phys_fmr()
|
D | resource_tracker.c | 310 if (slave > dev->persist->num_vfs) in mlx4_grant_resource() 316 (dev->persist->num_vfs + 1) + slave] : in mlx4_grant_resource() 355 (dev->persist->num_vfs + 1) + slave] += count; in mlx4_grant_resource() 379 if (slave > dev->persist->num_vfs) in mlx4_release_resource() 386 (dev->persist->num_vfs + 1) + slave] : in mlx4_release_resource() 402 (dev->persist->num_vfs + 1) + slave] -= count; in mlx4_release_resource() 421 (2 * (dev->persist->num_vfs + 1)); in initialize_res_quotas() 502 res_alloc->quota = kmalloc((dev->persist->num_vfs + 1) * in mlx4_init_resource_tracker() 504 res_alloc->guaranteed = kmalloc((dev->persist->num_vfs + 1) * in mlx4_init_resource_tracker() 508 (dev->persist->num_vfs in mlx4_init_resource_tracker() [all …]
|
D | en_tx.c | 95 set_dev_node(&mdev->dev->persist->pdev->dev, node); in mlx4_en_create_tx_ring() 98 set_dev_node(&mdev->dev->persist->pdev->dev, mdev->dev->numa_node); in mlx4_en_create_tx_ring()
|
D | en_rx.c | 393 set_dev_node(&mdev->dev->persist->pdev->dev, node); in mlx4_en_create_rx_ring() 396 set_dev_node(&mdev->dev->persist->pdev->dev, mdev->dev->numa_node); in mlx4_en_create_rx_ring()
|
D | mcg.c | 1322 if (err && dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) in mlx4_qp_detach_common() 1355 dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) in mlx4_QP_ATTACH()
|
D | en_ethtool.c | 96 strlcpy(drvinfo->bus_info, pci_name(mdev->dev->persist->pdev), in mlx4_en_get_drvinfo()
|
D | en_netdev.c | 2827 SET_NETDEV_DEV(dev, &mdev->dev->persist->pdev->dev); in mlx4_en_init_netdev()
|
/linux-4.4.14/net/decnet/ |
D | dn_timer.c | 72 if (scp->persist && scp->persist_fxn) { in dn_slow_timer() 73 if (scp->persist <= SLOW_INTERVAL) { in dn_slow_timer() 74 scp->persist = 0; in dn_slow_timer() 79 scp->persist -= SLOW_INTERVAL; in dn_slow_timer()
|
D | dn_nsp_in.c | 359 scp->persist = 0; in dn_nsp_conn_conf() 393 scp->persist = 0; in dn_nsp_conn_ack() 457 scp->persist = dn_nsp_persist(sk); in dn_nsp_disc_init() 505 scp->persist = dn_nsp_persist(sk); in dn_nsp_disc_conf()
|
D | dn_nsp_out.c | 282 scp->persist = dn_nsp_persist(sk); in dn_nsp_xmit_timeout() 541 scp->persist = dn_nsp_persist(sk); in dn_send_conn_conf() 636 scp->persist = dn_nsp_persist(sk); in dn_nsp_send_link() 711 scp->persist = dn_nsp_persist(sk); in dn_nsp_send_conninit()
|
D | af_decnet.c | 530 scp->persist = 0; in dn_alloc_sock() 573 scp->persist = dn_nsp_persist(sk); in dn_destroy_timer() 597 scp->persist = (HZ * decnet_time_wait); in dn_destroy_timer() 629 scp->persist = dn_nsp_persist(sk); in dn_destroy_sock() 649 scp->persist = dn_nsp_persist(sk); in dn_destroy_sock() 2067 scp->persist = dn_nsp_persist(sk); in dn_sendmsg()
|
/linux-4.4.14/drivers/atm/ |
D | atmtcp.c | 25 int persist; /* non-zero if persistent */ member 239 if (!dev_data->persist) return sprintf(page,"ephemeral\n"); in atmtcp_v_proc() 253 if (dev_data->persist) return; in atmtcp_c_close() 359 static int atmtcp_create(int itf,int persist,struct atm_dev **result) in atmtcp_create() argument 377 PRIV(dev)->persist = persist; in atmtcp_create() 435 if (!dev_data->persist) return 0; in atmtcp_remove_persistent() 436 dev_data->persist = 0; in atmtcp_remove_persistent()
|
/linux-4.4.14/Documentation/usb/ |
D | persist.txt | 68 The kernel includes a feature called USB-persist. It tries to work 70 persist across a power-session disruption. 76 "persist" attribute is set. It doesn't try to resume the device; that 100 Note that the "USB-persist" feature will be applied only to those 104 echo 1 >/sys/bus/usb/devices/.../power/persist 108 automatically and permanently enabled and the power/persist file 121 it would be more far-reaching than USB-persist. 128 Furthermore, the USB-persist feature applies to _all_ USB devices, not 133 WARNING: USB-persist can be dangerous!! 158 For those devices with avoid_reset_quirk attribute being set, persist [all …]
|
D | mtouchusb.txt | 39 download, I persist in updating this driver since I would like to use the
|
D | power-management.txt | 326 Documentation/usb/persist.txt) and it can also be used under certain 729 <child>/power/persist: 731 kernel can persist the device's configuration across a 748 echo 1 > <child>/power/persist # this is the default value
|
/linux-4.4.14/drivers/usb/core/ |
D | Kconfig | 20 bool "Enable USB persist by default" 27 persist feature can still be enabled for individual devices 28 through the power/persist sysfs node. See 29 Documentation/usb/persist.txt for more info.
|
D | sysfs.c | 311 static DEVICE_ATTR_RW(persist);
|
/linux-4.4.14/include/uapi/linux/ |
D | bpqether.h | 34 unsigned char persist; /* unused */ member
|
/linux-4.4.14/include/linux/ |
D | yam.h | 67 unsigned int persist; /* Persistence */ member
|
D | scc.h | 30 unsigned char persist; /* Persistence (0-255) as a % */ member
|
/linux-4.4.14/Documentation/ABI/stable/ |
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/usb/persist.txt.
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-class-power-twl4030 | 14 The change will only persist until the next
|
/linux-4.4.14/drivers/char/mwave/ |
D | README | 5 are not saved by the BIOS and so do not persist after unload and reload.
|
/linux-4.4.14/include/net/ |
D | dn.h | 120 unsigned long persist; member
|
/linux-4.4.14/drivers/net/hamradio/ |
D | scc.c | 1143 if (scc->dcd || (scc->kiss.persist) < Rand || (scc->kiss.group && is_grouped(scc)) ) in t_dwait() 1305 case PARAM_PERSIST: scc->kiss.persist=arg; break; in scc_set_param() 1374 case PARAM_PERSIST: return CAST(scc->kiss.persist); in scc_get_param() 1864 scc->kiss.persist = 42; /* 25% persistence */ /* was 25 */ in scc_net_ioctl() 1876 scc->kiss.persist = 64; /* 25% persistence */ /* was 25 */ in scc_net_ioctl() 2052 K(txdelay), K(persist), K(slottime), K(tailtime), in scc_net_seq_show()
|
D | yam.c | 1050 if (yi.cfg.persist > YAM_MAXPERSIST) in yam_ioctl() 1052 yp->pers = yi.cfg.persist; in yam_ioctl() 1073 yi.cfg.persist = yp->pers; in yam_ioctl()
|
D | dmascc.c | 174 int persist; /* 1 ... 256 */ member 575 priv->param.persist = 256; in setup_adapter() 1453 random() / priv->param.persist * in tm_isr()
|
/linux-4.4.14/Documentation/prctl/ |
D | no_new_privs.txt | 41 - Filters installed for the seccomp mode 2 sandbox persist across
|
/linux-4.4.14/Documentation/networking/ |
D | z8530drv.txt | 267 persist 64 363 persist : 255 427 persist : 255 461 persist: 468 Example: sccparam /dev/scc2 persist 20
|
D | netdevices.txt | 12 Network device structures need to persist even after module is unloaded and
|
D | bonding.txt | 1296 devices (presumed to be eth0 and eth1), and have it persist across 1503 and eth1), and have it persist across reboots, edit the appropriate
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 358 strlcpy(name, pci_name(dev->dev->persist->pdev), max); in get_name() 778 for (i = 0; i <= device->dev->persist->num_vfs; ++i) in register_pkey_tree() 793 for (slave = device->dev->persist->num_vfs; slave >= 0; --slave) { in unregister_pkey_tree()
|
D | main.c | 449 props->vendor_part_id = dev->dev->persist->pdev->device; in mlx4_ib_query_device() 1125 (pci_resource_start(dev->dev->persist->pdev, in mlx4_ib_mmap() 1889 return sprintf(buf, "MT%d\n", dev->dev->persist->pdev->device); in show_hca() 2042 for (slave = 0; slave <= ibdev->dev->persist->num_vfs; in init_pkeys() 2166 dev_err(&dev->persist->pdev->dev, in mlx4_ib_add() 2196 ibdev->ib_dev.dma_device = &dev->persist->pdev->dev; in mlx4_ib_add() 2399 dev_err(&dev->persist->pdev->dev, in mlx4_ib_add()
|
D | srq.c | 327 if (mdev->dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_ib_post_srq_recv()
|
D | alias_GUID.c | 218 if (slave_id >= dev->dev->persist->num_vfs + 1) in mlx4_ib_notify_slaves_on_guid_change() 591 if (!entry || entry > dev->dev->persist->num_vfs || in mlx4_ib_guid_port_init()
|
D | cq.c | 901 if (mdev->dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_ib_poll_cq()
|
D | qp.c | 2770 if (mdev->dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_ib_post_send() 3083 if (mdev->dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_ib_post_recv()
|
D | mad.c | 1991 (u16)(dev->dev->persist->num_vfs + 1)); in mlx4_ib_alloc_demux_ctx()
|
/linux-4.4.14/Documentation/filesystems/nfs/ |
D | nfs41-server.txt | 155 persist across client reboots). Thus we need not implement this for
|
/linux-4.4.14/Documentation/hwmon/ |
D | abituguru-datasheet | 227 Bit 7: Volt sensor: Shutdown if alarm persist for more than 4 seconds (RW) 296 Bit 7: Shutdown if alarm persist for more than 4 seconds (RW)
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 1280 int idx, const u8 *addr, bool persist) in t4vf_change_mac() argument 1294 idx = persist ? FW_VI_MAC_ADD_PERSIST_MAC : FW_VI_MAC_ADD_MAC; in t4vf_change_mac()
|
/linux-4.4.14/fs/ocfs2/ |
D | dir.c | 1828 bool persist) in ocfs2_dir_foreach_blk_el() argument 1922 if (!persist && stored) in ocfs2_dir_foreach_blk_el() 1930 bool persist) in ocfs2_dir_foreach_blk() argument 1934 return ocfs2_dir_foreach_blk_el(inode, f_version, ctx, persist); in ocfs2_dir_foreach_blk()
|
/linux-4.4.14/Documentation/filesystems/caching/ |
D | object.txt | 262 cookie. In the first state, the cached data is expected to persist, and
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1388 int idx, const u8 *addr, bool persist, bool add_smt);
|
D | t4_hw.c | 6628 int idx, const u8 *addr, bool persist, bool add_smt) in t4_change_mac() argument 6636 idx = persist ? FW_VI_MAC_ADD_PERSIST_MAC : FW_VI_MAC_ADD_MAC; in t4_change_mac()
|
/linux-4.4.14/include/linux/mlx4/ |
D | device.h | 841 struct mlx4_dev_persistent *persist; member
|
/linux-4.4.14/Documentation/powerpc/ |
D | cxlflash.txt | 104 restart and also reboot. The virtual LUNs do not persist (i.e. do
|
/linux-4.4.14/Documentation/power/ |
D | swsusp.txt | 409 Documentation/usb/persist.txt.
|
/linux-4.4.14/Documentation/ |
D | kobject.txt | 271 release() method, and the kobject must persist (in a consistent state)
|
/linux-4.4.14/Documentation/scsi/ |
D | scsi_fc_transport.txt | 222 to create the vport. This state will persist until the vport is
|
D | st.txt | 36 manager. The changes persist until the defaults again come into
|
/linux-4.4.14/Documentation/DocBook/ |
D | device-drivers.xml.db | 519 API-mptbase-sas-persist-operation
|