Home
last modified time | relevance | path

Searched refs:dev_desc (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/acpi/
Dacpi_apd.c51 const struct apd_device_desc *dev_desc; member
59 const struct apd_device_desc *dev_desc = pdata->dev_desc; in acpi_apd_setup() local
62 if (dev_desc->fixed_clk_rate) { in acpi_apd_setup()
65 NULL, 0, dev_desc->fixed_clk_rate); in acpi_apd_setup()
193 const struct apd_device_desc *dev_desc = (void *)id->driver_data; in acpi_apd_create_device() local
198 if (!dev_desc) { in acpi_apd_create_device()
208 pdata->dev_desc = dev_desc; in acpi_apd_create_device()
210 if (dev_desc->setup) { in acpi_apd_create_device()
211 ret = dev_desc->setup(pdata); in acpi_apd_create_device()
217 pdev = acpi_create_platform_device(adev, dev_desc->properties); in acpi_apd_create_device()
Dacpi_lpss.c97 const struct lpss_device_desc *dev_desc; member
130 offset = pdata->dev_desc->prv_offset + LPSS_TX_INT; in lpss_uart_setup()
136 offset = pdata->dev_desc->prv_offset + LPSS_GENERAL; in lpss_uart_setup()
148 offset = pdata->dev_desc->prv_offset + LPSS_RESETS; in lpss_deassert_reset()
197 if (readl(pdata->mmio_base + pdata->dev_desc->prv_offset)) in byt_i2c_setup()
393 const struct lpss_device_desc *dev_desc = pdata->dev_desc; in register_device_clock() local
409 || pdata->mmio_size < dev_desc->prv_offset + LPSS_CLK_SIZE) in register_device_clock()
413 prv_base = pdata->mmio_base + dev_desc->prv_offset; in register_device_clock()
421 if (dev_desc->flags & LPSS_CLK_GATE) { in register_device_clock()
427 if (dev_desc->flags & LPSS_CLK_DIVIDER) { in register_device_clock()
[all …]
/Linux-v5.4/arch/sparc/include/asm/
Dopenprom.h20 int (*v0_devclose)(int dev_desc);
21 int (*v0_rdblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
22 int (*v0_wrblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
23 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
24 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
25 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
26 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
27 int (*v0_seekdev)(int dev_desc, long logical_offst, int from);
/Linux-v5.4/tools/hv/
Dlsvmbus67 dev_desc = vmbus_dev_dict.get(class_id, 'Unknown')
83 d.dev_desc = dev_desc
99 print(('VMBUS ID ' + format0) % (d.vmbus_id, d.dev_desc))
103 (d.vmbus_id, d.class_id, d.dev_desc, d.chn_vp_mapping)
109 d.vmbus_id, d.class_id, d.dev_desc,
/Linux-v5.4/arch/m68k/include/asm/
Dopenprom.h28 int (*v0_devclose)(int dev_desc);
29 int (*v0_rdblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
30 int (*v0_wrblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
31 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
32 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
33 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
34 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
35 int (*v0_seekdev)(int dev_desc, long logical_offst, int from);
/Linux-v5.4/drivers/usb/usbip/
Dvudc_sysfs.c27 struct usb_device_descriptor *ddesc = &udc->dev_desc; in get_gadget_descs()
75 char *desc_ptr = (char *) &udc->dev_desc; in dev_desc_read()
91 static BIN_ATTR_RO(dev_desc, sizeof(struct usb_device_descriptor));
Dvudc.h91 struct usb_device_descriptor dev_desc; member
/Linux-v5.4/drivers/media/rc/
Dite-cir.c1445 const struct ite_dev_params *dev_desc = NULL; in ite_probe() local
1479 dev_desc = &ite_dev_descs[model_no]; in ite_probe()
1480 io_rsrc_no = dev_desc->io_rsrc_no; in ite_probe()
1484 pnp_port_len(pdev, io_rsrc_no) != dev_desc->io_region_size) { in ite_probe()
1510 itdev->params = *dev_desc; in ite_probe()
1569 rdev->device_name = dev_desc->model; in ite_probe()
1584 dev_desc->io_region_size, ITE_DRIVER_NAME)) in ite_probe()
/Linux-v5.4/net/ieee802154/
Drdev-ops.h290 const struct ieee802154_llsec_device *dev_desc) in rdev_add_device() argument
292 return rdev->ops->add_device(&rdev->wpan_phy, wpan_dev, dev_desc); in rdev_add_device()
Dnl802154.c1624 const struct ieee802154_llsec_device *dev_desc) in nl802154_send_device() argument
1641 dev_desc->frame_counter) || in nl802154_send_device()
1642 nla_put_le16(msg, NL802154_DEV_ATTR_PAN_ID, dev_desc->pan_id) || in nl802154_send_device()
1644 dev_desc->short_addr) || in nl802154_send_device()
1646 dev_desc->hwaddr, NL802154_DEV_ATTR_PAD) || in nl802154_send_device()
1648 dev_desc->seclevel_exempt) || in nl802154_send_device()
1649 nla_put_u32(msg, NL802154_DEV_ATTR_KEY_MODE, dev_desc->key_mode)) in nl802154_send_device()
1759 struct ieee802154_llsec_device dev_desc; in nl802154_add_llsec_dev() local
1762 &dev_desc) < 0) in nl802154_add_llsec_dev()
1765 return rdev_add_device(rdev, wpan_dev, &dev_desc); in nl802154_add_llsec_dev()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-platform-usbip-vudc1 What: /sys/devices/platform/usbip-vudc.%d/dev_desc
/Linux-v5.4/net/mac802154/
Dcfg.c391 const struct ieee802154_llsec_device *dev_desc) in ieee802154_add_device() argument
398 res = mac802154_llsec_dev_add(&sdata->sec, dev_desc); in ieee802154_add_device()
/Linux-v5.4/drivers/scsi/ufs/
Dufshcd.c3086 *desc_len = hba->desc_size.dev_desc; in ufshcd_map_desc_id_to_length()
6496 struct ufs_dev_desc *dev_desc) in ufs_get_device_desc() argument
6503 if (!dev_desc) in ufs_get_device_desc()
6506 buff_len = max_t(size_t, hba->desc_size.dev_desc, in ufs_get_device_desc()
6514 err = ufshcd_read_device_desc(hba, desc_buf, hba->desc_size.dev_desc); in ufs_get_device_desc()
6525 dev_desc->wmanufacturerid = desc_buf[DEVICE_DESC_PARAM_MANF_ID] << 8 | in ufs_get_device_desc()
6530 &dev_desc->model, SD_ASCII_STD); in ufs_get_device_desc()
6548 static void ufs_put_device_desc(struct ufs_dev_desc *dev_desc) in ufs_put_device_desc() argument
6550 kfree(dev_desc->model); in ufs_put_device_desc()
6551 dev_desc->model = NULL; in ufs_put_device_desc()
[all …]
Dufshcd.h226 int dev_desc; member