Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 5618) sorted by relevance

12345678910>>...225

/external/syslinux/gpxe/src/net/80211/
Dnet80211.c100 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 …]
Drc80211.c153 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/
Drootdev_test.sh83 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/adhd/scripts/audio_thread_log_viewer/
Dlog.test3 Output dev: bdw-rt5677: :1,0
8 496098.524565708 DEV_SLEEP_TIME dev:8 wake:000496098.545892346
11 496098.545994178 ODEV_NO_STREAMS dev:8 hw_level:992 write:1056
12 496098.546000808 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024
13 496098.546001355 DEV_SLEEP_TIME dev:8 wake:000496098.567328258
16 496098.567615773 ODEV_NO_STREAMS dev:8 hw_level:1040 write:1008
17 496098.567622518 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024
18 496098.567623059 DEV_SLEEP_TIME dev:8 wake:000496098.588949912
21 496098.589240896 ODEV_NO_STREAMS dev:8 hw_level:992 write:1056
22 496098.589247582 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024
[all …]
/external/syslinux/gpxe/src/drivers/net/rtl818x/
Drtl8180_grf5101.c40 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 …]
Drtl8185_rtl8225.c35 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 …]
Drtl8180_sa2400.c58 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 …]
Drtl8180_max2820.c50 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/
Dilo_dev.c38 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 …]
Dilo_state_compute.c41 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/
Dwps_dev_attr.c16 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/adhd/cras/src/server/
Dcras_iodev_list.c40 struct cras_iodev *dev; member
75 struct cras_iodev *dev; in find_dev() local
77 DL_FOREACH(devs[CRAS_STREAM_OUTPUT].iodevs, dev) in find_dev()
78 if (dev->info.idx == dev_index) in find_dev()
79 return dev; in find_dev()
81 DL_FOREACH(devs[CRAS_STREAM_INPUT].iodevs, dev) in find_dev()
82 if (dev->info.idx == dev_index) in find_dev()
83 return dev; in find_dev()
90 struct cras_iodev *dev; in find_node() local
97 dev = find_dev(dev_index); in find_node()
[all …]
/external/libdrm/tests/planetest/
Ddev.c72 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/
Damdgpu_device.c132 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 …]
Damdgpu_gpu_info.c37 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/libdrm/freedreno/
Dfreedreno_device.c47 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/trappy/tests/
Dtrace_filesystem.txt1 …<...>-1297 [001] 3843.734440: ext4_da_write_end: dev 8,13 ino 5898483 pos 0 len 4096 copied 4…
2 …<...>-1297 [001] 3843.734450: ext4_da_write_begin: dev 8,13 ino 5898483 pos 4096 len 4096 flags…
3 …<...>-1297 [001] 3843.734459: ext4_da_write_end: dev 8,13 ino 5898483 pos 4096 len 4096 copie…
4 …<...>-1297 [001] 3843.737430: ext4_da_write_begin: dev 8,13 ino 5898483 pos 8192 len 2625 flags…
5 …<...>-1297 [001] 3843.737466: ext4_da_write_end: dev 8,13 ino 5898483 pos 8192 len 2625 copie…
6 …<...>-1297 [001] 3843.737514: ext4_sync_file_enter: dev 8,13 ino 5898483 parent 5898244 datasync…
7 <...>-1297 [007] 3843.744284: ext4_sync_file_exit: dev 8,13 ino 5898483 ret 0
8 … <...>-13777 [007] 3844.034373: ext4_da_write_begin: dev 8,13 ino 3540268 pos 0 len 512 flags 0
9 …<...>-13777 [007] 3844.034400: ext4_da_write_end: dev 8,13 ino 3540268 pos 0 len 512 copied 512
10 … <...>-13777 [007] 3844.034410: ext4_da_write_begin: dev 8,13 ino 3540268 pos 512 len 4 flags 0
[all …]
/external/e2fsprogs/misc/
Dbase_device.tst1 /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/
Detnaviv_device.c50 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/syslinux/com32/lib/pci/
Dscan.c77 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/linux-kselftest/tools/testing/selftests/net/
Drtnetlink.sh36 ip link del dev "$devdummy"
42 dev="$1"
45 ip netconf show dev "$dev" > /dev/null
49 ip -$f netconf show dev "$dev" > /dev/null
54 echo "FAIL: ip netconf show $dev"
70 ip link set dev "$devdummy" master "$devbr"
78 ip addr add dev "$vlandev" 10.200.7.23/30
80 ip -6 addr add dev "$vlandev" dead:42::1234/64
82 ip -d link > /dev/null
84 ip r s t all > /dev/null
[all …]
/external/libusb-compat/libusb/
Dcore.c198 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/toybox/tests/
Dpkill.test7 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/device-drivers/pci/tpci_kernel/
Dltp_tpci.c86 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/ltp/testcases/kernel/controllers/cpuctl/
Dparameters.sh46 [ -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 …]

12345678910>>...225