Home
last modified time | relevance | path

Searched full:lens (Results 1 – 25 of 65) sorted by relevance

123

/linux/lib/crypto/
H A Dchacha20poly1305.c63 __le64 lens[2]; in __chacha20poly1305_encrypt() member
79 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_encrypt()
80 b.lens[1] = cpu_to_le64(src_len); in __chacha20poly1305_encrypt()
81 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_encrypt()
137 __le64 lens[2]; in __chacha20poly1305_decrypt() member
155 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_decrypt()
156 b.lens[1] = cpu_to_le64(dst_len); in __chacha20poly1305_decrypt()
157 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_decrypt()
235 __le64 lens[2]; in chacha20poly1305_crypt_sg_inplace() member
302 b.lens[0] = cpu_to_le64(ad_len); in chacha20poly1305_crypt_sg_inplace()
[all …]
/linux/Documentation/admin-guide/media/
H A Dvimc.rst56 vimc-lens:
57 Ancillary lens for a sensor. Supports auto focus control. Linked to
58 a vimc-sensor using an ancillary link. The lens supports FOCUS_ABSOLUTE
65 - entity 28: Lens A (0 pad, 0 link)
66 type V4L2 subdev subtype Lens flags 0
68 - entity 29: Lens B (0 pad, 0 link)
69 type V4L2 subdev subtype Lens flags 0
H A Dvimc.dot9 …n00000002 [label="{{} | Lens A\n/dev/v4l-subdev5 | {<port0>}}", shape=Mrecord, style=filled, fillc…
14 …n00000004 [label="{{} | Lens B\n/dev/v4l-subdev6 | {<port0>}}", shape=Mrecord, style=filled, fillc…
/linux/lib/zlib_inflate/
H A Dinftrees.c13 The code lengths are lens[0..codes-1]. The result starts at *table,
15 lens shorts, which is used as a work area. type is the type of code
16 to be generated, CODES, LENS, or DISTS. On return, zero is success,
23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument
63 code lengths are lens[0..codes-1]. Each length corresponds to the in zlib_inflate_table()
75 lens[] are in the range 0..MAXBITS. The caller must assure this. in zlib_inflate_table()
92 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */ in zlib_inflate_table()
96 count[lens[sym]]++; in zlib_inflate_table()
133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in zlib_inflate_table()
155 provided *table space. It is checked when a LENS table is being made in zlib_inflate_table()
[all …]
H A Dinftrees.h52 LENS, enumerator
56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
H A Dinflate.c487 state->lens[order[state->have++]] = (unsigned short)BITS(3); in zlib_inflate()
491 state->lens[order[state->have++]] = 0; in zlib_inflate()
495 ret = zlib_inflate_table(CODES, state->lens, 19, &(state->next), in zlib_inflate()
515 state->lens[state->have++] = this.val; in zlib_inflate()
526 len = state->lens[state->have - 1]; in zlib_inflate()
550 state->lens[state->have++] = (unsigned short)len; in zlib_inflate()
561 ret = zlib_inflate_table(LENS, state->lens, state->nlen, &(state->next), in zlib_inflate()
570 ret = zlib_inflate_table(DISTS, state->lens + state->nlen, state->ndist, in zlib_inflate()
/linux/Documentation/devicetree/bindings/media/i2c/
H A Dasahi-kasei,ak7375.yaml7 title: Asahi Kasei Microdevices AK7375 voice coil lens actuator
13 AK7375 is a voice coil motor (VCM) camera lens actuator that
45 ak7375: camera-lens@c {
H A Ddongwoon,dw9807-vcm.yaml8 title: Dongwoon Anatech DW9807 voice coil lens driver
36 lens@e {
H A Ddongwoon,dw9714.yaml7 title: Dongwoon Anatech DW9714 camera voice coil lens driver
42 camera-lens@c {
H A Ddongwoon,dw9768.yaml8 title: Dongwoon Anatech DW9768 Voice Coil Motor (VCM) Lens
87 dw9768: camera-lens@c {
/linux/net/rds/
H A Dinfo.c162 struct rds_info_lengths lens; in rds_info_getsockopt() local
218 func(sock, len, &iter, &lens); in rds_info_getsockopt()
219 BUG_ON(lens.each == 0); in rds_info_getsockopt()
221 total = lens.nr * lens.each; in rds_info_getsockopt()
230 ret = lens.each; in rds_info_getsockopt()
H A Dinfo.h13 * These functions must fill in the fields of @lens to reflect the size
20 struct rds_info_lengths *lens);
H A Dstats.c112 struct rds_info_lengths *lens) in rds_stats_info() argument
140 lens->each = sizeof(struct rds_info_counter); in rds_stats_info()
141 lens->nr = rds_trans_stats_info_copy(iter, avail) + in rds_stats_info()
H A Dtcp.c234 struct rds_info_lengths *lens) in rds_tcp_tc_info() argument
267 lens->nr = rds_tcp_tc_count; in rds_tcp_tc_info()
268 lens->each = sizeof(tsinfo); in rds_tcp_tc_info()
280 struct rds_info_lengths *lens) in rds6_tcp_tc_info() argument
310 lens->nr = rds6_tcp_tc_count; in rds6_tcp_tc_info()
311 lens->each = sizeof(tsinfo6); in rds6_tcp_tc_info()
/linux/fs/ntfs3/lib/
H A Ddecompress_common.c69 * the 'lens' array and use the decoded symbol as an index into it.
84 * 'lens' array. Must be less than or equal to 2048.
90 * @lens:
98 * All entries in 'lens' must be less than or equal to this value.
109 const u32 table_bits, const u8 lens[], in make_huffman_decode_table() argument
133 len_counts[lens[sym]]++; in make_huffman_decode_table()
190 if (lens[sym]) in make_huffman_decode_table()
191 sorted_syms[offsets[lens[sym]]++] = sym; in make_huffman_decode_table()
H A Dxpress_decompress.c27 u8 lens[XPRESS_NUM_SYMBOLS]; member
73 d->lens[i*2 + 0] = in_begin[i] & 0xF; in xpress_decompress()
74 d->lens[i*2 + 1] = in_begin[i] >> 4; in xpress_decompress()
79 XPRESS_TABLEBITS, d->lens, in xpress_decompress()
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-controller-model.rst39 fact that a particular camera sensor and lens controller form a single
40 physical module, meaning this lens controller drives the lens for this
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-camera.rst202 Determines auto focus distance range for which lens may be adjusted.
219 - The lens is set to focus on an object at infinite distance.
224 Specify the objective lens focal length as an absolute value. The
229 Specify the objective lens focal length relatively to the current
230 value. Positive values move the zoom lens group towards the
236 Move the objective lens group at the specified speed until it
238 the movement. A positive value moves the zoom lens group towards the
239 telephoto direction. A value of zero stops the zoom lens group
240 movement. A negative value moves the zoom lens group towards the
461 some lens-distortion correction.
[all …]
/linux/Documentation/userspace-api/media/drivers/
H A Dthp7312.rst28 connected to the THP7312. If the module doesn't have a focus lens actuator,
30 controllable focus lens but the sensor doesn't support PDAF, only the
/linux/drivers/media/i2c/
H A Ddw9807-vcm.c20 * This acts as the minimum granularity of lens movement.
22 * uniformly adjusted for gradual lens movement, with desired
231 * The lens position is gradually moved in units of DW9807_CTRL_STEPS,
263 * The lens position is gradually moved in units of DW9807_CTRL_STEPS,
H A Dak7375.c27 * This acts as the minimum granularity of lens movement.
29 * uniformly adjusted for gradual lens movement, with desired
244 * The lens position is gradually moved in units of ctrl_steps,
287 * The lens position is gradually moved in units of ctrl_steps,
H A Dov772x.c109 #define LCC0 0x46 /* Lens correction control 0 */
110 #define LCC1 0x47 /* Lens correction option 1 - X coordinate */
111 #define LCC2 0x48 /* Lens correction option 2 - Y coordinate */
112 #define LCC3 0x49 /* Lens correction option 3 */
113 #define LCC4 0x4A /* Lens correction option 4 - radius of the circular */
114 #define LCC5 0x4B /* Lens correction option 5 */
115 #define LCC6 0x4C /* Lens correction option 6 */
117 #define LC_CTR 0x46 /* Lens correction control */
118 #define LC_XC 0x47 /* X coordinate of lens correction center relative */
119 #define LC_YC 0x48 /* Y coordinate of lens correction center relative */
[all …]
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c81 const unsigned int *lens, in fun_write_gl() argument
91 fun_dataop_gl_init(gle, 0, 0, lens[i], addrs[i]); in fun_write_gl()
96 fun_dataop_gl_init(gle, 0, 0, lens[i], addrs[i]); in fun_write_gl()
155 unsigned int lens[MAX_SKB_FRAGS + 1]; in write_pkt_desc() local
166 skb_headlen(skb), addrs, lens))) { in write_pkt_desc()
277 gle = fun_write_gl(q, req, addrs, lens, ngle); in write_pkt_desc()
518 unsigned int lens[MAX_SKB_FRAGS + 1]; in fun_xdp_tx() local
540 lens))) { in fun_xdp_tx()
556 fun_write_gl(q, req, dma, lens, nfrags); in fun_xdp_tx()
/linux/drivers/tty/
H A Dmoxa.c864 u16 lens[5]; in moxa_load_fw() local
877 BUILD_BUG_ON(ARRAY_SIZE(hdr->len) != ARRAY_SIZE(lens)); in moxa_load_fw()
898 for (a = 0; a < ARRAY_SIZE(lens); a++) { in moxa_load_fw()
899 lens[a] = le16_to_cpu(hdr->len[a]); in moxa_load_fw()
900 if (lens[a] && len + lens[a] <= fw->size && in moxa_load_fw()
904 if (!lens[a] && a < lencnt) { in moxa_load_fw()
908 len += lens[a]; in moxa_load_fw()
922 ret = moxa_load_bios(brd, ptr, lens[lenp]); in moxa_load_fw()
926 /* we skip the tty section (lens[1]), since we don't need it */ in moxa_load_fw()
927 ptr += lens[lenp] + lens[lenp + 1]; in moxa_load_fw()
[all …]
/linux/drivers/media/test-drivers/vimc/
H A DMakefile3 vimc-debayer.o vimc-scaler.o vimc-sensor.o vimc-lens.o

123