/openbmc/linux/Documentation/driver-api/ |
H A D | w1.rst | 2 W1: Dallas' 1-wire bus 7 W1 API internal to the kernel 10 include/linux/w1.h 13 W1 kernel API functions. 15 .. kernel-doc:: include/linux/w1.h 18 drivers/w1/w1.c 21 W1 core functions. 23 .. kernel-doc:: drivers/w1/w1.c 26 drivers/w1/w1_family.c 31 .. kernel-doc:: drivers/w1/w1_family.c [all …]
|
/openbmc/linux/crypto/ |
H A D | sm3.c | 38 #define R(i, a, b, c, d, e, f, g, h, t, w1, w2) \ argument 42 d += FF ## i(a, b, c) + ss2 + ((w1) ^ (w2)); \ 43 h += GG ## i(e, f, g) + ss1 + (w1); \ 49 #define R1(a, b, c, d, e, f, g, h, t, w1, w2) \ argument 50 R(1, a, b, c, d, e, f, g, h, t, w1, w2) 51 #define R2(a, b, c, d, e, f, g, h, t, w1, w2) \ argument 52 R(2, a, b, c, d, e, f, g, h, t, w1, w2) 64 #define W1(i) (W[i & 0x0f]) macro 89 R1(a, b, c, d, e, f, g, h, K[4], W1(4), I(8)); in sm3_transform() 90 R1(d, a, b, c, h, e, f, g, K[5], W1(5), I(9)); in sm3_transform() [all …]
|
H A D | aria_generic.c | 31 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 …]
|
/openbmc/linux/Documentation/w1/ |
H A D | w1-generic.rst | 2 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: 19 - W1-over-GPIO 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 [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_div0.c | 15 w1 = 0; \ in by_0_zero_check_1_1() 17 w2 /= w1; \ in by_0_zero_check_1_1() 31 w2 /= w1; \ in by_0_zero_check_2_1() 43 w1 = 0; \ in div64_by_0_zero_check() 57 w1 = 0; \ in by_0_zero_check_1_2() 59 w2 %%= w1; \ in by_0_zero_check_1_2() 73 w2 %%= w1; \ in by_0_zero_check_2_2() 85 w1 = 0; \ in mod64_by_0_zero_check() 99 w1 = 2; \ in _0_zero_check_ok_cls_1() 101 w2 /= w1; \ in _0_zero_check_ok_cls_1() [all …]
|
H A D | verifier_sdiv.c | 113 w1 = 2; \ in sdiv32_non_zero_reg_1() 114 w0 s/= w1; \ in sdiv32_non_zero_reg_1() 126 w1 = -2; \ in sdiv32_non_zero_reg_2() 127 w0 s/= w1; \ in sdiv32_non_zero_reg_2() 139 w1 = -2; \ in sdiv32_non_zero_reg_3() 140 w0 s/= w1; \ in sdiv32_non_zero_reg_3() 152 w1 = 2; \ in sdiv32_non_zero_reg_4() 153 w0 s/= w1; \ in sdiv32_non_zero_reg_4() 165 w1 = -2; \ in sdiv32_non_zero_reg_5() 166 w0 s/= w1; \ in sdiv32_non_zero_reg_5() [all …]
|
H A D | verifier_movsx.c | 78 w1 = (s8)w0; \ in mov32sx_s8_range() 79 /* w1 with s8 range */ \ in mov32sx_s8_range() 80 if w1 s> 0x7f goto l0_%=; \ in mov32sx_s8_range() 81 if w1 s< -0x80 goto l0_%=; \ in mov32sx_s8_range() 100 w1 = (s16)w0; \ in mov32sx_s16_range() 101 /* w1 with s16 range */ \ in mov32sx_s16_range() 102 if w1 s> 0x7fff goto l0_%=; \ in mov32sx_s16_range() 103 if w1 s< -0x80ff goto l0_%=; \ in mov32sx_s16_range() 122 w2 = (s16)w1; \ in mov32sx_s16_range_2()
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_ag_api.h | 66 * VCAP_KF_8021BR_E_TAGGED: W1, sparx5: is0 74 * VCAP_KF_8021CB_R_TAGGED_IS: W1, lan966x: is1 77 * VCAP_KF_8021Q_DEI0: W1, sparx5: is0, lan966x: is1 79 * VCAP_KF_8021Q_DEI1: W1, sparx5: is0, lan966x: is1 81 * VCAP_KF_8021Q_DEI2: W1, sparx5: is0 83 * VCAP_KF_8021Q_DEI_CLS: W1, sparx5: is2/es2, lan966x: is2/es0 95 * VCAP_KF_8021Q_TPID0: sparx5 is0 W3, lan966x is1 W1 97 * VCAP_KF_8021Q_TPID1: sparx5 is0 W3, lan966x is1 W1 110 * VCAP_KF_8021Q_VLAN_DBL_TAGGED_IS: W1, lan966x: is1 112 * VCAP_KF_8021Q_VLAN_TAGGED_IS: W1, sparx5: is2/es2, lan966x: is1/is2 [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | sm3-avx-asm_64.S | 118 #define W1 %xmm1 macro 187 /* h + w1 => h */ \ 241 vmovdqu 0*16(RDATA), XTMP0; /* XTMP0: w3, w2, w1, w0 */ \ 264 vpshufd $0b11111001, XTMP0, W1; /* W1: xx, w3, w2, w1 */ \ 271 #define SCHED_W_0(round, w0, w1, w2, w3, w4, w5) \ argument 274 vpalignr $12, XTMP0, w1, XTMP0; /* XTMP0: xx, w2, w1, w0 */ \ 276 vpshufd $0b10111111, w1, XTMP1; \ 282 #define SCHED_W_1(round, w0, w1, w2, w3, w4, w5) \ argument 307 #define SCHED_W_2(round, w0, w1, w2, w3, w4, w5) \ argument 308 /* W1 in XMM12 */ \ [all …]
|
/openbmc/linux/lib/raid6/ |
H A D | neon.uc | 63 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 D | int.uc | 88 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/u-boot/drivers/w1/ |
H A D | w1-uclass.c | 15 #include <w1.h> 16 #include <w1-eeprom.h> 31 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() 99 /* attempt to register as w1-eeprom device */ in w1_enumerate() 123 debug("Cannot find w1 bus %d\n", busnum); in w1_get_bus() 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() [all …]
|
/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/ |
H A D | spinlock.h | 55 " add %w1, %w0, #(1 << 16)\n" in hyp_spin_lock() 56 " stxr %w2, %w1, %3\n" in hyp_spin_lock() 64 " eor %w1, %w0, %w0, ror #16\n" in hyp_spin_lock() 65 " cbz %w1, 3f\n" in hyp_spin_lock() 73 " eor %w1, %w2, %w0, lsr #16\n" in hyp_spin_lock() 74 " cbnz %w1, 2b\n" in hyp_spin_lock() 89 " ldrh %w1, %0\n" in hyp_spin_unlock() 90 " add %w1, %w1, #1\n" in hyp_spin_unlock() 91 " stlrh %w1, %0", in hyp_spin_unlock() 93 " mov %w1, #1\n" in hyp_spin_unlock() [all …]
|
/openbmc/linux/drivers/w1/ |
H A D | Kconfig | 2 menuconfig W1 config 9 If you want W1 support, you should say Y here. 11 This W1 support can also be built as a module. If so, the module 14 if W1 23 There are three types of messages between w1 core and userspace: 29 source "drivers/w1/masters/Kconfig" 30 source "drivers/w1/slaves/Kconfig" 32 endif # W1
|
/openbmc/u-boot/doc/device-tree-bindings/w1/ |
H A D | w1-gpio.txt | 1 W1 gpio device binding - one wire protocol over bitbanged gpio 9 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/linux/arch/powerpc/crypto/ |
H A D | md5-asm.S | 61 #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/u-boot/drivers/w1-eeprom/ |
H A D | w1-eeprom-uclass.c | 15 #include <w1.h> 16 #include <w1-eeprom.h> 49 debug("cannot find w1 eeprom dev\n"); in w1_eeprom_register_new_device() 53 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/linux/arch/arm/crypto/ |
H A D | sha1-armv7-neon.S | 59 #define W1 q7 macro 371 W1, W2, W3, W4, W5, _, _, _ ); 374 W1, W2, W3, W4, W5, _, _, _ ); 377 W1, W2, W3, W4, W5, _, _, _ ); 380 W1, W2, W3, W4, W5, _, _, _ ); 385 W0, W1, W2, W3, W4, W5, W6, W7); 388 W0, W1, W2, W3, W4, W5, W6, W7); 391 W0, W1, W2, W3, W4, W5, W6, W7); 394 W0, W1, W2, W3, W4, W5, W6, W7); 398 W7, W0, W1, W2, W3, W4, W5, W6); [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm3-neon-core.S | 70 #define W1 v1 macro 139 add h, h, k; /* h + w1 + k => h */ \ 191 ld1 {W1.16b}, [RDATA], #16; 199 rev32 XTMP1.16b, W1.16b; 223 ext W1.16b, XTMP0.16b, XTMP0.16b, #4; /* W1: xx, w3, w2, w1 */ 244 #define SCHED_W_1_1(round, w0, w1, w2, w3, w4, w5) \ argument 248 #define SCHED_W_1_2(round, w0, w1, w2, w3, w4, w5) \ argument 249 ext XTMP5.16b, w1.16b, w1.16b, #12; 250 #define SCHED_W_1_3(round, w0, w1, w2, w3, w4, w5) \ argument 251 ext XTMP0.16b, XTMP0.16b, w1.16b, #12; /* XTMP0: xx, w2, w1, w0 */ [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | workqueue.rst | 213 工作项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/doc/device-tree-bindings/w1-eeprom/ |
H A D | eep_sandbox.txt | 7 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/u-boot/arch/arm/mach-mvebu/armada8k/ |
H A D | cache_llc.S | 20 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/ABI/testing/ |
H A D | sysfs-driver-w1_therm | 1 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/Documentation/w1/masters/ |
H A D | w1-gpio.rst | 2 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/qemu/hw/intc/ |
H A D | xive2.c | 83 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 …]
|