Home
last modified time | relevance | path

Searched refs:device_status (Results 1 – 22 of 22) sorted by relevance

/drivers/s390/crypto/
Dzcrypt_ccamisc.c1779 struct zcrypt_device_status_ext *device_status; in findcard() local
1789 device_status = kvmalloc_array(MAX_ZDEV_ENTRIES_EXT, in findcard()
1792 if (!device_status) in findcard()
1794 zcrypt_device_status_mask_ext(device_status); in findcard()
1798 card = AP_QID_CARD(device_status[i].qid); in findcard()
1799 dom = AP_QID_QUEUE(device_status[i].qid); in findcard()
1800 if (device_status[i].online && in findcard()
1801 device_status[i].functions & 0x04) { in findcard()
1827 if (!(device_status[i].online && in findcard()
1828 device_status[i].functions & 0x04)) in findcard()
[all …]
Dzcrypt_ep11misc.c1494 struct zcrypt_device_status_ext *device_status; in ep11_findcard2() local
1501 device_status = kvmalloc_array(MAX_ZDEV_ENTRIES_EXT, in ep11_findcard2()
1504 if (!device_status) in ep11_findcard2()
1506 zcrypt_device_status_mask_ext(device_status); in ep11_findcard2()
1511 kvfree(device_status); in ep11_findcard2()
1517 card = AP_QID_CARD(device_status[i].qid); in ep11_findcard2()
1518 dom = AP_QID_QUEUE(device_status[i].qid); in ep11_findcard2()
1520 if (!device_status[i].online) in ep11_findcard2()
1523 if (!(device_status[i].functions & 0x01)) in ep11_findcard2()
1532 if (minhwtype && device_status[i].hwtype < minhwtype) in ep11_findcard2()
[all …]
Dzcrypt_api.c1694 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1698 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1699 if (!device_status) in zcrypt_unlocked_ioctl()
1701 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1702 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1705 kfree(device_status); in zcrypt_unlocked_ioctl()
1751 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1755 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1756 if (!device_status) in zcrypt_unlocked_ioctl()
1758 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
[all …]
/drivers/input/rmi4/
Drmi_f01.c392 u8 device_status; in rmi_f01_probe() local
556 error = rmi_read(rmi_dev, fn->fd.data_base_addr, &device_status); in rmi_f01_probe()
563 if (RMI_F01_STATUS_UNCONFIGURED(device_status)) { in rmi_f01_probe()
566 RMI_F01_STATUS_CODE(device_status)); in rmi_f01_probe()
688 u8 device_status; in rmi_f01_attention() local
690 error = rmi_read(rmi_dev, fn->fd.data_base_addr, &device_status); in rmi_f01_attention()
697 if (RMI_F01_STATUS_BOOTLOADER(device_status)) in rmi_f01_attention()
701 if (RMI_F01_STATUS_UNCONFIGURED(device_status)) { in rmi_f01_attention()
/drivers/video/fbdev/via/
Dvia_utility.c122 int device_status = viafb_DeviceStatus; in viafb_set_gamma_table() local
125 if (device_status & 1) in viafb_set_gamma_table()
127 device_status >>= 1; in viafb_set_gamma_table()
Dioctl.h139 unsigned short device_status; member
Dviafbdev.c959 setting_info->device_status = CRT_Device; in retrieve_device_setting()
961 setting_info->device_status |= DVI_Device; in retrieve_device_setting()
963 setting_info->device_status |= LCD_Device; in retrieve_device_setting()
965 setting_info->device_status |= LCD2_Device; in retrieve_device_setting()
/drivers/scsi/
Dscsi_bsg.c66 hdr->device_status = scmd->result & 0xff; in scsi_bsg_sg_io_fn()
72 if (hdr->device_status || hdr->transport_status || hdr->driver_status) in scsi_bsg_sg_io_fn()
/drivers/input/mouse/
Dcyapa_gen3.c106 u8 device_status; member
1195 if ((data.device_status & OP_STATUS_SRC) != OP_STATUS_SRC || in cyapa_gen3_irq_handler()
1196 (data.device_status & OP_STATUS_DEV) != CYAPA_DEV_NORMAL || in cyapa_gen3_irq_handler()
1199 data.device_status, data.finger_btn); in cyapa_gen3_irq_handler()
1221 if ((data.device_status & OP_STATUS_SRC) != OP_STATUS_SRC || in cyapa_gen3_try_poll_handler()
1222 (data.device_status & OP_STATUS_DEV) != CYAPA_DEV_NORMAL || in cyapa_gen3_try_poll_handler()
/drivers/net/ethernet/google/gve/
Dgve_register.h12 __be32 device_status; member
Dgve_main.c1337 u32 status = ioread32be(&priv->reg_bar0->device_status); in gve_service_task()
/drivers/s390/cio/
DMakefile13 ccw_device-objs += device_id.o device_pgid.o device_status.o
/drivers/virtio/
Dvirtio_pci_modern_dev.c181 offsetof(struct virtio_pci_common_cfg, device_status)); in check_offsets()
455 return vp_ioread8(&cfg->device_status); in vp_modern_get_status()
474 vp_iowrite8(status, &cfg->device_status); in vp_modern_set_status()
/drivers/slimbus/
Dcore.c58 if (sbdrv->device_status) in slim_device_update_status()
59 sbdrv->device_status(sbdev, sbdev->status); in slim_device_update_status()
/drivers/vdpa/ifcvf/
Difcvf_base.c163 return vp_ioread8(&hw->common_cfg->device_status); in ifcvf_get_status()
168 vp_iowrite8(status, &hw->common_cfg->device_status); in ifcvf_set_status()
/drivers/usb/gadget/udc/
Dr8a66597-udc.h106 u16 device_status; /* for GET_STATUS */ member
Dr8a66597-udc.c1170 status = r8a66597->device_status; in get_status()
1793 r8a66597->device_status |= 1 << USB_DEVICE_SELF_POWERED; in r8a66597_set_selfpowered()
1795 r8a66597->device_status &= ~(1 << USB_DEVICE_SELF_POWERED); in r8a66597_set_selfpowered()
/drivers/mfd/
Dwcd934x.c294 .device_status = wcd934x_slim_status,
/drivers/scsi/isci/
Dhost.c1498 enum sci_status device_status; in sci_controller_stop_devices() local
1505 device_status = sci_remote_device_stop(ihost->device_table[index], 0); in sci_controller_stop_devices()
1507 if ((device_status != SCI_SUCCESS) && in sci_controller_stop_devices()
1508 (device_status != SCI_FAILURE_INVALID_STATE)) { in sci_controller_stop_devices()
1514 ihost->device_table[index], device_status); in sci_controller_stop_devices()
/drivers/iio/light/
Dtsl2772.c844 int device_status = chip->tsl2772_chip_status; in tsl2772_invoke_change() local
850 if (device_status == TSL2772_CHIP_WORKING) { in tsl2772_invoke_change()
/drivers/scsi/smartpqi/
Dsmartpqi.h39 __le32 device_status; member
Dsmartpqi_init.c3090 if (readl(&pqi_registers->device_status) == in pqi_wait_for_pqi_mode_ready()
10153 device_status) != 0x40); in pqi_verify_structures()