Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/u-boot/board/sifive/unleashed/
A Dunleashed.c34 u32 serial[2] = {0}; in otp_read_serialnum() local
37 ret = misc_read(dev, i, serial, sizeof(serial)); in otp_read_serialnum()
39 if (ret != sizeof(serial)) { in otp_read_serialnum()
44 if (serial[0] == ~serial[1]) in otp_read_serialnum()
45 return serial[0]; in otp_read_serialnum()
54 u32 serial = ERROR_READING_SERIAL_NUMBER; in fu540_read_serialnum() local
66 return serial; in fu540_read_serialnum()
70 serial = otp_read_serialnum(dev); in fu540_read_serialnum()
73 return serial; in fu540_read_serialnum()
/u-boot/board/toradex/common/
A Dtdx-common.c54 unsigned int serial = tdx_serial; in get_board_serial() local
61 if (serial) { in get_board_serial()
67 while (serial) { in get_board_serial()
68 array[i--] = serial % 10; in get_board_serial()
69 serial /= 10; in get_board_serial()
73 serial = array[0]; in get_board_serial()
75 serial *= 16; in get_board_serial()
76 serial += array[i]; in get_board_serial()
79 serialnr->low = serial; in get_board_serial()
/u-boot/doc/device-tree-bindings/leds/
A Dleds-bcm6858.txt13 - brcm,serial-led-msb-first : Boolean, msb data come out first on serial data pin
15 - brcm,serial-led-en-pol : Boolean, serial led polarity (true => active high)
17 - brcm,serial-led-clk-pol : Boolean, serial clock polarity (true => active high)
19 - brcm,serial-led-data-ppol : Boolean, serial data polarity (true => active high)
21 - brcm,serial-shift-inv : Boolean, led test mode
A Dleds-bcm6328.txt20 - brcm,serial-leds : Boolean, enables Serial LEDs.
22 - brcm,serial-mux : Boolean, enables Serial LEDs multiplexing.
24 - brcm,serial-clk-low : Boolean, makes clock signal active low.
26 - brcm,serial-dat-low : Boolean, makes data signal active low.
28 - brcm,serial-shift-inv : Boolean, inverts Serial LEDs shift direction.
72 brcm,serial-leds;
73 brcm,serial-dat-low;
74 brcm,serial-shift-inv;
/u-boot/arch/x86/dts/
A Dcoreboot.dts23 serial0 = &serial;
31 stdout-path = "/serial";
39 serial: serial { label
41 compatible = "coreboot-serial";
A Dslimbootloader.dts17 stdout-path = &serial;
20 serial: serial { label
A Defi-x86_app.dts17 stdout-path = &serial;
20 serial: serial { label
/u-boot/doc/
A DREADME.iomux24 and stderr. For example: "setenv stdin serial,nc". NOTE: No spaces
31 finds acceptable, but the code has only been tested with serial and
35 stdin nc,nc,serial" will discard the second nc. iomux_doenv() is
37 shows "nc,nc,serial".
57 example, if stdin=serial,nc and stdout=serial,nc then all output
58 for serial, e.g. echos of input on serial, will appear on serial and nc.
76 work, even when stdin=stdout=stderr=serial.
78 characters) lines works fine when serial is the only device used.
84 stdout=serial.
88 on the serial interface (stdin=serial) when nc is added to stdout (stdout=
[all …]
/u-boot/arch/powerpc/dts/
A Dqoriq-duart-0.dtsi8 serial0: serial@11c500 {
10 device_type = "serial";
17 serial1: serial@11c600 {
19 device_type = "serial";
A Dqoriq-duart-1.dtsi8 serial2: serial@11d500 {
10 device_type = "serial";
17 serial3: serial@11d600 {
19 device_type = "serial";
/u-boot/board/CZ.NIC/
A Dturris_atsha_otp.c98 char serial[17]; in turris_atsha_otp_init_serial_number() local
101 ret = turris_atsha_otp_get_serial_number(serial); in turris_atsha_otp_init_serial_number()
111 int turris_atsha_otp_get_serial_number(char serial[17]) in turris_atsha_otp_get_serial_number()
123 memcpy(serial, serial_env, 17); in turris_atsha_otp_get_serial_number()
145 sprintf(serial, "%08X%08X", be32_to_cpu(version_num), be32_to_cpu(serial_num)); in turris_atsha_otp_get_serial_number()
146 env_set("serial#", serial); in turris_atsha_otp_get_serial_number()
/u-boot/board/amlogic/jethub-j100/
A Djethub-j100.c21 char serial[SM_SERIAL_SIZE]; in misc_init_r() local
24 if (!meson_sm_get_serial(serial, SM_SERIAL_SIZE)) { in misc_init_r()
25 sid = crc32(0, (unsigned char *)serial, SM_SERIAL_SIZE); in misc_init_r()
/u-boot/board/amlogic/p200/
A Dp200.c25 char serial[EFUSE_SN_SIZE]; in misc_init_r() local
36 len = meson_sm_read_efuse(EFUSE_SN_OFFSET, serial, in misc_init_r()
39 env_set("serial#", serial); in misc_init_r()
/u-boot/board/amlogic/p201/
A Dp201.c25 char serial[EFUSE_SN_SIZE]; in misc_init_r() local
36 len = meson_sm_read_efuse(EFUSE_SN_OFFSET, serial, in misc_init_r()
39 env_set("serial#", serial); in misc_init_r()
/u-boot/board/amlogic/p212/
A Dp212.c26 char serial[EFUSE_SN_SIZE]; in misc_init_r() local
39 len = meson_sm_read_efuse(EFUSE_SN_OFFSET, serial, in misc_init_r()
42 env_set("serial#", serial); in misc_init_r()
/u-boot/board/amlogic/q200/
A Dq200.c26 char serial[EFUSE_SN_SIZE]; in misc_init_r() local
39 len = meson_sm_read_efuse(EFUSE_SN_OFFSET, serial, in misc_init_r()
42 env_set("serial#", serial); in misc_init_r()
/u-boot/arch/arm/dts/
A Duniphier-v7-u-boot.dtsi9 serial@54006800 {
13 serial@54006900 {
17 serial@54006a00 {
A Ds5pc1xx-smdkc100.dts18 serial0 = "/serial@ec000000";
19 console = "/serial@ec000000";
28 serial@ec000000 {
/u-boot/drivers/serial/
A DKconfig9 Enable support for serial drivers. This allows use of a serial UART
30 # non-dm serial code
101 drivers/serial/serial.c with the serial uclass, which
137 The serial subsystem only searches for a single serial device
149 The serial subsystem only probes for a single serial device,
167 drivers/serial/serial.c with the serial uclass, which
178 drivers/serial/serial.c with the serial uclass, which
188 drivers/serial/serial.c with the serial uclass, which
373 serial is running.
382 serial is running.
[all …]
/u-boot/board/sandbox/
A Dsandbox.env1 stdin=serial
5 stdout=serial,vidconsole
6 stderr=serial,vidconsole
/u-boot/lib/
A Dlist_sort.c170 unsigned serial; member
178 if (ela->serial >= TEST_LIST_LEN) { in check()
180 ela->serial); in check()
183 if (elb->serial >= TEST_LIST_LEN) { in check()
185 elb->serial); in check()
188 if (elts[ela->serial] != ela || elts[elb->serial] != elb) { in check()
241 el->serial = i; in list_sort_test()
269 if (cmp_result == 0 && el->serial >= el1->serial) { in list_sort_test()
/u-boot/doc/device-tree-bindings/serial/
A Dsandbox-serial.txt1 Sandbox serial
3 The sandbox serial device is an emulated device which displays its output
7 compatible: "sandbox,serial"
/u-boot/board/amlogic/jethub-j80/
A Djethub-j80.c31 char serial[EFUSE_SN_SIZE]; in misc_init_r() local
47 len = meson_sm_read_efuse(EFUSE_SN_OFFSET, serial, in misc_init_r()
50 env_set("serial", serial); in misc_init_r()
/u-boot/configs/
A Dmx6cuboxi_defconfig29serial,usbkbd; setenv stdout serial,vidconsole; setenv stderr serial,vidconsole; else setenv stdi…
/u-boot/arch/arm/mach-meson/
A Dboard-common.c81 char serial[SM_SERIAL_SIZE]; in meson_generate_serial_ethaddr() local
85 if (!meson_sm_get_serial(serial, SM_SERIAL_SIZE)) { in meson_generate_serial_ethaddr()
86 sid = crc32(0, (unsigned char *)serial, SM_SERIAL_SIZE); in meson_generate_serial_ethaddr()
87 sid16 = crc16_ccitt(0, (unsigned char *)serial, SM_SERIAL_SIZE); in meson_generate_serial_ethaddr()

Completed in 62 milliseconds

12345678910>>...29