Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/dma/
Dat_hdmac.c296 static inline int atc_calc_bytes_left(int current_len, u32 ctrla) in atc_calc_bytes_left() argument
298 u32 btsize = (ctrla & ATC_BTSIZE_MAX); in atc_calc_bytes_left()
299 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left()
321 u32 ctrla, dscr; in atc_get_bytes_left() local
391 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
416 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
423 return atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
437 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
440 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
441 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
[all …]
Dat_hdmac_regs.h192 u32 ctrla; member
406 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli()
/linux-6.1.9/drivers/rtc/
Drtc-ds1685.c755 u8 ctrla, ctrlb, ctrld, ctrl4a, ctrl4b, ssn[8]; in ds1685_rtc_proc() local
761 ctrla = rtc->read(rtc, RTC_CTRL_A); in ds1685_rtc_proc()
805 ((ctrla & RTC_CTRL_A_DV1) ? "enabled" : "disabled"), in ds1685_rtc_proc()
814 ds1685_rtc_pirq_rate[(ctrla & RTC_CTRL_A_RS_MASK)] : "none"), in ds1685_rtc_proc()
816 ds1685_rtc_sqw_freq[(ctrla & RTC_CTRL_A_RS_MASK)] : "32768Hz"), in ds1685_rtc_proc()
1073 u8 ctrla, ctrlb, hours; in ds1685_rtc_probe() local
1139 ctrla = rtc->read(rtc, RTC_CTRL_A); in ds1685_rtc_probe()
1140 if (!(ctrla & RTC_CTRL_A_DV1)) in ds1685_rtc_probe()
1141 ctrla |= RTC_CTRL_A_DV1; in ds1685_rtc_probe()
1144 ctrla &= ~(RTC_CTRL_A_DV2); in ds1685_rtc_probe()
[all …]