/drivers/spi/ |
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()
|
/drivers/message/fusion/ |
D | mptfc.c | 290 int data_sz; in mptfc_GetFcDevPage0() local 304 data_sz = sizeof(FCDevicePage0_t) * max_bus * max_targ; in mptfc_GetFcDevPage0() 305 p_p0 = p0_array = kzalloc(data_sz, GFP_KERNEL); in mptfc_GetFcDevPage0() 309 data_sz = sizeof(FCDevicePage0_t *) * max_bus * max_targ; in mptfc_GetFcDevPage0() 310 p_pp0 = pp0_array = kzalloc(data_sz, GFP_KERNEL); in mptfc_GetFcDevPage0() 333 data_sz = hdr.PageLength * 4; in mptfc_GetFcDevPage0() 334 ppage0_alloc = dma_alloc_coherent(&ioc->pcidev->dev, data_sz, 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() [all …]
|
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()
|
D | mptbase.c | 4956 int data_sz; in GetLanConfigPages() local 4975 data_sz = hdr.PageLength * 4; in GetLanConfigPages() 4976 ppage0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page0_dma); in GetLanConfigPages() 4979 memset((u8 *)ppage0_alloc, 0, data_sz); in GetLanConfigPages() 4985 copy_sz = min_t(int, sizeof(LANPage0_t), data_sz); in GetLanConfigPages() 4990 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage0_alloc, page0_dma); in GetLanConfigPages() 5020 data_sz = hdr.PageLength * 4; in GetLanConfigPages() 5022 ppage1_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page1_dma); in GetLanConfigPages() 5024 memset((u8 *)ppage1_alloc, 0, data_sz); in GetLanConfigPages() 5030 copy_sz = min_t(int, sizeof(LANPage1_t), data_sz); in GetLanConfigPages() [all …]
|
/drivers/platform/chrome/ |
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()
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 1025 size_t data_sz, in dr_action_verify_reformat_params() argument 1029 if ((!data && data_sz) || (data && !data_sz) || in dr_action_verify_reformat_params() 1030 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_insert_size) < data_sz || in dr_action_verify_reformat_params() 1037 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_remove_size) < data_sz || in dr_action_verify_reformat_params() 1076 size_t data_sz, void *data, in dr_action_create_reformat_action() argument 1094 data_sz, data, in dr_action_create_reformat_action() 1100 action->reformat->size = data_sz; in dr_action_create_reformat_action() 1113 data, data_sz, in dr_action_create_reformat_action() 1147 data_sz, data, in dr_action_create_reformat_action() 1153 action->reformat->size = data_sz; in dr_action_create_reformat_action() [all …]
|
D | mlx5dr.h | 117 size_t data_sz,
|
D | dr_ste.h | 189 u32 data_sz,
|
D | dr_ste.c | 593 void *data, u32 data_sz, in mlx5dr_ste_set_action_decap_l3_list() argument 598 if (data_sz != HDR_LEN_L2 && data_sz != HDR_LEN_L2_W_VLAN) in mlx5dr_ste_set_action_decap_l3_list() 601 return ste_ctx->set_action_decap_l3_list(data, data_sz, in mlx5dr_ste_set_action_decap_l3_list()
|
D | dr_ste_v1.c | 849 u32 data_sz, in dr_ste_v1_set_action_decap_l3_list() argument 867 memcpy(padded_data + data_sz % inline_data_sz, data, data_sz); in dr_ste_v1_set_action_decap_l3_list() 880 data_ptr += (data_sz / inline_data_sz) * inline_data_sz; in dr_ste_v1_set_action_decap_l3_list() 887 for (i = 0; i < data_sz / inline_data_sz + 1; i++) { in dr_ste_v1_set_action_decap_l3_list()
|
D | dr_ste_v0.c | 587 dr_ste_v0_set_action_decap_l3_list(void *data, u32 data_sz, in dr_ste_v0_set_action_decap_l3_list() argument 599 vlan = (data_sz != HDR_LEN_L2); in dr_ste_v0_set_action_decap_l3_list()
|
D | dr_types.h | 315 u32 data_sz,
|
/drivers/media/platform/davinci/ |
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()
|
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()
|
D | vpif.h | 683 enum data_size data_sz; member
|
D | vpif.c | 365 value |= ((vpifparams->params.data_sz) << in config_vpif_params()
|
D | vpif_capture.c | 486 vpifparams->params.data_sz = 1; /* 10 bits/pixel. */ in vpif_update_std_info()
|
/drivers/media/platform/mtk-vcodec/vdec/ |
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()
|
/drivers/net/wireless/ath/ath11k/ |
D | dbring.h | 21 u32 data_sz; member
|
D | dbring.c | 317 handler_data.data_sz = ring->buf_sz; in ath11k_dbring_buffer_release_event()
|
D | spectral.c | 704 data_len = param->data_sz; in ath11k_spectral_process_data()
|
/drivers/media/platform/am437x/ |
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()
|
/drivers/scsi/esas2r/ |
D | esas2r_main.c | 1825 int data_sz) in esas2r_queue_fw_event() argument 1846 memcpy(fw_event->data, data, data_sz); in esas2r_queue_fw_event()
|
D | esas2r.h | 1144 int data_sz);
|