Home
last modified time | relevance | path

Searched refs:dev_count (Results 1 – 25 of 30) sorted by relevance

12

/OK3568_Linux_fs/u-boot/drivers/pci/
H A Dpci-emul-uclass.c18 int dev_count; member
45 priv->dev_count++; in sandbox_pci_emul_post_probe()
55 priv->dev_count--; in sandbox_pci_emul_pre_remove()
56 sandbox_set_enable_pci_map(priv->dev_count > 0); in sandbox_pci_emul_pre_remove()
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c22 u32 dev_count; member
465 u32 dev_count; in cvm_crypto_init() local
467 dev_count = dev_handle.dev_count; in cvm_crypto_init()
468 dev_handle.cdev[dev_count] = cptvf; in cvm_crypto_init()
469 dev_handle.dev_count++; in cvm_crypto_init()
471 if (dev_count == 3) { in cvm_crypto_init()
483 u32 dev_count; in cvm_crypto_exit() local
485 dev_count = --dev_handle.dev_count; in cvm_crypto_exit()
486 if (!dev_count) in cvm_crypto_exit()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/eeh/
H A Deeh-basic.sh67 dev_count="$(echo $devices | wc -w)"
68 echo "Found ${dev_count} breakable devices..."
85 echo "$failed devices failed to recover ($dev_count tested)"
/OK3568_Linux_fs/kernel/drivers/crypto/chelsio/
H A Dchcr_core.c121 atomic_inc(&drv_data.dev_count); in chcr_dev_init()
142 atomic_dec(&drv_data.dev_count); in chcr_dev_move()
258 if (!atomic_read(&drv_data.dev_count)) in chcr_uld_state_change()
274 atomic_set(&drv_data.dev_count, 0); in chcr_crypto_init()
H A Dchcr_core.h79 atomic_t dev_count; member
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Dwdt_pci.c58 static int dev_count; variable
609 dev_count++; in wdtpci_init_one()
610 if (dev_count > 1) { in wdtpci_init_one()
715 dev_count--; in wdtpci_remove_one()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw_mfa2.c234 mfa2_file->dev_count) { in mlxfw_mfa2_file_validate()
304 mfa2_file->dev_count = be16_to_cpu(pd->num_devices); in mlxfw_mfa2_file_init()
307 mfa2_file->dev_count); in mlxfw_mfa2_file_init()
341 mfa2_file->dev_count) { in mlxfw_mfa2_tlv_dev_get()
H A Dmlxfw_mfa2_file.h13 u16 dev_count; member
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dwaveaudio.c220 unsigned dev_count = recording ? waveInGetNumDevs() : waveOutGetNumDevs(); in start() local
224 for (dev = WAVE_MAPPER; dev != dev_count; dev++) in start()
252 if (dev == dev_count) in start()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/micrel/
H A Dksz884x.c1268 int dev_count; member
4246 if (hw->dev_count > 1) { in sw_enable()
4256 if (hw->dev_count > 1) in sw_enable()
4645 if (hw->dev_count > 1) in send_packet()
4798 for (port = 0; port < hw->dev_count; port++) { in tx_done()
4908 if (hw->dev_count > 1) { in netdev_tx_timeout()
4938 if (hw->dev_count > 1) { in netdev_tx_timeout()
5083 if (hw->dev_count > 1) { in port_rcv_packets()
5128 if (hw->dev_count > 1) { in dev_rcv_special()
5359 if (hw->dev_count > 1) { in netdev_close()
[all …]
/OK3568_Linux_fs/kernel/virt/kvm/
H A Dkvm_main.c4243 for (i = 0; i < bus->dev_count; i++) { in kvm_io_bus_destroy()
4292 range = bsearch(&key, bus->range, bus->dev_count, in kvm_io_bus_get_first_dev()
4314 while (idx < bus->dev_count && in __kvm_io_bus_write()
4363 if ((cookie >= 0) && (cookie < bus->dev_count) && in kvm_io_bus_write_cookie()
4385 while (idx < bus->dev_count && in __kvm_io_bus_read()
4429 if (bus->dev_count - bus->ioeventfd_count > NR_IOBUS_DEVS - 1) in kvm_io_bus_register_dev()
4432 new_bus = kmalloc(struct_size(bus, range, bus->dev_count + 1), in kvm_io_bus_register_dev()
4443 for (i = 0; i < bus->dev_count; i++) in kvm_io_bus_register_dev()
4448 new_bus->dev_count++; in kvm_io_bus_register_dev()
4451 (bus->dev_count - i) * sizeof(struct kvm_io_range)); in kvm_io_bus_register_dev()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dccp-dev.c39 static atomic_t dev_count = ATOMIC_INIT(0); variable
614 if (atomic_inc_return(&dev_count) > max_devs) in ccp_dev_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_hdcp.c71 u8 dev_count; member
923 hdcp_ctrl->dev_count = down_stream_devices; in msm_hdmi_hdcp_recv_check_bstatus()
1033 ksv_bytes = 5 * hdcp_ctrl->dev_count; in msm_hdmi_hdcp_recv_ksv_fifo()
1123 ksv_bytes = 5 * hdcp_ctrl->dev_count; in msm_hdmi_hdcp_write_ksv_fifo()
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_hba.c157 WARN_ON(hba->dev_count); in core_delete_hba()
H A Dtarget_core_device.c973 hba->dev_count++; in target_configure_device()
1005 hba->dev_count--; in target_free_device()
H A Dtarget_core_pscsi.c469 if (hba->dev_count) { in pscsi_configure_device()
/OK3568_Linux_fs/kernel/drivers/firmware/efi/
H A Dapple-properties.c45 u32 dev_count; member
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Ddiag.h275 u32 dev_count; member
/OK3568_Linux_fs/kernel/drivers/visorbus/
H A Dcontrolvmchannel.h362 u32 dev_count; member
/OK3568_Linux_fs/kernel/drivers/block/
H A Dsx8.c865 unsigned int i, dev_count = 0; in carm_handle_scan_chan() local
879 dev_count++; in carm_handle_scan_chan()
883 pci_name(host->pdev), dev_count); in carm_handle_scan_chan()
/OK3568_Linux_fs/kernel/drivers/staging/ks7010/
H A Dks_wlan.h481 int dev_count; member
/OK3568_Linux_fs/kernel/drivers/scsi/esas2r/
H A Desas2r_main.c660 int dev_count = 0; in esas2r_show_info() local
698 ++dev_count, in esas2r_show_info()
702 if (dev_count == 0) in esas2r_show_info()
/OK3568_Linux_fs/kernel/fs/fuse/
H A Dfuse_i.h549 atomic_t dev_count; member
/OK3568_Linux_fs/kernel/include/target/
H A Dtarget_core_base.h852 u32 dev_count; member
/OK3568_Linux_fs/kernel/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c2455 const int dev_count = PNFS_LAYOUTSTATS_MAXDEV; in ff_layout_prepare_layoutstats() local
2458 args->devinfo = kmalloc_array(dev_count, sizeof(*args->devinfo), GFP_NOIO); in ff_layout_prepare_layoutstats()
2465 &args->devinfo[0], dev_count); in ff_layout_prepare_layoutstats()

12