/external/u-boot/drivers/mtd/ |
D | jedec_flash.c | 145 const __u16 dev_id; member 169 .dev_id = SST39LF020, 185 .dev_id = AM29LV040B, 199 .dev_id = SST39LF040, 213 .dev_id = STM_ID_M29W040B, 227 .dev_id = MX29LV040, 241 .dev_id = W39L040A, 255 .dev_id = A29L040, 269 .dev_id = EN29LV040A, 285 .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() 58 unsigned int dev_id, in cras_rstream_dev_attach() argument 62 void cras_rstream_dev_detach(struct cras_rstream *rstream, unsigned int dev_id) { in cras_rstream_dev_detach() argument 66 unsigned int dev_id) { in cras_rstream_dev_offset() argument 69 return elem->second.dev_offset[dev_id]; in cras_rstream_dev_offset() 75 unsigned int dev_id) { in cras_rstream_dev_offset_update() argument 79 unsigned int dev_id) { in cras_rstream_playable_frames() argument
|
D | dev_stream_unittest.cc | 518 unsigned int dev_id = 9; in TEST_F() local 522 rstream_.master_dev.dev_id = 4; in TEST_F() 525 dev_stream = dev_stream_create(&rstream_, dev_id, &fmt_s16le_44_1, in TEST_F() 547 unsigned int dev_id = 9; in TEST_F() local 552 rstream_.master_dev.dev_id = dev_id; in TEST_F() 555 dev_stream = dev_stream_create(&rstream_, dev_id, &fmt_s16le_44_1, in TEST_F() 647 unsigned int dev_id = 9; in TEST_F() local 649 dev_stream = dev_stream_create(&rstream_, dev_id, &fmt_s16le_44_1, in TEST_F() 659 unsigned int dev_id = 9; in TEST_F() local 661 dev_stream = dev_stream_create(&rstream_, dev_id, &fmt_s16le_44_1, in TEST_F() [all …]
|
/external/adhd/cras/src/server/ |
D | cras_rstream.c | 239 stream->master_dev.dev_id = NO_DEVICE; in cras_rstream_create() 371 unsigned int dev_id, in cras_rstream_dev_attach() argument 374 if (buffer_share_add_id(rstream->buf_state, dev_id, dev_ptr) == 0) in cras_rstream_dev_attach() 380 if (rstream->master_dev.dev_id == NO_DEVICE) { in cras_rstream_dev_attach() 381 rstream->master_dev.dev_id = dev_id; in cras_rstream_dev_attach() 386 void cras_rstream_dev_detach(struct cras_rstream *rstream, unsigned int dev_id) in cras_rstream_dev_detach() argument 388 if (buffer_share_rm_id(rstream->buf_state, dev_id) == 0) in cras_rstream_dev_detach() 391 if (rstream->master_dev.dev_id == dev_id) { in cras_rstream_dev_detach() 396 rstream->master_dev.dev_id = NO_DEVICE; in cras_rstream_dev_detach() 401 rstream->master_dev.dev_id = o->id; in cras_rstream_dev_detach() [all …]
|
D | dev_stream.c | 68 unsigned int dev_id, in dev_stream_create() argument 80 out->dev_id = dev_id; in dev_stream_create() 145 cras_rstream_dev_attach(stream, dev_id, dev_ptr); in dev_stream_create() 152 cras_rstream_dev_detach(dev_stream->stream, dev_stream->dev_id); in dev_stream_destroy() 167 if (dev_stream->dev_id == dev_stream->stream->master_dev.dev_id) { in dev_stream_set_dev_rate() 210 buffer_offset = cras_rstream_dev_offset(rstream, dev_stream->dev_id); in dev_stream_mix() 244 cras_rstream_dev_offset_update(rstream, fr_read, dev_stream->dev_id); in dev_stream_mix() 317 offset = cras_rstream_dev_offset(rstream, dev_stream->dev_id); in capture_copy_converted_to_stream() 358 dev_stream->dev_id); in capture_copy_converted_to_stream() 359 offset = cras_rstream_dev_offset(rstream, dev_stream->dev_id); in capture_copy_converted_to_stream() [all …]
|
D | cras_rstream.h | 36 int dev_id; member 293 unsigned int dev_id, 295 void cras_rstream_dev_detach(struct cras_rstream *rstream, unsigned int dev_id); 300 unsigned int dev_id); 306 unsigned int dev_id); 327 unsigned int dev_id);
|
/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/u-boot/drivers/mmc/ |
D | s5p_sdhci.c | 126 int dev_id, flag, ret; in do_sdhci_init() local 129 dev_id = host->index + PERIPH_ID_SDMMC0; in do_sdhci_init() 131 ret = exynos_pinmux_config(dev_id, flag); in do_sdhci_init() 139 ret = exynos_pinmux_config(dev_id, flag); in do_sdhci_init() 159 int bus_width, dev_id; in sdhci_get_config() local 163 dev_id = pinmux_decode_periph_id(blob, node); in sdhci_get_config() 164 if (dev_id < PERIPH_ID_SDMMC0 || dev_id > PERIPH_ID_SDMMC3) { in sdhci_get_config() 168 host->index = dev_id - PERIPH_ID_SDMMC0; in sdhci_get_config()
|
/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/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/u-boot/drivers/net/ |
D | fec_mxc.c | 351 static int fec_get_hwaddr(int dev_id, unsigned char *mac) in fec_get_hwaddr() argument 353 imx_get_mac_from_fuse(dev_id, mac); in fec_get_hwaddr() 934 static void fec_set_dev_name(char *dest, int dev_id) in fec_set_dev_name() argument 936 sprintf(dest, (dev_id == -1) ? "FEC" : "FEC%i", dev_id); in fec_set_dev_name() 1014 struct mii_dev *fec_get_miibus(ulong base_addr, int dev_id) in fec_get_miibus() argument 1028 fec_set_dev_name(bus->name, dev_id); in fec_get_miibus() 1042 int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr, in fec_probe() argument 1045 static int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr, in fec_probe() 1102 fec_set_dev_name(edev->name, dev_id); in fec_probe() 1103 fec->dev_id = (dev_id == -1) ? 0 : dev_id; in fec_probe() [all …]
|
/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/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/arch/arm/cpu/arm926ejs/mxs/ |
D | mxs.c | 233 __weak void mx28_adjust_mac(int dev_id, unsigned char *mac) in mx28_adjust_mac() argument 238 if (dev_id == 1) /* Let MAC1 be MAC0 + 1 by default */ in mx28_adjust_mac() 245 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument 267 mx28_adjust_mac(dev_id, mac); in imx_get_mac_from_fuse() 270 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument
|
/external/nos/test/system-test-harness/src/ |
D | keymaster-provision-tests.cc | 777 std::vector<uint8_t> dev_id; in TEST_F() local 781 dev_id.reserve(32); in TEST_F() 783 retval = app.Call(NUGGET_PARAM_DEVICE_ID, dev_id, &dev_id); in TEST_F() 787 if (std::string(reinterpret_cast<const char *>(dev_id.data()), in TEST_F() 788 dev_id.size() -1) != string("adacb483:0100b022")) { in TEST_F()
|
/external/u-boot/drivers/net/pfe_eth/ |
D | pfe_mdio.c | 210 int pfe_phy_configure(struct pfe_eth_dev *priv, int dev_id, int phy_id) in pfe_phy_configure() argument 281 void pfe_set_mdio(int dev_id, struct mii_dev *bus) in pfe_set_mdio() argument 283 gem_info[dev_id].bus = bus; in pfe_set_mdio() 286 void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode) in pfe_set_phy_address_mode() argument 288 gem_info[dev_id].phy_address = phy_id; in pfe_set_phy_address_mode() 289 gem_info[dev_id].phy_mode = phy_mode; in pfe_set_phy_address_mode()
|
/external/u-boot/drivers/mtd/nand/ |
D | zynq_nand.c | 1054 u8 maf_id, dev_id, i; in zynq_nand_init() local 1119 dev_id = nand_chip->read_byte(mtd); in zynq_nand_init() 1121 if ((maf_id == 0x2c) && ((dev_id == 0xf1) || in zynq_nand_init() 1122 (dev_id == 0xa1) || (dev_id == 0xb1) || in zynq_nand_init() 1123 (dev_id == 0xaa) || (dev_id == 0xba) || in zynq_nand_init() 1124 (dev_id == 0xda) || (dev_id == 0xca) || in zynq_nand_init() 1125 (dev_id == 0xac) || (dev_id == 0xbc) || in zynq_nand_init() 1126 (dev_id == 0xdc) || (dev_id == 0xcc) || in zynq_nand_init() 1127 (dev_id == 0xa3) || (dev_id == 0xb3) || in zynq_nand_init() 1128 (dev_id == 0xd3) || (dev_id == 0xc3))) { in zynq_nand_init()
|
D | arasan_nfc.c | 1093 u8 maf_id, dev_id; in arasan_check_ondie() local 1104 dev_id = nand_chip->read_byte(mtd); in arasan_check_ondie() 1107 ((dev_id == 0xf1) || (dev_id == 0xa1) || (dev_id == 0xb1) || in arasan_check_ondie() 1108 (dev_id == 0xaa) || (dev_id == 0xba) || (dev_id == 0xda) || in arasan_check_ondie() 1109 (dev_id == 0xca) || (dev_id == 0xac) || (dev_id == 0xbc) || in arasan_check_ondie() 1110 (dev_id == 0xdc) || (dev_id == 0xcc) || (dev_id == 0xa3) || in arasan_check_ondie() 1111 (dev_id == 0xb3) || (dev_id == 0xd3) || (dev_id == 0xc3))) { in arasan_check_ondie()
|
/external/u-boot/drivers/mtd/onenand/ |
D | onenand_spl.c | 61 unsigned int dev_id, density, size; in onenand_spl_get_geometry() local 64 dev_id = onenand_readw(ONENAND_REG_DEVICE_ID); in onenand_spl_get_geometry() 65 density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT; in onenand_spl_get_geometry() 71 if (dev_id & ONENAND_DEVICE_IS_DDP) { in onenand_spl_get_geometry()
|
/external/u-boot/board/freescale/mx6sllevk/ |
D | mx6sllevk.c | 55 u32 dev_id, rev_id, i; in power_init_board() local 66 dev_id = pmic_reg_read(dev, PFUZE100_DEVICEID); in power_init_board() 68 printf("PMIC: PFUZE100! DEV_ID=0x%x REV_ID=0x%x\n", dev_id, rev_id); in power_init_board()
|
/external/u-boot/board/theadorable/ |
D | theadorable.c | 301 u16 ven_id, dev_id; in do_pcie_test() local 307 dev_id = simple_strtoul(argv[2], NULL, 16); in do_pcie_test() 310 ven_id, dev_id); in do_pcie_test() 316 bdf = pci_find_device(ven_id, dev_id, 0); in do_pcie_test()
|
/external/u-boot/include/net/pfe_eth/ |
D | pfe_eth.h | 97 void pfe_set_mdio(int dev_id, struct mii_dev *bus); 98 void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode); 99 int gemac_initialize(bd_t *bis, int dev_id, char *devname);
|
/external/u-boot/board/technologic/ts4800/ |
D | ts4800.c | 192 int dev_id = -1; in board_eth_init() local 209 debug("eth_init: fec_probe(bd, %i, %i) @ %08x\n", dev_id, phy_id, addr); in board_eth_init() 210 bus = fec_get_miibus(base_mii, dev_id); in board_eth_init() 223 ret = fec_probe(bd, dev_id, addr, bus, phydev); in board_eth_init()
|
/external/u-boot/arch/arm/mach-mvebu/serdes/a38x/ |
D | ctrl_pex.c | 23 temp_reg, addr, dev_id, ctrl_mode; in hws_pex_config() local 215 dev_id = reg_read(PEX_CFG_DIRECT_ACCESS in hws_pex_config() 217 dev_id &= 0xffff; in hws_pex_config() 218 dev_id |= ((ctrl_mode << 16) & 0xffff0000); in hws_pex_config() 220 (pex_idx, PEX_DEVICE_AND_VENDOR_ID), dev_id); in hws_pex_config()
|