Searched refs:ctrla (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/dma/ |
D | at_hdmac.c | 202 u32 ctrla; member 418 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli() 621 static inline u32 atc_calc_bytes_left(u32 current_len, u32 ctrla) in atc_calc_bytes_left() argument 623 u32 btsize = FIELD_GET(ATC_BTSIZE, ctrla); in atc_calc_bytes_left() 624 u32 src_width = FIELD_GET(ATC_SRC_WIDTH, ctrla); in atc_calc_bytes_left() 681 u32 len, ctrla, dscr; in atc_get_llis_residue() local 687 ctrla = channel_readl(atchan, CTRLA); in atc_get_llis_residue() 710 ctrla = channel_readl(atchan, CTRLA); in atc_get_llis_residue() 717 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_llis_residue() 732 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_llis_residue() [all …]
|
/linux-6.12.1/drivers/rtc/ |
D | rtc-ds1685.c | 755 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 …]
|