Home
last modified time | relevance | path

Searched refs:w1 (Results 1 – 25 of 218) sorted by relevance

123456789

/openbmc/linux/Documentation/driver-api/
H A Dw1.rst10 include/linux/w1.h
15 .. kernel-doc:: include/linux/w1.h
18 drivers/w1/w1.c
23 .. kernel-doc:: drivers/w1/w1.c
26 drivers/w1/w1_family.c
31 .. kernel-doc:: drivers/w1/w1_family.c
34 drivers/w1/w1_internal.h
39 .. kernel-doc:: drivers/w1/w1_internal.h
42 drivers/w1/w1_int.c
47 .. kernel-doc:: drivers/w1/w1_int.c
[all …]
/openbmc/linux/crypto/
H A Daria_generic.c31 u32 w0[4], w1[4], w2[4], w3[4]; in aria_set_encrypt_key() local
51 w1[0] = be32_to_cpu(key[4]); in aria_set_encrypt_key()
52 w1[1] = be32_to_cpu(key[5]); in aria_set_encrypt_key()
54 w1[2] = be32_to_cpu(key[6]); in aria_set_encrypt_key()
55 w1[3] = be32_to_cpu(key[7]); in aria_set_encrypt_key()
57 w1[2] = 0; in aria_set_encrypt_key()
58 w1[3] = 0; in aria_set_encrypt_key()
61 w1[0] = 0; in aria_set_encrypt_key()
62 w1[1] = 0; in aria_set_encrypt_key()
63 w1[2] = 0; in aria_set_encrypt_key()
[all …]
H A Dcamellia_generic.c319 #define ROLDQ(ll, lr, rl, rr, w0, w1, bits) ({ \ argument
327 #define ROLDQo32(ll, lr, rl, rr, w0, w1, bits) ({ \ argument
329 w1 = lr; \
333 rr = (w0 << (bits - 32)) + (w1 >> (64 - bits)); \
540 u32 il, ir, t0, t1, w0, w1; in camellia_setup128() local
558 ROLDQ(kll, klr, krl, krr, w0, w1, 15); in camellia_setup128()
564 ROLDQ(kll, klr, krl, krr, w0, w1, 30); in camellia_setup128()
570 ROLDQ(kll, klr, krl, krr, w0, w1, 15); in camellia_setup128()
574 ROLDQ(kll, klr, krl, krr, w0, w1, 17); in camellia_setup128()
580 ROLDQ(kll, klr, krl, krr, w0, w1, 17); in camellia_setup128()
[all …]
/openbmc/linux/lib/raid6/
H A Dneon.uc63 register unative_t wd$$, wq$$, wp$$, w1$$, w2$$;
76 w1$$ = SHLBYTE(wq$$);
79 w1$$ = veorq_u8(w1$$, w2$$);
80 wq$$ = veorq_u8(w1$$, wd$$);
94 register unative_t wd$$, wq$$, wp$$, w1$$, w2$$;
110 w1$$ = SHLBYTE(wq$$);
113 w1$$ = veorq_u8(w1$$, w2$$);
114 wq$$ = veorq_u8(w1$$, wd$$);
119 w1$$ = vshlq_n_u8(wq$$, 4);
122 wq$$ = veorq_u8(w1$$, w2$$);
[all …]
H A Dint.uc88 unative_t wd$$, wq$$, wp$$, w1$$, w2$$;
100 w1$$ = SHLBYTE(wq$$);
102 w1$$ ^= w2$$;
103 wq$$ = w1$$ ^ wd$$;
117 unative_t wd$$, wq$$, wp$$, w1$$, w2$$;
130 w1$$ = SHLBYTE(wq$$);
132 w1$$ ^= w2$$;
133 wq$$ = w1$$ ^ wd$$;
138 w1$$ = SHLBYTE(wq$$);
140 wq$$ = w1$$ ^ w2$$;
/openbmc/linux/Documentation/w1/
H A Dw1-generic.rst2 Introduction to the 1-wire (w1) subsystem
11 The w1 subsystem provides the framework for managing w1 masters and
14 All w1 slave devices must be connected to a w1 bus master device.
16 Example w1 master devices:
20 - DS2482 (i2c to w1 bridge)
24 What does the w1 subsystem do?
27 When a w1 master driver registers with the w1 subsystem, the following occurs:
29 - sysfs entries for that w1 master are created
30 - the w1 bus is periodically searched for new slave devices
32 When a device is found on the bus, w1 core tries to load the driver for its family
[all …]
/openbmc/linux/arch/powerpc/crypto/
H A Dmd5-asm.S61 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument
66 LOAD_DATA(w1, off+4) /* W */ \
71 addis w1,w1,k1h; /* 2: wk = w + k */ \
73 addi w1,w1,k1l; /* 2: wk = w + k' */ \
75 add d,d,w1; /* 2: a = a + wk */ \
85 #define R_16_31(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument
92 addi w1,w1,k1l; /* 2: wk = w + k */ \
94 addis w1,w1,k1h; /* 2: wk = w + k' */ \
98 add d,d,w1; /* 2: a = a + wk */ \
105 #define R_32_47(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument
[all …]
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dworkqueue.rst213 工作项w0、w1、w2被排到同一个CPU上的一个绑定的wq q0上。w0
224 20 w1 starts and burns CPU
225 25 w1 sleeps
226 35 w1 wakes up and finishes
236 5 w1 starts and burns CPU
237 10 w1 sleeps
242 20 w1 wakes up and finishes
250 5 w1 starts and burns CPU
251 10 w1 sleeps
254 20 w1 wakes up and finishes
[all …]
/openbmc/u-boot/arch/arm/mach-mvebu/armada8k/
H A Dcache_llc.S20 mov w1, #LLC_WAY_MASK
21 str w1, [x0]
31 1: ldr w1, [x0]
32 and w1, w1, #LLC_CACHE_SYNC_MASK
33 cbnz w1, 1b
/openbmc/u-boot/doc/device-tree-bindings/w1/
H A Dw1-gpio.txt9 Also check doc/device-tree-bindings/w1-eeprom for possible child nodes drivers
12 - drivers/w1/w1-gpio.c
14 Software w1 device-tree node properties:
16 * compatible = "w1-gpio";
26 compatible = "w1-gpio";
33 compatible = "w1-gpio";
/openbmc/u-boot/drivers/w1/
H A Dw1-uclass.c31 struct w1_bus *w1 = dev_get_uclass_priv(bus); in w1_enumerate() local
32 u64 last_rn, rn = w1->search_id, tmp64; in w1_enumerate()
90 w1->search_id = 0; in w1_enumerate()
92 w1->search_id = rn; in w1_enumerate()
132 struct w1_device *w1 = dev_get_parent_platdata(dev); in w1_get_device_family() local
134 return w1->id & 0xff; in w1_get_device_family()
139 struct w1_device *w1 = dev_get_parent_platdata(dev); in w1_reset_select() local
151 for (i = 0; i < sizeof(w1->id); i++) in w1_reset_select()
152 ops->write_byte(bus, (w1->id >> (i * 8)) & 0xff); in w1_reset_select()
228 UCLASS_DRIVER(w1) = {
/openbmc/u-boot/drivers/w1-eeprom/
H A Dw1-eeprom-uclass.c53 struct w1_device *w1; in w1_eeprom_register_new_device() local
55 w1 = dev_get_parent_platdata(dev); in w1_eeprom_register_new_device()
56 if (w1->id) /* device already in use */ in w1_eeprom_register_new_device()
58 w1->id = id; in w1_eeprom_register_new_device()
72 struct w1_device *w1 = dev_get_parent_platdata(dev); in w1_eeprom_get_id() local
74 if (!w1) in w1_eeprom_get_id()
76 *id = w1->id; in w1_eeprom_get_id()
/openbmc/u-boot/doc/device-tree-bindings/w1-eeprom/
H A Deep_sandbox.txt7 Also check doc/device-tree-bindings/w1 for onewire bus drivers
10 - drivers/w1-eeprom/eep_sandbox.c
14 * compatible = "sandbox,w1-eeprom"
21 compatible = "sandbox,w1-eeprom";
27 compatible = "w1-gpio";
31 compatible = "sandbox,w1-eeprom";
/openbmc/qemu/hw/intc/
H A Dxive2.c83 uint32_t qindex = xive_get_field32(END2_W1_PAGE_OFF, end->w1); in xive2_end_queue_pic_print_info()
112 uint32_t qindex = xive_get_field32(END2_W1_PAGE_OFF, end->w1); in xive2_end_pic_print_info()
113 uint32_t qgen = xive_get_field32(END2_W1_GENERATION, end->w1); in xive2_end_pic_print_info()
126 pq = xive_get_field32(END2_W1_ESn, end->w1); in xive2_end_pic_print_info()
167 pq = xive_get_field32(END2_W1_ESe, end->w1); in xive2_end_eas_pic_print_info()
206 xive_get_field32(NVP2_W1_CO_THRID, nvp->w1)); in xive2_nvp_pic_print_info()
233 uint32_t qindex = xive_get_field32(END2_W1_PAGE_OFF, end->w1); in xive2_end_enqueue()
234 uint32_t qgen = xive_get_field32(END2_W1_GENERATION, end->w1); in xive2_end_enqueue()
250 end->w1 = xive_set_field32(END2_W1_GENERATION, end->w1, qgen); in xive2_end_enqueue()
253 end->w1 = xive_set_field32(END2_W1_GEN_FLIPPED, end->w1, qgen); in xive2_end_enqueue()
[all …]
/openbmc/linux/Documentation/w1/masters/
H A Dw1-gpio.rst2 Kernel driver w1-gpio
14 Documentation/devicetree/bindings/w1/w1-gpio.yaml
23 #include <linux/w1-gpio.h>
26 .dev_id = "w1-gpio",
38 .name = "w1-gpio",
/openbmc/linux/arch/arm64/kvm/hyp/
H A Dhyp-entry.S59 eor w1, w1, #ARM_SMCCC_ARCH_WORKAROUND_1
60 cbz w1, wa_epilogue
63 eor w1, w1, #(ARM_SMCCC_ARCH_WORKAROUND_1 ^ \
65 cbz w1, wa_epilogue
67 eor w1, w1, #(ARM_SMCCC_ARCH_WORKAROUND_2 ^ \
69 cbnz w1, el1_trap
/openbmc/linux/arch/arm64/lib/
H A Dstrchr.S22 and w1, w1, #0xff
24 cmp w2, w1
28 cmp w2, w1
/openbmc/qemu/hw/nvram/
H A Dxlnx-versal-efuse-cache.c37 unsigned int w1 = QEMU_ALIGN_DOWN((addr + size - 1) * 8, 32); in efuse_cache_read() local
41 assert(w0 == w1 || (w0 + 32) == w1); in efuse_cache_read()
43 ret = xlnx_versal_efuse_read_row(s->efuse, w1, NULL); in efuse_cache_read()
44 if (w0 < w1) { in efuse_cache_read()
/openbmc/linux/lib/crypto/mpi/
H A Dlonglong.h232 #define umul_ppmm(w1, w0, u, v) \ argument
240 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
241 #define smul_ppmm(w1, w0, u, v) \ argument
249 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
415 #define umul_ppmm(w1, w0, u, v) \ argument
418 "=d" (w1) \
470 #define umul_ppmm(w1, w0, u, v) \ argument
478 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
534 #define umul_ppmm(w1, w0, u, v) \ argument
537 "=d" ((USItype)(w1)) \
[all …]
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_support.c346 __u8 w1; in kdb_getphysword() local
354 diag = kdb_getphys(&w1, addr, sizeof(w1)); in kdb_getphysword()
356 *word = w1; in kdb_getphysword()
396 __u8 w1; in kdb_getword() local
403 diag = kdb_getarea(w1, addr); in kdb_getword()
405 *word = w1; in kdb_getword()
445 __u8 w1; in kdb_putword() local
451 w1 = word; in kdb_putword()
452 diag = kdb_putarea(addr, w1); in kdb_putword()
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-driver-w1_ds24381 What: /sys/bus/w1/devices/.../page1
5 see Documentation/w1/slaves/w1_ds2438.rst for detailed information
8 What: /sys/bus/w1/devices/.../offset
12 see Documentation/w1/slaves/w1_ds2438.rst for detailed information
H A Dsysfs-driver-w1_ds28e041 What: /sys/bus/w1/devices/.../pio
5 see Documentation/w1/slaves/w1_ds28e04.rst for detailed information
10 What: /sys/bus/w1/devices/.../eeprom
14 see Documentation/w1/slaves/w1_ds28e04.rst for detailed information
/openbmc/linux/tools/testing/selftests/net/
H A Dfcnal-test.sh582 run_cmd ping -c1 -w1 ${a}
586 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
590 run_cmd ping -c1 -w1 -I ${NSA_LO_IP} ${a}
614 run_cmd_nsb ping -c1 -w1 ${a}
624 run_cmd ping -c1 -w1 ${a}
634 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
644 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
658 run_cmd ping -c1 -w1 ${a}
669 run_cmd_nsb ping -c1 -w1 ${a}
686 run_cmd ping -c1 -w1 ${a}
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-w1_therm1 What: /sys/bus/w1/devices/.../alarms
11 master level, refer to Documentation/w1/w1-generic.rst for
17 What: /sys/bus/w1/devices/.../eeprom_cmd
33 What: /sys/bus/w1/devices/.../ext_power
47 What: /sys/bus/w1/devices/.../resolution
69 What: /sys/bus/w1/devices/.../temperature
90 What: /sys/bus/w1/devices/.../w1_slave
105 refer to Documentation/w1/slaves/w1_therm.rst for detailed
111 What: /sys/bus/w1/devices/w1_bus_masterXX/therm_bulk_read
139 What: /sys/bus/w1/devices/.../conv_time
[all …]
/openbmc/linux/tools/testing/selftests/arm64/fp/
H A Dsve-test.S77 orr w1, w0, w1, lsl #16
78 orr w2, w1, w2, lsl #28
81 mov w1, #MAXVL_B / 4
85 subs w1, w1, #1
165 mov w1, #1
166 lsl w1, w1, w0
167 sub w1, w1, #1
170 strh w1, [x0], 2

123456789