/openbmc/linux/drivers/gpio/ |
H A D | gpio-bcm-kona.c | 93 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 D | kona_gpio.c | 83 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 D | hal_tx.c | 47 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 D | dp.c | 366 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 D | hal_tx.h | 42 int bank_id; member 193 u8 bank_id);
|
H A D | dp_tx.h | 34 void ath12k_dp_tx_put_bank_profile(struct ath12k_dp *dp, u8 bank_id);
|
H A D | dp_tx.c | 181 ti.bank_id = arvif->bank_id; in ath12k_dp_tx()
|
H A D | core.h | 207 int bank_id; member
|
H A D | mac.c | 5640 ath12k_dp_tx_put_bank_profile(&ab->dp, arvif->bank_id); in ath12k_mac_op_remove_interface()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | chmc.c | 76 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 D | pinctrl-tegra.c | 700 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 D | cfi_flash.c | 1696 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 D | htt_tx.c | 715 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 D | htt.h | 1502 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 D | mtk-svs.c | 649 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()
|