Home
last modified time | relevance | path

Searched refs:ctl_val (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/spi/
Dspi-aspeed-smc.c68 u32 ctl_val[ASPEED_SPI_MAX]; member
133 u32 ctl = chip->ctl_val[ASPEED_SPI_BASE]; in aspeed_spi_start_user()
144 u32 ctl = chip->ctl_val[ASPEED_SPI_READ] | in aspeed_spi_stop_user()
150 writel(chip->ctl_val[ASPEED_SPI_READ], chip->ctl); in aspeed_spi_stop_user()
301 u32 ctl_val; in do_aspeed_spi_exec_op() local
314 ctl_val = chip->ctl_val[ASPEED_SPI_BASE]; in do_aspeed_spi_exec_op()
315 ctl_val &= ~CTRL_IO_CMD_MASK; in do_aspeed_spi_exec_op()
317 ctl_val |= op->cmd.opcode << CTRL_COMMAND_SHIFT; in do_aspeed_spi_exec_op()
327 ctl_val |= CTRL_IO_ADDRESS_4B; in do_aspeed_spi_exec_op()
331 ctl_val |= CTRL_IO_DUMMY_SET(op->dummy.nbytes / op->dummy.buswidth); in do_aspeed_spi_exec_op()
[all …]
/linux-6.6.21/drivers/soc/qcom/
Dspm.c230 u32 ctl_val; in spm_set_low_power_mode() local
234 ctl_val = spm_register_read(drv, SPM_REG_SPM_CTL); in spm_set_low_power_mode()
235 ctl_val &= ~(SPM_CTL_INDEX << SPM_CTL_INDEX_SHIFT); in spm_set_low_power_mode()
236 ctl_val |= start_index << SPM_CTL_INDEX_SHIFT; in spm_set_low_power_mode()
237 ctl_val |= SPM_CTL_EN; in spm_set_low_power_mode()
238 spm_register_write_sync(drv, SPM_REG_SPM_CTL, ctl_val); in spm_set_low_power_mode()
/linux-6.6.21/drivers/watchdog/
Dbcm_kona_wdt.c95 int ctl_val, cur_val; in bcm_kona_show() local
105 ctl_val = secure_register_read(wdt, SECWDOG_CTRL_REG); in bcm_kona_show()
109 if (ctl_val < 0 || cur_val < 0) { in bcm_kona_show()
114 ctl = ctl_val & SECWDOG_COUNT_MASK; in bcm_kona_show()
115 res = (ctl_val & SECWDOG_RES_MASK) >> SECWDOG_CLKS_SHIFT; in bcm_kona_show()
/linux-6.6.21/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c225 u32 ctl_val; in switchtec_ntb_mw_clr_direct() local
227 ctl_val = ioread32(&ctl->bar_entry[bar].ctl); in switchtec_ntb_mw_clr_direct()
228 ctl_val &= ~NTB_CTRL_BAR_DIR_WIN_EN; in switchtec_ntb_mw_clr_direct()
229 iowrite32(ctl_val, &ctl->bar_entry[bar].ctl); in switchtec_ntb_mw_clr_direct()
248 u32 ctl_val; in switchtec_ntb_mw_set_direct() local
250 ctl_val = ioread32(&ctl->bar_entry[bar].ctl); in switchtec_ntb_mw_set_direct()
251 ctl_val |= NTB_CTRL_BAR_DIR_WIN_EN; in switchtec_ntb_mw_set_direct()
253 iowrite32(ctl_val, &ctl->bar_entry[bar].ctl); in switchtec_ntb_mw_set_direct()
916 u32 ctl_val; in config_rsvd_lut_win() local
924 ctl_val = ioread32(&ctl->bar_entry[peer_bar].ctl); in config_rsvd_lut_win()
[all …]
/linux-6.6.21/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_tnrdmd_dvbt_mon.c143 u32 ctl_val = 0; in cxd2880_tnrdmd_dvbt_mon_carrier_offset() local
183 ctl_val = in cxd2880_tnrdmd_dvbt_mon_carrier_offset()
186 *offset = cxd2880_convert2s_complement(ctl_val, 29); in cxd2880_tnrdmd_dvbt_mon_carrier_offset()
Dcxd2880_tnrdmd_dvbt2_mon.c85 u32 ctl_val = 0; in cxd2880_tnrdmd_dvbt2_mon_carrier_offset() local
136 ctl_val = in cxd2880_tnrdmd_dvbt2_mon_carrier_offset()
139 *offset = cxd2880_convert2s_complement(ctl_val, 28); in cxd2880_tnrdmd_dvbt2_mon_carrier_offset()
/linux-6.6.21/sound/usb/
Dmixer_s1810c.c368 u32 ctl_val = (pval >> 16) & 0x1; in snd_s1810c_set_switch_state() local
372 ret = snd_s1810c_send_ctl_packet(chip->dev, 0, 0, 0, ctl_id, ctl_val); in snd_s1810c_set_switch_state()
/linux-6.6.21/drivers/net/wireless/ath/ath5k/
Dphy.c2767 u8 *ctl_val = ee->ee_ctl; in ath5k_get_max_ctl_power() local
2798 if (ctl_val[i] == ctl_mode) { in ath5k_get_max_ctl_power()