Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/s390/crypto/
H A Dzcrypt_ccamisc.c1790 if (!device_status) in findcard()
1796 card = AP_QID_CARD(device_status[i].qid); in findcard()
1797 dom = AP_QID_QUEUE(device_status[i].qid); in findcard()
1798 if (device_status[i].online && in findcard()
1799 device_status[i].functions & 0x04) { in findcard()
1825 if (!(device_status[i].online && in findcard()
1860 kvfree(device_status); in findcard()
1906 if (!device_status) in cca_findcard2()
1913 kvfree(device_status); in cca_findcard2()
1922 if (!device_status[i].online) in cca_findcard2()
[all …]
H A Dzcrypt_ep11misc.c1553 struct zcrypt_device_status_ext *device_status; in ep11_findcard2() local
1560 device_status = kvmalloc_array(MAX_ZDEV_ENTRIES_EXT, in ep11_findcard2()
1563 if (!device_status) in ep11_findcard2()
1565 zcrypt_device_status_mask_ext(device_status); in ep11_findcard2()
1570 kvfree(device_status); in ep11_findcard2()
1576 card = AP_QID_CARD(device_status[i].qid); in ep11_findcard2()
1577 dom = AP_QID_QUEUE(device_status[i].qid); in ep11_findcard2()
1579 if (!device_status[i].online) in ep11_findcard2()
1582 if (!(device_status[i].functions & 0x01)) in ep11_findcard2()
1591 if (minhwtype && device_status[i].hwtype < minhwtype) in ep11_findcard2()
[all …]
H A Dzcrypt_api.c1573 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1580 if (!device_status) in zcrypt_unlocked_ioctl()
1582 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1583 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1586 kvfree(device_status); in zcrypt_unlocked_ioctl()
1632 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1636 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1637 if (!device_status) in zcrypt_unlocked_ioctl()
1639 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
1640 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
[all …]
/openbmc/linux/drivers/video/fbdev/via/
H A 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()
H A Dioctl.h139 unsigned short device_status; member
/openbmc/linux/drivers/input/rmi4/
H A 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()
/openbmc/linux/drivers/fpga/
H A Dlattice-sysconfig.c51 __be32 device_status; in sysconfig_read_status() local
55 &device_status, sizeof(device_status)); in sysconfig_read_status()
59 *status = be32_to_cpu(device_status); in sysconfig_read_status()
/openbmc/linux/drivers/scsi/
H A 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()
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_register.h12 __be32 device_status; member
/openbmc/linux/include/uapi/linux/
H A Dbsg.h53 __u32 device_status; /* [o] {SCSI: command completion status} */ member
H A Dvirtio_pci.h152 __u8 device_status; /* read-write */ member
/openbmc/linux/drivers/input/mouse/
H A 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()
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_pci_modern.c190 *status = ioread8(&priv->common->device_status); in virtio_pci_get_status()
202 iowrite8(status, &priv->common->device_status); in virtio_pci_set_status()
212 iowrite8(0, &priv->common->device_status); in virtio_pci_reset()
220 while (ioread8(&priv->common->device_status)) in virtio_pci_reset()
H A Dvirtio_pci.h117 __u8 device_status; /* read-write */ member
/openbmc/linux/drivers/s390/cio/
H A DMakefile13 ccw_device-objs += device_id.o device_pgid.o device_status.o
/openbmc/linux/drivers/virtio/
H A Dvirtio_pci_modern_dev.c181 offsetof(struct virtio_pci_common_cfg, device_status)); in check_offsets()
464 return vp_ioread8(&cfg->device_status); in vp_modern_get_status()
483 vp_iowrite8(status, &cfg->device_status); in vp_modern_set_status()
/openbmc/linux/include/linux/
H A Dslimbus.h89 int (*device_status)(struct slim_device *sl, member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_pci.h152 uint8_t device_status; /* read-write */ member
/openbmc/linux/block/
H A Dbsg-lib.c101 hdr->device_status = job->result & 0xff; in bsg_transport_sg_io_fn()
105 if (hdr->device_status || hdr->transport_status || hdr->driver_status) in bsg_transport_sg_io_fn()
/openbmc/linux/arch/s390/include/uapi/asm/
H A Ddasd.h130 unsigned short device_status; member
/openbmc/linux/drivers/slimbus/
H A Dcore.c58 if (sbdrv->device_status) in slim_device_update_status()
59 sbdrv->device_status(sbdev, sbdev->status); in slim_device_update_status()
/openbmc/linux/drivers/vdpa/ifcvf/
H A Difcvf_base.c197 return vp_ioread8(&hw->common_cfg->device_status); in ifcvf_get_status()
202 vp_iowrite8(status, &hw->common_cfg->device_status); in ifcvf_set_status()
/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-pci-modern.c115 device_status)); in get_status()
124 device_status), in set_status()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dr8a66597-udc.h106 u16 device_status; /* for GET_STATUS */ member
/openbmc/linux/drivers/mfd/
H A Dwcd934x.c294 .device_status = wcd934x_slim_status,

12