Searched refs:dev_desc (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/drivers/acpi/
H A Dacpi_apd.c52 const struct apd_device_desc *dev_desc; member in struct:apd_private_data
60 const struct apd_device_desc *dev_desc = pdata->dev_desc; acpi_apd_setup() local
63 if (dev_desc->fixed_clk_rate) { acpi_apd_setup()
67 dev_desc->fixed_clk_rate); acpi_apd_setup()
98 const struct apd_device_desc *dev_desc = (void *)id->driver_data; acpi_apd_create_device() local
103 if (!dev_desc) { acpi_apd_create_device()
113 pdata->dev_desc = dev_desc; acpi_apd_create_device()
115 if (dev_desc->setup) { acpi_apd_create_device()
116 ret = dev_desc->setup(pdata); acpi_apd_create_device()
H A Dacpi_lpss.c83 const struct lpss_device_desc *dev_desc; member in struct:lpss_private_data
96 offset = pdata->dev_desc->prv_offset + LPSS_TX_INT; lpss_uart_setup()
102 offset = pdata->dev_desc->prv_offset + LPSS_GENERAL; lpss_uart_setup()
114 offset = pdata->dev_desc->prv_offset + LPSS_RESETS; lpss_deassert_reset()
126 if (readl(pdata->mmio_base + pdata->dev_desc->prv_offset)) byt_i2c_setup()
256 const struct lpss_device_desc *dev_desc = pdata->dev_desc; register_device_clock() local
272 || pdata->mmio_size < dev_desc->prv_offset + LPSS_CLK_SIZE) register_device_clock()
276 prv_base = pdata->mmio_base + dev_desc->prv_offset; register_device_clock()
284 if (dev_desc->flags & LPSS_CLK_GATE) { register_device_clock()
290 if (dev_desc->flags & LPSS_CLK_DIVIDER) { register_device_clock()
319 clk_register_clkdev(clk, dev_desc->clk_con_id, devname); register_device_clock()
326 struct lpss_device_desc *dev_desc; acpi_lpss_create_device() local
333 dev_desc = (struct lpss_device_desc *)id->driver_data; acpi_lpss_create_device()
334 if (!dev_desc) { acpi_lpss_create_device()
349 if (dev_desc->prv_size_override) acpi_lpss_create_device()
350 pdata->mmio_size = dev_desc->prv_size_override; acpi_lpss_create_device()
365 pdata->dev_desc = dev_desc; acpi_lpss_create_device()
367 if (dev_desc->setup) acpi_lpss_create_device()
368 dev_desc->setup(pdata); acpi_lpss_create_device()
370 if (dev_desc->flags & LPSS_CLK) { acpi_lpss_create_device()
407 return readl(pdata->mmio_base + pdata->dev_desc->prv_offset + reg); __lpss_reg_read()
413 writel(val, pdata->mmio_base + pdata->dev_desc->prv_offset + reg); __lpss_reg_write()
584 if (pdata->dev_desc->flags & LPSS_SAVE_CTX) acpi_lpss_suspend_late()
599 if (pdata->dev_desc->flags & LPSS_SAVE_CTX) acpi_lpss_resume_early()
615 if (pdata->dev_desc->flags & LPSS_SAVE_CTX) acpi_lpss_runtime_suspend()
630 if (pdata->dev_desc->flags & LPSS_SAVE_CTX) acpi_lpss_runtime_resume()
677 pdata->mmio_size < pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) { acpi_lpss_platform_notify()
685 if (pdata->dev_desc->flags & LPSS_LTR) acpi_lpss_platform_notify()
690 if (pdata->dev_desc->flags & LPSS_LTR) acpi_lpss_platform_notify()
709 if (!pdata || !pdata->mmio_base || !(pdata->dev_desc->flags & LPSS_LTR)) acpi_lpss_bind()
712 if (pdata->mmio_size >= pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) acpi_lpss_bind()
/linux-4.1.27/arch/sparc/include/asm/
H A Dopenprom.h19 int (*v0_devclose)(int dev_desc);
20 int (*v0_rdblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
21 int (*v0_wrblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
22 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
23 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
24 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
25 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
26 int (*v0_seekdev)(int dev_desc, long logical_offst, int from);
/linux-4.1.27/arch/m68k/include/asm/
H A Dopenprom.h27 int (*v0_devclose)(int dev_desc);
28 int (*v0_rdblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
29 int (*v0_wrblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
30 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
31 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
32 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
33 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
34 int (*v0_seekdev)(int dev_desc, long logical_offst, int from);
/linux-4.1.27/drivers/media/rc/
H A Dite-cir.c1459 const struct ite_dev_params *dev_desc = NULL; ite_probe() local
1494 dev_desc = &ite_dev_descs[model_no]; ite_probe()
1495 io_rsrc_no = dev_desc->io_rsrc_no; ite_probe()
1499 pnp_port_len(pdev, io_rsrc_no) != dev_desc->io_region_size) { ite_probe()
1528 itdev->params = *dev_desc; ite_probe()
1586 rdev->input_name = dev_desc->model; ite_probe()
1601 dev_desc->io_region_size, ITE_DRIVER_NAME)) ite_probe()
/linux-4.1.27/drivers/usb/serial/
H A Doption.c2033 struct usb_device_descriptor *dev_desc = &serial->dev->descriptor; option_probe() local
2053 if (dev_desc->idVendor == cpu_to_le16(SAMSUNG_VENDOR_ID) && option_probe()
2054 dev_desc->idProduct == cpu_to_le16(SAMSUNG_PRODUCT_GT_B3730) && option_probe()

Completed in 224 milliseconds