Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/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.c318 struct stdio_dev *sdev = &uc_priv->sdev; in i8042_kbd_probe() local
330 strcpy(sdev->name, "i8042-kbd"); in i8042_kbd_probe()
331 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()
/third_party/uboot/u-boot-2020.01/drivers/serial/
Dserial-uclass.c344 static void serial_stub_putc(struct stdio_dev *sdev, const char ch) in serial_stub_putc() argument
346 _serial_putc(sdev->priv, ch); in serial_stub_putc()
350 static void serial_stub_puts(struct stdio_dev *sdev, const char *str) in serial_stub_puts() argument
352 _serial_puts(sdev->priv, str); in serial_stub_puts()
355 static int serial_stub_getc(struct stdio_dev *sdev) in serial_stub_getc() argument
357 return _serial_getc(sdev->priv); in serial_stub_getc()
360 static int serial_stub_tstc(struct stdio_dev *sdev) in serial_stub_tstc() argument
362 return _serial_tstc(sdev->priv); in serial_stub_tstc()
433 struct stdio_dev sdev; in serial_post_probe() local
469 memset(&sdev, '\0', sizeof(sdev)); in serial_post_probe()
[all …]
Dserial.c187 static int serial_stub_start(struct stdio_dev *sdev) in serial_stub_start() argument
189 struct serial_device *dev = sdev->priv; in serial_stub_start()
194 static int serial_stub_stop(struct stdio_dev *sdev) in serial_stub_stop() argument
196 struct serial_device *dev = sdev->priv; in serial_stub_stop()
201 static void serial_stub_putc(struct stdio_dev *sdev, const char ch) in serial_stub_putc() argument
203 struct serial_device *dev = sdev->priv; in serial_stub_putc()
208 static void serial_stub_puts(struct stdio_dev *sdev, const char *str) in serial_stub_puts() argument
210 struct serial_device *dev = sdev->priv; in serial_stub_puts()
215 static int serial_stub_getc(struct stdio_dev *sdev) in serial_stub_getc() argument
217 struct serial_device *dev = sdev->priv; in serial_stub_getc()
[all …]
/third_party/uboot/u-boot-2020.01/common/
Dstdio.c144 struct stdio_dev *sdev; in stdio_probe_device() local
161 sdev = list_empty(&devs.list) ? NULL : in stdio_probe_device()
163 if (!sdev || strcmp(sdev->name, name)) { in stdio_probe_device()
168 *sdevp = sdev; in stdio_probe_device()
177 struct stdio_dev *sdev; in stdio_get_by_name() local
183 sdev = list_entry(pos, struct stdio_dev, list); in stdio_get_by_name()
184 if (strcmp(sdev->name, name) == 0) in stdio_get_by_name()
185 return sdev; in stdio_get_by_name()
200 !stdio_probe_device(name, UCLASS_VIDEO, &sdev)) in stdio_get_by_name()
201 return sdev; in stdio_get_by_name()
Dusb_kbd.c390 static int usb_kbd_testc(struct stdio_dev *sdev) argument
406 dev = stdio_get_by_name(sdev->name);
416 static int usb_kbd_getc(struct stdio_dev *sdev) argument
422 dev = stdio_get_by_name(sdev->name);
653 struct stdio_dev *sdev; local
656 sdev = stdio_get_by_name(DEVNAME);
657 if (!sdev) {
662 if (stdio_deregister_dev(sdev, true)) {
Dconsole.c158 static bool console_dev_is_serial(struct stdio_dev *sdev) in console_dev_is_serial() argument
163 if (sdev->flags & DEV_FLAGS_DM) { in console_dev_is_serial()
164 struct udevice *dev = sdev->priv; in console_dev_is_serial()
169 is_serial = !strcmp(sdev->name, "serial"); in console_dev_is_serial()
/third_party/uboot/u-boot-2020.01/drivers/video/
Dvidconsole-uclass.c550 static void vidconsole_putc(struct stdio_dev *sdev, const char ch) in vidconsole_putc() argument
552 struct udevice *dev = sdev->priv; in vidconsole_putc()
558 static void vidconsole_puts(struct stdio_dev *sdev, const char *s) in vidconsole_puts() argument
560 struct udevice *dev = sdev->priv; in vidconsole_puts()
582 struct stdio_dev *sdev = &priv->sdev; in vidconsole_post_probe() local
588 snprintf(sdev->name, sizeof(sdev->name), "vidconsole%d", in vidconsole_post_probe()
591 strcpy(sdev->name, "vidconsole"); in vidconsole_post_probe()
594 sdev->flags = DEV_FLAGS_OUTPUT; in vidconsole_post_probe()
595 sdev->putc = vidconsole_putc; in vidconsole_post_probe()
596 sdev->puts = vidconsole_puts; in vidconsole_post_probe()
[all …]
/third_party/uboot/u-boot-2020.01/include/configs/
Dnokia_rx51.h167 int rx51_kp_tstc(struct stdio_dev *sdev);
168 int rx51_kp_getc(struct stdio_dev *sdev);
/third_party/uboot/u-boot-2020.01/include/
Dkeyboard.h14 struct stdio_dev sdev; member
Dvideo_console.h64 struct stdio_dev sdev; member
Dserial.h275 struct stdio_dev *sdev; member
/third_party/ltp/utils/benchmark/kernbench-0.42/
Dkernbench170 sdev=`echo $var | awk '{print $1^0.5}'`
171 echo "$avg ($sdev)"
/third_party/uboot/u-boot-2020.01/board/nokia/rx51/
Drx51.c597 int rx51_kp_tstc(struct stdio_dev *sdev) in rx51_kp_tstc() argument
653 int rx51_kp_getc(struct stdio_dev *sdev) in rx51_kp_getc() argument
656 while (!rx51_kp_tstc(sdev)) in rx51_kp_getc()
/third_party/python/Lib/test/
Dtest_tuple.py116 mean, sdev = support.collision_stats(nbins, nballs)
119 z = (collisions - mean) / sdev
/third_party/python/Doc/faq/
Dlibrary.rst832 * ``normalvariate(mean, sdev)`` samples the normal (Gaussian) distribution.