Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dsmem.c69 struct iwl_shared_mem_cfg *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem_22000() local
71 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()
84 !WARN_ON_ONCE(iwl_rx_packet_payload_len(pkt) < sizeof(*mem_cfg))) { in iwl_parse_shared_mem_22000()
86 le32_to_cpu(mem_cfg->rxfifo2_control_size); in iwl_parse_shared_mem_22000()
91 &mem_cfg->lmac_smem[lmac]; in iwl_parse_shared_mem_22000()
104 struct iwl_shared_mem_cfg_v2 *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem() local
109 fwrt->smem_cfg.num_txfifo_entries = ARRAY_SIZE(mem_cfg->txfifo_size); 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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/sgi-ip30/
Dip30-setup.c57 memcfg = __raw_readl(&heart_regs->mem_cfg.l[i]); in ip30_mem_init()
/kernel/linux/linux-5.10/arch/mips/include/asm/sgi/
Dheart.h88 } mem_cfg; /* + 0x00020 */ member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dqmi.h243 struct qmi_wlanfw_mem_cfg_s_v01 mem_cfg[QMI_WLANFW_MAX_NUM_MEM_CFG_V01]; member
Dqmi.c610 .offset = offsetof(struct qmi_wlanfw_mem_seg_s_v01, mem_cfg),
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Ddce_v10_0.c598 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v10_0_line_buffer_adjust() local
610 mem_cfg = 1; in dce_v10_0_line_buffer_adjust()
613 mem_cfg = 2; in dce_v10_0_line_buffer_adjust()
616 mem_cfg = 0; in dce_v10_0_line_buffer_adjust()
620 mem_cfg = 0; in dce_v10_0_line_buffer_adjust()
624 mem_cfg = 1; in dce_v10_0_line_buffer_adjust()
629 tmp = REG_SET_FIELD(tmp, LB_MEMORY_CTRL, LB_MEMORY_CONFIG, mem_cfg); in dce_v10_0_line_buffer_adjust()
644 switch (mem_cfg) { in dce_v10_0_line_buffer_adjust()
Ddce_v11_0.c624 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v11_0_line_buffer_adjust() local
636 mem_cfg = 1; in dce_v11_0_line_buffer_adjust()
639 mem_cfg = 2; in dce_v11_0_line_buffer_adjust()
642 mem_cfg = 0; in dce_v11_0_line_buffer_adjust()
646 mem_cfg = 0; in dce_v11_0_line_buffer_adjust()
650 mem_cfg = 1; in dce_v11_0_line_buffer_adjust()
655 tmp = REG_SET_FIELD(tmp, LB_MEMORY_CTRL, LB_MEMORY_CONFIG, mem_cfg); in dce_v11_0_line_buffer_adjust()
670 switch (mem_cfg) { in dce_v11_0_line_buffer_adjust()
/kernel/linux/linux-5.10/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),