/external/arm-trusted-firmware/plat/ti/k3/common/drivers/ti_sci/ |
D | ti_sci.h | 115 int ti_sci_clock_get(uint32_t dev_id, uint8_t clk_id, 118 int ti_sci_clock_idle(uint32_t dev_id, uint8_t clk_id); 119 int ti_sci_clock_put(uint32_t dev_id, uint8_t clk_id); 120 int ti_sci_clock_is_auto(uint32_t dev_id, uint8_t clk_id, 122 int ti_sci_clock_is_on(uint32_t dev_id, uint8_t clk_id, 124 int ti_sci_clock_is_off(uint32_t dev_id, uint8_t clk_id, 126 int ti_sci_clock_set_parent(uint32_t dev_id, uint8_t clk_id, 128 int ti_sci_clock_get_parent(uint32_t dev_id, uint8_t clk_id, 130 int ti_sci_clock_get_num_parents(uint32_t dev_id, uint8_t clk_id, 132 int ti_sci_clock_get_match_freq(uint32_t dev_id, uint8_t clk_id, [all …]
|
D | ti_sci.c | 633 int ti_sci_clock_set_state(uint32_t dev_id, uint8_t clk_id, in ti_sci_clock_set_state() argument 651 req.dev_id = dev_id; in ti_sci_clock_set_state() 676 int ti_sci_clock_get_state(uint32_t dev_id, uint8_t clk_id, in ti_sci_clock_get_state() argument 698 req.dev_id = dev_id; in ti_sci_clock_get_state() 728 int ti_sci_clock_get(uint32_t dev_id, uint8_t clk_id, in ti_sci_clock_get() argument 738 return ti_sci_clock_set_state(dev_id, clk_id, flags, in ti_sci_clock_get() 754 int ti_sci_clock_idle(uint32_t dev_id, uint8_t clk_id) in ti_sci_clock_idle() argument 756 return ti_sci_clock_set_state(dev_id, clk_id, 0, in ti_sci_clock_idle() 772 int ti_sci_clock_put(uint32_t dev_id, uint8_t clk_id) in ti_sci_clock_put() argument 774 return ti_sci_clock_set_state(dev_id, clk_id, 0, in ti_sci_clock_put() [all …]
|
D | ti_sci_protocol.h | 238 uint32_t dev_id; member 259 uint32_t dev_id; member 297 uint32_t dev_id; member 314 uint32_t dev_id; member 345 uint32_t dev_id; member 385 uint32_t dev_id; member 441 uint32_t dev_id; member 462 uint32_t dev_id; member
|
/external/u-boot/drivers/tee/optee/ |
D | rpmb.c | 25 u16 dev_id; member 59 static struct mmc *get_mmc(struct optee_private *priv, int dev_id) in get_mmc() argument 64 if (priv->rpmb_mmc && priv->rpmb_dev_id == dev_id) in get_mmc() 69 mmc = find_mmc_device(dev_id); in get_mmc() 75 debug("Device id %d is not an eMMC device\n", dev_id); in get_mmc() 80 dev_id); in get_mmc() 86 rc = blk_select_hwpart_devnum(IF_TYPE_MMC, dev_id, MMC_PART_RPMB); in get_mmc() 89 dev_id, rc); in get_mmc() 94 priv->rpmb_dev_id = dev_id; in get_mmc() 98 static u32 rpmb_get_dev_info(u16 dev_id, struct rpmb_dev_info *info) in rpmb_get_dev_info() argument [all …]
|
/external/u-boot/drivers/mtd/ |
D | jedec_flash.c | 144 const __u16 dev_id; member 168 .dev_id = SST39LF020, 184 .dev_id = AM29LV040B, 198 .dev_id = SST39LF040, 212 .dev_id = STM_ID_M29W040B, 226 .dev_id = MX29LV040, 240 .dev_id = W39L040A, 254 .dev_id = A29L040, 268 .dev_id = EN29LV040A, 284 .dev_id = AM29F400BB, [all …]
|
/external/adhd/cras/src/tests/ |
D | rstream_stub.cc | 27 unsigned int dev_id, in rstream_stub_dev_offset() argument 32 new_data.dev_offset[dev_id] = offset; in rstream_stub_dev_offset() 35 data->second.dev_offset[dev_id] = offset; in rstream_stub_dev_offset() 56 unsigned int dev_id, in cras_rstream_dev_attach() argument 60 unsigned int dev_id) {} in cras_rstream_dev_detach() argument 63 unsigned int dev_id) { in cras_rstream_dev_offset() argument 66 return elem->second.dev_offset[dev_id]; in cras_rstream_dev_offset() 72 unsigned int dev_id) {} in cras_rstream_dev_offset_update() argument 75 unsigned int dev_id) { in cras_rstream_playable_frames() argument
|
D | dev_stream_unittest.cc | 534 unsigned int dev_id = 9; in TEST_F() local 538 rstream_.master_dev.dev_id = 4; in TEST_F() 540 dev_stream = dev_stream_create(&rstream_, dev_id, &fmt_s16le_44_1, in TEST_F() 562 unsigned int dev_id = 9; in TEST_F() local 567 rstream_.master_dev.dev_id = dev_id; in TEST_F() 569 dev_stream = dev_stream_create(&rstream_, dev_id, &fmt_s16le_44_1, in TEST_F() 661 unsigned int dev_id = 9; in TEST_F() local 663 dev_stream = dev_stream_create(&rstream_, dev_id, &fmt_s16le_44_1, in TEST_F() 673 unsigned int dev_id = 9; in TEST_F() local 675 dev_stream = dev_stream_create(&rstream_, dev_id, &fmt_s16le_44_1, in TEST_F() [all …]
|
/external/u-boot/arch/x86/cpu/intel_common/ |
D | report_platform.c | 42 u16 dev_id; member 70 u16 dev_id; in report_pch_info() local 73 dm_pci_read_config16(dev, 2, &dev_id); in report_pch_info() 75 if (pch_table[i].dev_id == dev_id) { in report_pch_info() 81 debug("PCH type: %s, device id: %x, rev id %x\n", pch_type, dev_id, in report_pch_info()
|
/external/adhd/cras/src/server/ |
D | cras_rstream.c | 305 stream->master_dev.dev_id = NO_DEVICE; in cras_rstream_create() 438 void cras_rstream_dev_attach(struct cras_rstream *rstream, unsigned int dev_id, in cras_rstream_dev_attach() argument 441 if (buffer_share_add_id(rstream->buf_state, dev_id, dev_ptr) == 0) in cras_rstream_dev_attach() 447 if (rstream->master_dev.dev_id == NO_DEVICE) { in cras_rstream_dev_attach() 448 rstream->master_dev.dev_id = dev_id; in cras_rstream_dev_attach() 453 void cras_rstream_dev_detach(struct cras_rstream *rstream, unsigned int dev_id) in cras_rstream_dev_detach() argument 455 if (buffer_share_rm_id(rstream->buf_state, dev_id) == 0) in cras_rstream_dev_detach() 458 if (rstream->master_dev.dev_id == dev_id) { in cras_rstream_dev_detach() 463 rstream->master_dev.dev_id = NO_DEVICE; in cras_rstream_dev_detach() 468 rstream->master_dev.dev_id = o->id; in cras_rstream_dev_detach() [all …]
|
D | dev_stream.c | 64 unsigned int dev_id, in dev_stream_create() argument 75 out->dev_id = dev_id; in dev_stream_create() 126 cras_rstream_dev_attach(stream, dev_id, dev_ptr); in dev_stream_create() 133 cras_rstream_dev_detach(dev_stream->stream, dev_stream->dev_id); in dev_stream_destroy() 146 if (dev_stream->dev_id == dev_stream->stream->master_dev.dev_id) { in dev_stream_set_dev_rate() 183 buffer_offset = cras_rstream_dev_offset(rstream, dev_stream->dev_id); in dev_stream_mix() 215 cras_rstream_dev_offset_update(rstream, fr_read, dev_stream->dev_id); in dev_stream_mix() 284 offset = cras_rstream_dev_offset(rstream, dev_stream->dev_id); in capture_copy_converted_to_stream() 317 dev_stream->dev_id); in capture_copy_converted_to_stream() 318 offset = cras_rstream_dev_offset(rstream, dev_stream->dev_id); in capture_copy_converted_to_stream() [all …]
|
D | cras_rstream.h | 26 int dev_id; member 333 void cras_rstream_dev_attach(struct cras_rstream *rstream, unsigned int dev_id, 335 void cras_rstream_dev_detach(struct cras_rstream *rstream, unsigned int dev_id); 339 unsigned int frames, unsigned int dev_id); 345 unsigned int dev_id); 366 unsigned int dev_id);
|
/external/u-boot/drivers/mmc/ |
D | s5p_sdhci.c | 123 int dev_id, flag, ret; in do_sdhci_init() local 126 dev_id = host->index + PERIPH_ID_SDMMC0; in do_sdhci_init() 128 ret = exynos_pinmux_config(dev_id, flag); in do_sdhci_init() 136 ret = exynos_pinmux_config(dev_id, flag); in do_sdhci_init() 156 int bus_width, dev_id; in sdhci_get_config() local 160 dev_id = pinmux_decode_periph_id(blob, node); in sdhci_get_config() 161 if (dev_id < PERIPH_ID_SDMMC0 || dev_id > PERIPH_ID_SDMMC3) { in sdhci_get_config() 165 host->index = dev_id - PERIPH_ID_SDMMC0; in sdhci_get_config()
|
/external/autotest/client/site_tests/audio_CrasDevSwitchStress/ |
D | audio_CrasDevSwitchStress.py | 72 dev_id = node_pinned['Id'] >> 32 75 cmd += ['--pin_device', str(dev_id)] 77 cmd += ['--pin_device', str(dev_id)] 81 def _get_buffer_level(self, match_str, dev_id): argument 99 if dev_id != int(search.group(1)): 115 dev_id = node['Id'] >> 32 116 buffer_level = self._get_buffer_level(match_str, dev_id) 118 logging.debug("Max buffer level: %d on dev %d", buffer_level, dev_id) 124 (buffer_level, node['Type'], dev_id))
|
/external/u-boot/drivers/remoteproc/ |
D | ti_sci_proc.h | 29 u16 dev_id; member 127 debug("%s: dev_id = %d\n", __func__, tsp->dev_id); in ti_sci_proc_power_domain_on() 129 ret = tsp->sci->ops.dev_ops.get_device_exclusive(tsp->sci, tsp->dev_id); in ti_sci_proc_power_domain_on() 131 pr_err("Power-domain on failed for dev = %d\n", tsp->dev_id); in ti_sci_proc_power_domain_on() 140 debug("%s: dev_id = %d\n", __func__, tsp->dev_id); in ti_sci_proc_power_domain_off() 142 ret = tsp->sci->ops.dev_ops.put_device(tsp->sci, tsp->dev_id); in ti_sci_proc_power_domain_off() 144 pr_err("Power-domain off failed for dev = %d\n", tsp->dev_id); in ti_sci_proc_power_domain_off()
|
/external/u-boot/include/ |
D | libata.h | 579 static inline int ata_drive_40wire(const u16 *dev_id) in ata_drive_40wire() argument 581 if (ata_id_is_sata(dev_id)) in ata_drive_40wire() 583 if ((dev_id[93] & 0xE000) == 0x6000) in ata_drive_40wire() 588 static inline int ata_drive_40wire_relaxed(const u16 *dev_id) in ata_drive_40wire_relaxed() argument 590 if ((dev_id[93] & 0x2000) == 0x2000) in ata_drive_40wire_relaxed() 595 static inline int atapi_cdb_len(const u16 *dev_id) in atapi_cdb_len() argument 597 u16 tmp = dev_id[0] & 0x3; in atapi_cdb_len() 605 static inline int atapi_command_packet_set(const u16 *dev_id) in atapi_command_packet_set() argument 607 return (dev_id[0] >> 8) & 0x1f; in atapi_command_packet_set() 610 static inline int atapi_id_dmadir(const u16 *dev_id) in atapi_id_dmadir() argument [all …]
|
/external/u-boot/arch/arm/mach-at91/include/mach/ |
D | clk.h | 74 static inline unsigned long get_macb_pclk_rate(unsigned int dev_id) in get_macb_pclk_rate() argument 82 static inline unsigned long get_usart_clk_rate(unsigned int dev_id) in get_usart_clk_rate() argument 90 static inline unsigned long get_lcdc_clk_rate(unsigned int dev_id) in get_lcdc_clk_rate() argument 95 static inline unsigned long get_spi_clk_rate(unsigned int dev_id) in get_spi_clk_rate() argument 103 static inline unsigned long get_twi_clk_rate(unsigned int dev_id) in get_twi_clk_rate() argument
|
/external/u-boot/drivers/firmware/ |
D | ti_sci.c | 47 u32 dev_id; member 949 u32 dev_id, u8 clk_id, in ti_sci_set_clock_state() argument 973 req.dev_id = dev_id; in ti_sci_set_clock_state() 1004 u32 dev_id, u8 clk_id, in ti_sci_cmd_get_clock_state() argument 1031 req.dev_id = dev_id; in ti_sci_cmd_get_clock_state() 1066 static int ti_sci_cmd_get_clock(const struct ti_sci_handle *handle, u32 dev_id, in ti_sci_cmd_get_clock() argument 1076 return ti_sci_set_clock_state(handle, dev_id, clk_id, flags, in ti_sci_cmd_get_clock() 1093 u32 dev_id, u8 clk_id) in ti_sci_cmd_idle_clock() argument 1095 return ti_sci_set_clock_state(handle, dev_id, clk_id, 0, in ti_sci_cmd_idle_clock() 1112 u32 dev_id, u8 clk_id) in ti_sci_cmd_put_clock() argument [all …]
|
/external/libpcap/ |
D | pcap-bt-linux.c | 69 int dev_id; /* device ID of device we're bound to */ member 114 pcap_snprintf(dev_name, 20, BT_IFACE"%d", dev_req->dev_id); in bt_findalldevs() 189 int dev_id; in bt_activate() local 194 if (sscanf(handle->opt.device, BT_IFACE"%d", &dev_id) != 1) in bt_activate() 225 handlep->dev_id = dev_id; in bt_activate() 270 addr.hci_dev = handlep->dev_id; in bt_activate() 276 errno, "Can't attach to device %d", handlep->dev_id); in bt_activate() 395 dev_info.dev_id = handlep->dev_id; in bt_stats_linux()
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | lsusb.py | 19 def _lsusbv_on_device(bus_id, dev_id): argument 22 ['lsusb', '-v', '-s', '%s:%s' % (bus_id, dev_id)], timeout=10) 24 device = {'bus': bus_id, 'device': dev_id} 90 if m.group(2) != dev_id: 92 'Expected dev_id value: %r, seen %r', dev_id, m.group(2))
|
/external/u-boot/drivers/misc/ |
D | k3_avs.c | 42 int dev_id; member 187 int k3_avs_notify_freq(int dev_id, int clk_id, u32 freq) in k3_avs_notify_freq() argument 194 if (vd->dev_id != dev_id || vd->clk_id != clk_id) in k3_avs_notify_freq() 297 .dev_id = 82, /* AM6_DEV_CBASS0 */ 309 .dev_id = 202, /* AM6_DEV_COMPUTE_CLUSTER_A53_0 */ 330 .dev_id = 204, /* AM6_DEV_COMPUTE_CLUSTER_A53_2 */ 354 .dev_id = 202, /* J721E_DEV_A72SS0_CORE0 */
|
/external/u-boot/board/freescale/common/ |
D | idt8t49n222a_serdes_clk.c | 37 u8 dev_id = 0; in set_serdes_refclk() local 43 ret = i2c_read(idt_addr, DEVICE_ID_REG, 1, &dev_id, 1); in set_serdes_refclk() 50 if ((dev_id != 0x00) && (dev_id != 0x24) && (dev_id != 0x2a)) { in set_serdes_refclk()
|
/external/u-boot/drivers/net/ |
D | fec_mxc.c | 400 static int fec_get_hwaddr(int dev_id, unsigned char *mac) in fec_get_hwaddr() argument 402 imx_get_mac_from_fuse(dev_id, mac); in fec_get_hwaddr() 983 static void fec_set_dev_name(char *dest, int dev_id) in fec_set_dev_name() argument 985 sprintf(dest, (dev_id == -1) ? "FEC" : "FEC%i", dev_id); in fec_set_dev_name() 1063 struct mii_dev *fec_get_miibus(ulong base_addr, int dev_id) in fec_get_miibus() argument 1077 fec_set_dev_name(bus->name, dev_id); in fec_get_miibus() 1091 int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr, in fec_probe() argument 1094 static int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr, in fec_probe() 1151 fec_set_dev_name(edev->name, dev_id); in fec_probe() 1152 fec->dev_id = (dev_id == -1) ? 0 : dev_id; in fec_probe() [all …]
|
/external/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
D | mxs.c | 223 __weak void mx28_adjust_mac(int dev_id, unsigned char *mac) in mx28_adjust_mac() argument 228 if (dev_id == 1) /* Let MAC1 be MAC0 + 1 by default */ in mx28_adjust_mac() 235 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument 257 mx28_adjust_mac(dev_id, mac); in imx_get_mac_from_fuse() 260 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument
|
/external/u-boot/drivers/net/pfe_eth/ |
D | pfe_mdio.c | 208 int pfe_phy_configure(struct pfe_eth_dev *priv, int dev_id, int phy_id) in pfe_phy_configure() argument 279 void pfe_set_mdio(int dev_id, struct mii_dev *bus) in pfe_set_mdio() argument 281 gem_info[dev_id].bus = bus; in pfe_set_mdio() 284 void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode) in pfe_set_phy_address_mode() argument 286 gem_info[dev_id].phy_address = phy_id; in pfe_set_phy_address_mode() 287 gem_info[dev_id].phy_mode = phy_mode; in pfe_set_phy_address_mode()
|
/external/crosvm/devices/src/virtio/input/ |
D | evdev.rs | 116 let mut dev_id = evdev_id::new(); in device_ids() localVariable 120 ioctl_with_mut_ref(fd, EVIOCGID(), &mut dev_id) in device_ids() 126 dev_id.bustype, in device_ids() 127 dev_id.vendor, in device_ids() 128 dev_id.product, in device_ids() 129 dev_id.version, in device_ids()
|