/external/u-boot/common/ |
D | miiphyutil.c | 38 struct mii_dev *miiphy_get_dev_by_name(const char *devname) in miiphy_get_dev_by_name() argument 43 if (!devname) { in miiphy_get_dev_by_name() 50 if (strcmp(dev->name, devname) == 0) in miiphy_get_dev_by_name() 160 int miiphy_set_current_dev(const char *devname) in miiphy_set_current_dev() argument 164 dev = miiphy_get_dev_by_name(devname); in miiphy_set_current_dev() 170 printf("No such device: %s\n", devname); in miiphy_set_current_dev() 210 static struct mii_dev *miiphy_get_active_dev(const char *devname) in miiphy_get_active_dev() argument 214 if (strcmp(current_mii->name, devname) == 0) in miiphy_get_active_dev() 218 if (miiphy_set_current_dev(devname)) in miiphy_get_active_dev() 234 int miiphy_read(const char *devname, unsigned char addr, unsigned char reg, in miiphy_read() argument [all …]
|
/external/u-boot/drivers/net/phy/ |
D | mv88e6352.c | 32 static int sw_wait_rdy(const char *devname, u8 phy_addr) in sw_wait_rdy() argument 41 ret = miiphy_read(devname, phy_addr, COMMAND_REG, &command); in sw_wait_rdy() 56 static int sw_reg_read(const char *devname, u8 phy_addr, u8 port, in sw_reg_read() argument 62 ret = sw_wait_rdy(devname, phy_addr); in sw_reg_read() 69 ret = miiphy_write(devname, phy_addr, COMMAND_REG, command); in sw_reg_read() 73 ret = sw_wait_rdy(devname, phy_addr); in sw_reg_read() 77 ret = miiphy_read(devname, phy_addr, DATA_REG, data); in sw_reg_read() 82 static int sw_reg_write(const char *devname, u8 phy_addr, u8 port, in sw_reg_write() argument 88 ret = sw_wait_rdy(devname, phy_addr); in sw_reg_write() 93 ret = miiphy_write(devname, phy_addr, DATA_REG, data); in sw_reg_write() [all …]
|
/external/u-boot/include/ |
D | miiphy.h | 23 int miiphy_read(const char *devname, unsigned char addr, unsigned char reg, 25 int miiphy_write(const char *devname, unsigned char addr, unsigned char reg, 27 int miiphy_info(const char *devname, unsigned char addr, unsigned int *oui, 29 int miiphy_reset(const char *devname, unsigned char addr); 30 int miiphy_speed(const char *devname, unsigned char addr); 31 int miiphy_duplex(const char *devname, unsigned char addr); 32 int miiphy_is_1000base_x(const char *devname, unsigned char addr); 34 int miiphy_link(const char *devname, unsigned char addr); 39 int miiphy_set_current_dev(const char *devname); 42 struct mii_dev *miiphy_get_dev_by_name(const char *devname); [all …]
|
/external/e2fsprogs/lib/blkid/ |
D | devno.c | 98 char **devname) in blkid__scan_dir() argument 123 *devname = blkid_strdup(path); in blkid__scan_dir() 126 path, *devname)); in blkid__scan_dir() 148 char *devname = NULL; in blkid_devno_to_devname() local 163 blkid__scan_dir(current->name, devno, &new_list, &devname); in blkid_devno_to_devname() 166 if (devname) in blkid_devno_to_devname() 180 if (!devname) { in blkid_devno_to_devname() 186 printf("found devno 0x%04llx as %s\n", (long long)devno, devname)); in blkid_devno_to_devname() 190 return devname; in blkid_devno_to_devname() 196 char *devname, *tmp; in main() local [all …]
|
D | devname.c | 52 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags) in blkid_get_dev() argument 57 if (!cache || !devname) in blkid_get_dev() 62 if (strcmp(tmp->bid_name, devname)) in blkid_get_dev() 72 if (access(devname, F_OK) < 0) in blkid_get_dev() 78 dev->bid_name = blkid_strdup(devname); in blkid_get_dev() 125 static int is_dm_leaf(const char *devname) in is_dm_leaf() argument 136 !strcmp(de->d_name, devname) || in is_dm_leaf() 144 if (!strcmp(d_de->d_name, devname)) { in is_dm_leaf() 190 char *devname = NULL; in probe_one() local 212 devname = get_dm_name(ptname); in probe_one() [all …]
|
D | resolve.c | 29 const char *devname) in blkid_get_tag_value() argument 36 DBG(DEBUG_RESOLVE, printf("looking for %s on %s\n", tagname, devname)); in blkid_get_tag_value() 38 if (!devname) in blkid_get_tag_value() 46 if ((dev = blkid_get_dev(c, devname, BLKID_DEV_NORMAL)) && in blkid_get_tag_value()
|
/external/kmod/tools/ |
D | static-nodes.c | 62 static int write_human(FILE *out, char modname[], char devname[], char type, unsigned int maj, unsi… in write_human() argument 72 modname, devname, in write_human() 86 static int write_tmpfiles(FILE *out, char modname[], char devname[], char type, unsigned int maj, u… in write_tmpfiles() argument 91 dir = strrchr(devname, '/'); in write_tmpfiles() 94 (int)(dir - devname), devname); in write_tmpfiles() 100 type, devname, maj, min); in write_tmpfiles() 113 static int write_devname(FILE *out, char modname[], char devname[], char type, unsigned int maj, un… in write_devname() argument 117 ret = fprintf(out, "%s %s %c%u:%u\n", modname, devname, type, maj, min); in write_devname() 246 char devname[PATH_MAX]; in do_static_nodes() local 254 matches = sscanf(buf, "%s %s %c%u:%u", modname, devname, in do_static_nodes() [all …]
|
/external/u-boot/board/compulab/cl-som-am57x/ |
D | eth.c | 133 const char *devname; in cl_som_am57x_rgmii_clk_delay() local 135 devname = miiphy_get_current_dev(); in cl_som_am57x_rgmii_clk_delay() 137 miiphy_write(devname, CL_SOM_AM57X_PHY_ADDR2, AR8033_PHY_DEBUG_ADDR_REG, in cl_som_am57x_rgmii_clk_delay() 139 miiphy_read(devname, CL_SOM_AM57X_PHY_ADDR2, AR8033_PHY_DEBUG_DATA_REG, in cl_som_am57x_rgmii_clk_delay() 142 miiphy_write(devname, CL_SOM_AM57X_PHY_ADDR2, AR8033_PHY_DEBUG_DATA_REG, in cl_som_am57x_rgmii_clk_delay() 145 miiphy_write(devname, CL_SOM_AM57X_PHY_ADDR2, AR8033_PHY_DEBUG_ADDR_REG, in cl_som_am57x_rgmii_clk_delay() 147 miiphy_read(devname, CL_SOM_AM57X_PHY_ADDR2, AR8033_PHY_DEBUG_DATA_REG, in cl_som_am57x_rgmii_clk_delay() 150 miiphy_write(devname, CL_SOM_AM57X_PHY_ADDR2, AR8033_PHY_DEBUG_DATA_REG, in cl_som_am57x_rgmii_clk_delay()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/ |
D | DumpArchiveSummary.java | 40 private String devname; field in DumpArchiveSummary 53 … devname = DumpArchiveUtil.decode(encoding, buffer, 760, DumpArchiveConstants.NAMELEN).trim(); in DumpArchiveSummary() 168 return devname; in getDevname() 175 public void setDevname(final String devname) { in setDevname() argument 176 this.devname = devname; in setDevname() 302 if (devname != null) { in hashCode() 303 hash = (31 * devname.hashCode()) + 17; in hashCode()
|
/external/u-boot/board/gumstix/pepper/ |
D | board.c | 239 const char *devname; in board_eth_init() local 270 devname = miiphy_get_current_dev(); in board_eth_init() 272 miiphy_write(devname, 0x0, 0x0b, 0x8104); in board_eth_init() 273 miiphy_write(devname, 0x0, 0xc, 0xa0a0); in board_eth_init() 276 miiphy_write(devname, 0x0, 0x0b, 0x8105); in board_eth_init() 277 miiphy_write(devname, 0x0, 0x0c, 0x0000); in board_eth_init() 280 miiphy_write(devname, 0x0, 0x0b, 0x8106); in board_eth_init() 281 miiphy_write(devname, 0x0, 0x0c, 0x0000); in board_eth_init()
|
/external/u-boot/cmd/ |
D | mii.c | 277 const char *devname; in do_mii() local 322 devname = miiphy_get_current_dev(); in do_mii() 343 if (miiphy_info (devname, j, &oui, &model, &rev) == 0) { in do_mii() 350 miiphy_speed (devname, j), in do_mii() 351 miiphy_is_1000base_x (devname, j) in do_mii() 353 (miiphy_duplex (devname, j) == FULL) in do_mii() 361 if (miiphy_read (devname, addr, reg, &data) != 0) { in do_mii() 379 if (miiphy_write (devname, addr, reg, data) != 0) { in do_mii() 390 if (miiphy_read(devname, addr, in do_mii() 398 if (miiphy_write(devname, addr, in do_mii() [all …]
|
/external/blktrace/ |
D | blkrawverify.c | 122 static int process(FILE **fp, char *devname, char *file, unsigned int cpu) in process() argument 160 sprintf(ofname, "%s.verify.out", devname); in process() 171 fprintf(*fp, "Verifying %s\n", devname); in process() 280 char *devname; in main() local 294 devname = argv[i]; in main() 295 sprintf(ofname, "%s.verify.out", devname); in main() 298 printf("Verifying %s\n", devname); fflush(stdout); in main() 300 sprintf(fname, "%s.blktrace.%d", devname, cpu); in main() 304 devname); in main() 310 nbad = process(&ofp, devname, fname, cpu); in main()
|
/external/u-boot/board/egnite/ethernut5/ |
D | ethernut5.c | 151 const char *devname; in board_eth_init() local 168 devname = miiphy_get_current_dev(); in board_eth_init() 169 if (miiphy_read(devname, 0, 18, &mode) == 0) { in board_eth_init() 172 miiphy_write(devname, 0, 18, mode); in board_eth_init() 174 miiphy_write(devname, 0, MII_BMCR, BMCR_RESET); in board_eth_init()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | cast_op.h | 66 #define CAST_FUNCTORS(devname) \ argument 67 SPECIALIZE_CAST(devname, float, double) \ 68 SPECIALIZE_CAST(devname, float, std::complex<double>) \ 69 SPECIALIZE_CAST(devname, std::complex<float>, std::complex<double>) \ 70 SPECIALIZE_CAST(devname, std::complex<float>, double) \ 71 SPECIALIZE_CAST(devname, Eigen::half, double) \ 72 SPECIALIZE_CAST(devname, Eigen::half, float) \ 73 SPECIALIZE_CAST(devname, Eigen::half, std::complex<double>) \ 74 SPECIALIZE_CAST(devname, Eigen::half, std::complex<float>) \ 75 SPECIALIZE_CAST(devname, bfloat16, float) \ [all …]
|
/external/u-boot/lib/efi_loader/ |
D | efi_disk.c | 314 char devname[32] = { 0 }; /* dp->str is u16[32] long */ in efi_disk_create_partitions() local 330 snprintf(devname, sizeof(devname), "%s:%d", pdevname, in efi_disk_create_partitions() 404 char devname[32] = { 0 }; /* dp->str is u16[32] long */ in efi_disk_register() local 412 snprintf(devname, sizeof(devname), "%s%d", in efi_disk_register() 419 printf("Disk %s not ready\n", devname); in efi_disk_register() 424 devname, ret & ~EFI_ERROR_MASK); in efi_disk_register() 432 if_typename, i, devname); in efi_disk_register()
|
/external/rootdev/ |
D | rootdev.c | 372 char devname[PATH_MAX]; in rootdev_wrapper() local 380 res = rootdev_get_device(devname, sizeof(devname), *dev, search); in rootdev_wrapper() 385 rootdev_get_device_slave(devname, sizeof(devname), dev, devname, in rootdev_wrapper() 395 rootdev_strip_partition(devname, size); in rootdev_wrapper() 398 res = rootdev_get_path(path, size, devname, dev_path); in rootdev_wrapper()
|
/external/e2fsprogs/lib/ext2fs/ |
D | finddev.c | 177 char *devname, *tmp; in main() local 208 devname = ext2fs_find_block_device(device); in main() 209 if (devname) { in main() 210 printf("Found device! %s\n", devname); in main() 211 free(devname); in main()
|
/external/u-boot/board/compulab/cm_t335/ |
D | cm_t335.c | 131 const char *devname; in board_eth_init() local 154 devname = miiphy_get_current_dev(); in board_eth_init() 156 miiphy_write(devname, 0x0, AR8051_PHY_DEBUG_ADDR_REG, in board_eth_init() 158 miiphy_write(devname, 0x0, AR8051_PHY_DEBUG_DATA_REG, in board_eth_init()
|
/external/libusb/libusb/os/ |
D | openbsd_usb.c | 36 char *devname; /* name of the ugen(4) node */ member 208 dpriv->devname = udevname; in obsd_get_device_list() 253 if (dpriv->devname) { in obsd_open() 259 dpriv->devname); in obsd_open() 276 if (dpriv->devname) { in obsd_close() 365 if (dpriv->devname == NULL) in obsd_set_configuration() 408 if (dpriv->devname == NULL) in obsd_set_interface_altsetting() 468 free(dpriv->devname); in obsd_destroy_device() 657 if (dpriv->devname == NULL) { in _sync_control_transfer() 709 dpriv->devname, endpt); in _access_endpoint() [all …]
|
/external/u-boot/tools/env/ |
D | fw_env.c | 58 const char *devname; /* Device name */ member 77 #define DEVNAME(i) envdevices[(i)].devname 132 static int is_ubi_devname(const char *devname) in is_ubi_devname() argument 134 return !strncmp(devname, UBI_DEV_START, sizeof(UBI_DEV_START) - 1); in is_ubi_devname() 204 static int ubi_get_devnum_by_devname(const char *devname) in ubi_get_devnum_by_devname() argument 209 ret = sscanf(devname + sizeof(UBI_DEV_START) - 1, "%d", &devnum); in ubi_get_devnum_by_devname() 216 static const char *ubi_get_volume_devname(const char *devname, in ubi_get_volume_devname() argument 224 devnum = ubi_get_devnum_by_devname(devname); in ubi_get_volume_devname() 232 ret = asprintf(&volume_devname, "%s_%d", devname, volnum); in ubi_get_volume_devname() 238 devname, volname, volume_devname); in ubi_get_volume_devname() [all …]
|
/external/strace/tests/ |
D | ioctl_block.c | 166 memset(bp->devname, 'A', sizeof(bp->devname)); in main() 179 (int) sizeof(bp->devname) - 1, bp->devname, in main()
|
/external/strace/tests-m32/ |
D | ioctl_block.c | 166 memset(bp->devname, 'A', sizeof(bp->devname)); in main() 179 (int) sizeof(bp->devname) - 1, bp->devname, in main()
|
/external/strace/tests-mx32/ |
D | ioctl_block.c | 166 memset(bp->devname, 'A', sizeof(bp->devname)); in main() 179 (int) sizeof(bp->devname) - 1, bp->devname, in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/BPF/ |
D | ex1.ll | 7 @bpf_prog1.devname = private unnamed_addr constant [3 x i8] c"lo\00", align 1 12 %devname = alloca [3 x i8], align 1 14 %1 = getelementptr inbounds [3 x i8], [3 x i8]* %devname, i64 0, i64 0 15 …8.i64(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @bpf_prog1.devname, i64 0, i64 0), i…
|
D | reloc.ll | 7 @bpf_prog1.devname = private unnamed_addr constant [3 x i8] c"lo\00", align 1 12 %devname = alloca [3 x i8], align 1 14 %1 = getelementptr inbounds [3 x i8], [3 x i8]* %devname, i64 0, i64 0 15 …8.i64(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @bpf_prog1.devname, i64 0, i64 0), i…
|