/external/syslinux/gpxe/src/net/80211/ |
D | net80211.c | 100 struct net80211_device *dev; member 170 static void net80211_add_channels ( struct net80211_device *dev, int start, 172 static void net80211_filter_hw_channels ( struct net80211_device *dev ); 173 static void net80211_set_rtscts_rate ( struct net80211_device *dev ); 174 static int net80211_process_capab ( struct net80211_device *dev, 176 static int net80211_process_ie ( struct net80211_device *dev, 179 net80211_marshal_request_info ( struct net80211_device *dev, 188 static void net80211_handle_auth ( struct net80211_device *dev, 190 static void net80211_handle_assoc_reply ( struct net80211_device *dev, 192 static int net80211_send_disassoc ( struct net80211_device *dev, int reason, [all …]
|
D | rc80211.c | 153 struct rc80211_ctx * rc80211_init ( struct net80211_device *dev __unused ) in rc80211_init() 193 static int rc80211_pick_best ( struct net80211_device *dev ) in rc80211_pick_best() argument 195 struct rc80211_ctx *ctx = dev->rctl; in rc80211_pick_best() 198 for ( i = 0; i < dev->nr_rates; i++ ) { in rc80211_pick_best() 210 int old_good = rc80211_calc_net_goodness ( ctx, dev->rate ); in rc80211_pick_best() 219 return dev->rate; in rc80211_pick_best() 231 static inline void rc80211_set_rate ( struct net80211_device *dev, in rc80211_set_rate() argument 234 DBGC ( dev->rctl, "802.11 RC %p changing rate %d->%d Mbps\n", dev->rctl, in rc80211_set_rate() 235 dev->rates[dev->rate] / 10, dev->rates[rate_idx] / 10 ); in rc80211_set_rate() 237 net80211_set_rate_idx ( dev, rate_idx ); in rc80211_set_rate() [all …]
|
/external/rootdev/ |
D | rootdev_test.sh | 83 out=$("${ROOTDEV}" --block $WORKDIR 2>/dev/null) 91 local dev=$2 93 mkdir -p $dev 96 echo "10:0" > $block/sda/dev 97 echo "10:1" > $block/sda/sda1/dev 98 echo "10:2" > $block/sda/sda2/dev 99 mknod $dev/sda1 b 10 1 100 mknod $dev/sda2 b 10 2 101 mknod $dev/sda b 10 0 106 local dev=$WORKDIR/dev [all …]
|
/external/syslinux/gpxe/src/drivers/net/rtl818x/ |
D | rtl8180_grf5101.c | 40 static void write_grf5101(struct net80211_device *dev, u8 addr, u32 data) in write_grf5101() argument 42 struct rtl818x_priv *priv = dev->priv; in write_grf5101() 63 static void grf5101_write_phy_antenna(struct net80211_device *dev, short chan) in grf5101_write_phy_antenna() argument 65 struct rtl818x_priv *priv = dev->priv; in grf5101_write_phy_antenna() 74 rtl818x_write_phy(dev, 0x10, ant); in grf5101_write_phy_antenna() 77 static void grf5101_rf_set_channel(struct net80211_device *dev, in grf5101_rf_set_channel() argument 80 struct rtl818x_priv *priv = dev->priv; in grf5101_rf_set_channel() 86 write_grf5101(dev, 0x15, 0x0); in grf5101_rf_set_channel() 87 write_grf5101(dev, 0x06, txpw); in grf5101_rf_set_channel() 88 write_grf5101(dev, 0x15, 0x10); in grf5101_rf_set_channel() [all …]
|
D | rtl8185_rtl8225.c | 35 static inline void rtl8225_write_phy_ofdm(struct net80211_device *dev, in rtl8225_write_phy_ofdm() argument 38 rtl818x_write_phy(dev, addr, data); in rtl8225_write_phy_ofdm() 41 static inline void rtl8225_write_phy_cck(struct net80211_device *dev, in rtl8225_write_phy_cck() argument 44 rtl818x_write_phy(dev, addr, data | 0x10000); in rtl8225_write_phy_cck() 47 static void rtl8225_write(struct net80211_device *dev, u8 addr, u16 data) in rtl8225_write() argument 49 struct rtl818x_priv *priv = dev->priv; in rtl8225_write() 95 static u16 rtl8225_read(struct net80211_device *dev, u8 addr) in rtl8225_read() argument 97 struct rtl818x_priv *priv = dev->priv; in rtl8225_read() 277 static void rtl8225_rf_set_tx_power(struct net80211_device *dev, int channel) in rtl8225_rf_set_tx_power() argument 279 struct rtl818x_priv *priv = dev->priv; in rtl8225_rf_set_tx_power() [all …]
|
D | rtl8180_sa2400.c | 58 static void write_sa2400(struct net80211_device *dev, u8 addr, u32 data) in write_sa2400() argument 60 struct rtl818x_priv *priv = dev->priv; in write_sa2400() 77 static void sa2400_write_phy_antenna(struct net80211_device *dev, short chan) in sa2400_write_phy_antenna() argument 79 struct rtl818x_priv *priv = dev->priv; in sa2400_write_phy_antenna() 88 rtl818x_write_phy(dev, 0x10, ant); in sa2400_write_phy_antenna() 92 static void sa2400_rf_set_channel(struct net80211_device *dev, in sa2400_rf_set_channel() argument 95 struct rtl818x_priv *priv = dev->priv; in sa2400_rf_set_channel() 100 write_sa2400(dev, 7, txpw); in sa2400_rf_set_channel() 102 sa2400_write_phy_antenna(dev, channel); in sa2400_rf_set_channel() 104 write_sa2400(dev, 0, chan); in sa2400_rf_set_channel() [all …]
|
D | rtl8180_max2820.c | 50 static void write_max2820(struct net80211_device *dev, u8 addr, u32 data) in write_max2820() argument 52 struct rtl818x_priv *priv = dev->priv; in write_max2820() 69 static void max2820_write_phy_antenna(struct net80211_device *dev, short chan) in max2820_write_phy_antenna() argument 71 struct rtl818x_priv *priv = dev->priv; in max2820_write_phy_antenna() 80 rtl818x_write_phy(dev, 0x10, ant); in max2820_write_phy_antenna() 83 static void max2820_rf_set_channel(struct net80211_device *dev, in max2820_rf_set_channel() argument 86 struct rtl818x_priv *priv = dev->priv; in max2820_rf_set_channel() 94 rtl818x_write_phy(dev, 3, txpw); in max2820_rf_set_channel() 96 max2820_write_phy_antenna(dev, channel); in max2820_rf_set_channel() 97 write_max2820(dev, 3, chan); in max2820_rf_set_channel() [all …]
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_dev.c | 38 ilo_dev_init(struct ilo_dev *dev, struct intel_winsys *winsys) in ilo_dev_init() argument 42 assert(ilo_is_zeroed(dev, sizeof(*dev))); in ilo_dev_init() 46 dev->winsys = winsys; in ilo_dev_init() 47 dev->devid = info->devid; in ilo_dev_init() 48 dev->aperture_total = info->aperture_total; in ilo_dev_init() 49 dev->aperture_mappable = info->aperture_mappable; in ilo_dev_init() 50 dev->has_llc = info->has_llc; in ilo_dev_init() 51 dev->has_address_swizzling = info->has_address_swizzling; in ilo_dev_init() 52 dev->has_logical_context = info->has_logical_context; in ilo_dev_init() 53 dev->has_ppgtt = info->has_ppgtt; in ilo_dev_init() [all …]
|
D | ilo_state_compute.c | 41 get_gen6_rob_entry_count(const struct ilo_dev *dev) in get_gen6_rob_entry_count() argument 43 ILO_DEV_ASSERT(dev, 6, 8); in get_gen6_rob_entry_count() 54 if (ilo_dev_gen(dev) >= ILO_GEN(7.5)) in get_gen6_rob_entry_count() 56 else if (ilo_dev_gen(dev) >= ILO_GEN(7)) in get_gen6_rob_entry_count() 57 return (dev->gt == 2) ? 2048 : 512; in get_gen6_rob_entry_count() 59 return (dev->gt == 2) ? 2048 : 1024; in get_gen6_rob_entry_count() 63 get_gen6_idrt_entry_count(const struct ilo_dev *dev) in get_gen6_idrt_entry_count() argument 65 ILO_DEV_ASSERT(dev, 6, 8); in get_gen6_idrt_entry_count() 78 return (ilo_dev_gen(dev) >= ILO_GEN(7.5)) ? 64 : 32; in get_gen6_idrt_entry_count() 82 get_gen6_curbe_entry_count(const struct ilo_dev *dev, uint32_t curbe_size) in get_gen6_curbe_entry_count() argument [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_dev_attr.c | 16 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_manufacturer() argument 21 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0; in wps_build_manufacturer() 35 wpabuf_put_data(msg, dev->manufacturer, len); in wps_build_manufacturer() 40 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_model_name() argument 45 len = dev->model_name ? os_strlen(dev->model_name) : 0; in wps_build_model_name() 59 wpabuf_put_data(msg, dev->model_name, len); in wps_build_model_name() 64 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_model_number() argument 69 len = dev->model_number ? os_strlen(dev->model_number) : 0; in wps_build_model_number() 83 wpabuf_put_data(msg, dev->model_number, len); in wps_build_model_number() 88 int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_serial_number() argument [all …]
|
/external/libdrm/tests/planetest/ |
D | dev.c | 72 static uint32_t get_prop_id(struct sp_dev *dev, in get_prop_id() argument 79 p = drmModeGetProperty(dev->fd, props->props[i]); in get_prop_id() 108 struct sp_dev *dev; in create_sp_dev() local 122 dev = calloc(1, sizeof(*dev)); in create_sp_dev() 123 if (!dev) { in create_sp_dev() 128 dev->fd = fd; in create_sp_dev() 130 ret = drmSetClientCap(dev->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1); in create_sp_dev() 136 ret = drmSetClientCap(dev->fd, DRM_CLIENT_CAP_ATOMIC, 1); in create_sp_dev() 142 r = drmModeGetResources(dev->fd); in create_sp_dev() 148 dev->num_connectors = r->count_connectors; in create_sp_dev() [all …]
|
/external/libdrm/amdgpu/ |
D | amdgpu_device.c | 132 static void amdgpu_device_free_internal(amdgpu_device_handle dev) in amdgpu_device_free_internal() argument 134 amdgpu_vamgr_deinit(dev->vamgr); in amdgpu_device_free_internal() 135 free(dev->vamgr); in amdgpu_device_free_internal() 136 amdgpu_vamgr_deinit(dev->vamgr_32); in amdgpu_device_free_internal() 137 free(dev->vamgr_32); in amdgpu_device_free_internal() 138 util_hash_table_destroy(dev->bo_flink_names); in amdgpu_device_free_internal() 139 util_hash_table_destroy(dev->bo_handles); in amdgpu_device_free_internal() 140 pthread_mutex_destroy(&dev->bo_table_mutex); in amdgpu_device_free_internal() 141 util_hash_table_remove(fd_tab, UINT_TO_PTR(dev->fd)); in amdgpu_device_free_internal() 142 close(dev->fd); in amdgpu_device_free_internal() [all …]
|
D | amdgpu_gpu_info.c | 37 int amdgpu_query_info(amdgpu_device_handle dev, unsigned info_id, in amdgpu_query_info() argument 47 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_query_info() 51 int amdgpu_query_crtc_from_id(amdgpu_device_handle dev, unsigned id, in amdgpu_query_crtc_from_id() argument 62 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_query_crtc_from_id() 66 int amdgpu_read_mm_registers(amdgpu_device_handle dev, unsigned dword_offset, in amdgpu_read_mm_registers() argument 81 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_read_mm_registers() 85 int amdgpu_query_hw_ip_count(amdgpu_device_handle dev, unsigned type, in amdgpu_query_hw_ip_count() argument 96 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_query_hw_ip_count() 100 int amdgpu_query_hw_ip_info(amdgpu_device_handle dev, unsigned type, in amdgpu_query_hw_ip_info() argument 113 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_query_hw_ip_info() [all …]
|
/external/autotest/client/site_tests/security_AccountsBaseline/ |
D | baseline.passwd | 11 chronos-access:!:1001:1001::/dev/null:/bin/false 12 sslh:!:200:200::/dev/null:/bin/false 13 messagebus:!:201:201::/dev/null:/bin/false 14 syslog:!:202:202::/dev/null:/bin/false 15 sshd:!:204:204::/dev/null:/bin/false 16 polkituser:!:206:206::/dev/null:/bin/false 17 tss:!:207:207::/dev/null:/bin/false 18 pkcs11:!:208:208::/dev/null:/bin/false 19 qdlservice:!:209:209::/dev/null:/bin/false 20 cromo:!:210:210::/dev/null:/bin/false [all …]
|
/external/libdrm/freedreno/ |
D | freedreno_device.c | 47 struct fd_device *dev; in fd_device_new() local 62 dev = NULL; in fd_device_new() 66 dev = msm_device_new(fd); in fd_device_new() 67 dev->version = version->version_minor; in fd_device_new() 71 dev = kgsl_device_new(fd); in fd_device_new() 75 dev = NULL; in fd_device_new() 81 if (!dev) in fd_device_new() 84 atomic_set(&dev->refcnt, 1); in fd_device_new() 85 dev->fd = fd; in fd_device_new() 86 dev->handle_table = drmHashCreate(); in fd_device_new() [all …]
|
/external/e2fsprogs/misc/ |
D | base_device.tst | 1 /dev/hda7 /dev/hda 2 /dev/sda1 /dev/sda 3 /dev/hda /dev/hda 4 /dev/sda /dev/sda 5 /dev/dsk/hda6 /dev/dsk/hda 6 /dev/dsk/sda5 /dev/dsk/sda 7 /dev/md4 /dev/md 8 /dev/md/4 /dev/md 9 /dev/ide/host0/bus1/target2/lun3 /dev/ide/host0/bus1/target2/lun3 10 /dev/ide/host0/bus1/target2/lun3/part10 /dev/ide/host0/bus1/target2/lun3 [all …]
|
/external/libdrm/etnaviv/ |
D | etnaviv_device.c | 50 struct etna_device *dev = calloc(sizeof(*dev), 1); in etna_device_new() local 52 if (!dev) in etna_device_new() 55 atomic_set(&dev->refcnt, 1); in etna_device_new() 56 dev->fd = fd; in etna_device_new() 57 dev->handle_table = drmHashCreate(); in etna_device_new() 58 dev->name_table = drmHashCreate(); in etna_device_new() 59 etna_bo_cache_init(&dev->bo_cache); in etna_device_new() 61 return dev; in etna_device_new() 69 struct etna_device *dev = etna_device_new(dup_fd); in etna_device_new_dup() local 71 if (dev) in etna_device_new_dup() [all …]
|
/external/toybox/tests/ |
D | pkill.test | 7 killall yes >/dev/null 2>&1 15 yes >/dev/null & 19 killall yes >/dev/null 2>&1 21 yes >/dev/null & 22 yes print1 >/dev/null & 23 yes print2 >/dev/null & 27 killall yes >/dev/null 2>&1 29 yes >/dev/null & 33 killall yes >/dev/null 2>&1 35 yes print1 >/dev/null & [all …]
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
D | parameters.sh | 46 [ -d /dev/cpuctl/group_def ] || mkdir /dev/cpuctl/group_def; 56 echo 10000 > /dev/cpuctl/group_def/cpu.rt_runtime_us; 57 for task in `cat /dev/cpuctl/tasks`; do 58 echo $task > /dev/cpuctl/group_def/tasks 2>/dev/null 1>&2; 71 killall cpuctl_def_task01 1>/dev/null 2>&1; 72 killall cpuctl_def_task02 1>/dev/null 2>&1; 73 killall cpuctl_task_* 1>/dev/null 2>&1; 75 rm -f cpuctl_task_* 2>/dev/null 76 for task in `cat /dev/cpuctl/group_def/tasks`; do 77 echo $task > /dev/cpuctl/tasks 2>/dev/null 1>&2; [all …]
|
/external/syslinux/com32/lib/pci/ |
D | scan.c | 77 struct pci_device *dev=NULL; in get_module_name_from_pcimap() local 81 for_each_pci_func(dev, domain) { in get_module_name_from_pcimap() 83 if (! dev->dev_info) { in get_module_name_from_pcimap() 84 dev->dev_info = zalloc(sizeof *dev->dev_info); in get_module_name_from_pcimap() 85 if (!dev->dev_info) in get_module_name_from_pcimap() 89 if (strlen(dev->dev_info->linux_kernel_module[i])==0) in get_module_name_from_pcimap() 90 strlcpy(dev->dev_info->linux_kernel_module[i], "unknown",7); in get_module_name_from_pcimap() 141 for_each_pci_func(dev, domain) { in get_module_name_from_pcimap() 142 if (int_vendor_id == dev->vendor && in get_module_name_from_pcimap() 143 int_product_id == dev->product && in get_module_name_from_pcimap() [all …]
|
/external/vulkan-validation-layers/loader/ |
D | table_ops.h | 32 static VkResult vkDevExtError(VkDevice dev) { in vkDevExtError() argument 34 struct loader_icd *icd = loader_get_icd_and_device(dev, &found_dev, NULL); in vkDevExtError() 45 PFN_vkGetDeviceProcAddr gpa, VkDevice dev) { in loader_init_device_dispatch_table() argument 51 (PFN_vkGetDeviceProcAddr)gpa(dev, "vkGetDeviceProcAddr"); in loader_init_device_dispatch_table() 52 table->DestroyDevice = (PFN_vkDestroyDevice)gpa(dev, "vkDestroyDevice"); in loader_init_device_dispatch_table() 53 table->GetDeviceQueue = (PFN_vkGetDeviceQueue)gpa(dev, "vkGetDeviceQueue"); in loader_init_device_dispatch_table() 54 table->QueueSubmit = (PFN_vkQueueSubmit)gpa(dev, "vkQueueSubmit"); in loader_init_device_dispatch_table() 55 table->QueueWaitIdle = (PFN_vkQueueWaitIdle)gpa(dev, "vkQueueWaitIdle"); in loader_init_device_dispatch_table() 56 table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle)gpa(dev, "vkDeviceWaitIdle"); in loader_init_device_dispatch_table() 57 table->AllocateMemory = (PFN_vkAllocateMemory)gpa(dev, "vkAllocateMemory"); in loader_init_device_dispatch_table() [all …]
|
/external/syslinux/gpxe/src/usr/ |
D | iwmgmt.c | 42 void iwstat ( struct net80211_device *dev ) { in iwstat() argument 44 ifstat ( dev->netdev ); in iwstat() 47 if ( dev->state & NET80211_ASSOCIATED ) { in iwstat() 48 printf ( "SSID '%s', ", dev->essid ); in iwstat() 52 if ( dev->channel < dev->nr_channels && dev->rate < dev->nr_rates ) { in iwstat() 53 printf ( "Ch:%d Sig:%d", dev->channels[dev->channel].channel_nr, in iwstat() 54 dev->last_signal ); in iwstat() 55 switch ( dev->hw->signal_type ) { in iwstat() 60 printf ( "/%d", dev->hw->signal_max ); in iwstat() 63 printf ( "/%d dB", dev->hw->signal_max ); in iwstat() [all …]
|
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ |
D | ltp_tpci.c | 86 struct pci_dev *dev; member 100 struct pci_dev *dev; in probe_pci_dev() local 102 if (ltp_pci.dev) { in probe_pci_dev() 103 pci_dev_put(ltp_pci.dev); in probe_pci_dev() 104 ltp_pci.dev = NULL; in probe_pci_dev() 107 dev = pci_get_bus_and_slot(bus, slot); in probe_pci_dev() 108 if (!dev || !dev->driver) in probe_pci_dev() 112 pci_name(dev), bus, slot); in probe_pci_dev() 114 ltp_pci.dev = dev; in probe_pci_dev() 115 ltp_pci.bus = dev->bus; in probe_pci_dev() [all …]
|
/external/libusb-compat/libusb/ |
D | core.c | 198 libusb_device *dev = dev_list[i]; in find_busses() local 199 uint8_t bus_num = libusb_get_bus_number(dev); in find_busses() 312 struct usb_device *dev; in find_devices() local 322 dev = malloc(sizeof(*dev)); in find_devices() 323 if (!dev) in find_devices() 328 dev->dev = newlib_dev; in find_devices() 330 dev->bus = bus; in find_devices() 331 dev->devnum = libusb_get_device_address(newlib_dev); in find_devices() 332 sprintf(dev->filename, "%03d", dev->devnum); in find_devices() 333 LIST_ADD(devices, dev); in find_devices() [all …]
|
/external/iproute2/ip/ |
D | ifcfg | 34 dev=${1%:*} 35 if [ "$dev" = "" -o "$1" = "help" ]; then 55 if [ "$ldev" != "$dev" ]; then 59 ip -4 addr flush dev $dev $label || exit 1 100 if [ "$ldev" = "$dev" -a "$ipaddr" != "" ]; then 105 ip addr del $pfx dev $dev $label || exit 1 111 if ! ip link set up dev $dev ; then 112 echo "Error: cannot enable interface $dev." 1>&2 117 if ! arping -q -c 2 -w 3 -D -I $dev $ipaddr ; then 118 echo "Error: some host already uses address $ipaddr on $dev." 1>&2 [all …]
|