Home
last modified time | relevance | path

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

/drivers/dma/
Dat_hdmac.c202 u32 ctrla; member
410 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli()
613 static inline u32 atc_calc_bytes_left(u32 current_len, u32 ctrla) in atc_calc_bytes_left() argument
615 u32 btsize = FIELD_GET(ATC_BTSIZE, ctrla); in atc_calc_bytes_left()
616 u32 src_width = FIELD_GET(ATC_SRC_WIDTH, ctrla); in atc_calc_bytes_left()
672 u32 len, ctrla, dscr; in atc_get_llis_residue() local
678 ctrla = channel_readl(atchan, CTRLA); in atc_get_llis_residue()
701 ctrla = channel_readl(atchan, CTRLA); in atc_get_llis_residue()
708 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_llis_residue()
723 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_llis_residue()
[all …]
/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 …]