| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/ |
| H A 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() 163 void mlx4_enter_error_state(struct mlx4_dev_persistent *persist) in mlx4_enter_error_state() argument 171 mutex_lock(&persist->device_state_mutex); in mlx4_enter_error_state() 172 if (persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) in mlx4_enter_error_state() 175 dev = persist->dev; in mlx4_enter_error_state() 190 if (!pci_channel_offline(dev->persist->pdev)) in mlx4_enter_error_state() 193 dev->persist->state |= MLX4_DEVICE_STATE_INTERNAL_ERROR; in mlx4_enter_error_state() 194 mutex_unlock(&persist->device_state_mutex); in mlx4_enter_error_state() [all …]
|
| H A D | main.c | 201 ctx->val.vbool = dev->persist->crdump.snapshot_enable; in mlx4_devlink_crdump_snapshot_get() 211 dev->persist->crdump.snapshot_enable = ctx->val.vbool; in mlx4_devlink_crdump_snapshot_set() 480 if (dev_cap->uar_size > pci_resource_len(dev->persist->pdev, 2)) { in mlx4_dev_cap() 484 pci_resource_len(dev->persist->pdev, 2)); in mlx4_dev_cap() 551 if (enable_4k_uar || !dev->persist->num_vfs) in mlx4_dev_cap() 1031 pci_resource_len(dev->persist->pdev, in mlx4_slave_cap() 1036 pci_resource_len(dev->persist->pdev, 2)); in mlx4_slave_cap() 1383 dev->persist->num_vfs + 1); in mlx4_mf_bond() 1386 if (bitmap_weight(slaves_port_1_2, dev->persist->num_vfs + 1) > 1) { in mlx4_mf_bond() 1394 nvfs = bitmap_weight(slaves_port1.slaves, dev->persist->num_vfs + 1) + in mlx4_mf_bond() [all …]
|
| H 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()
|
| H 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()
|
| H A D | cmd.c | 248 mlx4_enter_error_state(dev->persist); in mlx4_cmd_reset_flow() 273 mutex_lock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post() 275 if (dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR) { in mlx4_comm_cmd_post() 276 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 …]
|
| H 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()
|
| H A D | eq.c | 167 for (i = 0; i <= dev->persist->num_vfs; i++) { in mlx4_gen_slave_eqe() 228 if (slave < 0 || slave > dev->persist->num_vfs || in mlx4_slave_event() 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() 1007 eq->page_list[i].buf = dma_alloc_coherent(&dev->persist-> in mlx4_create_eq() [all …]
|
| H 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()
|
| H 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()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/net/decnet/ |
| H 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()
|
| H 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()
|
| H 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()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/syslog-ng/files/ |
| H A D | syslog-ng.service-the-syslog-ng-service.patch | 24 …og-ng -F $OTHER_OPTIONS --cfgfile $CONFIG_FILE --control $CONTROL_FILE --persist-file $PERSIST_FIL… 26 …og-ng -F $OTHER_OPTIONS --cfgfile $CONFIG_FILE --control $CONTROL_FILE --persist-file $PERSIST_FIL… 37 -PERSIST_FILE=/var/lib/syslog-ng/syslog-ng.persist 40 +PERSIST_FILE=@LOCALSTATEDIR@/lib/syslog-ng/syslog-ng.persist
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb.h | 135 ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist, 138 ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd); 147 bool __always_unused persist, in ice_aq_stop_lldp() argument 155 bool __always_unused persist, in ice_aq_start_lldp() argument
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/usb/ |
| H 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. 133 Furthermore, the USB-persist feature applies to _all_ USB devices, not 138 WARNING: USB-persist can be dangerous!! [all …]
|
| H A D | index.rst | 16 persist
|
| /OK3568_Linux_fs/kernel/drivers/atm/ |
| H 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()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser/ |
| H A D | RkAiqCalibDb.cpp | 127 static int persist(int fd, int payload_size, char* payload_ptr) { in persist() function 161 ret |= persist(fd, sizeof(CamCalibDbContextIsp20_t), (char*)calib); in persistCalib() 164 ret |= persist(fd, in persistCalib() 167 ret |= persist(fd, in persistCalib() 170 ret |= persist(fd, in persistCalib() 173 ret |= persist(fd, in persistCalib() 176 ret |= persist(fd, in persistCalib() 179 ret |= persist(fd, in persistCalib() 182 ret |= persist(fd, in persistCalib()
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H 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.
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | bpqether.h | 33 unsigned char persist; /* unused */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | bpqether.h | 33 unsigned char persist; /* unused */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | bpqether.h | 33 unsigned char persist; /* unused */ member
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/stable/ |
| H 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.
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | yam.h | 52 unsigned int persist; /* Persistence */ member
|