Home
last modified time | relevance | path

Searched refs:mem_cfg (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/
Dsmem.c71 struct iwl_shared_mem_cfg *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem_22000() local
73 int lmac_num = le32_to_cpu(mem_cfg->lmac_num); in iwl_parse_shared_mem_22000()
75 if (WARN_ON(lmac_num > ARRAY_SIZE(mem_cfg->lmac_smem))) in iwl_parse_shared_mem_22000()
80 ARRAY_SIZE(mem_cfg->lmac_smem[0].txfifo_size); in iwl_parse_shared_mem_22000()
81 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo2_size); in iwl_parse_shared_mem_22000()
85 &mem_cfg->lmac_smem[lmac]; in iwl_parse_shared_mem_22000()
98 struct iwl_shared_mem_cfg_v2 *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem() local
103 fwrt->smem_cfg.num_txfifo_entries = ARRAY_SIZE(mem_cfg->txfifo_size); in iwl_parse_shared_mem()
104 for (i = 0; i < ARRAY_SIZE(mem_cfg->txfifo_size); i++) in iwl_parse_shared_mem()
106 le32_to_cpu(mem_cfg->txfifo_size[i]); in iwl_parse_shared_mem()
[all …]
Ddbg.c731 struct iwl_fwrt_shared_mem_cfg *mem_cfg) in iwl_fw_rxf_len() argument
742 ADD_LEN(fifo_len, mem_cfg->rxfifo2_size, hdr_len); in iwl_fw_rxf_len()
745 if (WARN_ON(mem_cfg->num_lmacs > MAX_NUM_LMAC)) in iwl_fw_rxf_len()
746 mem_cfg->num_lmacs = MAX_NUM_LMAC; in iwl_fw_rxf_len()
748 for (i = 0; i < mem_cfg->num_lmacs; i++) in iwl_fw_rxf_len()
749 ADD_LEN(fifo_len, mem_cfg->lmac[i].rxfifo1_size, hdr_len); in iwl_fw_rxf_len()
755 struct iwl_fwrt_shared_mem_cfg *mem_cfg) in iwl_fw_txf_len() argument
766 if (WARN_ON(mem_cfg->num_lmacs > MAX_NUM_LMAC)) in iwl_fw_txf_len()
767 mem_cfg->num_lmacs = MAX_NUM_LMAC; in iwl_fw_txf_len()
769 for (i = 0; i < mem_cfg->num_lmacs; i++) { in iwl_fw_txf_len()
[all …]
/Linux-v5.4/drivers/staging/fieldbus/anybuss/
Dhms-profinet.c92 const struct anybuss_memcfg mem_cfg = { in __profi_enable() local
110 ret = anybuss_start_init(client, &mem_cfg); in __profi_enable()
/Linux-v5.4/drivers/media/platform/omap3isp/
Dispccp2.h68 struct isp_interface_mem_config mem_cfg; member
Dispccp2.c865 ccp2->mem_cfg.hsize_count = format->width; in ccp2_s_stream()
866 ccp2->mem_cfg.vsize_count = format->height; in ccp2_s_stream()
867 ccp2->mem_cfg.src_ofst = 0; in ccp2_s_stream()
869 ccp2_mem_configure(ccp2, &ccp2->mem_cfg); in ccp2_s_stream()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c487 enum lb_memory_config mem_cfg = LB_MEMORY_CONFIG_0; in dpp1_dscl_find_lb_memory_config() local
490 return mem_cfg; in dpp1_dscl_find_lb_memory_config()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Ddce_v10_0.c592 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v10_0_line_buffer_adjust() local
604 mem_cfg = 1; in dce_v10_0_line_buffer_adjust()
607 mem_cfg = 2; in dce_v10_0_line_buffer_adjust()
610 mem_cfg = 0; in dce_v10_0_line_buffer_adjust()
614 mem_cfg = 0; in dce_v10_0_line_buffer_adjust()
618 mem_cfg = 1; in dce_v10_0_line_buffer_adjust()
623 tmp = REG_SET_FIELD(tmp, LB_MEMORY_CTRL, LB_MEMORY_CONFIG, mem_cfg); in dce_v10_0_line_buffer_adjust()
638 switch (mem_cfg) { in dce_v10_0_line_buffer_adjust()
Ddce_v11_0.c618 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v11_0_line_buffer_adjust() local
630 mem_cfg = 1; in dce_v11_0_line_buffer_adjust()
633 mem_cfg = 2; in dce_v11_0_line_buffer_adjust()
636 mem_cfg = 0; in dce_v11_0_line_buffer_adjust()
640 mem_cfg = 0; in dce_v11_0_line_buffer_adjust()
644 mem_cfg = 1; in dce_v11_0_line_buffer_adjust()
649 tmp = REG_SET_FIELD(tmp, LB_MEMORY_CTRL, LB_MEMORY_CONFIG, mem_cfg); in dce_v11_0_line_buffer_adjust()
664 switch (mem_cfg) { in dce_v11_0_line_buffer_adjust()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dqmi_wlfw_v01.h165 struct wlfw_mem_cfg_s_v01 mem_cfg[QMI_WLFW_MAX_NUM_MEM_CFG_V01]; member
Dqmi_wlfw_v01.c222 mem_cfg),