Home
last modified time | relevance | path

Searched refs:w1 (Results 1 – 25 of 217) 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
34 drivers/w1/w1_internal.h
42 drivers/w1/w1_int.c
50 drivers/w1/w1_netlink.h
58 drivers/w1/w1_io.c
63 .. kernel-doc:: drivers/w1/w1_io.c
[all …]
/openbmc/linux/crypto/
H A Daria_generic.c57 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()
64 w1[3] = 0; in aria_set_encrypt_key()
67 w1[0] ^= reg0; in aria_set_encrypt_key()
72 reg0 = w1[0]; in aria_set_encrypt_key()
73 reg1 = w1[1]; in aria_set_encrypt_key()
74 reg2 = w1[2]; in aria_set_encrypt_key()
[all …]
H A Dcamellia_generic.c329 w1 = lr; \
540 u32 il, ir, t0, t1, w0, w1; in camellia_setup128() local
597 w0, w1, il, ir, t0, t1); in camellia_setup128()
598 krl ^= w0; krr ^= w1; in camellia_setup128()
606 krl ^= w0; krr ^= w1; in camellia_setup128()
609 w0, w1, il, ir, t0, t1); in camellia_setup128()
610 kll ^= w0; klr ^= w1; in camellia_setup128()
719 krl ^= w0; krr ^= w1; in camellia_setup256()
731 kll ^= w0; klr ^= w1; in camellia_setup256()
739 krrl ^= w0; krrr ^= w1; in camellia_setup256()
[all …]
/openbmc/linux/lib/raid6/
H A Dneon.uc76 w1$$ = SHLBYTE(wq$$);
79 w1$$ = veorq_u8(w1$$, w2$$);
80 wq$$ = veorq_u8(w1$$, wd$$);
110 w1$$ = SHLBYTE(wq$$);
113 w1$$ = veorq_u8(w1$$, w2$$);
114 wq$$ = veorq_u8(w1$$, wd$$);
119 w1$$ = vshlq_n_u8(wq$$, 4);
128 w1$$ = vshlq_n_u8(wq$$, 3);
135 w1$$ = vshlq_n_u8(wq$$, 2);
142 w1$$ = SHLBYTE(wq$$);
[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
55 registers with the w1 subsystem.
85 w1 master sysfs interface
[all …]
/openbmc/linux/arch/powerpc/crypto/
H A Dmd5-asm.S66 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 */ \
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 */ \
111 addi w1,w1,k1l; /* 2: wk = w + k */ \
113 addis w1,w1,k1h; /* 2: wk = w + k' */ \
128 addi w1,w1,k1l; /* 2: w = w + k */ \
[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/linux/Documentation/translations/zh_CN/core-api/
H A Dworkqueue.rst224 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
266 10 w1 sleeps
[all …]
/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/qemu/hw/intc/
H A Dxive2.c190 end->w1 = xive_set_field32(END2_W1_GENERATION, end->w1, qgen); in xive2_end_enqueue()
195 end->w1 = xive_set_field32(END2_W1_PAGE_OFF, end->w1, qindex); in xive2_end_enqueue()
258 nvp.w1 = xive_set_field32(NVP2_W1_CO, nvp.w1, 0); in xive2_tctx_save_os_ctx()
260 nvp.w1 = xive_set_field32(NVP2_W1_CO_THRID, nvp.w1, 0xFFFF); in xive2_tctx_save_os_ctx()
325 nvp->w1 = xive_set_field32(NVP2_W1_CO, nvp->w1, 1); in xive2_tctx_restore_os_ctx()
326 nvp->w1 = xive_set_field32(NVP2_W1_CO_THRID_VALID, nvp->w1, 1); in xive2_tctx_restore_os_ctx()
327 nvp->w1 = xive_set_field32(NVP2_W1_CO_THRID, nvp->w1, pir); in xive2_tctx_restore_os_ctx()
334 nvp->w1 = xive_set_field32(NVP2_W1_CO_PRIV, nvp->w1, 0); in xive2_tctx_restore_os_ctx()
584 end->w1 = xive_set_field32(end_esmask, end->w1, pq); in xive2_router_end_es_notify()
901 end.w1 = xive_set_field32(end_esmask, end.w1, pq); in xive2_end_source_read()
[all …]
/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()
H A Dds24xxx.c32 struct w1_device *w1; in ds24xxx_probe() local
34 w1 = dev_get_parent_platdata(dev); in ds24xxx_probe()
35 w1->id = 0; in ds24xxx_probe()
/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/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/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/lib/
H A Dstrchr.S22 and w1, w1, #0xff
24 cmp w2, w1
28 cmp w2, w1
H A Dstrrchr.S23 and w1, w1, #0xff
26 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/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/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/Documentation/devicetree/bindings/w1/
H A Dw1-gpio.yaml4 $id: http://devicetree.org/schemas/w1/w1-gpio.yaml#
14 const: w1-gpio
39 compatible = "w1-gpio";
/openbmc/linux/lib/crypto/mpi/
H A Dlonglong.h232 #define umul_ppmm(w1, w0, u, v) \ argument
241 #define smul_ppmm(w1, w0, u, v) \ argument
418 "=d" (w1) \
537 "=d" ((USItype)(w1)) \
645 w1 = __ll >> 32; \
668 : "=d" ((UDItype)(w1)) \
677 w1 = __ll >> 64; \
938 : "=r" ((USItype)(w1)), \
977 : "=r" ((USItype)(w1)), \
1002 : "=r" ((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()

123456789