Home
last modified time | relevance | path

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

123

/openbmc/linux/net/rds/
H A Dconnection.c536 struct rds_info_lengths *lens, in rds_conn_message_info_cmn() argument
593 lens->nr = total; in rds_conn_message_info_cmn()
595 lens->each = sizeof(struct rds6_info_message); in rds_conn_message_info_cmn()
597 lens->each = sizeof(struct rds_info_message); in rds_conn_message_info_cmn()
602 struct rds_info_lengths *lens, in rds_conn_message_info() argument
605 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, false); in rds_conn_message_info()
611 struct rds_info_lengths *lens, in rds6_conn_message_info() argument
614 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, true); in rds6_conn_message_info()
620 struct rds_info_lengths *lens) in rds_conn_message_info_send() argument
622 rds_conn_message_info(sock, len, iter, lens, 1); in rds_conn_message_info_send()
[all …]
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 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()
H A Daf_rds.c730 struct rds_info_lengths *lens) in rds_sock_inc_info() argument
762 lens->nr = total; in rds_sock_inc_info()
763 lens->each = sizeof(struct rds_info_message); in rds_sock_inc_info()
769 struct rds_info_lengths *lens) in rds6_sock_inc_info() argument
794 lens->nr = total; in rds6_sock_inc_info()
795 lens->each = sizeof(struct rds6_info_message); in rds6_sock_inc_info()
801 struct rds_info_lengths *lens) in rds_sock_info() argument
833 lens->nr = cnt; in rds_sock_info()
834 lens->each = sizeof(struct rds_info_socket); in rds_sock_info()
842 struct rds_info_lengths *lens) in rds6_sock_info() argument
[all …]
H A 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()
H A Dib.c371 struct rds_info_lengths *lens) in rds_ib_ic_info() argument
375 rds_for_each_conn_info(sock, len, iter, lens, in rds_ib_ic_info()
385 struct rds_info_lengths *lens) in rds6_ib_ic_info() argument
389 rds_for_each_conn_info(sock, len, iter, lens, in rds6_ib_ic_info()
H A Dinfo.h20 struct rds_info_lengths *lens);
/openbmc/linux/lib/crypto/
H A 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 …]
/openbmc/openbmc/poky/meta/recipes-multimedia/libsndfile/libsndfile1/
H A DCVE-2024-50612.patch121 -static sf_count_t vorbis_read_sample (SF_PRIVATE *psf, void *ptr, sf_count_t lens, convert_func *t…
150 +static sf_count_t vorbis_read_sample (SF_PRIVATE *psf, void *ptr, sf_count_t lens, convert_func *t…
253 @@ -688,33 +685,40 @@ vorbis_read_d (SF_PRIVATE *psf, double *ptr, sf_count_t lens)
322 vorbis_write_s (SF_PRIVATE *psf, const short *ptr, sf_count_t lens)
328 int in_frames = lens / psf->sf.channels ;
329 @@ -740,14 +750,17 @@ vorbis_write_s (SF_PRIVATE *psf, const short *ptr, sf_count_t lens)
339 return lens ;
343 vorbis_write_i (SF_PRIVATE *psf, const int *ptr, sf_count_t lens)
348 int in_frames = lens / psf->sf.channels ;
349 @@ -756,14 +769,17 @@ vorbis_write_i (SF_PRIVATE *psf, const int *ptr, sf_count_t lens)
[all …]
/openbmc/linux/fs/ntfs3/lib/
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()
H A Ddecompress_common.c109 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()
/openbmc/linux/lib/zlib_inflate/
H A 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()
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()
H A Dinftrees.h56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
/openbmc/u-boot/lib/zlib/
H A Dinftrees.c32 int inflate_table(codetype type, unsigned short FAR *lens, unsigned codes, in inflate_table() argument
106 count[lens[sym]]++; in inflate_table()
143 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in inflate_table()
252 len = lens[work[sym]]; in inflate_table()
H A Dinflate.c631 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflate()
635 state->lens[order[state->have++]] = 0; in inflate()
639 ret = inflate_table(CODES, state->lens, 19, &(state->next), in inflate()
659 state->lens[state->have++] = this.val; in inflate()
670 len = state->lens[state->have - 1]; in inflate()
694 state->lens[state->have++] = (unsigned short)len; in inflate()
705 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), in inflate()
714 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist, in inflate()
H A Dinftrees.h53 extern int inflate_table OF((codetype type, unsigned short FAR *lens,
/openbmc/linux/drivers/net/ppp/
H A 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()
/openbmc/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
/openbmc/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()
/openbmc/linux/Documentation/admin-guide/media/
H A Di2c-cardlist.rst136 ad5820 AD5820 lens voice coil
137 ak7375 AK7375 lens voice coil
138 dw9714 DW9714 lens voice coil
139 dw9768 DW9768 lens voice coil
140 dw9807-vcm DW9807 lens voice coil
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
/openbmc/linux/drivers/tty/
H A Dmoxa.c1035 u16 lens[5]; in moxa_load_fw() local
1048 BUILD_BUG_ON(ARRAY_SIZE(hdr->len) != ARRAY_SIZE(lens)); in moxa_load_fw()
1069 for (a = 0; a < ARRAY_SIZE(lens); a++) { in moxa_load_fw()
1070 lens[a] = le16_to_cpu(hdr->len[a]); in moxa_load_fw()
1071 if (lens[a] && len + lens[a] <= fw->size && in moxa_load_fw()
1075 if (!lens[a] && a < lencnt) { in moxa_load_fw()
1079 len += lens[a]; in moxa_load_fw()
1093 ret = moxa_load_bios(brd, ptr, lens[lenp]); in moxa_load_fw()
1098 ptr += lens[lenp] + lens[lenp + 1]; in moxa_load_fw()
1102 ret = moxa_load_320b(brd, ptr, lens[lenp]); in moxa_load_fw()
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-camera.rst201 Determines auto focus distance range for which lens may be adjusted.
218 - The lens is set to focus on an object at infinite distance.
223 Specify the objective lens focal length as an absolute value. The
228 Specify the objective lens focal length relatively to the current
229 value. Positive values move the zoom lens group towards the
235 Move the objective lens group at the specified speed until it
237 the movement. A positive value moves the zoom lens group towards the
238 telephoto direction. A value of zero stops the zoom lens group
239 movement. A negative value moves the zoom lens group towards the
460 some lens-distortion correction.
[all …]
/openbmc/linux/drivers/media/test-drivers/vimc/
H A DMakefile3 vimc-debayer.o vimc-scaler.o vimc-sensor.o vimc-lens.o

123