Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/s390/crypto/
Dzcrypt_ccamisc.c1761 struct zcrypt_device_status_ext *device_status; in findcard() local
1771 device_status = kvmalloc_array(MAX_ZDEV_ENTRIES_EXT, in findcard()
1774 if (!device_status) in findcard()
1776 zcrypt_device_status_mask_ext(device_status); in findcard()
1780 card = AP_QID_CARD(device_status[i].qid); in findcard()
1781 dom = AP_QID_QUEUE(device_status[i].qid); in findcard()
1782 if (device_status[i].online && in findcard()
1783 device_status[i].functions & 0x04) { in findcard()
1809 if (!(device_status[i].online && in findcard()
1810 device_status[i].functions & 0x04)) in findcard()
[all …]
Dzcrypt_ep11misc.c1390 struct zcrypt_device_status_ext *device_status; in ep11_findcard2() local
1397 device_status = kvmalloc_array(MAX_ZDEV_ENTRIES_EXT, in ep11_findcard2()
1400 if (!device_status) in ep11_findcard2()
1402 zcrypt_device_status_mask_ext(device_status); in ep11_findcard2()
1407 kvfree(device_status); in ep11_findcard2()
1413 card = AP_QID_CARD(device_status[i].qid); in ep11_findcard2()
1414 dom = AP_QID_QUEUE(device_status[i].qid); in ep11_findcard2()
1416 if (!device_status[i].online) in ep11_findcard2()
1419 if (!(device_status[i].functions & 0x01)) in ep11_findcard2()
1428 if (minhwtype && device_status[i].hwtype < minhwtype) in ep11_findcard2()
[all …]
Dzcrypt_api.c1607 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1611 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1612 if (!device_status) in zcrypt_unlocked_ioctl()
1614 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1615 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
1618 kfree(device_status); in zcrypt_unlocked_ioctl()
1664 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1668 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1669 if (!device_status) in zcrypt_unlocked_ioctl()
1671 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_f01.c390 u8 device_status; in rmi_f01_probe() local
554 error = rmi_read(rmi_dev, fn->fd.data_base_addr, &device_status); in rmi_f01_probe()
561 if (RMI_F01_STATUS_UNCONFIGURED(device_status)) { in rmi_f01_probe()
564 RMI_F01_STATUS_CODE(device_status)); in rmi_f01_probe()
686 u8 device_status; in rmi_f01_attention() local
688 error = rmi_read(rmi_dev, fn->fd.data_base_addr, &device_status); in rmi_f01_attention()
695 if (RMI_F01_STATUS_BOOTLOADER(device_status)) in rmi_f01_attention()
699 if (RMI_F01_STATUS_UNCONFIGURED(device_status)) { in rmi_f01_attention()
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
Dgve_register.h12 __be32 device_status; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbsg.h53 __u32 device_status; /* [o] {SCSI: command completion status} */ member
Dvirtio_pci.h152 __u8 device_status; /* read-write */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbsg.h40 __u32 device_status; member
Dvirtio_pci.h56 __u8 device_status; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbsg.h52 __u32 device_status; member
Dvirtio_pci.h75 __u8 device_status; member
/kernel/linux/linux-5.10/drivers/input/mouse/
Dcyapa_gen3.c106 u8 device_status; member
1194 if ((data.device_status & OP_STATUS_SRC) != OP_STATUS_SRC || in cyapa_gen3_irq_handler()
1195 (data.device_status & OP_STATUS_DEV) != CYAPA_DEV_NORMAL || in cyapa_gen3_irq_handler()
1198 data.device_status, data.finger_btn); in cyapa_gen3_irq_handler()
1220 if ((data.device_status & OP_STATUS_SRC) != OP_STATUS_SRC || in cyapa_gen3_try_poll_handler()
1221 (data.device_status & OP_STATUS_DEV) != CYAPA_DEV_NORMAL || in cyapa_gen3_try_poll_handler()
/kernel/linux/linux-5.10/drivers/s390/cio/
DMakefile13 ccw_device-objs += device_id.o device_pgid.o device_status.o
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_pci_modern.c271 return vp_ioread8(&vp_dev->common->device_status); in vp_get_status()
279 vp_iowrite8(status, &vp_dev->common->device_status); in vp_set_status()
286 vp_iowrite8(0, &vp_dev->common->device_status); in vp_reset()
292 while (vp_ioread8(&vp_dev->common->device_status)) in vp_reset()
650 offsetof(struct virtio_pci_common_cfg, device_status)); in check_offsets()
/kernel/linux/linux-5.10/block/
Dbsg-lib.c85 hdr->device_status = job->result & 0xff; in bsg_transport_complete_rq()
89 if (hdr->device_status || hdr->transport_status || hdr->driver_status) in bsg_transport_complete_rq()
Dbsg.c97 hdr->device_status = sreq->result & 0xff; in bsg_scsi_complete_rq()
101 if (hdr->device_status || hdr->transport_status || hdr->driver_status) in bsg_scsi_complete_rq()
/kernel/linux/linux-5.10/include/linux/
Dslimbus.h89 int (*device_status)(struct slim_device *sl, member
/kernel/linux/linux-5.10/drivers/vdpa/ifcvf/
Difcvf_base.c178 return ifc_ioread8(&hw->common_cfg->device_status); in ifcvf_get_status()
183 ifc_iowrite8(status, &hw->common_cfg->device_status); in ifcvf_set_status()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Ddasd.h128 unsigned short device_status; member
/kernel/linux/linux-5.10/drivers/mfd/
Dwcd934x.c294 .device_status = wcd934x_slim_status,
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dr8a66597-udc.h106 u16 device_status; /* for GET_STATUS */ member
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dhost.c1500 enum sci_status device_status; in sci_controller_stop_devices() local
1507 device_status = sci_remote_device_stop(ihost->device_table[index], 0); in sci_controller_stop_devices()
1509 if ((device_status != SCI_SUCCESS) && in sci_controller_stop_devices()
1510 (device_status != SCI_FAILURE_INVALID_STATE)) { in sci_controller_stop_devices()
1516 ihost->device_table[index], device_status); in sci_controller_stop_devices()

12