HomeSort by relevance Sort by last modified time
    Searched refs:dev (Results 276 - 300 of 4932) sorted by null

<<11121314151617181920>>

  /external/syslinux/core/fs/
diskio.c 26 static struct device dev; local
28 dev.disk = firmware->disk_init(args);
29 dev.cache_size = 128*1024;
30 dev.cache_data = malloc(dev.cache_size);
31 dev.cache_init = 0; /* Explicitly set cache as uninitialized */
33 return &dev;
  /external/mesa3d/src/gallium/state_trackers/vdpau/
device.c 47 vlVdpDevice *dev = NULL; local
58 dev = CALLOC(1, sizeof(vlVdpDevice));
59 if (!dev) {
64 pipe_reference_init(&dev->reference, 1);
67 dev->vscreen = vl_dri3_screen_create(display, screen);
69 if (!dev->vscreen)
70 dev->vscreen = vl_dri2_screen_create(display, screen);
71 if (!dev->vscreen) {
76 pscreen = dev->vscreen->pscreen;
77 dev->context = pscreen->context_create(pscreen, dev->vscreen, 0)
220 vlVdpDevice *dev = vlGetDataHTAB(device); local
251 vlVdpDevice *dev = vlGetDataHTAB(device); local
    [all...]
  /external/adhd/cras/src/server/
cras_bt_io.c 56 struct cras_iodev *dev,
66 n->base.dev = bt_iodev;
70 n->base.stable_id = dev->info.stable_id;
71 n->base.stable_id_new = dev->info.stable_id_new;
75 strcpy(n->base.name, dev->info.name);
76 n->profile_dev = dev;
127 struct cras_iodev *dev = active_profile_dev(iodev); local
130 /* Force to use HFP if opening input dev. */
140 if (dev->format == NULL) {
141 dev->format = (struct cras_audio_format *
179 struct cras_iodev *dev = active_profile_dev(iodev); local
203 struct cras_iodev *dev = active_profile_dev(iodev); local
225 struct cras_iodev *dev = active_profile_dev(iodev); local
241 struct cras_iodev *dev = active_profile_dev(iodev); local
249 struct cras_iodev *dev = active_profile_dev(iodev); local
259 struct cras_iodev *dev = active_profile_dev(iodev); local
267 struct cras_iodev *dev = active_profile_dev(iodev); local
275 struct cras_iodev *dev = active_profile_dev(iodev); local
464 struct cras_iodev *dev = active_profile_dev(bt_iodev); local
    [all...]
cras_alsa_ucm.h 75 * dev - The ucm device to enable of disable.
80 int ucm_set_enabled(struct cras_use_case_mgr *mgr, const char *dev, int enable);
147 /* If there is an EDID file variable specified for dev, return it. The EDID
151 * dev - The device to check for an EDID file.
157 const char *dev);
199 * dev - The device to check for maximum software gain.
204 int ucm_get_max_software_gain(struct cras_use_case_mgr *mgr, const char *dev,
210 * dev - The device to check for default node gain.
215 int ucm_get_default_node_gain(struct cras_use_case_mgr *mgr, const char *dev,
222 * dev - The device to check for device nam
    [all...]
  /external/adhd/cras/src/tests/
device_monitor_unittest.cc 44 struct cras_iodev dev; local
49 cras_device_monitor_reset_device(&dev);
54 EXPECT_EQ(sent_msg->iodev, &dev);
60 struct cras_iodev dev; local
68 init_device_msg(&msg, RESET_DEVICE, &dev);
75 EXPECT_EQ(enable_dev, &dev);
77 EXPECT_EQ(disable_dev, &dev);
81 struct cras_iodev dev; local
86 cras_device_monitor_set_device_mute_state(&dev);
91 EXPECT_EQ(sent_msg->iodev, &dev);
97 struct cras_iodev dev; local
    [all...]
  /external/iproute2/testsuite/tests/tc/
policer.t 2 $TC qdisc del dev $DEV root >/dev/null 2>&1
3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
4 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
5 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2kbit buffer 10k drop flowid 10:12
6 $TC qdisc list dev $DE
    [all...]
  /external/libusb-compat/examples/
testlibusb.c 62 int print_device(struct usb_device *dev, int level)
69 udev = usb_open(dev);
71 if (dev->descriptor.iManufacturer) {
72 ret = usb_get_string_simple(udev, dev->descriptor.iManufacturer, string, sizeof(string));
77 dev->descriptor.idVendor);
80 dev->descriptor.idVendor);
82 if (dev->descriptor.iProduct) {
83 ret = usb_get_string_simple(udev, dev->descriptor.iProduct, string, sizeof(string));
89 strlen(description), "%04X", dev->descriptor.idProduct);
92 strlen(description), "%04X", dev->descriptor.idProduct)
145 struct usb_device *dev; local
    [all...]
  /device/generic/goldfish/lights/
lights_qemu.c 65 set_light_backlight( struct light_device_t* dev, struct light_state_t const* state )
101 set_light_buttons( struct light_device_t* dev, struct light_state_t const* state )
110 set_light_battery( struct light_device_t* dev, struct light_state_t const* state )
119 set_light_keyboard( struct light_device_t* dev, struct light_state_t const* state )
128 set_light_notifications( struct light_device_t* dev, struct light_state_t const* state )
137 set_light_attention( struct light_device_t* dev, struct light_state_t const* state )
147 close_lights( struct light_device_t *dev )
149 free( dev );
182 struct light_device_t *dev = malloc( sizeof(struct light_device_t) ); local
183 if (dev == NULL)
    [all...]
  /external/autotest/client/profilers/powertop/src/
urbnum.c 138 struct device_data *dev; local
161 dev = devices;
162 while (dev) {
163 if (dev->urbs != dev->previous_urbs) {
164 push_line(dev->human_name, dev->urbs - dev->previous_urbs);
166 dev = dev->next
173 struct device_data *dev; local
190 struct device_data *dev; local
    [all...]
  /external/ltp/testcases/kernel/security/smack/
smack_set_ambient.sh 21 start_label=$(cat "$smackfsdir/ambient" 2>/dev/null)
23 echo "$not_floor_label" 2>/dev/null > "$smackfsdir/ambient"
25 label=$(cat "$smackfsdir/ambient" 2>/dev/null)
31 echo "$start_label" 2>/dev/null > "$smackfsdir/ambient"
33 label=$(cat "$smackfsdir/ambient" 2>/dev/null)
smack_set_current.sh 22 start_label=$(cat /proc/self/attr/current 2>/dev/null)
24 echo "$not_floor_label" 2>/dev/null > /proc/self/attr/current
26 label=$(cat /proc/self/attr/current 2>/dev/null)
32 echo "$start_label" 2>/dev/null > /proc/self/attr/current
34 label=$(cat /proc/self/attr/current 2> /dev/null)
smack_set_direct.sh 21 start_value=$(cat "$smackfsdir/direct" 2>/dev/null)
23 echo "$not_start_value" 2>/dev/null > "$smackfsdir/direct"
25 direct_value=$(cat "$smackfsdir/direct" 2>/dev/null)
31 echo "$start_value" 2>/dev/null> "$smackfsdir/direct"
33 direct_value=$(cat "$smackfsdir/direct" 2>/dev/null)
smack_set_doi.sh 21 start_value=$(cat "$smackfsdir/doi" 2>/dev/null)
23 echo "$not_start_value" 2>/dev/null > "$smackfsdir/doi"
25 direct_value=$(cat "$smackfsdir/doi" 2>/dev/null)
31 echo "$start_value" 2>/dev/null > "$smackfsdir/doi"
33 direct_value=$(cat "$smackfsdir/doi" 2>/dev/null)
  /external/protobuf/src/google/protobuf/compiler/
zip_output_unittest.sh 60 if unzip -h > /dev/null; then
63 grep 'testing: testzip\.pb\.cc *OK$' $TEST_TMPDIR/testzip.list > /dev/null \
65 grep 'testing: testzip\.pb\.h *OK$' $TEST_TMPDIR/testzip.list > /dev/null \
67 grep 'testing: testzip_pb2\.py *OK$' $TEST_TMPDIR/testzip.list > /dev/null \
69 grep -i 'manifest' $TEST_TMPDIR/testzip.list > /dev/null \
76 if jar c $TEST_TMPDIR/testzip.proto > /dev/null; then
79 grep '^test/jar/Foo\.java$' $TEST_TMPDIR/testzip.list > /dev/null \
81 grep '^test/jar/Bar\.java$' $TEST_TMPDIR/testzip.list > /dev/null \
83 grep '^test/jar/Outer\.java$' $TEST_TMPDIR/testzip.list > /dev/null \
85 grep '^META-INF/MANIFEST\.MF$' $TEST_TMPDIR/testzip.list > /dev/null
    [all...]
  /external/strace/tests/
detach-stopped.test 38 $STRACE -d -enone / > /dev/null 2> "$LOG"
39 if grep -x "[^:]*strace: PTRACE_SEIZE doesn't work" "$LOG" > /dev/null; then
49 kill -0 $! 2> /dev/null ||
62 wait $tracee_pid 2> /dev/null
69 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do
70 kill -0 $! 2> /dev/null || {
77 while ! grep -F -e '--- stopped by ' "$LOG" > /dev/null; do
78 kill -0 $! 2> /dev/null || {
88 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || {
99 grep_pid_status "$tracee_pid" '^State:.*T (stopped)' > /dev/null ||
    [all...]
  /external/strace/tests-m32/
detach-stopped.test 38 $STRACE -d -enone / > /dev/null 2> "$LOG"
39 if grep -x "[^:]*strace: PTRACE_SEIZE doesn't work" "$LOG" > /dev/null; then
49 kill -0 $! 2> /dev/null ||
62 wait $tracee_pid 2> /dev/null
69 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do
70 kill -0 $! 2> /dev/null || {
77 while ! grep -F -e '--- stopped by ' "$LOG" > /dev/null; do
78 kill -0 $! 2> /dev/null || {
88 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || {
99 grep_pid_status "$tracee_pid" '^State:.*T (stopped)' > /dev/null ||
    [all...]
  /external/strace/tests-mx32/
detach-stopped.test 38 $STRACE -d -enone / > /dev/null 2> "$LOG"
39 if grep -x "[^:]*strace: PTRACE_SEIZE doesn't work" "$LOG" > /dev/null; then
49 kill -0 $! 2> /dev/null ||
62 wait $tracee_pid 2> /dev/null
69 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do
70 kill -0 $! 2> /dev/null || {
77 while ! grep -F -e '--- stopped by ' "$LOG" > /dev/null; do
78 kill -0 $! 2> /dev/null || {
88 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || {
99 grep_pid_status "$tracee_pid" '^State:.*T (stopped)' > /dev/null ||
    [all...]
  /external/libdrm/tests/etnaviv/
etnaviv_bo_cache_test.c 43 static void test_cache(struct etna_device *dev)
51 bo = tmp = etna_bo_new(dev, 0x100, ETNA_BO_UNCACHED);
56 tmp = etna_bo_new(dev, 0x100, ETNA_BO_UNCACHED);
64 static void test_size_rounding(struct etna_device *dev)
70 bo = etna_bo_new(dev, 15, ETNA_BO_UNCACHED);
74 bo = etna_bo_new(dev, 4096, ETNA_BO_UNCACHED);
78 bo = etna_bo_new(dev, 4100, ETNA_BO_UNCACHED);
87 struct etna_device *dev; local
106 dev = etna_device_new(fd);
107 if (!dev) {
    [all...]
  /external/ltp/testcases/kernel/fs/mongo/
test.sh 59 dd if=/dev/zero of=reiserfs bs=8k count=10240 > /dev/null 2>&1
60 losetup /dev/loop0 reiserfs
62 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=reiserfs dev=/dev/loop0 dir=$TEST_DIR RUN log=$LOG_DIR/reiserlog > /dev/null 2>&1
66 losetup -d /dev/loop0
78 dd if=/dev/zero of=jfs bs=8k count=10240 > /dev/null 2>&1
79 losetup /dev/loop0 jf
    [all...]
  /external/syslinux/gpxe/src/net/
mii.c 44 mii->mdio_read ( mii->dev, mii->phy_id, MII_BMSR );
45 if ( mii->mdio_read ( mii->dev, mii->phy_id, MII_BMSR ) & BMSR_LSTATUS )
62 int prev_link = netdev_link_ok ( mii->dev );
65 netdev_link_up ( mii->dev );
67 netdev_link_down ( mii->dev );
94 old_carrier = netdev_link_ok ( mii->dev ) ? 1 : 0;
105 netdev_link_down ( mii->dev );
107 DBG ( "%s: link down\n", mii->dev->name);
114 netdev_link_up ( mii->dev );
120 advertise = mii->mdio_read ( mii->dev, mii->phy_id, MII_ADVERTISE )
    [all...]
  /external/libdrm/etnaviv/
etnaviv_gpu.c 34 static uint64_t get_param(struct etna_device *dev, uint32_t core, uint32_t param)
42 ret = drmCommandWriteRead(dev->fd, DRM_ETNAVIV_GET_PARAM, &req, sizeof(req));
51 struct etna_gpu *etna_gpu_new(struct etna_device *dev, unsigned int core)
61 gpu->dev = dev;
65 gpu->specs.model = get_param(dev, core, ETNAVIV_PARAM_GPU_MODEL);
66 gpu->specs.revision = get_param(dev, core, ETNAVIV_PARAM_GPU_REVISION);
67 gpu->specs.features[0] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_0);
68 gpu->specs.features[1] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_1);
69 gpu->specs.features[2] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_2)
    [all...]
  /external/libdrm/rockchip/
rockchip_drm.c 54 struct rockchip_device *dev; local
56 dev = calloc(1, sizeof(*dev));
57 if (!dev) {
63 dev->fd = fd;
65 return dev;
71 * @dev: rockchip drm device object.
73 void rockchip_device_destroy(struct rockchip_device *dev)
75 free(dev);
81 * @dev: rockchip drm device object
276 struct rockchip_device *dev = bo->dev; local
    [all...]
  /external/python/cpython2/Mac/Demo/sound/
morse.py 118 dev = None
122 dev = aifc.open(a, 'w')
123 dev.setframerate(FRAMERATE)
124 dev.setsampwidth(SAMPWIDTH)
125 dev.setnchannels(1)
128 if not dev:
129 dev = BufferedAudioDev()
130 dev.setoutrate(FRAMERATE)
131 dev.setsampwidth(SAMPWIDTH)
132 dev.setnchannels(1
    [all...]
  /external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/
ltp_tpci.c 86 struct pci_dev *dev; member in struct:tpci_user
100 struct pci_dev *dev; local
102 if (ltp_pci.dev) {
103 pci_dev_put(ltp_pci.dev);
104 ltp_pci.dev = NULL;
107 dev = pci_get_bus_and_slot(bus, slot);
108 if (!dev || !dev->driver)
112 pci_name(dev), bus, slot);
114 ltp_pci.dev = dev
127 struct pci_dev *dev = ltp_pci.dev; local
148 struct pci_dev *dev = ltp_pci.dev; local
239 unsigned short ven = ltp_pci.dev->vendor, dev = ltp_pci.dev->device; local
266 dev = ltp_pci.dev->device, local
393 struct pci_dev *dev = ltp_pci.dev; local
456 struct pci_dev *dev = ltp_pci.dev; local
493 struct pci_dev *dev = ltp_pci.dev; local
513 struct pci_dev *dev = ltp_pci.dev; local
531 struct pci_dev *dev = ltp_pci.dev; local
553 struct pci_dev *dev = ltp_pci.dev; local
    [all...]
  /external/mesa3d/src/gallium/drivers/ilo/core/
ilo_state_urb.c 57 urb_alloc_gen7_pcb(const struct ilo_dev *dev,
68 (ilo_dev_gen(dev) >= ILO_GEN(8) ||
69 (ilo_dev_gen(dev) == ILO_GEN(7.5) && dev->gt == 3)) ? 2 : 1;
71 ILO_DEV_ASSERT(dev, 7, 8);
96 urb_alloc_gen6_urb(const struct ilo_dev *dev,
108 const int space_avail_8kb = dev->urb_size / 8192 - conf->urb_offset_8kb;
120 (ilo_dev_gen(dev) == ILO_GEN(6) && info->gs_enable);
122 ILO_DEV_ASSERT(dev, 6, 8);
145 urb_init_gen6_vs_entry(const struct ilo_dev *dev,
    [all...]

Completed in 914 milliseconds

<<11121314151617181920>>