Home
last modified time | relevance | path

Searched refs:sdev (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/pipe-loader/
Dpipe_loader_sw.c91 pipe_loader_sw_probe_init_common(struct pipe_loader_sw_device *sdev) in pipe_loader_sw_probe_init_common() argument
93 sdev->base.type = PIPE_LOADER_DEVICE_SOFTWARE; in pipe_loader_sw_probe_init_common()
94 sdev->base.driver_name = "swrast"; in pipe_loader_sw_probe_init_common()
95 sdev->base.ops = &pipe_loader_sw_ops; in pipe_loader_sw_probe_init_common()
96 sdev->fd = -1; in pipe_loader_sw_probe_init_common()
99 sdev->dd = &driver_descriptors; in pipe_loader_sw_probe_init_common()
100 if (!sdev->dd) in pipe_loader_sw_probe_init_common()
103 sdev->lib = pipe_loader_find_module("swrast", PIPE_SEARCH_DIR); in pipe_loader_sw_probe_init_common()
104 if (!sdev->lib) in pipe_loader_sw_probe_init_common()
107 sdev->dd = (const struct sw_driver_descriptor *) in pipe_loader_sw_probe_init_common()
[all …]
/external/u-boot/drivers/input/
Dkeyboard-uclass.c10 static int keyboard_start(struct stdio_dev *sdev) in keyboard_start() argument
12 struct udevice *dev = sdev->priv; in keyboard_start()
21 static int keyboard_stop(struct stdio_dev *sdev) in keyboard_stop() argument
23 struct udevice *dev = sdev->priv; in keyboard_stop()
32 static int keyboard_tstc(struct stdio_dev *sdev) in keyboard_tstc() argument
34 struct udevice *dev = sdev->priv; in keyboard_tstc()
47 static int keyboard_getc(struct stdio_dev *sdev) in keyboard_getc() argument
49 struct udevice *dev = sdev->priv; in keyboard_getc()
65 struct stdio_dev *sdev = &priv->sdev; in keyboard_pre_probe() local
68 strlcpy(sdev->name, dev->name, sizeof(sdev->name)); in keyboard_pre_probe()
[all …]
Dcros_ec_keyb.c185 struct stdio_dev *sdev = &uc_priv->sdev; in cros_ec_kbd_probe() local
213 strcpy(sdev->name, "cros-ec-keyb"); in cros_ec_kbd_probe()
216 return input_stdio_register(sdev); in cros_ec_kbd_probe()
Di8042.c313 struct stdio_dev *sdev = &uc_priv->sdev; in i8042_kbd_probe() local
325 strcpy(sdev->name, "i8042-kbd"); in i8042_kbd_probe()
326 ret = input_stdio_register(sdev); in i8042_kbd_probe()
Dtegra-kbc.c288 struct stdio_dev *sdev = &uc_priv->sdev; in tegra_kbd_probe() local
326 strcpy(sdev->name, "tegra-kbc"); in tegra_kbd_probe()
327 ret = input_stdio_register(sdev); in tegra_kbd_probe()
/external/u-boot/drivers/serial/
Dserial-uclass.c297 static void serial_stub_putc(struct stdio_dev *sdev, const char ch) in serial_stub_putc() argument
299 _serial_putc(sdev->priv, ch); in serial_stub_putc()
303 static void serial_stub_puts(struct stdio_dev *sdev, const char *str) in serial_stub_puts() argument
305 _serial_puts(sdev->priv, str); in serial_stub_puts()
308 static int serial_stub_getc(struct stdio_dev *sdev) in serial_stub_getc() argument
310 return _serial_getc(sdev->priv); in serial_stub_getc()
313 static int serial_stub_tstc(struct stdio_dev *sdev) in serial_stub_tstc() argument
315 return _serial_tstc(sdev->priv); in serial_stub_tstc()
386 struct stdio_dev sdev; in serial_post_probe() local
416 memset(&sdev, '\0', sizeof(sdev)); in serial_post_probe()
[all …]
Dserial.c180 static int serial_stub_start(struct stdio_dev *sdev) in serial_stub_start() argument
182 struct serial_device *dev = sdev->priv; in serial_stub_start()
187 static int serial_stub_stop(struct stdio_dev *sdev) in serial_stub_stop() argument
189 struct serial_device *dev = sdev->priv; in serial_stub_stop()
194 static void serial_stub_putc(struct stdio_dev *sdev, const char ch) in serial_stub_putc() argument
196 struct serial_device *dev = sdev->priv; in serial_stub_putc()
201 static void serial_stub_puts(struct stdio_dev *sdev, const char *str) in serial_stub_puts() argument
203 struct serial_device *dev = sdev->priv; in serial_stub_puts()
208 static int serial_stub_getc(struct stdio_dev *sdev) in serial_stub_getc() argument
210 struct serial_device *dev = sdev->priv; in serial_stub_getc()
[all …]
/external/u-boot/common/
Dstdio.c143 struct stdio_dev *sdev; in stdio_probe_device() local
160 sdev = list_empty(&devs.list) ? NULL : in stdio_probe_device()
162 if (!sdev || strcmp(sdev->name, name)) { in stdio_probe_device()
167 *sdevp = sdev; in stdio_probe_device()
176 struct stdio_dev *sdev; in stdio_get_by_name() local
182 sdev = list_entry(pos, struct stdio_dev, list); in stdio_get_by_name()
183 if (strcmp(sdev->name, name) == 0) in stdio_get_by_name()
184 return sdev; in stdio_get_by_name()
199 !stdio_probe_device(name, UCLASS_VIDEO, &sdev)) in stdio_get_by_name()
200 return sdev; in stdio_get_by_name()
Dusb_kbd.c354 static int usb_kbd_testc(struct stdio_dev *sdev) argument
380 static int usb_kbd_getc(struct stdio_dev *sdev) argument
615 struct stdio_dev *sdev; local
618 sdev = stdio_get_by_name(DEVNAME);
619 if (!sdev) {
624 if (stdio_deregister_dev(sdev, true)) {
Dconsole.c156 static bool console_dev_is_serial(struct stdio_dev *sdev) in console_dev_is_serial() argument
161 if (sdev->flags & DEV_FLAGS_DM) { in console_dev_is_serial()
162 struct udevice *dev = sdev->priv; in console_dev_is_serial()
167 is_serial = !strcmp(sdev->name, "serial"); in console_dev_is_serial()
/external/u-boot/drivers/video/
Dvidconsole-uclass.c390 static void vidconsole_putc(struct stdio_dev *sdev, const char ch) in vidconsole_putc() argument
392 struct udevice *dev = sdev->priv; in vidconsole_putc()
398 static void vidconsole_puts(struct stdio_dev *sdev, const char *s) in vidconsole_puts() argument
400 struct udevice *dev = sdev->priv; in vidconsole_puts()
423 struct stdio_dev *sdev = &priv->sdev; in vidconsole_post_probe() local
429 snprintf(sdev->name, sizeof(sdev->name), "vidconsole%d", in vidconsole_post_probe()
432 strcpy(sdev->name, "vidconsole"); in vidconsole_post_probe()
435 sdev->flags = DEV_FLAGS_OUTPUT; in vidconsole_post_probe()
436 sdev->putc = vidconsole_putc; in vidconsole_post_probe()
437 sdev->puts = vidconsole_puts; in vidconsole_post_probe()
[all …]
/external/u-boot/include/configs/
Dnokia_rx51.h174 int rx51_kp_tstc(struct stdio_dev *sdev);
175 int rx51_kp_getc(struct stdio_dev *sdev);
/external/ltp/utils/benchmark/kernbench-0.42/
Dkernbench170 sdev=`echo $var | awk '{print $1^0.5}'`
171 echo "$avg ($sdev)"
/external/u-boot/include/
Dkeyboard.h14 struct stdio_dev sdev; member
Dvideo_console.h62 struct stdio_dev sdev; member
Dserial.h174 struct stdio_dev *sdev; member
/external/u-boot/board/nokia/rx51/
Drx51.c596 int rx51_kp_tstc(struct stdio_dev *sdev) in rx51_kp_tstc() argument
652 int rx51_kp_getc(struct stdio_dev *sdev) in rx51_kp_getc() argument
655 while (!rx51_kp_tstc(sdev)) in rx51_kp_getc()
/external/kernel-headers/original/scsi/
Dscsi_ioctl.h44 int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev,
/external/python/cpython2/Doc/faq/
Dlibrary.rst859 * ``normalvariate(mean, sdev)`` samples the normal (Gaussian) distribution.
/external/python/cpython3/Doc/faq/
Dlibrary.rst831 * ``normalvariate(mean, sdev)`` samples the normal (Gaussian) distribution.