| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs_htt_stats.c | 19 #define PRINT_ARRAY_TO_BUF(out, buflen, arr, str, len, newline) \ argument 28 for (i = 0; i < len; i++) { \ 45 u32 len = stats_req->buf_len; in htt_print_stats_string_tlv() local 51 len += scnprintf(buf + len, buf_len - len, "HTT_STATS_STRING_TLV:\n"); in htt_print_stats_string_tlv() 53 len += scnprintf(buf + len, buf_len - len, in htt_print_stats_string_tlv() 56 len += scnprintf(buf + len, in htt_print_stats_string_tlv() 57 buf_len - len, in htt_print_stats_string_tlv() 61 len += scnprintf(buf + len, buf_len - len, "\n\n"); in htt_print_stats_string_tlv() 63 if (len >= buf_len) in htt_print_stats_string_tlv() 66 buf[len] = 0; in htt_print_stats_string_tlv() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | proc_net_pktgen.c | 116 ssize_t len; in FIXTURE_SETUP() local 127 len = write(self->thr_fd, thr_cmd_add_loopback_0, sizeof(thr_cmd_add_loopback_0)); in FIXTURE_SETUP() 128 ASSERT_EQ(len, sizeof(thr_cmd_add_loopback_0)) TH_LOG("device lo@0 already registered?"); in FIXTURE_SETUP() 136 ssize_t len; in FIXTURE_TEARDOWN() local 141 len = write(self->thr_fd, thr_cmd_rm_loopback_0, sizeof(thr_cmd_rm_loopback_0)); in FIXTURE_TEARDOWN() 142 EXPECT_EQ(len, sizeof(thr_cmd_rm_loopback_0)); in FIXTURE_TEARDOWN() 153 ssize_t len; in TEST_F() local 155 len = write(self->ctrl_fd, wrong_ctrl_cmd, i); in TEST_F() 156 EXPECT_EQ(len, -1); in TEST_F() 162 ssize_t len; in TEST_F() local [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | debug.c | 180 unsigned int len = 0; in read_file_beacon() local 185 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 190 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n", in read_file_beacon() 193 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n\n", in read_file_beacon() 197 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 201 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 205 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 209 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 213 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 217 if (len > sizeof(buf)) in read_file_beacon() [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | htc_drv_debug.c | 25 unsigned int len = 0; in read_file_tgt_int_stats() local 40 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 44 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 48 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 52 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 56 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 60 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_tgt_int_stats() 64 if (len > sizeof(buf)) in read_file_tgt_int_stats() 65 len = sizeof(buf); in read_file_tgt_int_stats() 67 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tgt_int_stats() [all …]
|
| /linux/lib/ |
| H A D | kfifo.c | 91 unsigned int len, unsigned int off) in kfifo_copy_in() 101 len *= esize; in kfifo_copy_in() 103 l = min(len, size - off); in kfifo_copy_in() 106 memcpy(fifo->data, src + l, len - l); in kfifo_copy_in() 115 const void *buf, unsigned int len) in __kfifo_in() 120 if (len > l) in __kfifo_in() 121 len = l; in __kfifo_in() 123 kfifo_copy_in(fifo, buf, len, fifo->in); in __kfifo_in() 124 fifo->in += len; in __kfifo_in() 125 return len; in __kfifo_in() 90 kfifo_copy_in(struct __kfifo * fifo,const void * src,unsigned int len,unsigned int off) kfifo_copy_in() argument 114 __kfifo_in(struct __kfifo * fifo,const void * buf,unsigned int len) __kfifo_in() argument 129 kfifo_copy_out(struct __kfifo * fifo,void * dst,unsigned int len,unsigned int off) kfifo_copy_out() argument 153 __kfifo_out_peek(struct __kfifo * fifo,void * buf,unsigned int len) __kfifo_out_peek() argument 167 __kfifo_out(struct __kfifo * fifo,void * buf,unsigned int len) __kfifo_out() argument 176 kfifo_copy_from_user(struct __kfifo * fifo,const void __user * from,unsigned int len,unsigned int off,unsigned int * copied) kfifo_copy_from_user() argument 211 __kfifo_from_user(struct __kfifo * fifo,const void __user * from,unsigned long len,unsigned int * copied) __kfifo_from_user() argument 237 kfifo_copy_to_user(struct __kfifo * fifo,void __user * to,unsigned int len,unsigned int off,unsigned int * copied) kfifo_copy_to_user() argument 271 __kfifo_to_user(struct __kfifo * fifo,void __user * to,unsigned long len,unsigned int * copied) __kfifo_to_user() argument 296 setup_sgl_buf(struct scatterlist * sgl,void * buf,int nents,unsigned int len) setup_sgl_buf() argument 335 setup_sgl(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len,unsigned int off) setup_sgl() argument 357 __kfifo_dma_in_prepare(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len) __kfifo_dma_in_prepare() argument 370 __kfifo_dma_out_prepare(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len) __kfifo_dma_out_prepare() argument 382 __kfifo_max_r(unsigned int len,size_t recsize) __kfifo_max_r() argument 439 __kfifo_in_r(struct __kfifo * fifo,const void * buf,unsigned int len,size_t recsize) __kfifo_in_r() argument 453 kfifo_out_copy_r(struct __kfifo * fifo,void * buf,unsigned int len,size_t recsize,unsigned int * n) kfifo_out_copy_r() argument 465 __kfifo_out_peek_r(struct __kfifo * fifo,void * buf,unsigned int len,size_t recsize) __kfifo_out_peek_r() argument 477 __kfifo_out_r(struct __kfifo * fifo,void * buf,unsigned int len,size_t recsize) __kfifo_out_r() argument 500 __kfifo_from_user_r(struct __kfifo * fifo,const void __user * from,unsigned long len,unsigned int * copied,size_t recsize) __kfifo_from_user_r() argument 524 __kfifo_to_user_r(struct __kfifo * fifo,void __user * to,unsigned long len,unsigned int * copied,size_t recsize) __kfifo_to_user_r() argument 549 __kfifo_dma_in_prepare_r(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len,size_t recsize) __kfifo_dma_in_prepare_r() argument 563 __kfifo_dma_in_finish_r(struct __kfifo * fifo,unsigned int len,size_t recsize) __kfifo_dma_in_finish_r() argument 572 __kfifo_dma_out_prepare_r(struct __kfifo * fifo,struct scatterlist * sgl,int nents,unsigned int len,size_t recsize) __kfifo_dma_out_prepare_r() argument 587 unsigned int len; __kfifo_dma_out_finish_r() local [all...] |
| H A D | seq_buf.c | 38 static bool seq_buf_can_fit(struct seq_buf *s, size_t len) in seq_buf_can_fit() argument 40 return s->len + len <= s->size; in seq_buf_can_fit() 52 unsigned int len = seq_buf_used(s); in seq_buf_print_seq() local 54 return seq_write(m, s->buffer, len); in seq_buf_print_seq() 69 int len; in seq_buf_vprintf() local 73 if (s->len < s->size) { in seq_buf_vprintf() 74 len = vsnprintf(s->buffer + s->len, s->size - s->len, fmt, args); in seq_buf_vprintf() 75 if (s->len + len < s->size) { in seq_buf_vprintf() 76 s->len += len; in seq_buf_vprintf() 119 if (s->size == 0 || s->len == 0) in seq_buf_do_printk() [all …]
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_debugfs.c | 148 int i, index, len, enable; in lpfc_debugfs_disc_trc_data() local 160 len = 0; in lpfc_debugfs_disc_trc_data() 171 len += scnprintf(buf+len, size-len, buffer, in lpfc_debugfs_disc_trc_data() 182 len += scnprintf(buf+len, size-len, buffer, in lpfc_debugfs_disc_trc_data() 189 return len; in lpfc_debugfs_disc_trc_data() 214 int i, index, len, enable; in lpfc_debugfs_slow_ring_trc_data() local 226 len = 0; in lpfc_debugfs_slow_ring_trc_data() 237 len += scnprintf(buf+len, size-len, buffer, in lpfc_debugfs_slow_ring_trc_data() 248 len += scnprintf(buf+len, size-len, buffer, in lpfc_debugfs_slow_ring_trc_data() 255 return len; in lpfc_debugfs_slow_ring_trc_data() [all …]
|
| /linux/kernel/module/ |
| H A D | stats.c | 222 atomic_long_add(info->len * 2, &invalid_mod_bytes); in mod_stat_bump_invalid() 233 atomic_long_add(info->len, &invalid_becoming_bytes); in mod_stat_bump_becoming() 277 unsigned int len, size, count_failed = 0; in read_file_mod_stats() local 306 len = scnprintf(buf, size, "%25s\t%u\n", "Mods ever loaded", live_mod_count); in read_file_mod_stats() 308 len += scnprintf(buf + len, size - len, "%25s\t%u\n", "Mods failed on kread", fkreads); in read_file_mod_stats() 310 len += scnprintf(buf + len, size - len, "%25s\t%u\n", "Mods failed on decompress", in read_file_mod_stats() 312 len += scnprintf(buf + len, size - len, "%25s\t%u\n", "Mods failed on becoming", fbecoming); in read_file_mod_stats() 314 len += scnprintf(buf + len, size - len, "%25s\t%u\n", "Mods failed on load", floads); in read_file_mod_stats() 316 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Total module size", total_size); in read_file_mod_stats() 317 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Total mod text size", text_size); in read_file_mod_stats() [all …]
|
| /linux/drivers/pnp/pnpbios/ |
| H A D | rsparser.c | 57 int start, int len) in pnpbios_parse_allocated_ioresource() argument 60 int end = start + len - 1; in pnpbios_parse_allocated_ioresource() 62 if (len <= 0 || end >= 0x10003) in pnpbios_parse_allocated_ioresource() 69 int start, int len) in pnpbios_parse_allocated_memresource() argument 72 int end = start + len - 1; in pnpbios_parse_allocated_memresource() 74 if (len <= 0) in pnpbios_parse_allocated_memresource() 84 unsigned int len, tag; in pnpbios_parse_allocated_resource_data() local 98 len = (p[2] << 8) | p[1]; in pnpbios_parse_allocated_resource_data() 101 len = p[0] & 0x07; in pnpbios_parse_allocated_resource_data() 108 if (len != 9) in pnpbios_parse_allocated_resource_data() [all …]
|
| /linux/tools/include/nolibc/ |
| H A D | string.h | 16 static void *malloc(size_t len); 38 void *memmove(void *dst, const void *src, size_t len); 40 void *memmove(void *dst, const void *src, size_t len) in memmove() argument 44 pos = len; in memmove() 52 while (len) { in memmove() 55 len--; in memmove() 63 void *memcpy(void *dst, const void *src, size_t len); 65 void *memcpy(void *dst, const void *src, size_t len) in memcpy() argument 69 while (pos < len) { in memcpy() 81 void *memset(void *dst, int b, size_t len); [all …]
|
| /linux/arch/arc/net/ |
| H A D | bpf_jit_arcv2.c | 1315 u8 len = 0; in mov_r32() local 1319 len = arc_sexb_r(buf, REG_LO(rd), REG_LO(rs)); in mov_r32() 1321 len = arc_sexh_r(buf, REG_LO(rd), REG_LO(rs)); in mov_r32() 1323 len = arc_mov_r(buf, REG_LO(rd), REG_LO(rs)); in mov_r32() 1325 return len; in mov_r32() 1331 len = arc_mov_r(buf, REG_LO(rd), REG_LO(rs)); in mov_r32() 1333 return len; in mov_r32() 1343 u8 len = 0; in mov_r64() local 1347 len = mov_r32(buf, rd, rs, sign_ext); in mov_r64() 1351 len in mov_r64() 1377 u8 len = 0; mov_r64_i32() local 1421 u8 len; mov_r64_i64() local 1445 u8 len = 0; adjust_mem_access() local 1462 u8 len, arc_reg_mem; store_r() local 1493 u8 len, arc_reg_mem; store_i() local 1523 u8 len = 0; push_r64() local 1542 u8 len, arc_reg_mem; load_r() local 1610 u8 len; add_r64() local 1619 u8 len; add_r64_i32() local 1646 u8 len; sub_r64() local 1655 u8 len; sub_r64_i32() local 1675 u8 len; neg_r64() local 1710 u8 len; mul_r64() local 1754 u8 len = 0; mul_r64_i32() local 1824 u8 len; and_r64() local 1833 u8 len; and_r64_i32() local 1857 u8 len; or_r64() local 1866 u8 len; or_r64_i32() local 1885 u8 len; xor_r64() local 1894 u8 len; xor_r64_i32() local 1955 u8 len; lsh_r64() local 1987 u8 len = 0; lsh_r64_i32() local 2050 u8 len; rsh_r64() local 2082 u8 len = 0; rsh_r64_i32() local 2147 u8 len; arsh_r64() local 2180 u8 len = 0; arsh_r64_i32() local 2202 u8 len = 0; gen_swap() local 2277 u8 len; frame_create() local 2305 u8 len; bpf_to_arc_return() local 2320 u8 len; arc_to_bpf_return() local 2349 u8 len; jump_and_link() local 2406 u8 len = 0; arc_prologue() local 2452 u32 len = 0; arc_epilogue() local 2680 u8 len = 0; gen_j_eq_64() local 2697 u8 len = 0; gen_jset_64() local 2810 u8 len = 0; gen_jcc_64() local 2841 u8 len = 0; gen_jmp_64() local 2942 u8 len = 0; gen_jmp_32() local 2990 u8 len = 0; gen_func_call() local [all...] |
| /linux/drivers/scsi/fnic/ |
| H A D | fnic_trace.c | 109 int len = 0; in fnic_get_trace_data() local 139 len += scnprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data() 140 (trace_max_pages * PAGE_SIZE * 3) - len, in fnic_get_trace_data() 180 len += scnprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data() 181 (trace_max_pages * PAGE_SIZE * 3) - len, in fnic_get_trace_data() 196 return len; in fnic_get_trace_data() 214 int len = 0; in fnic_get_stats_data() local 220 len = scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 227 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 240 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() [all …]
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_tlv.c | 34 hdr.len = cpu_to_le16(1); in fbnic_tlv_msg_alloc() 59 attr_max_len -= le16_to_cpu(msg->hdr.len) * sizeof(u32); in fbnic_tlv_attr_put_flag() 64 attr = &msg[le16_to_cpu(msg->hdr.len)]; in fbnic_tlv_attr_put_flag() 68 hdr.len = cpu_to_le16(sizeof(hdr)); in fbnic_tlv_attr_put_flag() 71 le16_add_cpu(&msg->hdr.len, in fbnic_tlv_attr_put_flag() 72 FBNIC_TLV_MSG_SIZE(le16_to_cpu(hdr.len))); in fbnic_tlv_attr_put_flag() 82 * @len: Size of data to be stored. 95 const void *value, const int len) in fbnic_tlv_attr_put_value() argument 101 attr_max_len -= le16_to_cpu(msg->hdr.len) * sizeof(u32); in fbnic_tlv_attr_put_value() 102 if (attr_max_len < sizeof(*attr) + len) in fbnic_tlv_attr_put_value() 139 __fbnic_tlv_attr_put_int(struct fbnic_tlv_msg * msg,const u16 attr_id,s64 value,const int len) __fbnic_tlv_attr_put_int() argument 254 size_t srclen, len; fbnic_tlv_attr_get_string() local 328 u16 len = le16_to_cpu(attr->hdr.len); fbnic_tlv_attr_nest_stop() local 344 u16 len = le16_to_cpu(attr->hdr.len) - sizeof(*attr); fbnic_tlv_attr_validate() local 413 fbnic_tlv_attr_parse_array(struct fbnic_tlv_msg * attr,int len,struct fbnic_tlv_msg ** results,const struct fbnic_tlv_index * tlv_index,u16 tlv_attr_id,size_t array_len) fbnic_tlv_attr_parse_array() argument 466 fbnic_tlv_attr_parse(struct fbnic_tlv_msg * attr,int len,struct fbnic_tlv_msg ** results,const struct fbnic_tlv_index * tlv_index) fbnic_tlv_attr_parse() argument [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_varlen.c | 47 long len; in handler64_unsigned() local 53 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_unsigned() 54 if (len >= 0) { in handler64_unsigned() 55 payload += len; in handler64_unsigned() 56 payload1_len1 = len; in handler64_unsigned() 59 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in2[0]); in handler64_unsigned() 60 if (len >= 0) { in handler64_unsigned() 61 payload += len; in handler64_unsigned() 62 payload1_len2 = len; in handler64_unsigned() 77 long len; in handler64_signed() local [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | debugfs_sta.c | 185 int len = 0; in ath10k_dbg_sta_read_aggr_mode() local 188 len = scnprintf(buf, sizeof(buf) - len, "aggregation mode: %s\n", in ath10k_dbg_sta_read_aggr_mode() 193 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_aggr_mode() 400 int len = 0; in ath10k_dbg_sta_read_peer_debug_trigger() local 403 len = scnprintf(buf, sizeof(buf) - len, in ath10k_dbg_sta_read_peer_debug_trigger() 407 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_peer_debug_trigger() 462 int len = 0; in ath10k_dbg_sta_read_peer_ps_state() local 466 len = scnprintf(buf, sizeof(buf) - len, "%d\n", in ath10k_dbg_sta_read_peer_ps_state() 471 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_peer_ps_state() 548 len += scnprintf(buf + len, buf_len - len, \ [all …]
|
| /linux/net/dccp/ |
| H A D | options.c | |
| /linux/net/sunrpc/ |
| H A D | xdr.c | 31 unsigned int quadlen = XDR_QUADLEN(obj->len); in xdr_encode_netobj() 34 *p++ = cpu_to_be32(obj->len); in xdr_encode_netobj() 35 memcpy(p, obj->data, obj->len); in xdr_encode_netobj() 36 return p + XDR_QUADLEN(obj->len); in xdr_encode_netobj() 98 void xdr_terminate_string(const struct xdr_buf *buf, const u32 len) in xdr_terminate_string() argument 103 kaddr[buf->page_base + len] = '\0'; in xdr_terminate_string() 160 unsigned int offset, len, remaining; in xdr_buf_to_bvec() local 166 len = min_t(unsigned int, remaining, in xdr_buf_to_bvec() 168 bvec_set_page(bvec++, *pages++, len, offset); in xdr_buf_to_bvec() 169 remaining -= len; in xdr_buf_to_bvec() [all …]
|
| /linux/lib/crc/arm64/ |
| H A D | crc32.h | 10 asmlinkage u32 crc32_le_arm64(u32 crc, unsigned char const *p, size_t len); 11 asmlinkage u32 crc32c_le_arm64(u32 crc, unsigned char const *p, size_t len); 12 asmlinkage u32 crc32_be_arm64(u32 crc, unsigned char const *p, size_t len); 14 asmlinkage u32 crc32_le_arm64_4way(u32 crc, unsigned char const *p, size_t len); 15 asmlinkage u32 crc32c_le_arm64_4way(u32 crc, unsigned char const *p, size_t len); 16 asmlinkage u32 crc32_be_arm64_4way(u32 crc, unsigned char const *p, size_t len); 18 static inline u32 crc32_le_arch(u32 crc, const u8 *p, size_t len) in crc32_le_arch() argument 21 return crc32_le_base(crc, p, len); in crc32_le_arch() 23 if (len >= min_len && cpu_have_named_feature(PMULL) && in crc32_le_arch() 26 crc = crc32_le_arm64_4way(crc, p, len); in crc32_le_arch() [all …]
|
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | test_unix_oob.c | |
| /linux/net/wireless/tests/ |
| H A D | scan.c | 21 u8 len; member 40 { .id = WLAN_EID_EXTENSION, .len = 255, 44 { .id = WLAN_EID_SSID, .len = 2 }, 47 { .id = WLAN_EID_SSID, .len = 2 }, 53 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 254, }, 54 { .id = WLAN_EID_FRAGMENT, .len = 125, }, 57 { .id = WLAN_EID_SSID, .len = 2 }, 58 { .id = WLAN_EID_FRAGMENT, .len = 125, }, 61 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 254, }, 62 { .id = WLAN_EID_SSID, .len = 2 }, [all …]
|
| /linux/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-pkt-decoder.c | 73 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt() argument 79 if (len < 8) in intel_pt_get_long_tnt() 96 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip() argument 101 if (len < 8) in intel_pt_get_pip() 117 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr() argument 120 if (len < 4) in intel_pt_get_cbr() 127 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs() argument 130 if (len < 7) in intel_pt_get_vmcs() 146 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb() argument 151 if (len < 16) in intel_pt_get_psb() [all …]
|
| /linux/drivers/parisc/ |
| H A D | eisa_enumerator.c | 79 int len; in configure_memory() local 84 len=0; in configure_memory() 87 c = get_8(buf+len); in configure_memory() 93 res->start = mem_parent->start + get_24(buf+len+2); in configure_memory() 94 res->end = res->start + get_16(buf+len+5)*1024; in configure_memory() 104 len+=7; in configure_memory() 111 return len; in configure_memory() 117 int len; in configure_irq() local 121 len=0; in configure_irq() 124 c = get_8(buf+len); in configure_irq() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
| H A D | dpu_12_2_glymur.h | 22 .base = 0, .len = 0x494, 31 .base = 0x15000, .len = 0x1000, 35 .base = 0x16000, .len = 0x1000, 39 .base = 0x17000, .len = 0x1000, 43 .base = 0x18000, .len = 0x1000, 47 .base = 0x19000, .len = 0x1000, 51 .base = 0x1a000, .len = 0x1000, 55 .base = 0x1b000, .len = 0x1000, 59 .base = 0x1c000, .len = 0x1000, 67 .base = 0x4000, .len [all...] |
| /linux/arch/arm64/kvm/vgic/ |
| H A D | vgic-mmio.h | 10 unsigned int len; member 15 unsigned int len); 17 gpa_t addr, unsigned int len); 21 unsigned int len, unsigned long val); 23 gpa_t addr, unsigned int len, 27 unsigned int len); 30 unsigned int len, unsigned long val); 32 gpa_t addr, unsigned int len, 71 .len = bpi * 1024 / 8, \ 83 .len = length, \ [all …]
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_tlv.c | 37 u32 attr_data = 0, len = 0; in fm10k_tlv_attr_put_null_string() local 49 if (len && !(len % 4)) { in fm10k_tlv_attr_put_null_string() 50 attr[len / 4] = attr_data; in fm10k_tlv_attr_put_null_string() 55 attr_data |= (u32)(*string) << (8 * (len % 4)); in fm10k_tlv_attr_put_null_string() 56 len++; in fm10k_tlv_attr_put_null_string() 62 attr[(len + 3) / 4] = attr_data; in fm10k_tlv_attr_put_null_string() 65 len <<= FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_null_string() 66 attr[0] = len | attr_id; in fm10k_tlv_attr_put_null_string() 69 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_null_string() 70 *msg += FM10K_TLV_LEN_ALIGN(len); in fm10k_tlv_attr_put_null_string() [all …]
|