Home
last modified time | relevance | path

Searched refs:ctrla (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/dma/
Dat_hdmac.c275 static inline int atc_calc_bytes_left(int current_len, u32 ctrla) in atc_calc_bytes_left() argument
277 u32 btsize = (ctrla & ATC_BTSIZE_MAX); in atc_calc_bytes_left()
278 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left()
300 u32 ctrla, dscr, trials; in atc_get_bytes_left() local
369 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
394 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
401 return atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
415 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
418 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
419 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
[all …]
Dat_hdmac_regs.h170 u32 ctrla; member
384 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli()
/Linux-v5.10/drivers/rtc/
Drtc-ds1685.c757 u8 ctrla, ctrlb, ctrld, ctrl4a, ctrl4b, ssn[8]; in ds1685_rtc_proc() local
763 ctrla = rtc->read(rtc, RTC_CTRL_A); in ds1685_rtc_proc()
807 ((ctrla & RTC_CTRL_A_DV1) ? "enabled" : "disabled"), in ds1685_rtc_proc()
816 ds1685_rtc_pirq_rate[(ctrla & RTC_CTRL_A_RS_MASK)] : "none"), in ds1685_rtc_proc()
818 ds1685_rtc_sqw_freq[(ctrla & RTC_CTRL_A_RS_MASK)] : "32768Hz"), in ds1685_rtc_proc()
1075 u8 ctrla, ctrlb, hours; in ds1685_rtc_probe() local
1141 ctrla = rtc->read(rtc, RTC_CTRL_A); in ds1685_rtc_probe()
1142 if (!(ctrla & RTC_CTRL_A_DV1)) in ds1685_rtc_probe()
1143 ctrla |= RTC_CTRL_A_DV1; in ds1685_rtc_probe()
1146 ctrla &= ~(RTC_CTRL_A_DV2); in ds1685_rtc_probe()
[all …]