Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-bcm-kona.c93 int bank_id, u32 lockcode) in bcm_kona_gpio_write_lock_regs() argument
96 writel(lockcode, reg_base + GPIO_PWD_STATUS(bank_id)); in bcm_kona_gpio_write_lock_regs()
104 int bank_id = GPIO_BANK(gpio); in bcm_kona_gpio_lock_gpio() local
106 struct bcm_kona_gpio_bank *bank = &kona_gpio->banks[bank_id]; in bcm_kona_gpio_lock_gpio()
117 val = readl(kona_gpio->reg_base + GPIO_PWD_STATUS(bank_id)); in bcm_kona_gpio_lock_gpio()
119 bcm_kona_gpio_write_lock_regs(kona_gpio->reg_base, bank_id, val); in bcm_kona_gpio_lock_gpio()
130 int bank_id = GPIO_BANK(gpio); in bcm_kona_gpio_unlock_gpio() local
132 struct bcm_kona_gpio_bank *bank = &kona_gpio->banks[bank_id]; in bcm_kona_gpio_unlock_gpio()
137 val = readl(kona_gpio->reg_base + GPIO_PWD_STATUS(bank_id)); in bcm_kona_gpio_unlock_gpio()
139 bcm_kona_gpio_write_lock_regs(kona_gpio->reg_base, bank_id, val); in bcm_kona_gpio_unlock_gpio()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dkona_gpio.c83 int bank_id = GPIO_BANK(gpio); in gpio_direction_output() local
91 off = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); in gpio_direction_output()
102 int bank_id = GPIO_BANK(gpio); in gpio_get_value() local
112 GPIO_IN_STATUS(bank_id) : GPIO_OUT_STATUS(bank_id); in gpio_get_value()
121 int bank_id = GPIO_BANK(gpio); in gpio_set_value() local
135 off = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); in gpio_set_value()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhal_tx.c47 le32_encode_bits(ti->bank_id, HAL_TCL_DATA_CMD_INFO0_BANK_ID); in ath12k_hal_tx_cmd_desc_setup()
141 u8 bank_id) in ath12k_hal_tx_configure_bank_register() argument
143 ath12k_hif_write32(ab, HAL_TCL_SW_CONFIG_BANK_ADDR + 4 * bank_id, in ath12k_hal_tx_configure_bank_register()
H A Ddp.c366 int bank_id = DP_INVALID_BANK_ID; in ath12k_dp_tx_get_bank_profile() local
379 bank_id = i; in ath12k_dp_tx_get_bank_profile()
384 bank_id = i; in ath12k_dp_tx_get_bank_profile()
389 if (bank_id == DP_INVALID_BANK_ID) { in ath12k_dp_tx_get_bank_profile()
392 return bank_id; in ath12k_dp_tx_get_bank_profile()
396 dp->bank_profiles[bank_id].is_configured = true; in ath12k_dp_tx_get_bank_profile()
397 dp->bank_profiles[bank_id].bank_config = bank_config; in ath12k_dp_tx_get_bank_profile()
400 dp->bank_profiles[bank_id].num_users++; in ath12k_dp_tx_get_bank_profile()
404 ath12k_hal_tx_configure_bank_register(ab, bank_config, bank_id); in ath12k_dp_tx_get_bank_profile()
407 bank_id, bank_config, dp->bank_profiles[bank_id].bank_config, in ath12k_dp_tx_get_bank_profile()
[all …]
H A Dhal_tx.h42 int bank_id; member
193 u8 bank_id);
H A Ddp_tx.h34 void ath12k_dp_tx_put_bank_profile(struct ath12k_dp *dp, u8 bank_id);
H A Ddp_tx.c181 ti.bank_id = arvif->bank_id; in ath12k_dp_tx()
H A Dcore.h207 int bank_id; member
H A Dmac.c5640 ath12k_dp_tx_put_bank_profile(&ab->dp, arvif->bank_id); in ath12k_mac_op_remove_interface()
/openbmc/linux/arch/sparc/kernel/
H A Dchmc.c76 int bank_id; member
560 bank_in_controller = bp->bank_id & (CHMCTRL_NBANKS - 1); in chmc_print_dimm()
636 bp->bank_id = (CHMCTRL_NBANKS * p->portid) + which_bank; in chmc_interpret_one_decode_reg()
/openbmc/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra.c700 unsigned int bank_id) in tegra_pinctrl_get_bank_size() argument
705 res = platform_get_resource(pdev, IORESOURCE_MEM, bank_id); in tegra_pinctrl_get_bank_size()
/openbmc/u-boot/drivers/mtd/
H A Dcfi_flash.c1696 ushort bank_id = 0; in cmdset_amd_read_jedec_ids() local
1707 while (manu_id == FLASH_CONTINUATION_CODE && bank_id < 0x800) { in cmdset_amd_read_jedec_ids()
1708 bank_id += 0x100; in cmdset_amd_read_jedec_ids()
1710 bank_id | FLASH_OFFSET_MANUFACTURER_ID); in cmdset_amd_read_jedec_ids()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c715 cfg->bank_id[0].bank_min_id = 0; in ath10k_htt_send_frag_desc_bank_cfg_32()
716 cfg->bank_id[0].bank_max_id = __cpu_to_le16(htt->max_num_pending_tx - in ath10k_htt_send_frag_desc_bank_cfg_32()
777 cfg->bank_id[0].bank_min_id = 0; in ath10k_htt_send_frag_desc_bank_cfg_64()
778 cfg->bank_id[0].bank_max_id = __cpu_to_le16(htt->max_num_pending_tx - in ath10k_htt_send_frag_desc_bank_cfg_64()
H A Dhtt.h1502 struct htt_frag_desc_bank_id bank_id[HTT_FRAG_DESC_BANK_MAX]; member
1511 struct htt_frag_desc_bank_id bank_id[HTT_FRAG_DESC_BANK_MAX]; member
/openbmc/linux/drivers/soc/mediatek/
H A Dmtk-svs.c649 u32 idx, i, j, bank_id; in svs_dump_debug_show() local
661 for (bank_id = 0, idx = 0; idx < svsp->bank_max; idx++, bank_id++) { in svs_dump_debug_show()
665 seq_printf(m, "Bank_number = %u\n", bank_id); in svs_dump_debug_show()