Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Dsmem.c14 struct iwl_shared_mem_cfg *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem_22000() local
16 int lmac_num = le32_to_cpu(mem_cfg->lmac_num); in iwl_parse_shared_mem_22000()
20 if (WARN_ON(lmac_num > ARRAY_SIZE(mem_cfg->lmac_smem))) in iwl_parse_shared_mem_22000()
25 ARRAY_SIZE(mem_cfg->lmac_smem[0].txfifo_size); in iwl_parse_shared_mem_22000()
26 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo2_size); in iwl_parse_shared_mem_22000()
29 !WARN_ON_ONCE(iwl_rx_packet_payload_len(pkt) < sizeof(*mem_cfg))) { in iwl_parse_shared_mem_22000()
31 le32_to_cpu(mem_cfg->rxfifo2_control_size); in iwl_parse_shared_mem_22000()
36 &mem_cfg->lmac_smem[lmac]; in iwl_parse_shared_mem_22000()
49 struct iwl_shared_mem_cfg_v2 *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem() local
54 fwrt->smem_cfg.num_txfifo_entries = ARRAY_SIZE(mem_cfg->txfifo_size); in iwl_parse_shared_mem()
[all …]
Ddbg.c675 struct iwl_fwrt_shared_mem_cfg *mem_cfg) in iwl_fw_rxf_len() argument
686 ADD_LEN(fifo_len, mem_cfg->rxfifo2_size, hdr_len); in iwl_fw_rxf_len()
689 if (WARN_ON(mem_cfg->num_lmacs > MAX_NUM_LMAC)) in iwl_fw_rxf_len()
690 mem_cfg->num_lmacs = MAX_NUM_LMAC; in iwl_fw_rxf_len()
692 for (i = 0; i < mem_cfg->num_lmacs; i++) in iwl_fw_rxf_len()
693 ADD_LEN(fifo_len, mem_cfg->lmac[i].rxfifo1_size, hdr_len); in iwl_fw_rxf_len()
699 struct iwl_fwrt_shared_mem_cfg *mem_cfg) in iwl_fw_txf_len() argument
710 if (WARN_ON(mem_cfg->num_lmacs > MAX_NUM_LMAC)) in iwl_fw_txf_len()
711 mem_cfg->num_lmacs = MAX_NUM_LMAC; in iwl_fw_txf_len()
713 for (i = 0; i < mem_cfg->num_lmacs; i++) { in iwl_fw_txf_len()
[all …]
/linux-6.6.21/drivers/staging/fieldbus/anybuss/
Dhms-profinet.c89 const struct anybuss_memcfg mem_cfg = { in __profi_enable() local
107 ret = anybuss_start_init(client, &mem_cfg); in __profi_enable()
/linux-6.6.21/drivers/media/platform/ti/omap3isp/
Dispccp2.h68 struct isp_interface_mem_config mem_cfg; member
Dispccp2.c874 ccp2->mem_cfg.hsize_count = format->width; in ccp2_s_stream()
875 ccp2->mem_cfg.vsize_count = format->height; in ccp2_s_stream()
876 ccp2->mem_cfg.src_ofst = 0; in ccp2_s_stream()
878 ccp2_mem_configure(ccp2, &ccp2->mem_cfg); in ccp2_s_stream()
/linux-6.6.21/arch/mips/sgi-ip30/
Dip30-setup.c57 memcfg = __raw_readl(&heart_regs->mem_cfg.l[i]); in ip30_mem_init()
/linux-6.6.21/arch/mips/include/asm/sgi/
Dheart.h88 } mem_cfg; /* + 0x00020 */ member
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Ddce_v10_0.c595 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v10_0_line_buffer_adjust() local
607 mem_cfg = 1; in dce_v10_0_line_buffer_adjust()
610 mem_cfg = 2; in dce_v10_0_line_buffer_adjust()
613 mem_cfg = 0; in dce_v10_0_line_buffer_adjust()
617 mem_cfg = 0; in dce_v10_0_line_buffer_adjust()
621 mem_cfg = 1; in dce_v10_0_line_buffer_adjust()
626 tmp = REG_SET_FIELD(tmp, LB_MEMORY_CTRL, LB_MEMORY_CONFIG, mem_cfg); in dce_v10_0_line_buffer_adjust()
641 switch (mem_cfg) { in dce_v10_0_line_buffer_adjust()
Ddce_v11_0.c627 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v11_0_line_buffer_adjust() local
639 mem_cfg = 1; in dce_v11_0_line_buffer_adjust()
642 mem_cfg = 2; in dce_v11_0_line_buffer_adjust()
645 mem_cfg = 0; in dce_v11_0_line_buffer_adjust()
649 mem_cfg = 0; in dce_v11_0_line_buffer_adjust()
653 mem_cfg = 1; in dce_v11_0_line_buffer_adjust()
658 tmp = REG_SET_FIELD(tmp, LB_MEMORY_CTRL, LB_MEMORY_CONFIG, mem_cfg); in dce_v11_0_line_buffer_adjust()
673 switch (mem_cfg) { in dce_v11_0_line_buffer_adjust()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dqmi.h260 struct qmi_wlanfw_mem_cfg_s_v01 mem_cfg[QMI_WLANFW_MAX_NUM_MEM_CFG_V01]; member
Dqmi.c625 .offset = offsetof(struct qmi_wlanfw_mem_seg_s_v01, mem_cfg),
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dqmi.h323 struct qmi_wlanfw_mem_cfg_s_v01 mem_cfg[QMI_WLANFW_MAX_NUM_MEM_CFG_V01]; member
Dqmi.c856 .offset = offsetof(struct qmi_wlanfw_mem_seg_s_v01, mem_cfg),
/linux-6.6.21/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),