/linux-4.1.27/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() 579 err1 = pcie_capability_read_dword(dev->persist->pdev, PCI_EXP_LNKCAP, in mlx4_get_pcie_dev_link_caps() 581 err2 = pcie_capability_read_dword(dev->persist->pdev, PCI_EXP_LNKCAP2, in mlx4_get_pcie_dev_link_caps() 627 err = pcie_get_minimum_link(dev->persist->pdev, &speed, &width); in mlx4_check_pcie_caps() 878 pci_resource_len(dev->persist->pdev, in mlx4_slave_cap() 883 pci_resource_len(dev->persist->pdev, 2)); in mlx4_slave_cap() 1623 bf_start = pci_resource_start(dev->persist->pdev, 2) + in map_bf_area() 1625 bf_len = pci_resource_len(dev->persist->pdev, 2) - in map_bf_area() 1667 ioremap(pci_resource_start(dev->persist->pdev, in map_internal_clock() [all …]
|
D | cmd.c | 246 mlx4_enter_error_state(dev->persist); in mlx4_cmd_reset_flow() 271 mutex_lock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post() 273 if (dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_comm_cmd_post() 274 mutex_unlock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post() 283 mutex_unlock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post() 331 mlx4_enter_error_state(dev->persist); in mlx4_comm_cmd_poll() 386 if (!(dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR)) { in mlx4_comm_cmd_wait() 395 mlx4_enter_error_state(dev->persist); in mlx4_comm_cmd_wait() 409 if (dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) in mlx4_comm_cmd() 421 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() 205 if (slave < 0 || slave > dev->persist->num_vfs || in mlx4_slave_event() 238 if (dev->persist->num_vfs < slave) in mlx4_gen_guid_change_eqe() 256 if (dev->persist->num_vfs < slave) in mlx4_gen_port_state_change_eqe() 311 for (i = 0; i < dev->persist->num_vfs + 1; i++) in set_all_slave_state() 435 if (dev->persist->interface_state & in mlx4_master_handle_slave_flr() 567 for (i = 0; i < dev->persist->num_vfs + 1; in mlx4_eq_int() 605 i < dev->persist->num_vfs + 1; in mlx4_eq_int() 895 ioremap(pci_resource_start(dev->persist->pdev, 2) + in mlx4_get_eq_uar() 958 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 | intf.c | 201 dev->persist->interface_state |= MLX4_INTERFACE_STATE_UP; in mlx4_register_device() 224 dev->persist->interface_state &= ~MLX4_INTERFACE_STATE_UP; in mlx4_unregister_device()
|
D | en_cq.c | 73 set_dev_node(&mdev->dev->persist->pdev->dev, node); in mlx4_en_create_cq() 76 set_dev_node(&mdev->dev->persist->pdev->dev, mdev->dev->numa_node); in mlx4_en_create_cq()
|
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 | 251 mdev->dma_device = &dev->persist->pdev->dev; in mlx4_en_add() 252 mdev->pdev = dev->persist->pdev; in mlx4_en_add()
|
D | mlx4.h | 218 &(mdev)->persist->pdev->dev, format, \ 223 dev_err(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 225 dev_info(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 227 dev_warn(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 1189 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 | 307 if (slave > dev->persist->num_vfs) in mlx4_grant_resource() 313 (dev->persist->num_vfs + 1) + slave] : in mlx4_grant_resource() 352 (dev->persist->num_vfs + 1) + slave] += count; in mlx4_grant_resource() 376 if (slave > dev->persist->num_vfs) in mlx4_release_resource() 383 (dev->persist->num_vfs + 1) + slave] : in mlx4_release_resource() 399 (dev->persist->num_vfs + 1) + slave] -= count; in mlx4_release_resource() 418 (2 * (dev->persist->num_vfs + 1)); in initialize_res_quotas() 489 res_alloc->quota = kmalloc((dev->persist->num_vfs + 1) * in mlx4_init_resource_tracker() 491 res_alloc->guaranteed = kmalloc((dev->persist->num_vfs + 1) * in mlx4_init_resource_tracker() 495 (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 | 399 set_dev_node(&mdev->dev->persist->pdev->dev, node); in mlx4_en_create_rx_ring() 402 set_dev_node(&mdev->dev->persist->pdev->dev, mdev->dev->numa_node); in mlx4_en_create_rx_ring()
|
D | mcg.c | 1321 if (err && dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) in mlx4_qp_detach_common() 1354 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 | 2769 SET_NETDEV_DEV(dev, &mdev->dev->persist->pdev->dev); in mlx4_en_init_netdev()
|
/linux-4.1.27/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.1.27/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.1.27/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 717 <child>/power/persist: 719 kernel can persist the device's configuration across a 736 echo 1 > <child>/power/persist # this is the default value
|
/linux-4.1.27/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.1.27/include/uapi/linux/ |
D | bpqether.h | 34 unsigned char persist; /* unused */ member
|
/linux-4.1.27/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.1.27/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.1.27/include/net/ |
D | dn.h | 120 unsigned long persist; member
|
/linux-4.1.27/drivers/char/mwave/ |
D | README | 5 are not saved by the BIOS and so do not persist after unload and reload.
|
/linux-4.1.27/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.1.27/drivers/infiniband/hw/mlx4/ |
D | mr.c | 404 mfrpl->mapped_page_list = dma_alloc_coherent(&dev->dev->persist-> in mlx4_ib_alloc_fast_reg_page_list() 427 dma_free_coherent(&dev->dev->persist->pdev->dev, size, in mlx4_ib_free_fast_reg_page_list()
|
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 | 201 props->vendor_part_id = dev->dev->persist->pdev->device; in mlx4_ib_query_device() 1450 return sprintf(buf, "MT%d\n", dev->dev->persist->pdev->device); in show_hca() 2016 for (slave = 0; slave <= ibdev->dev->persist->num_vfs; in init_pkeys() 2074 i, j, dev->persist->pdev->bus->name); in mlx4_ib_alloc_eqs() 2139 dev_err(&dev->persist->pdev->dev, in mlx4_ib_add() 2169 ibdev->ib_dev.dma_device = &dev->persist->pdev->dev; in mlx4_ib_add() 2327 dev_err(&dev->persist->pdev->dev, in mlx4_ib_add()
|
D | srq.c | 322 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() 586 if (!entry || entry > dev->dev->persist->num_vfs || in mlx4_ib_guid_port_init()
|
D | cq.c | 892 if (mdev->dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_ib_poll_cq()
|
D | qp.c | 2661 if (mdev->dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_ib_post_send() 2969 if (mdev->dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_ib_post_recv()
|
D | mad.c | 1976 (u16)(dev->dev->persist->num_vfs + 1)); in mlx4_ib_alloc_demux_ctx()
|
/linux-4.1.27/Documentation/prctl/ |
D | no_new_privs.txt | 41 - Filters installed for the seccomp mode 2 sandbox persist across
|
/linux-4.1.27/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 | 1259 devices (presumed to be eth0 and eth1), and have it persist across 1466 and eth1), and have it persist across reboots, edit the appropriate
|
/linux-4.1.27/Documentation/filesystems/nfs/ |
D | nfs41-server.txt | 155 persist across client reboots). Thus we need not implement this for
|
/linux-4.1.27/Documentation/s390/ |
D | kvm.txt | 35 operation, is not reversible, and will persist over the entire lifetime of
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 1281 int idx, const u8 *addr, bool persist) in t4vf_change_mac() argument 1297 idx = persist ? FW_VI_MAC_ADD_PERSIST_MAC : FW_VI_MAC_ADD_MAC; in t4vf_change_mac()
|
/linux-4.1.27/fs/ocfs2/ |
D | dir.c | 1838 bool persist) in ocfs2_dir_foreach_blk_el() argument 1932 if (!persist && stored) in ocfs2_dir_foreach_blk_el() 1940 bool persist) in ocfs2_dir_foreach_blk() argument 1944 return ocfs2_dir_foreach_blk_el(inode, f_version, ctx, persist); in ocfs2_dir_foreach_blk()
|
/linux-4.1.27/Documentation/filesystems/caching/ |
D | object.txt | 262 cookie. In the first state, the cached data is expected to persist, and
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1284 int idx, const u8 *addr, bool persist, bool add_smt);
|
D | t4_hw.c | 4669 int idx, const u8 *addr, bool persist, bool add_smt) in t4_change_mac() argument 4679 idx = persist ? FW_VI_MAC_ADD_PERSIST_MAC : FW_VI_MAC_ADD_MAC; in t4_change_mac()
|
/linux-4.1.27/include/linux/mlx4/ |
D | device.h | 816 struct mlx4_dev_persistent *persist; member
|
/linux-4.1.27/Documentation/power/ |
D | swsusp.txt | 409 Documentation/usb/persist.txt.
|
/linux-4.1.27/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.1.27/Documentation/ |
D | kobject.txt | 271 release() method, and the kobject must persist (in a consistent state)
|