/drivers/soc/tegra/fuse/ |
D | fuse-tegra30.c | 139 .dev_id = "7009f000.padctl", 144 .dev_id = "70020000.sata", 149 .dev_id = "700e2000.thermal-sensor", 154 .dev_id = "700e2000.thermal-sensor", 159 .dev_id = "700e2000.thermal-sensor", 164 .dev_id = "700e2000.thermal-sensor", 169 .dev_id = "700e2000.thermal-sensor", 174 .dev_id = "700e2000.thermal-sensor", 179 .dev_id = "700e2000.thermal-sensor", 184 .dev_id = "700e2000.thermal-sensor", [all …]
|
/drivers/clk/ |
D | clkdev.c | 36 static struct clk_lookup *clk_find(const char *dev_id, const char *con_id) in clk_find() argument 41 if (dev_id) in clk_find() 50 if (p->dev_id) { in clk_find() 51 if (!dev_id || strcmp(p->dev_id, dev_id)) in clk_find() 72 struct clk_hw *clk_find_hw(const char *dev_id, const char *con_id) in clk_find_hw() argument 78 cl = clk_find(dev_id, con_id); in clk_find_hw() 86 static struct clk *__clk_get_sys(struct device *dev, const char *dev_id, in __clk_get_sys() argument 89 struct clk_hw *hw = clk_find_hw(dev_id, con_id); in __clk_get_sys() 91 return clk_hw_create_clk(dev, hw, dev_id, con_id); in __clk_get_sys() 94 struct clk *clk_get_sys(const char *dev_id, const char *con_id) in clk_get_sys() argument [all …]
|
/drivers/mtd/chips/ |
D | jedec_probe.c | 270 const uint16_t dev_id; member 299 .dev_id = AM29F032B, 311 .dev_id = AM29LV160DT, 326 .dev_id = AM29LV160DB, 341 .dev_id = AM29LV400BB, 356 .dev_id = AM29LV400BT, 371 .dev_id = AM29LV800BB, 387 .dev_id = AM29DL800BB, 404 .dev_id = AM29DL800BT, 421 .dev_id = AM29F800BB, [all …]
|
/drivers/clk/tegra/ |
D | clk-tegra30.c | 592 { .con_id = "csus", .dev_id = "tengra_camera", .dt_id = TEGRA30_CLK_CSUS }, 593 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_VCP }, 594 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_BSEA }, 595 { .con_id = "bsev", .dev_id = "tegra-aes", .dt_id = TEGRA30_CLK_BSEV }, 596 { .con_id = "dsia", .dev_id = "tegradc.0", .dt_id = TEGRA30_CLK_DSIA }, 597 { .con_id = "csi", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_CSI }, 598 { .con_id = "isp", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_ISP }, 599 { .con_id = "pcie", .dev_id = "tegra-pcie", .dt_id = TEGRA30_CLK_PCIE }, 600 { .con_id = "afi", .dev_id = "tegra-pcie", .dt_id = TEGRA30_CLK_AFI }, 602 { .con_id = "fuse_burn", .dev_id = "fuse-tegra", .dt_id = TEGRA30_CLK_FUSE_BURN }, [all …]
|
D | clk-tegra20.c | 442 { .dev_id = "tegra20-ac97", .dt_id = TEGRA20_CLK_AC97 }, 443 { .dev_id = "tegra-apbdma", .dt_id = TEGRA20_CLK_APBDMA }, 444 { .dev_id = "rtc-tegra", .dt_id = TEGRA20_CLK_RTC }, 445 { .dev_id = "timer", .dt_id = TEGRA20_CLK_TIMER }, 446 { .dev_id = "tegra-kbc", .dt_id = TEGRA20_CLK_KBC }, 447 { .con_id = "csus", .dev_id = "tegra_camera", .dt_id = TEGRA20_CLK_CSUS }, 448 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_VCP }, 449 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_BSEA }, 450 { .con_id = "bsev", .dev_id = "tegra-aes", .dt_id = TEGRA20_CLK_BSEV }, 452 { .dev_id = "fsl-tegra-udc", .dt_id = TEGRA20_CLK_USBD }, [all …]
|
/drivers/clk/keystone/ |
D | sci-clk.c | 62 u16 dev_id; member 87 return clk->provider->ops->get_clock(clk->provider->sci, clk->dev_id, in sci_clk_prepare() 104 ret = clk->provider->ops->put_clock(clk->provider->sci, clk->dev_id, in sci_clk_unprepare() 109 clk->dev_id, clk->clk_id, ret); in sci_clk_unprepare() 125 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id, in sci_clk_is_prepared() 131 clk->dev_id, clk->clk_id, ret); in sci_clk_is_prepared() 153 ret = clk->provider->ops->get_freq(clk->provider->sci, clk->dev_id, in sci_clk_recalc_rate() 158 clk->dev_id, clk->clk_id, ret); in sci_clk_recalc_rate() 188 clk->dev_id, in sci_clk_determine_rate() 197 clk->dev_id, clk->clk_id, ret); in sci_clk_determine_rate() [all …]
|
/drivers/pnp/ |
D | driver.c | 85 const struct pnp_device_id *dev_id = NULL; in pnp_device_probe() local 107 dev_id = match_device(pnp_drv, pnp_dev); in pnp_device_probe() 108 if (dev_id != NULL) in pnp_device_probe() 109 error = pnp_drv->probe(pnp_dev, dev_id); in pnp_device_probe() 287 struct pnp_id *dev_id, *ptr; in pnp_add_id() local 289 dev_id = kzalloc(sizeof(struct pnp_id), GFP_KERNEL); in pnp_add_id() 290 if (!dev_id) in pnp_add_id() 293 dev_id->id[0] = id[0]; in pnp_add_id() 294 dev_id->id[1] = id[1]; in pnp_add_id() 295 dev_id->id[2] = id[2]; in pnp_add_id() [all …]
|
D | card.c | 109 struct pnp_id *dev_id, *ptr; in pnp_add_card_id() local 111 dev_id = kzalloc(sizeof(struct pnp_id), GFP_KERNEL); in pnp_add_card_id() 112 if (!dev_id) in pnp_add_card_id() 115 dev_id->id[0] = id[0]; in pnp_add_card_id() 116 dev_id->id[1] = id[1]; in pnp_add_card_id() 117 dev_id->id[2] = id[2]; in pnp_add_card_id() 118 dev_id->id[3] = tolower(id[3]); in pnp_add_card_id() 119 dev_id->id[4] = tolower(id[4]); in pnp_add_card_id() 120 dev_id->id[5] = tolower(id[5]); in pnp_add_card_id() 121 dev_id->id[6] = tolower(id[6]); in pnp_add_card_id() [all …]
|
/drivers/clk/pxa/ |
D | clk-pxa25x.c | 136 #define PXA25X_CKEN(dev_id, con_id, parents, mult, div, \ argument 138 PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \ 140 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument 141 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus95_parents, mult_hp, \ 143 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\ argument 144 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus147_parents, mult_hp, \ 146 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument 147 PXA25X_CKEN(dev_id, con_id, pxa25x_osc3_parents, mult_hp, \ 150 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument 151 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ [all …]
|
D | clk-pxa27x.c | 132 #define PXA27X_CKEN(dev_id, con_id, parents, mult_hp, div_hp, \ argument 134 PXA_CKEN(dev_id, con_id, bit, parents, 1, 1, mult_hp, div_hp, \ 136 #define PXA27X_PBUS_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument 137 PXA27X_CKEN(dev_id, con_id, pxa27x_pbus_parents, mult_hp, \ 146 #define PXA27X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument 147 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ 149 #define PXA27X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument 150 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ 454 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent } 457 const char *dev_id; member [all …]
|
D | clk-pxa3xx.c | 127 #define PXA3XX_CKEN(dev_id, con_id, parents, mult_lp, div_lp, mult_hp, \ argument 129 PXA_CKEN(dev_id, con_id, bit, parents, mult_lp, div_lp, \ 132 #define PXA3XX_PBUS_CKEN(dev_id, con_id, bit, mult_lp, div_lp, \ argument 134 PXA3XX_CKEN(dev_id, con_id, pxa3xx_pbus_parents, mult_lp, \ 136 #define PXA3XX_CKEN_1RATE(dev_id, con_id, bit, parents) \ argument 137 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ 300 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent } 303 const char *dev_id; member 322 name = d->dev_id ? d->dev_id : d->con_id; in pxa3xx_dummy_clocks_init() 324 clk_register_clkdev(clk, d->con_id, d->dev_id); in pxa3xx_dummy_clocks_init()
|
/drivers/media/v4l2-core/ |
D | v4l2-clk.c | 25 static struct v4l2_clk *v4l2_clk_find(const char *dev_id) in v4l2_clk_find() argument 30 if (!strcmp(dev_id, clk->dev_id)) in v4l2_clk_find() 161 clk->dev_id)) in v4l2_clk_disable() 226 const char *dev_id, in v4l2_clk_register() argument 232 if (!ops || !dev_id) in v4l2_clk_register() 239 clk->dev_id = kstrdup(dev_id, GFP_KERNEL); in v4l2_clk_register() 240 if (!clk->dev_id) { in v4l2_clk_register() 250 if (!IS_ERR(v4l2_clk_find(dev_id))) { in v4l2_clk_register() 262 kfree(clk->dev_id); in v4l2_clk_register() 272 __func__, clk->dev_id)) in v4l2_clk_unregister() [all …]
|
/drivers/s390/cio/ |
D | device_id.c | 101 struct ccw_dev_id *dev_id = &cdev->private->dev_id; in diag210_get_dev_info() local 106 if (dev_id->ssid != 0) in diag210_get_dev_info() 109 diag_data.vrdcdvno = dev_id->devno; in diag210_get_dev_info() 123 dev_id->ssid, dev_id->devno); in diag210_get_dev_info() 127 dev_id->ssid, dev_id->devno, rc); in diag210_get_dev_info() 174 struct ccw_dev_id *id = &cdev->private->dev_id; in snsid_callback() 208 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id)); in ccw_device_sense_id_start()
|
D | device.c | 316 "0.%x.%04x\n", ret, cdev->private->dev_id.ssid, in ccw_device_set_offline() 317 cdev->private->dev_id.devno); in ccw_device_set_offline() 383 ret, cdev->private->dev_id.ssid, in ccw_device_set_online() 384 cdev->private->dev_id.devno); in ccw_device_set_online() 440 ret2, cdev->private->dev_id.ssid, in ccw_device_set_online() 441 cdev->private->dev_id.devno); in ccw_device_set_online() 649 struct ccw_dev_id *dev_id = (void *)data; in match_dev_id() local 651 return ccw_dev_id_is_equal(&cdev->private->dev_id, dev_id); in match_dev_id() 664 struct ccw_device *get_ccwdev_by_dev_id(struct ccw_dev_id *dev_id) in get_ccwdev_by_dev_id() argument 668 dev = bus_find_device(&ccw_bus_type, NULL, dev_id, match_dev_id); in get_ccwdev_by_dev_id() [all …]
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_hw.c | 236 u32 dev_id; member 481 u32 *dev_id, u32 *hw_id, u16 *fp_id) in prestera_hw_port_info_get() argument 494 *dev_id = resp.dev_id; in prestera_hw_port_info_get() 562 .dev = port->dev_id, in prestera_hw_port_state_set() 577 .dev = port->dev_id, in prestera_hw_port_mtu_set() 592 .dev = port->dev_id, in prestera_hw_port_mac_set() 607 .dev = port->dev_id, in prestera_hw_port_accept_frm_type() 623 .dev = port->dev_id, in prestera_hw_port_cap_get() 647 .dev = port->dev_id, in prestera_hw_port_remote_cap_get() 668 .dev = port->dev_id, in prestera_hw_port_remote_fc_get() [all …]
|
/drivers/irqchip/ |
D | irq-gic-v3-its-platform-msi.c | 18 u32 *dev_id) in of_pmsi_get_dev_id() argument 32 *dev_id = args.args[0]; in of_pmsi_get_dev_id() 41 int __weak iort_pmsi_get_dev_id(struct device *dev, u32 *dev_id) in iort_pmsi_get_dev_id() argument 50 u32 dev_id; in its_pmsi_prepare() local 56 ret = of_pmsi_get_dev_id(domain, dev, &dev_id); in its_pmsi_prepare() 58 ret = iort_pmsi_get_dev_id(dev, &dev_id); in its_pmsi_prepare() 63 info->scratchpad[0].ul = dev_id; in its_pmsi_prepare()
|
D | irq-ti-sci-inta.c | 120 u16 dev_id = HWIRQ_TO_DEVID(hwirq); in ti_sci_inta_get_dev_id() local 124 return dev_id; in ti_sci_inta_get_dev_id() 132 if (dev_id == inta->unmapped_dev_ids[i]) { in ti_sci_inta_get_dev_id() 133 dev_id = inta->ti_sci_id; in ti_sci_inta_get_dev_id() 138 return dev_id; in ti_sci_inta_get_dev_id() 288 u16 dev_id, dev_index; in ti_sci_inta_alloc_event() local 291 dev_id = ti_sci_inta_get_dev_id(inta, hwirq); in ti_sci_inta_alloc_event() 302 dev_id, dev_index, in ti_sci_inta_alloc_event() 392 u16 dev_id; in ti_sci_inta_free_irq() local 396 dev_id = ti_sci_inta_get_dev_id(inta, hwirq); in ti_sci_inta_free_irq() [all …]
|
/drivers/w1/masters/ |
D | sgi_w1.c | 25 char dev_id[64]; member 96 strlcpy(sdev->dev_id, pdata->dev_id, sizeof(sdev->dev_id)); in sgi_w1_probe() 97 sdev->bus_master.dev_id = sdev->dev_id; in sgi_w1_probe()
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_tgec.c | 209 void *dev_id; /* device cookie used by the exception cbs */ member 368 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_REM_FAULT); in tgec_err_exception() 370 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_LOC_FAULT); in tgec_err_exception() 372 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_TX_ECC_ER); in tgec_err_exception() 374 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_TX_FIFO_UNFL); in tgec_err_exception() 376 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_TX_FIFO_OVFL); in tgec_err_exception() 378 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_TX_ER); in tgec_err_exception() 380 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_RX_FIFO_OVFL); in tgec_err_exception() 382 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_RX_ECC_ER); in tgec_err_exception() 384 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_RX_JAB_FRM); in tgec_err_exception() [all …]
|
/drivers/pci/ |
D | irq.c | 34 irq_handler_t thread_fn, void *dev_id, const char *fmt, ...) in pci_request_irq() argument 51 irqflags, devname, dev_id); in pci_request_irq() 72 void pci_free_irq(struct pci_dev *dev, unsigned int nr, void *dev_id) in pci_free_irq() argument 74 kfree(free_irq(pci_irq_vector(dev, nr), dev_id)); in pci_free_irq()
|
/drivers/scsi/csiostor/ |
D | csio_isr.c | 45 csio_nondata_isr(int irq, void *dev_id) in csio_nondata_isr() argument 47 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_nondata_isr() 108 csio_fwevt_isr(int irq, void *dev_id) in csio_fwevt_isr() argument 110 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_fwevt_isr() 256 csio_scsi_isr(int irq, void *dev_id) in csio_scsi_isr() argument 258 struct csio_q *iq = (struct csio_q *) dev_id; in csio_scsi_isr() 302 csio_fcoe_isr(int irq, void *dev_id) in csio_fcoe_isr() argument 304 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_fcoe_isr() 411 entryp[k++].dev_id = hw; in csio_request_irqs() 421 entryp[k++].dev_id = (void *)hw; in csio_request_irqs() [all …]
|
/drivers/tty/serial/ |
D | arc_uart.c | 273 static irqreturn_t arc_serial_isr(int irq, void *dev_id) in arc_serial_isr() argument 275 struct uart_port *port = dev_id; in arc_serial_isr() 581 int dev_id; in arc_serial_probe() local 588 dev_id = of_alias_get_id(np, "serial"); in arc_serial_probe() 589 if (dev_id < 0) in arc_serial_probe() 590 dev_id = 0; in arc_serial_probe() 592 if (dev_id >= ARRAY_SIZE(arc_uart_ports)) { in arc_serial_probe() 593 dev_err(&pdev->dev, "serial%d out of range\n", dev_id); in arc_serial_probe() 597 uart = &arc_uart_ports[dev_id]; in arc_serial_probe() 623 port->line = dev_id; in arc_serial_probe() [all …]
|
/drivers/firmware/ |
D | ti_sci.c | 927 u32 dev_id, u32 clk_id, in ti_sci_set_clock_state() argument 954 req->dev_id = dev_id; in ti_sci_set_clock_state() 992 u32 dev_id, u32 clk_id, in ti_sci_cmd_get_clock_state() argument 1022 req->dev_id = dev_id; in ti_sci_cmd_get_clock_state() 1067 static int ti_sci_cmd_get_clock(const struct ti_sci_handle *handle, u32 dev_id, in ti_sci_cmd_get_clock() argument 1077 return ti_sci_set_clock_state(handle, dev_id, clk_id, flags, in ti_sci_cmd_get_clock() 1094 u32 dev_id, u32 clk_id) in ti_sci_cmd_idle_clock() argument 1096 return ti_sci_set_clock_state(handle, dev_id, clk_id, in ti_sci_cmd_idle_clock() 1114 u32 dev_id, u32 clk_id) in ti_sci_cmd_put_clock() argument 1116 return ti_sci_set_clock_state(handle, dev_id, clk_id, in ti_sci_cmd_put_clock() [all …]
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_phy.c | 131 u32 dev_id; in aq_phy_init() local 141 dev_id = aq_phy_read_reg(aq_hw, MDIO_MMD_PMAPMD, 2); in aq_phy_init() 142 dev_id <<= 16; in aq_phy_init() 143 dev_id |= aq_phy_read_reg(aq_hw, MDIO_MMD_PMAPMD, 3); in aq_phy_init() 145 if (dev_id == 0xffffffff) { in aq_phy_init()
|
/drivers/vlynq/ |
D | vlynq.c | 202 static irqreturn_t vlynq_irq(int irq, void *dev_id) in vlynq_irq() argument 204 struct vlynq_device *dev = dev_id; in vlynq_irq() 317 if (ids->id == vdev->dev_id) { in vlynq_device_match() 321 "device: %08x\n", vdev->dev_id); in vlynq_device_match() 325 " for VLYNQ device: %08x\n", ids->id, vdev->dev_id); in vlynq_device_match() 382 for (i = dev->dev_id ? vlynq_rdiv2 : vlynq_rdiv8; dev->dev_id ? in __vlynq_try_remote() 384 dev->dev_id ? i++ : i--) { in __vlynq_try_remote() 427 for (i = dev->dev_id ? vlynq_ldiv2 : vlynq_ldiv8; dev->dev_id ? in __vlynq_try_local() 429 dev->dev_id ? i++ : i--) { in __vlynq_try_local() 725 dev->dev_id = 0; in vlynq_probe() [all …]
|