Home
last modified time | relevance | path

Searched refs:lens (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v5.10/net/rds/
Dconnection.c524 struct rds_info_lengths *lens, in rds_conn_message_info_cmn() argument
581 lens->nr = total; in rds_conn_message_info_cmn()
583 lens->each = sizeof(struct rds6_info_message); in rds_conn_message_info_cmn()
585 lens->each = sizeof(struct rds_info_message); in rds_conn_message_info_cmn()
590 struct rds_info_lengths *lens, in rds_conn_message_info() argument
593 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, false); in rds_conn_message_info()
599 struct rds_info_lengths *lens, in rds6_conn_message_info() argument
602 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, true); in rds6_conn_message_info()
608 struct rds_info_lengths *lens) in rds_conn_message_info_send() argument
610 rds_conn_message_info(sock, len, iter, lens, 1); in rds_conn_message_info_send()
[all …]
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()
Dstats.c113 struct rds_info_lengths *lens) in rds_stats_info() argument
141 lens->each = sizeof(struct rds_info_counter); in rds_stats_info()
142 lens->nr = rds_trans_stats_info_copy(iter, avail) + in rds_stats_info()
Daf_rds.c731 struct rds_info_lengths *lens) in rds_sock_inc_info() argument
763 lens->nr = total; in rds_sock_inc_info()
764 lens->each = sizeof(struct rds_info_message); in rds_sock_inc_info()
770 struct rds_info_lengths *lens) in rds6_sock_inc_info() argument
795 lens->nr = total; in rds6_sock_inc_info()
796 lens->each = sizeof(struct rds6_info_message); in rds6_sock_inc_info()
802 struct rds_info_lengths *lens) in rds_sock_info() argument
834 lens->nr = cnt; in rds_sock_info()
835 lens->each = sizeof(struct rds_info_socket); in rds_sock_info()
843 struct rds_info_lengths *lens) in rds6_sock_info() argument
[all …]
Dtcp.c233 struct rds_info_lengths *lens) in rds_tcp_tc_info() argument
266 lens->nr = rds_tcp_tc_count; in rds_tcp_tc_info()
267 lens->each = sizeof(tsinfo); in rds_tcp_tc_info()
279 struct rds_info_lengths *lens) in rds6_tcp_tc_info() argument
309 lens->nr = rds6_tcp_tc_count; in rds6_tcp_tc_info()
310 lens->each = sizeof(tsinfo6); in rds6_tcp_tc_info()
Dib.c381 struct rds_info_lengths *lens) in rds_ib_ic_info() argument
385 rds_for_each_conn_info(sock, len, iter, lens, in rds_ib_ic_info()
395 struct rds_info_lengths *lens) in rds6_ib_ic_info() argument
399 rds_for_each_conn_info(sock, len, iter, lens, in rds6_ib_ic_info()
Dinfo.h20 struct rds_info_lengths *lens);
/Linux-v5.10/lib/crypto/
Dchacha20poly1305.c64 __le64 lens[2]; in __chacha20poly1305_encrypt() member
80 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_encrypt()
81 b.lens[1] = cpu_to_le64(src_len); in __chacha20poly1305_encrypt()
82 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_encrypt()
135 __le64 lens[2]; in __chacha20poly1305_decrypt() member
153 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_decrypt()
154 b.lens[1] = cpu_to_le64(dst_len); in __chacha20poly1305_decrypt()
155 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_decrypt()
233 __le64 lens[2]; in chacha20poly1305_crypt_sg_inplace() member
300 b.lens[0] = cpu_to_le64(ad_len); in chacha20poly1305_crypt_sg_inplace()
[all …]
/Linux-v5.10/lib/zlib_inflate/
Dinftrees.c23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument
96 count[lens[sym]]++; in zlib_inflate_table()
133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in zlib_inflate_table()
242 len = lens[work[sym]]; in zlib_inflate_table()
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()
Dinftrees.h56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
Dinflate.h109 unsigned short lens[320]; /* temporary storage for code lengths */ member
/Linux-v5.10/Documentation/devicetree/bindings/media/i2c/
Dak7375.txt1 Asahi Kasei Microdevices AK7375 voice coil lens driver
3 AK7375 is a camera voice coil lens.
Dsony,imx214.txt23 - lens-focus: See ../video-interfaces.txt
42 lens-focus = <&ad5820>;
Ddongwoon,dw9807-vcm.txt1 Dongwoon Anatech DW9807 voice coil lens driver
Ddongwoon,dw9714.txt1 Dongwoon Anatech DW9714 camera voice coil lens driver
Dtoshiba,et8ek8.txt27 - lens-focus: See ../video-interfaces.txt
Dnokia,smia.txt32 - lens-focus: See ../video-interfaces.txt
/Linux-v5.10/drivers/net/ppp/
Dbsd_comp.c159 unsigned short *lens; /* array of lengths of codes */ member
340 vfree(db->lens); in bsd_free()
341 db->lens = NULL; in bsd_free()
421 db->lens = NULL; in bsd_alloc()
428 db->lens = vmalloc(array_size(sizeof(db->lens[0]), (maxmaxcode + 1))); in bsd_alloc()
429 if (!db->lens) in bsd_alloc()
472 || (decomp && db->lens == NULL)) in bsd_init()
482 db->lens[indx] = 1; in bsd_init()
524 #define lens_ptrx(p,idx) &(p->lens[idx])
729 if (db->lens) in bsd_compress()
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-camera.rst200 Determines auto focus distance range for which lens may be adjusted.
217 - The lens is set to focus on an object at infinite distance.
222 Specify the objective lens focal length as an absolute value. The
227 Specify the objective lens focal length relatively to the current
228 value. Positive values move the zoom lens group towards the
234 Move the objective lens group at the specified speed until it
236 the movement. A positive value moves the zoom lens group towards the
237 telephoto direction. A value of zero stops the zoom lens group
238 movement. A negative value moves the zoom lens group towards the
457 some lens-distortion correction.
[all …]
/Linux-v5.10/drivers/tty/
Dmoxa.c735 u16 lens[5]; in moxa_load_fw() local
748 BUILD_BUG_ON(ARRAY_SIZE(hdr->len) != ARRAY_SIZE(lens)); in moxa_load_fw()
769 for (a = 0; a < ARRAY_SIZE(lens); a++) { in moxa_load_fw()
770 lens[a] = le16_to_cpu(hdr->len[a]); in moxa_load_fw()
771 if (lens[a] && len + lens[a] <= fw->size && in moxa_load_fw()
775 if (!lens[a] && a < lencnt) { in moxa_load_fw()
779 len += lens[a]; in moxa_load_fw()
793 ret = moxa_load_bios(brd, ptr, lens[lenp]); in moxa_load_fw()
798 ptr += lens[lenp] + lens[lenp + 1]; in moxa_load_fw()
802 ret = moxa_load_320b(brd, ptr, lens[lenp]); in moxa_load_fw()
[all …]
/Linux-v5.10/Documentation/admin-guide/media/
Di2c-cardlist.rst138 ad5820 AD5820 lens voice coil
139 ak7375 AK7375 lens voice coil
140 dw9714 DW9714 lens voice coil
141 dw9807-vcm DW9807 lens voice coil
/Linux-v5.10/Documentation/devicetree/bindings/media/
Dvideo-interfaces.txt86 - lens-focus: A phandle to the node of the focus lens controller.
149 the camera module's lens optical inversion effect.
151 Assuming the above represented scene of the swimming shark, the lens
289 The camera is typically mounted upside-down to compensate the lens
324 lens optical inversion, the two reference systems will not be aligned,
382 the lens optical inversion effect:
/Linux-v5.10/sound/usb/usx2y/
Dusx2yhwdeppcm.c54 int i, lens = 0, hwptr_done = subs->hwptr_done; in usX2Y_usbpcm_urb_capt_retire() local
68 lens += urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_usbpcm_urb_capt_retire()
70 if ((hwptr_done += lens) >= runtime->buffer_size) in usX2Y_usbpcm_urb_capt_retire()
73 subs->transfer_done += lens; in usX2Y_usbpcm_urb_capt_retire()
/Linux-v5.10/arch/arm64/kernel/
Dhw_breakpoint.c716 u32 lens, lene; in get_distance_from_watchpoint() local
720 lens = __ffs(ctrl->len); in get_distance_from_watchpoint()
723 wp_low = val + lens; in get_distance_from_watchpoint()

12