Home
last modified time | relevance | path

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

/linux-4.1.27/Documentation/DocBook/
D.w1.xml.cmd1 cmd_Documentation/DocBook/w1.xml := SRCTREE=./ ./scripts/docproc doc Documentation/DocBook/w1.tmpl …
2w1.xml: Documentation/DocBook/w1.tmpl drivers/w1/w1.h drivers/w1/w1.c drivers/w1/w1_family.h drive…
DMakefile17 tracepoint.xml drm.xml media_api.xml w1.xml \
/linux-4.1.27/fs/ncpfs/
Dncpsign_kernel.c56 unsigned int w0,w1,w2,w3; in nwsign() local
66 w1=GET_LE32(r_data1+4); in nwsign()
70 w0=rol32(w0 + ((w1 & w2) | ((~w1) & w3)) + data2[i+0],3); in nwsign()
71 w3=rol32(w3 + ((w0 & w1) | ((~w0) & w2)) + data2[i+1],7); in nwsign()
72 w2=rol32(w2 + ((w3 & w0) | ((~w3) & w1)) + data2[i+2],11); in nwsign()
73 w1=rol32(w1 + ((w2 & w3) | ((~w2) & w0)) + data2[i+3],19); in nwsign()
76 w0=rol32(w0 + (((w2 | w3) & w1) | (w2 & w3)) + 0x5a827999 + data2[i+0],3); in nwsign()
77 w3=rol32(w3 + (((w1 | w2) & w0) | (w1 & w2)) + 0x5a827999 + data2[i+4],5); in nwsign()
78 w2=rol32(w2 + (((w0 | w1) & w3) | (w0 & w1)) + 0x5a827999 + data2[i+8],9); in nwsign()
79 w1=rol32(w1 + (((w3 | w0) & w2) | (w3 & w0)) + 0x5a827999 + data2[i+12],13); in nwsign()
[all …]
/linux-4.1.27/Documentation/w1/
Dw1.generic1 The 1-wire (w1) subsystem
9 The w1 subsystem provides the framework for managing w1 masters and
12 All w1 slave devices must be connected to a w1 bus master device.
14 Example w1 master devices:
17 DS2482 (i2c to w1 bridge)
21 What does the w1 subsystem do?
23 When a w1 master driver registers with the w1 subsystem, the following occurs:
25 - sysfs entries for that w1 master are created
26 - the w1 bus is periodically searched for new slave devices
28 When a device is found on the bus, w1 core tries to load the driver for its family
[all …]
D00-INDEX7 w1.generic
8 - The 1-wire (w1) bus
9 w1.netlink
Dw1.netlink7 There are three types of messages between w1 core and userspace:
19 [struct w1_netlink_msg] - w1 netlink header.
69 when it is added to w1 core.
129 structure) will be 'acked' by the w1 core. Format of the reply is the same
153 Operation steps in w1 core when new command is received.
156 When new message (w1_netlink_msg) is received w1 core detects if it is
174 w1 uses CN_W1_IDX and CN_W1_VAL defined in include/linux/connector.h header.
187 2. http://www.ioremap.net/archive/w1
/linux-4.1.27/arch/powerpc/crypto/
Dmd5-asm.S69 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument
74 LOAD_DATA(w1, off+4) /* W */ \
79 addis w1,w1,k1h; /* 2: wk = w + k */ \
81 addi w1,w1,k1l; /* 2: wk = w + k' */ \
83 add d,d,w1; /* 2: a = a + wk */ \
93 #define R_16_31(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument
100 addi w1,w1,k1l; /* 2: wk = w + k */ \
102 addis w1,w1,k1h; /* 2: wk = w + k' */ \
106 add d,d,w1; /* 2: a = a + wk */ \
113 #define R_32_47(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument
[all …]
Dsha1-spe-asm.S111 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument
121 LOAD_DATA(w1, off+4) /* 2: W */ \
129 add d,d,w1; /* 2: E = E + W */ \
132 evmergelo w1,w1,w0; /* mix W[0]/W[1] */ \
135 #define R_16_19(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
143 evxor w0,w0,w1; /* W = W xor W[-14] */ \
161 #define R_20_39(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
168 evxor w0,w0,w1; /* W = W xor W[-14] */ \
185 #define R_40_59(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
193 evxor w0,w0,w1; /* W = W xor W[-14] */ \
[all …]
Dsha256-spe-asm.S161 #define R_CALC_W(a, b, c, d, e, f, g, h, w0, w1, w4, w5, w7, k, off) \ argument
163 evmergelohi rT0,w0,w1; /* w[-15] */ \
/linux-4.1.27/crypto/
Dcamellia_generic.c340 #define ROLDQ(ll, lr, rl, rr, w0, w1, bits) ({ \ argument
348 #define ROLDQo32(ll, lr, rl, rr, w0, w1, bits) ({ \ argument
350 w1 = lr; \
354 rr = (w0 << (bits - 32)) + (w1 >> (64 - bits)); \
561 u32 il, ir, t0, t1, w0, w1; in camellia_setup128() local
579 ROLDQ(kll, klr, krl, krr, w0, w1, 15); in camellia_setup128()
585 ROLDQ(kll, klr, krl, krr, w0, w1, 30); in camellia_setup128()
591 ROLDQ(kll, klr, krl, krr, w0, w1, 15); in camellia_setup128()
595 ROLDQ(kll, klr, krl, krr, w0, w1, 17); in camellia_setup128()
601 ROLDQ(kll, klr, krl, krr, w0, w1, 17); in camellia_setup128()
[all …]
/linux-4.1.27/arch/arm64/kernel/
Dentry32.S47 cmp w1, #88
48 csel w1, w3, w1, eq
54 cmp w1, #88
55 csel w1, w3, w1, eq
106 mov w6, w1
/linux-4.1.27/arch/arm64/lib/
Dstrchr.S33 and w1, w1, #0xff
35 cmp w2, w1
39 cmp w2, w1
Dmemchr.S34 and w1, w1, #0xff
38 cmp w3, w1
Dstrrchr.S34 and w1, w1, #0xff
37 cmp w2, w1
Dclear_page.S30 and w1, w1, #0xf
Dmemset.S41 val .req w1
/linux-4.1.27/lib/mpi/
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" ((USItype)(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 …]
/linux-4.1.27/lib/raid6/
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$$;
Dtilegx.uc56 u64 wd$$, wq$$, wp$$, w1$$, w2$$;
71 w1$$ = SHLBYTE(wq$$);
73 w1$$ = w1$$ ^ w2$$;
74 wq$$ = w1$$ ^ wd$$;
Dneon.uc58 register unative_t wd$$, wq$$, wp$$, w1$$, w2$$;
71 w1$$ = SHLBYTE(wq$$);
74 w1$$ = veorq_u8(w1$$, w2$$);
75 wq$$ = veorq_u8(w1$$, wd$$);
Daltivec.uc74 unative_t wd$$, wq$$, wp$$, w1$$, w2$$;
87 w1$$ = SHLBYTE(wq$$);
89 w1$$ = vec_xor(w1$$, w2$$);
90 wq$$ = vec_xor(w1$$, wd$$);
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-driver-w1_ds28e041 What: /sys/bus/w1/devices/.../pio
5 see Documentation/w1/slaves/w1_ds28e04 for detailed information
10 What: /sys/bus/w1/devices/.../eeprom
14 see Documentation/w1/slaves/w1_ds28e04 for detailed information
/linux-4.1.27/arch/x86/include/asm/
Drwsem.h108 " test " __ASM_SEL(%w1,%k1) "," __ASM_SEL(%w1,%k1) "\n\t" in __down_write_nested()
133 " test " __ASM_SEL(%w1,%k1) "," __ASM_SEL(%w1,%k1) "\n\t" in __down_write_trylock()
/linux-4.1.27/Documentation/devicetree/bindings/w1/
Dw1-gpio.txt1 w1-gpio devicetree bindings
5 - compatible: "w1-gpio"
19 compatible = "w1-gpio";
/linux-4.1.27/Documentation/w1/masters/
Dw1-gpio1 Kernel driver w1-gpio
17 #include <linux/w1-gpio.h>
25 .name = "w1-gpio",
D00-INDEX7 mxc-w1
11 w1-gpio
Domap-hdq32 The driver (drivers/w1/masters/omap_hdq.c) supports the HDQ mode of the
39 driver(drivers/w1/slaves/w1_bq27000.c) sets the ID to 1.
Dds249026 the core w1 code doesn't make use of the information. Connecting
/linux-4.1.27/arch/m68k/lib/
Dmuldi3.c25 #define umul_ppmm(w1, w0, u, v) \ argument
45 (w1) = __x3 + __ll_highpart (__x1); \
51 #define umul_ppmm(w1, w0, u, v) \ argument
54 "=d" ((USItype)(w1)) \
/linux-4.1.27/drivers/w1/
DKconfig22 There are three types of messages between w1 core and userspace:
28 source drivers/w1/masters/Kconfig
29 source drivers/w1/slaves/Kconfig
DMakefile6 wire-objs := w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o
/linux-4.1.27/kernel/debug/kdb/
Dkdb_support.c406 __u8 w1; in kdb_getphysword() local
414 diag = kdb_getphys(&w1, addr, sizeof(w1)); in kdb_getphysword()
416 *word = w1; in kdb_getphysword()
456 __u8 w1; in kdb_getword() local
463 diag = kdb_getarea(w1, addr); in kdb_getword()
465 *word = w1; in kdb_getword()
505 __u8 w1; in kdb_putword() local
511 w1 = word; in kdb_putword()
512 diag = kdb_putarea(addr, w1); in kdb_putword()
/linux-4.1.27/arch/sparc/math-emu/
Dsfp-util_32.h27 #define umul_ppmm(w1, w0, u, v) \ argument
68 : "=r" (w1), \
/linux-4.1.27/include/rdma/
Dib.h67 __be32 w1, __be32 w2, __be32 w3, __be32 w4) in ib_addr_set() argument
69 addr->sib_addr32[0] = w1; in ib_addr_set()
/linux-4.1.27/arch/microblaze/lib/
Dmuldi3.c13 #define umul_ppmm(w1, w0, u, v) \ argument
33 (w1) = __x3 + __ll_highpart(__x1); \
Duaccess_old.S176 w1: lw r4, r6, r3 /* at least one 4 byte copy */ label
179 bneid r7, w1
186 .word w1, 0f;
/linux-4.1.27/Documentation/
Dworkqueue.txt261 Work items w0, w1, w2 are queued to a bound wq q0 on the same CPU.
263 again before finishing. w1 and w2 burn CPU for 5ms then sleep for
275 20 w1 starts and burns CPU
276 25 w1 sleeps
277 35 w1 wakes up and finishes
287 5 w1 starts and burns CPU
288 10 w1 sleeps
293 20 w1 wakes up and finishes
301 5 w1 starts and burns CPU
302 10 w1 sleeps
[all …]
D00-INDEX470 w1/
471 - directory with documents regarding the 1-wire (w1) subsystem.
/linux-4.1.27/arch/sh/math-emu/
Dsfp-util.h21 #define umul_ppmm(w1, w0, u, v) \ argument
23 : "=r" ((u32)(w1)), "=r" ((u32)(w0)) \
/linux-4.1.27/fs/
Ddcookies.c207 COMPAT_SYSCALL_DEFINE4(lookup_dcookie, u32, w0, u32, w1, char __user *, buf, compat_size_t, len) in COMPAT_SYSCALL_DEFINE4() argument
210 return sys_lookup_dcookie(((u64)w0 << 32) | w1, buf, len); in COMPAT_SYSCALL_DEFINE4()
212 return sys_lookup_dcookie(((u64)w1 << 32) | w0, buf, len); in COMPAT_SYSCALL_DEFINE4()
/linux-4.1.27/Documentation/networking/mac80211_hwsim/
DREADME2 Copyright (c) 2008, Jouni Malinen <j@w1.fi>
67 git://w1.fi/srv/git/hostap.git and mac80211_hwsim/tests subdirectory
68 (http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=tree;f=mac80211_hwsim/tests)
/linux-4.1.27/drivers/w1/masters/
DMakefile11 obj-$(CONFIG_W1_MASTER_GPIO) += w1-gpio.o
DKconfig58 will be called w1-gpio.
/linux-4.1.27/arch/nios2/lib/
Dmemcpy.c31 #define MERGE(w0, sh_1, w1, sh_2) (((w0) >> (sh_1)) | ((w1) << (sh_2))) argument
/linux-4.1.27/drivers/media/platform/ti-vpe/
Dvpdma_priv.h134 u32 w1; member
445 u32 w1; member
523 u32 w1; member
Dvpdma.c520 cfd->w1 = 0; in vpdma_add_cfd_adb()
557 ctd->w1 = 0; in vpdma_add_sync_on_channel_ctd()
663 dtd->w1 = 0; in vpdma_add_out_dtd()
/linux-4.1.27/samples/bpf/
Dsockex2_kern.c54 __u64 w1 = load_word(ctx, off + 4); in ipv6_addr_hash() local
58 return (__u32)(w0 ^ w1 ^ w2 ^ w3); in ipv6_addr_hash()
/linux-4.1.27/drivers/mtd/nand/bcm47xxnflash/
Dops_bcm4706.c382 u8 w0, w1, w2, w3, w4; in bcm47xxnflash_ops_bcm4706_init() local
416 w1 = bcm47xxnflash_ops_bcm4706_ns_to_cycle(20, clock); in bcm47xxnflash_ops_bcm4706_init()
421 (w4 << 24 | w3 << 18 | w2 << 12 | w1 << 6 | w0)); in bcm47xxnflash_ops_bcm4706_init()
/linux-4.1.27/drivers/firewire/
Dnet.c71 u32 w1; member
78 #define fwnet_get_hdr_dgl(h) (((h)->w1 & 0xffff0000) >> 16)
100 hdr->w1 = fwnet_set_hdr_dgl(dgl); in fwnet_make_ff_hdr()
109 hdr->w1 = fwnet_set_hdr_dgl(dgl); in fwnet_make_sf_hdr()
606 hdr.w1 = ntohl(buf[1]); in fwnet_incoming_packet()
845 ptask->hdr.w1); in fwnet_transmit_packet_done()
956 put_unaligned_be32(ptask->hdr.w1, &bufhdr->w1); in fwnet_send_packet()
1298 ptask->hdr.w1 = 0; in fwnet_tx()
/linux-4.1.27/arch/xtensa/kernel/
Dalign.S69 .macro __src_b r, w0, w1; src \r, \w0, \w1; .endm
84 .macro __src_b r, w0, w1; src \r, \w1, \w0; .endm
/linux-4.1.27/arch/arm/boot/dts/
Dat91sam9x5cm.dtsi103 compatible = "w1-gpio";
Dimx28-cfa10049.dts164 w1_gpio_pins: w1-gpio@0 {
430 compatible = "w1-gpio";
Dat91-ariag25.dts182 compatible = "w1-gpio";
Dimx28-tx28.dts42 compatible = "w1-gpio";
/linux-4.1.27/drivers/block/paride/
Dparide.h106 #define w1(byte) {out_p(1,byte);} macro
/linux-4.1.27/drivers/char/tpm/
Dtpm_ibmvtpm.c51 static int ibmvtpm_send_crq(struct vio_dev *vdev, u64 w1, u64 w2) in ibmvtpm_send_crq() argument
53 return plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, w1, w2); in ibmvtpm_send_crq()
/linux-4.1.27/arch/xtensa/lib/
Dmemcopy.S14 .macro src_b r, w0, w1
16 src \r, \w0, \w1
18 src \r, \w1, \w0
/linux-4.1.27/arch/arm64/mm/
Dproc.S184 mmid w1, x1 // get mm->context.id
/linux-4.1.27/arch/parisc/lib/
Dmemcpy.c82 #define MERGE(w0, sh_1, w1, sh_2) ({ \ argument
88 : "r"(w0), "r"(w1), "r"(sh_2) \
/linux-4.1.27/drivers/
DMakefile106 obj-$(CONFIG_W1) += w1/
DKconfig67 source "drivers/w1/Kconfig"
/linux-4.1.27/arch/arm64/kernel/vdso/
Dgettimeofday.S189 cbz w1, 3f
/linux-4.1.27/drivers/gpu/drm/via/
Dvia_dma.c65 #define VIA_OUT_RING_QW(w1, w2) do { \ argument
66 *vb++ = (w1); \
/linux-4.1.27/net/ipv4/
Dinet_diag.c441 __be32 w1, w2; in bitstring_match() local
444 w1 = a1[words]; in bitstring_match()
449 if ((w1 ^ w2) & mask) in bitstring_match()
/linux-4.1.27/arch/powerpc/xmon/
Dxmon.c2783 unsigned long w0,w1,w2; in dump_tlb_44x() local
2785 asm volatile("tlbre %0,%1,1" : "=r" (w1) : "r" (i)); in dump_tlb_44x()
2787 printf("[%02x] %08x %08x %08x ", i, w0, w1, w2); in dump_tlb_44x()
2791 w1 & PPC44x_TLB_ERPN_MASK, in dump_tlb_44x()
2792 w1 & PPC44x_TLB_RPN_MASK, in dump_tlb_44x()
/linux-4.1.27/drivers/mmc/host/
Dpxamci.c316 u32 w1 = readl(host->base + MMC_RES) & 0xffff; in pxamci_cmd_done() local
318 cmd->resp[i] = v << 24 | w1 << 8 | w2 >> 8; in pxamci_cmd_done()
/linux-4.1.27/include/net/
Dipv6.h423 __be32 w1, __be32 w2, in ipv6_addr_set() argument
426 __ipv6_addr_set_half(&addr->s6_addr32[0], w1, w2); in ipv6_addr_set()
/linux-4.1.27/Documentation/input/
Delantech.txt447 n4 vf w1 w0 . . . b2
590 0 0 w1 w0 0 0 1 0
691 w3 w2 w1 w0 0 1 R L
/linux-4.1.27/arch/x86/kernel/apic/
Dio_apic.c323 struct { u32 w1, w2; }; member
331 eu.w1 = io_apic_read(apic, 0x10 + 2 * pin); in __ioapic_read_entry()
361 io_apic_write(apic, 0x10 + 2*pin, eu.w1); in __ioapic_write_entry()
384 io_apic_write(apic, 0x10 + 2*pin, eu.w1); in ioapic_mask_entry()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c2668 int work_done, w0, w1; in t3_intr() local
2676 w1 = adap->params.nports == 2 && in t3_intr()
2679 if (likely(w0 | w1)) { in t3_intr()
2686 if (w1) in t3_intr()
2689 work_done = w0 | w1; in t3_intr()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_sli.h420 u32 w1; member
446 u32 w1; member
/linux-4.1.27/drivers/input/mouse/
DKconfig30 <http://w1.894.telia.com/~u89404340/touchpad/index.html>
/linux-4.1.27/arch/arm64/kvm/
Dhyp.S1251 str w1, [x0, #VCPU_ESR_EL2]
/linux-4.1.27/
DMAINTAINERS4682 M: Jouni Malinen <j@w1.fi>
10724 F: Documentation/w1/
10725 F: drivers/w1/