/external/u-boot/drivers/video/ |
D | pxa_lcd.c | 334 static int pxafb_init_mem (void *lcdbase, vidinfo_t *vid); 335 static void pxafb_setup_gpio (vidinfo_t *vid); 336 static void pxafb_enable_controller (vidinfo_t *vid); 337 static int pxafb_init (vidinfo_t *vid); 409 static int pxafb_init_mem (void *lcdbase, vidinfo_t *vid) in pxafb_init_mem() argument 412 struct pxafb_info *fbi = &vid->pxa; in pxafb_init_mem() 413 int fb_size = vid->vl_row * (vid->vl_col * NBITS (vid->vl_bpix)) / 8; in pxafb_init_mem() 417 fbi->palette_size = NBITS(vid->vl_bpix) == 8 ? 256 : 16; in pxafb_init_mem() 427 static inline void pxafb_setup_gpio (vidinfo_t *vid) {} in pxafb_setup_gpio() argument 429 static void pxafb_setup_gpio (vidinfo_t *vid) in pxafb_setup_gpio() argument [all …]
|
/external/autotest/client/common_lib/cros/cfm/usb/ |
D | cfm_usb_devices.py | 22 vid='2574', 29 vid='2574', 37 vid='2bd9', 44 vid='046d', 51 vid='046d', 58 vid='046d', 65 vid='046d', 75 vid='046d', 83 vid='046d', 91 vid='18d1', [all …]
|
/external/u-boot/lib/tizen/ |
D | tizen.c | 15 void get_tizen_logo_info(vidinfo_t *vid) in get_tizen_logo_info() argument 17 switch (vid->vl_bpix) { in get_tizen_logo_info() 19 vid->logo_width = TIZEN_LOGO_16BPP_WIDTH; in get_tizen_logo_info() 20 vid->logo_height = TIZEN_LOGO_16BPP_HEIGHT; in get_tizen_logo_info() 21 vid->logo_x_offset = TIZEN_LOGO_16BPP_X_OFFSET; in get_tizen_logo_info() 22 vid->logo_y_offset = TIZEN_LOGO_16BPP_Y_OFFSET; in get_tizen_logo_info() 24 vid->logo_addr = (ulong)tizen_logo_16bpp_gzip; in get_tizen_logo_info() 26 vid->logo_addr = (ulong)tizen_logo_16bpp; in get_tizen_logo_info() 30 vid->logo_addr = 0; in get_tizen_logo_info()
|
/external/autotest/client/common_lib/cros/ |
D | power_cycle_usb_util.py | 93 def power_cycle_usb_vidpid(dut, board, vid, pid, pause=1): argument 111 bus_idx, port_idx = get_port_number_from_vidpid(dut, vid, pid) 113 raise KeyError('Couldn\'t find target device, {}:{}.'.format(vid, pid)) 123 def get_port_number_from_vidpid(dut, vid, pid): argument 138 cmd = 'lsusb -d {}:{}'.format(vid, pid) 141 target_bus_idx, target_dev_idx = get_bus_dev_id(lsusb_output, vid, pid) 151 def get_bus_dev_id(lsusb_output, vid, pid): argument 170 logging.info('find more than one device with VID:PID: %s:%s', vid, pid) 178 vid, pid, target_bus_idx, target_device_idx) 223 def get_all_port_number_from_vidpid(dut, vid, pid): argument [all …]
|
/external/u-boot/board/freescale/common/ |
D | vid.c | 284 u8 vid; in set_voltage_to_IR() local 291 vid = DIV_ROUND_UP(vdd - 265, 5); in set_voltage_to_IR() 293 vid = DIV_ROUND_UP(vdd - 245, 5); in set_voltage_to_IR() 297 1, (void *)&vid, sizeof(vid)); in set_voltage_to_IR() 374 u8 vid, buf; in adjust_vdd() local 376 u8 vid; in adjust_vdd() local 455 u8 vid; in adjust_vdd() member 495 vid = (fusesr >> FSL_CHASSIS3_DCFG_FUSESR_ALTVID_SHIFT) & in adjust_vdd() 497 if ((vid == 0) || (vid == FSL_CHASSIS3_DCFG_FUSESR_ALTVID_MASK)) { in adjust_vdd() 498 vid = (fusesr >> FSL_CHASSIS3_DCFG_FUSESR_VID_SHIFT) & in adjust_vdd() [all …]
|
/external/tcpdump/tests/ |
D | isakmp5-v.out | 6 (vid: len=16) 7 (vid: len=16) 8 (vid: len=16) 14 (vid: len=16) 19 (vid: len=16) 20 (vid: len=16) 21 (vid: len=16) 22 (vid: len=8) 29 (vid: len=16) 30 (vid: len=16) [all …]
|
/external/autotest/client/common_lib/cros/manual/ |
D | get_usb_devices.py | 108 vid = _vid_pid.split(':')[0] 111 if vid == _data['Vendor'] and pid == _data['ProdID']: 190 vid = vid_pid[0:4] 193 if vid == _data['Vendor'] and pid == _data['ProdID']: 210 vid = _speaker.split(':')[0] 214 if _data['Vendor'] == vid and _data['ProdID'] == pid: 241 vid = _camera.split(':')[0] 245 if _data['Vendor'] == vid and _data['ProdID'] == pid: 258 vid = _display.split(':')[0] 262 if _data['Vendor'] == vid and _data['ProdID'] == pid: [all …]
|
/external/iproute2/bridge/ |
D | vlan.c | 44 short vid = -1; in vlan_modify() local 62 vid = atoi(*argv); in vlan_modify() 66 vid = atoi(*argv); in vlan_modify() 83 if (d == NULL || vid == -1) { in vlan_modify() 94 if (vid >= 4096) { in vlan_modify() 95 fprintf(stderr, "Invalid VLAN ID \"%hu\"\n", vid); in vlan_modify() 100 if (vid_end == -1 || vid_end >= 4096 || vid >= vid_end) { in vlan_modify() 102 vid, vid_end); in vlan_modify() 117 vinfo.vid = vid; in vlan_modify() 126 vinfo.vid = vid_end; in vlan_modify() [all …]
|
D | fdb.c | 100 __u16 vid = 0; in print_fdb() local 129 vid = rta_getattr_u16(tb[NDA_VLAN]); in print_fdb() 131 if (filter_vlan && filter_vlan != vid) in print_fdb() 183 if (vid) { in print_fdb() 185 jsonw_uint_field(jw_global, "vlan", vid); in print_fdb() 187 fprintf(fp, "vlan %hu ", vid); in print_fdb() 424 short vid = -1; in fdb_modify() local 476 if (vid >= 0) in fdb_modify() 479 vid = atoi(*argv); in fdb_modify() 519 if (vid >= 0) in fdb_modify() [all …]
|
D | mdb.c | 139 if (filter_vlan && e->vid != filter_vlan) in print_mdb_entry() 175 if (e->vid) { in print_mdb_entry() 177 jsonw_uint_field(jw_global, "vid", e->vid); in print_mdb_entry() 179 fprintf(f, " vid %hu", e->vid); in print_mdb_entry() 387 short vid = 0; in mdb_modify() local 406 vid = atoi(*argv); in mdb_modify() 440 entry.vid = vid; in mdb_modify()
|
/external/bcc/examples/networking/vlan_filter/ |
D | test_setup.sh | 69 ip netns exec netns3 bridge vlan add vid 100 tagged dev vethx 70 ip netns exec netns3 bridge vlan add vid 200 tagged dev vethx 71 ip netns exec netns3 bridge vlan del vid 1 dev vethx 76 ip netns exec netns4 bridge vlan add vid 100 tagged dev vethy 77 ip netns exec netns4 bridge vlan add vid 200 tagged dev vethy 78 ip netns exec netns4 bridge vlan del vid 1 dev vethy 83 ip netns exec netns3 bridge vlan del vid 1 dev brx self 84 ip netns exec netns4 bridge vlan del vid 1 dev bry self 88 ip netns exec netns3 bridge vlan add vid 100 pvid untagged dev veth13 89 ip netns exec netns3 bridge vlan add vid 200 pvid untagged dev veth23 [all …]
|
/external/u-boot/drivers/net/ |
D | vsc9953.c | 200 static void vsc9953_vlan_table_membership_set(int vid, u32 port_no, u8 add) in vsc9953_vlan_table_membership_set() argument 214 val = bitfield_replace_by_mask(val, VSC9953_ANA_TBL_VID_MASK, vid); in vsc9953_vlan_table_membership_set() 226 val = bitfield_replace_by_mask(val, VSC9953_ANA_TBL_VID_MASK, vid); in vsc9953_vlan_table_membership_set() 256 u32 vid; in vsc9953_vlan_membership_show() local 263 for (vid = 0; vid < VSC9953_MAX_VLAN; vid++) { in vsc9953_vlan_membership_show() 271 vid); in vsc9953_vlan_membership_show() 286 printf("%d ", vid); in vsc9953_vlan_membership_show() 293 static void vsc9953_vlan_table_membership_all_set(int vid, int set_member) in vsc9953_vlan_table_membership_all_set() argument 309 bitfield_replace_by_mask(val, VSC9953_ANA_TBL_VID_MASK, vid)); in vsc9953_vlan_table_membership_all_set() 321 bitfield_replace_by_mask(val, VSC9953_ANA_TBL_VID_MASK, vid)); in vsc9953_vlan_table_membership_all_set() [all …]
|
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
D | soc.c | 369 u8 vid; in get_core_volt_from_fuse() local 374 vid = (fusesr >> FSL_CHASSIS3_DCFG_FUSESR_ALTVID_SHIFT) & in get_core_volt_from_fuse() 376 if ((vid == 0) || (vid == FSL_CHASSIS3_DCFG_FUSESR_ALTVID_MASK)) { in get_core_volt_from_fuse() 377 vid = (fusesr >> FSL_CHASSIS3_DCFG_FUSESR_VID_SHIFT) & in get_core_volt_from_fuse() 380 debug("%s: VID = 0x%x\n", __func__, vid); in get_core_volt_from_fuse() 381 switch (vid) { in get_core_volt_from_fuse() 394 debug("%s: The VID(%x) isn't supported\n", __func__, vid); in get_core_volt_from_fuse() 530 u8 vid; in get_core_volt_from_fuse() local 534 vid = (fusesr >> FSL_CHASSIS2_DCFG_FUSESR_ALTVID_SHIFT) & in get_core_volt_from_fuse() 536 if ((vid == 0) || (vid == FSL_CHASSIS2_DCFG_FUSESR_ALTVID_MASK)) { in get_core_volt_from_fuse() [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | mirror_gre_vlan_bridge_1q.sh | 54 bridge vlan add dev br1 vid 555 self 61 bridge vlan add dev $swp3 vid 555 62 bridge vlan add dev $swp2 vid 555 115 bridge vlan del dev br1 vid 555 self 119 bridge vlan add dev br1 vid 555 self 148 bridge vlan del dev $swp3 vid 555 152 bridge vlan add dev $swp3 vid 555 185 bridge vlan add dev $swp3 vid 555 pvid untagged 190 bridge vlan add dev $swp3 vid 555
|
D | router_bridge_vlan.sh | 50 bridge vlan add dev br1 vid 555 self pvid untagged 51 bridge vlan add dev $swp1 vid 555 107 bridge vlan add dev br1 vid 333 self 109 bridge vlan del dev br1 vid 333 self
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_vs_exec.c | 133 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID]; in vs_exec_run_linear() local 134 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear() 135 machine->SystemValue[vid].xyzw[0].i[j] = i + j; in vs_exec_run_linear() 139 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_BASEVERTEX]; in vs_exec_run_linear() local 140 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear() 141 machine->SystemValue[vid].xyzw[0].i[j] = 0; in vs_exec_run_linear() 145 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID_NOBASE]; in vs_exec_run_linear() local 146 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear() 147 machine->SystemValue[vid].xyzw[0].i[j] = i + j; in vs_exec_run_linear()
|
/external/ipsec-tools/src/racoon/ |
D | vendorid.c | 149 vchar_t vid; in compute_vendorids() local 165 vid.v = (char *) all_vendor_ids[i].string; in compute_vendorids() 166 vid.l = strlen(vid.v); in compute_vendorids() 168 all_vendor_ids[i].hash = eay_md5_one(&vid); in compute_vendorids() 188 vchar_t vid, *new; in set_vendorid() local 220 vchar_t vid, *vidhash; in check_vendorid() local
|
D | nattraversal.c | 85 natt_vendorid (int vid) in natt_vendorid() argument 89 vid == VENDORID_NATT_00 || in natt_vendorid() 92 vid == VENDORID_NATT_01 || in natt_vendorid() 95 vid == VENDORID_NATT_02 || in natt_vendorid() 96 vid == VENDORID_NATT_02_N || in natt_vendorid() 99 vid == VENDORID_NATT_03 || in natt_vendorid() 102 vid == VENDORID_NATT_04 || in natt_vendorid() 105 vid == VENDORID_NATT_05 || in natt_vendorid() 108 vid == VENDORID_NATT_06 || in natt_vendorid() 111 vid == VENDORID_NATT_07 || in natt_vendorid() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_full.c | 388 const char *br_name, int vid, in vlan_newlink_tagged() argument 397 tagged_interface, vid); in vlan_newlink_tagged() 400 vid); in vlan_newlink_tagged() 408 if (!vlan_add(tagged_interface, vid, vlan_ifname)) in vlan_newlink_tagged() 421 struct hostapd_vlan *vlan, int vid) in vlan_bridge_name() argument 431 hapd->conf->vlan_bridge, vid); in vlan_bridge_name() 434 tagged_interface, vid); in vlan_bridge_name() 436 ret = os_snprintf(br_name, IFNAMSIZ, "brvlan%d", vid); in vlan_bridge_name() 446 int vid) in vlan_get_bridge() argument 457 vid, hapd); in vlan_get_bridge() [all …]
|
D | vlan_ioctl.c | 62 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) in vlan_add() argument 68 if_name, vid); in vlan_add() 88 vid); in vlan_add() 93 if_request.u.VID == vid) { in vlan_add() 111 if_request.u.VID = vid; in vlan_add()
|
D | vlan_util.c | 24 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) in vlan_add() argument 32 "vlan_if_name=%s)", if_name, vid, vlan_if_name); in vlan_add() 97 err = rtnl_link_vlan_set_id(rlink, vid); in vlan_add() 108 vlan_if_name, vid, if_name, if_idx, in vlan_add()
|
/external/webrtc/talk/media/devices/ |
D | win32deviceinfo.cc | 35 const char vid[] = "vid_"; // Also contains '\0'. in GetUsbId() local 36 const size_t vid_location = device.id.find(vid); in GetUsbId() 38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) { in GetUsbId() 47 std::string id_vendor = device.id.substr(vid_location + sizeof(vid) - 1, in GetUsbId()
|
/external/libusb/examples/ |
D | fxload.c | 94 unsigned vid = 0, pid = 0; in main() local 105 if (sscanf(device_id, "%x:%x" , &vid, &pid) != 2 ) { in main() 204 if ((desc.idVendor == known_device[j].vid) in main() 209 … ((type == NULL) && (device_id != NULL) && (vid == desc.idVendor) && (pid == desc.idProduct)) || in main() 215 vid = desc.idVendor; in main() 226 known_device[j].designation, vid, pid, busnum, devaddr); in main() 245 device = libusb_open_device_with_vid_pid(NULL, (uint16_t)vid, (uint16_t)pid); in main()
|
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/ |
D | kernel_ExternalUsbPeripheralsDetectionTest.py | 135 for vid in vendor_id_dict_control_file.keys(): 136 peripheral = vendor_id_dict_control_file[vid] 137 if vid not in vendor_ids.keys(): 143 self.host.run('ls -1 %s' % vendor_ids[vid], 152 driver_path = os.path.join(vendor_ids[vid],
|
/external/toybox/toys/other/ |
D | lsusb.c | 22 int busnum = 0, devnum = 0, pid = 0, vid = 0; in list_device() local 35 || sscanf(toybuf, "PRODUCT=%x/%x/", &pid, &vid)) count++; in list_device() 38 printf("Bus %03d Device %03d: ID %04x:%04x\n", busnum, devnum, pid, vid); in list_device()
|