/linux/tools/testing/selftests/powerpc/eeh/ |
H A D | eeh-basic.sh | 34 dev_count="$(echo $devices | wc -w)" 35 echo "Found ${dev_count} breakable devices..." 52 echo "$failed devices failed to recover ($dev_count tested)"
|
/linux/drivers/crypto/chelsio/ |
H A D | chcr_core.c | 121 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 D | chcr_core.h | 78 atomic_t dev_count; member
|
/linux/drivers/watchdog/ |
H A D | wdt_pci.c | 58 static int dev_count; variable 607 dev_count++; in wdtpci_init_one() 608 if (dev_count > 1) { in wdtpci_init_one() 713 dev_count--; in wdtpci_remove_one()
|
/linux/drivers/misc/eeprom/ |
H A D | ee1004.c | 52 unsigned int dev_count; member 219 if (--bd->dev_count == 0) { in ee1004_cleanup() 248 if (++bd->dev_count == 1) { in ee1004_init_bus_data()
|
/linux/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2.c | 234 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 D | mlxfw_mfa2_file.h | 13 u16 dev_count; member
|
/linux/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 1200 int dev_count; member 3873 if (hw->dev_count > 1) { in sw_enable() 3883 if (hw->dev_count > 1) in sw_enable() 4272 if (hw->dev_count > 1) in send_packet() 4425 for (port = 0; port < hw->dev_count; port++) { in tx_done() 4535 if (hw->dev_count > 1) { in netdev_tx_timeout() 4565 if (hw->dev_count > 1) { in netdev_tx_timeout() 4710 if (hw->dev_count > 1) { in port_rcv_packets() 4755 if (hw->dev_count > 1) { in dev_rcv_special() 4985 if (hw->dev_count > 1) { in netdev_close() [all …]
|
/linux/drivers/target/ |
H A D | target_core_hba.c | 157 WARN_ON(hba->dev_count); in core_delete_hba()
|
H A D | target_core_device.c | 1006 hba->dev_count++; in target_configure_device() 1041 hba->dev_count--; in target_free_device()
|
H A D | target_core_configfs.c | 3510 if (hba->dev_count) { in target_hba_mode_store()
|
/linux/drivers/crypto/ccp/ |
H A D | ccp-dev.c | 39 static atomic_t dev_count = ATOMIC_INIT(0); variable 610 if (atomic_inc_return(&dev_count) > max_devs) in ccp_dev_init()
|
/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_hdcp.c | 71 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()
|
/linux/virt/kvm/ |
H A D | kvm_main.c | 5764 for (i = 0; i < bus->dev_count; i++) { in kvm_io_bus_destroy() 5813 range = bsearch(&key, bus->range, bus->dev_count, in kvm_io_bus_get_first_dev() 5835 while (idx < bus->dev_count && in __kvm_io_bus_write() 5882 if ((cookie >= 0) && (cookie < bus->dev_count) && in kvm_io_bus_write_cookie() 5904 while (idx < bus->dev_count && in __kvm_io_bus_read() 5949 if (bus->dev_count - bus->ioeventfd_count > NR_IOBUS_DEVS - 1) in kvm_io_bus_register_dev() 5952 new_bus = kmalloc(struct_size(bus, range, bus->dev_count + 1), in kvm_io_bus_register_dev() 5963 for (i = 0; i < bus->dev_count; i++) in kvm_io_bus_register_dev() 5968 new_bus->dev_count++; in kvm_io_bus_register_dev() 5971 (bus->dev_count - i) * sizeof(struct kvm_io_range)); in kvm_io_bus_register_dev() [all …]
|
/linux/drivers/firmware/efi/ |
H A D | apple-properties.c | 45 u32 dev_count; member
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-dev.c | 365 unsigned int dev_count = rkisp1_path_count(rkisp1); in rkisp1_create_links() local 381 for (i = 0; i < dev_count; i++) { in rkisp1_create_links()
|
H A D | rkisp1-resizer.c | 738 unsigned int dev_count = rkisp1_path_count(rkisp1); in rkisp1_resizer_devs_register() local 742 for (i = 0; i < dev_count; i++) { in rkisp1_resizer_devs_register()
|
H A D | rkisp1-capture.c | 819 unsigned int dev_count = rkisp1_path_count(rkisp1); in rkisp1_capture_isr() local 832 for (i = 0; i < dev_count; ++i) { in rkisp1_capture_isr() 1629 unsigned int dev_count = rkisp1_path_count(rkisp1); in rkisp1_capture_devs_register() local 1633 for (i = 0; i < dev_count; i++) { in rkisp1_capture_devs_register()
|
/linux/arch/s390/include/asm/ |
H A D | diag.h | 304 u32 dev_count; member
|
/linux/drivers/scsi/esas2r/ |
H A D | esas2r_main.c | 660 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()
|
/linux/include/target/ |
H A D | target_core_base.h | 914 u32 dev_count; member
|
/linux/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 2649 const int dev_count = PNFS_LAYOUTSTATS_MAXDEV; in ff_layout_prepare_layoutstats() local 2652 args->devinfo = kmalloc_array(dev_count, sizeof(*args->devinfo), in ff_layout_prepare_layoutstats() 2662 &ff_layout->generic_hdr, &args->devinfo[0], dev_count, in ff_layout_prepare_layoutstats()
|
/linux/fs/fuse/ |
H A D | fuse_i.h | 634 atomic_t dev_count; member
|
H A D | dev.c | 2508 if (atomic_dec_and_test(&fc->dev_count)) { in fuse_dev_release() 2541 atomic_inc(&fc->dev_count); in fuse_device_clone()
|
H A D | inode.c | 968 atomic_set(&fc->dev_count, 1); in fuse_conn_init()
|