/linux/drivers/spi/ |
A D | spi-xtensa-xtfpga.c | 28 unsigned data_sz; member 59 xspi->data_sz += bits; in xtfpga_spi_txrx_word() 60 if (xspi->data_sz >= 16) { in xtfpga_spi_txrx_word() 62 xspi->data >> (xspi->data_sz - 16)); in xtfpga_spi_txrx_word() 63 xspi->data_sz -= 16; in xtfpga_spi_txrx_word() 76 WARN_ON(xspi->data_sz != 0); in xtfpga_spi_chipselect() 77 xspi->data_sz = 0; in xtfpga_spi_chipselect()
|
/linux/tools/lib/bpf/ |
A D | bpf_prog_linfo.c | 104 __u64 data_sz; in bpf_prog_linfo__new() local 126 data_sz = (__u64)nr_linfo * prog_linfo->rec_size; in bpf_prog_linfo__new() 127 prog_linfo->raw_linfo = malloc(data_sz); in bpf_prog_linfo__new() 130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new() 146 data_sz = (__u64)nr_linfo * prog_linfo->jited_rec_size; in bpf_prog_linfo__new() 147 prog_linfo->raw_jited_linfo = malloc(data_sz); in bpf_prog_linfo__new() 151 (void *)(long)info->jited_line_info, data_sz); in bpf_prog_linfo__new()
|
A D | skel_internal.h | 45 __u32 data_sz; member 69 opts->data_sz, 1, 0); in bpf_load_and_run()
|
A D | btf.c | 1193 __u32 data_sz; in btf_get_raw_data() local 1203 data = calloc(1, data_sz); in btf_get_raw_data() 1231 *size = data_sz; in btf_get_raw_data() 1241 __u32 data_sz; in btf__raw_data() local 1248 btf->raw_size = data_sz; in btf__raw_data() 1253 *size = data_sz; in btf__raw_data() 1578 btf->hdr->type_len += data_sz; in btf_commit_type() 1579 btf->hdr->str_off += data_sz; in btf_commit_type() 1667 data_sz = src_btf->hdr->type_len; in btf__add_btf() 1717 btf->hdr->type_len += data_sz; in btf__add_btf() [all …]
|
/linux/drivers/message/fusion/ |
A D | mptfc.c | 290 int data_sz; in mptfc_GetFcDevPage0() local 333 data_sz = hdr.PageLength * 4; in mptfc_GetFcDevPage0() 370 dma_free_coherent(&ioc->pcidev->dev, data_sz, in mptfc_GetFcDevPage0() 738 int data_sz; in mptfc_GetFcPortPage0() local 764 data_sz = hdr.PageLength * 4; in mptfc_GetFcPortPage0() 771 memset((u8 *)ppage0_alloc, 0, data_sz); in mptfc_GetFcPortPage0() 878 int data_sz; in mptfc_GetFcPortPage1() local 905 data_sz = hdr.PageLength * 4; in mptfc_GetFcPortPage1() 906 if (data_sz < sizeof(FCPortPage1_t)) in mptfc_GetFcPortPage1() 907 data_sz = sizeof(FCPortPage1_t); in mptfc_GetFcPortPage1() [all …]
|
A D | mptctl.c | 2556 int data_sz; in mptctl_hp_targetinfo() local 2587 data_sz = ioc->spi_data.sdp0length * 4; in mptctl_hp_targetinfo() 2588 pg0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo() 2591 hdr.PageLength = data_sz; in mptctl_hp_targetinfo() 2626 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg0_alloc, page_dma); in mptctl_hp_targetinfo() 2651 data_sz = (int) cfg.cfghdr.hdr->PageLength * 4; in mptctl_hp_targetinfo() 2652 pg3_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo() 2661 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg3_alloc, page_dma); in mptctl_hp_targetinfo()
|
/linux/drivers/platform/chrome/ |
A D | cros_ec_vbc.c | 67 const size_t data_sz = sizeof(params->block); in vboot_context_write() local 70 if (count != data_sz) in vboot_context_write() 79 memcpy(params->block, buf, data_sz); in vboot_context_write() 94 return data_sz; in vboot_context_write()
|
/linux/kernel/bpf/ |
A D | ringbuf.c | 61 static struct bpf_ringbuf *bpf_ringbuf_area_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_area_alloc() argument 66 int nr_data_pages = data_sz >> PAGE_SHIFT; in bpf_ringbuf_area_alloc() 129 static struct bpf_ringbuf *bpf_ringbuf_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_alloc() argument 133 rb = bpf_ringbuf_area_alloc(data_sz, numa_node); in bpf_ringbuf_alloc() 141 rb->mask = data_sz - 1; in bpf_ringbuf_alloc()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A D | dr_action.c | 1027 size_t data_sz, in dr_action_verify_reformat_params() argument 1031 if ((!data && data_sz) || (data && !data_sz) || in dr_action_verify_reformat_params() 1078 size_t data_sz, void *data, in dr_action_create_reformat_action() argument 1096 data_sz, data, in dr_action_create_reformat_action() 1102 action->reformat->size = data_sz; in dr_action_create_reformat_action() 1115 data, data_sz, in dr_action_create_reformat_action() 1149 data_sz, data, in dr_action_create_reformat_action() 1155 action->reformat->size = data_sz; in dr_action_create_reformat_action() 1204 size_t data_sz, in mlx5dr_action_create_packet_reformat() argument 1222 data_sz, data); in mlx5dr_action_create_packet_reformat() [all …]
|
A D | mlx5dr.h | 116 size_t data_sz,
|
A D | dr_ste.h | 189 u32 data_sz,
|
A D | dr_ste.c | 592 void *data, u32 data_sz, in mlx5dr_ste_set_action_decap_l3_list() argument 597 if (data_sz != HDR_LEN_L2 && data_sz != HDR_LEN_L2_W_VLAN) in mlx5dr_ste_set_action_decap_l3_list() 600 return ste_ctx->set_action_decap_l3_list(data, data_sz, in mlx5dr_ste_set_action_decap_l3_list()
|
/linux/drivers/media/platform/davinci/ |
A D | dm644x_ccdc.c | 57 .data_sz = CCDC_DATA_10BITS, 400 ((config_params->data_sz & CCDC_DATA_SZ_MASK) << in ccdc_config_raw() 423 if ((config_params->data_sz == CCDC_DATA_8BITS) || in ccdc_config_raw() 430 if (config_params->data_sz == CCDC_DATA_8BITS) in ccdc_config_raw() 434 val |= (config_params->data_sz & CCDC_FMTCFG_VPIN_MASK) in ccdc_config_raw() 473 if ((config_params->data_sz == CCDC_DATA_8BITS) || in ccdc_config_raw() 633 (config_params->data_sz == CCDC_DATA_8BITS)) in ccdc_get_line_length()
|
A D | dm355_ccdc.c | 551 if ((config_params->data_sz == CCDC_DATA_8BITS) || in ccdc_config_raw() 625 if ((config_params->data_sz == CCDC_DATA_8BITS) || in ccdc_config_raw() 779 (config_params->data_sz == CCDC_DATA_8BITS)) in ccdc_get_line_length()
|
/linux/tools/bpf/bpftool/ |
A D | gen.c | 335 static void print_hex(const char *data, int data_sz) in print_hex() argument 339 for (i = 0, len = 0; i < data_sz; i++) { in print_hex() 535 obj_name, opts.data_sz); in gen_trace() 580 obj_name, opts.data_sz); in gen_trace() 581 print_hex(opts.data, opts.data_sz); in gen_trace()
|
/linux/drivers/media/platform/mtk-vcodec/vdec/ |
A D | vdec_h264_if.c | 323 static int find_start_code(unsigned char *data, unsigned int data_sz) in find_start_code() argument 325 if (data_sz > 3 && data[0] == 0 && data[1] == 0 && data[2] == 1) in find_start_code() 328 if (data_sz > 4 && data[0] == 0 && data[1] == 0 && data[2] == 0 && in find_start_code()
|
/linux/include/linux/iio/ |
A D | buffer.h | 49 const void *data, size_t data_sz,
|
/linux/include/uapi/linux/ |
A D | am437x-vpfe.h | 107 enum vpfe_ccdc_data_size data_sz; member
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | dbring.h | 21 u32 data_sz; member
|
/linux/include/media/davinci/ |
A D | dm644x_ccdc.h | 102 enum ccdc_data_size data_sz; member
|
A D | dm355_ccdc.h | 213 enum ccdc_data_size data_sz; member
|
/linux/kernel/bpf/preload/iterators/ |
A D | iterators.skel.h | 143 s->data_sz = 7176; in iterators_bpf__create_skeleton()
|
/linux/tools/bpf/runqslower/ |
A D | runqslower.c | 101 void handle_event(void *ctx, int cpu, void *data, __u32 data_sz) in handle_event() argument
|
/linux/net/tipc/ |
A D | msg.c | 98 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument 104 buf = tipc_buf_acquire(hdr_sz + data_sz, GFP_ATOMIC); in tipc_msg_create() 110 msg_set_size(msg, hdr_sz + data_sz); in tipc_msg_create()
|
/linux/drivers/media/platform/am437x/ |
A D | am437x-vpfe.c | 286 max_data = ccdc_data_size_max_bit(ccdcparam->data_sz); in vpfe_ccdc_validate_param() 289 ccdcparam->data_sz > VPFE_CCDC_DATA_8BITS || in vpfe_ccdc_validate_param() 534 ((config_params->data_sz & VPFE_DATA_SZ_MASK) << in vpfe_ccdc_config_raw() 558 if ((config_params->data_sz == VPFE_CCDC_DATA_8BITS) || in vpfe_ccdc_config_raw() 763 ccdc->ccdc_cfg.bayer.config_params.data_sz = in vpfe_ccdc_set_hw_if_params() 766 ccdc->ccdc_cfg.bayer.config_params.data_sz = in vpfe_ccdc_set_hw_if_params() 771 ccdc->ccdc_cfg.bayer.config_params.data_sz); in vpfe_ccdc_set_hw_if_params() 853 ccdc->ccdc_cfg.bayer.config_params.data_sz = VPFE_CCDC_DATA_8BITS; in vpfe_ccdc_config_defaults()
|