/Linux-v5.4/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()
|
/Linux-v5.4/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 = pci_alloc_consistent(ioc->pcidev, data_sz, in mptfc_GetFcDevPage0() 370 pci_free_consistent(ioc->pcidev, 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 | 2671 int data_sz; in mptctl_hp_targetinfo() local 2708 data_sz = ioc->spi_data.sdp0length * 4; in mptctl_hp_targetinfo() 2709 pg0_alloc = (SCSIDevicePage0_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo() 2712 hdr.PageLength = data_sz; in mptctl_hp_targetinfo() 2747 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg0_alloc, page_dma); in mptctl_hp_targetinfo() 2772 data_sz = (int) cfg.cfghdr.hdr->PageLength * 4; in mptctl_hp_targetinfo() 2774 ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo() 2783 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg3_alloc, page_dma); in mptctl_hp_targetinfo()
|
D | mptbase.c | 4959 int data_sz; in GetLanConfigPages() local 4978 data_sz = hdr.PageLength * 4; in GetLanConfigPages() 4979 ppage0_alloc = (LANPage0_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page0_dma); in GetLanConfigPages() 4982 memset((u8 *)ppage0_alloc, 0, data_sz); in GetLanConfigPages() 4988 copy_sz = min_t(int, sizeof(LANPage0_t), data_sz); in GetLanConfigPages() 4993 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage0_alloc, page0_dma); in GetLanConfigPages() 5023 data_sz = hdr.PageLength * 4; in GetLanConfigPages() 5025 ppage1_alloc = (LANPage1_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page1_dma); in GetLanConfigPages() 5027 memset((u8 *)ppage1_alloc, 0, data_sz); in GetLanConfigPages() 5033 copy_sz = min_t(int, sizeof(LANPage1_t), data_sz); in GetLanConfigPages() [all …]
|
/Linux-v5.4/drivers/platform/chrome/ |
D | cros_ec_vbc.c | 68 const size_t data_sz = sizeof(params->block); in vboot_context_write() local 71 if (count != data_sz) in vboot_context_write() 80 memcpy(params->block, buf, data_sz); in vboot_context_write() 95 return data_sz; in vboot_context_write()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 825 void *data, size_t data_sz) in dr_actions_l2_rewrite() argument 836 vlan = (data_sz != HDR_LEN_L2_ONLY); in dr_actions_l2_rewrite() 1031 size_t data_sz, in dr_action_verify_reformat_params() argument 1034 if ((!data && data_sz) || (data && !data_sz) || reformat_type > in dr_action_verify_reformat_params() 1067 size_t data_sz, void *data, in dr_action_create_reformat_action() argument 1084 ret = mlx5dr_cmd_create_reformat_ctx(dmn->mdev, rt, data_sz, data, in dr_action_create_reformat_action() 1090 action->reformat.reformat_size = data_sz; in dr_action_create_reformat_action() 1100 if (data_sz != HDR_LEN_L2_ONLY && data_sz != HDR_LEN_L2_VLAN) in dr_action_create_reformat_action() 1112 ret = dr_actions_l2_rewrite(dmn, action, data, data_sz); in dr_action_create_reformat_action() 1153 size_t data_sz, in mlx5dr_action_create_packet_reformat() argument [all …]
|
D | mlx5dr.h | 96 size_t data_sz, 188 size_t data_sz, in mlx5dr_action_create_packet_reformat() argument
|
/Linux-v5.4/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.c | 360 value |= ((vpifparams->params.data_sz) << in config_vpif_params()
|
D | vpif.h | 683 enum data_size data_sz; member
|
D | vpif_capture.c | 486 vpifparams->params.data_sz = 1; /* 10 bits/pixel. */ in vpif_update_std_info()
|
/Linux-v5.4/include/uapi/linux/ |
D | am437x-vpfe.h | 107 enum vpfe_ccdc_data_size data_sz; member
|
/Linux-v5.4/drivers/media/platform/mtk-vcodec/vdec/ |
D | vdec_h264_if.c | 325 static int find_start_code(unsigned char *data, unsigned int data_sz) in find_start_code() argument 327 if (data_sz > 3 && data[0] == 0 && data[1] == 0 && data[2] == 1) in find_start_code() 330 if (data_sz > 4 && data[0] == 0 && data[1] == 0 && data[2] == 0 && in find_start_code()
|
/Linux-v5.4/include/media/davinci/ |
D | dm644x_ccdc.h | 102 enum ccdc_data_size data_sz; member
|
D | dm355_ccdc.h | 213 enum ccdc_data_size data_sz; member
|
/Linux-v5.4/net/tipc/ |
D | msg.c | 92 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument 98 buf = tipc_buf_acquire(hdr_sz + data_sz, GFP_ATOMIC); in tipc_msg_create() 104 msg_set_size(msg, hdr_sz + data_sz); in tipc_msg_create()
|
D | msg.h | 1057 uint data_sz, u32 dnode, u32 onode,
|
/Linux-v5.4/drivers/media/platform/am437x/ |
D | am437x-vpfe.c | 405 max_data = ccdc_data_size_max_bit(ccdcparam->data_sz); in vpfe_ccdc_validate_param() 672 ((config_params->data_sz & VPFE_DATA_SZ_MASK) << in vpfe_ccdc_config_raw() 696 if ((config_params->data_sz == VPFE_CCDC_DATA_8BITS) || in vpfe_ccdc_config_raw() 901 ccdc->ccdc_cfg.bayer.config_params.data_sz = in vpfe_ccdc_set_hw_if_params() 904 ccdc->ccdc_cfg.bayer.config_params.data_sz = in vpfe_ccdc_set_hw_if_params() 909 ccdc->ccdc_cfg.bayer.config_params.data_sz); in vpfe_ccdc_set_hw_if_params() 991 ccdc->ccdc_cfg.bayer.config_params.data_sz = VPFE_CCDC_DATA_8BITS; in vpfe_ccdc_config_defaults()
|
/Linux-v5.4/drivers/scsi/esas2r/ |
D | esas2r_main.c | 1823 int data_sz) in esas2r_queue_fw_event() argument 1844 memcpy(fw_event->data, data, data_sz); in esas2r_queue_fw_event()
|
D | esas2r.h | 1143 int data_sz);
|
/Linux-v5.4/arch/sparc/kernel/ |
D | mdesc.c | 41 u32 data_sz; /* data block size */ member
|