/kernel/linux/linux-5.10/drivers/dma/ |
H A D | at_hdmac.c | 275 * @ctrla: the value of CTRLA 277 static inline int atc_calc_bytes_left(int current_len, u32 ctrla) in atc_calc_bytes_left() argument 279 u32 btsize = (ctrla & ATC_BTSIZE_MAX); in atc_calc_bytes_left() 280 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left() 284 * (ctrla), the Buffer Transfer Size (btsize) bitfield refers to the in atc_calc_bytes_left() 302 u32 ctrla, dscr; in atc_get_bytes_left() local 372 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left() 382 * that both the dscr and ctrla values refers to the in atc_get_bytes_left() 392 * We need to update ctrla to match the current in atc_get_bytes_left() 397 ctrla in atc_get_bytes_left() 670 u32 ctrla; atc_prep_dma_interleaved() local 773 u32 ctrla; atc_prep_dma_memcpy() local 842 u32 ctrla = ATC_SRC_WIDTH(2) | ATC_DST_WIDTH(2); atc_create_memset_desc() local 1034 u32 ctrla; atc_prep_slave_sg() local 1194 u32 ctrla; atc_dma_cyclic_fill_desc() local [all...] |
H A D | at_hdmac_regs.h | 170 u32 ctrla; member 384 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | at_hdmac.c | 202 u32 ctrla; member 410 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli() 611 * @ctrla: the value of CTRLA 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() 620 * (ctrla), the Buffer Transfer Size (btsize) bitfield refers to the 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() 688 * dscr and ctrla value in atc_get_llis_residue() 742 u32 len, ctrla; atc_get_residue() local 869 u32 ctrla; atc_prep_dma_interleaved() local 973 u32 ctrla; atc_prep_dma_memcpy() local 1047 u32 ctrla = FIELD_PREP(ATC_SRC_WIDTH, 2) | FIELD_PREP(ATC_DST_WIDTH, 2); atdma_create_memset_lli() local 1248 u32 ctrla; atc_prep_slave_sg() local [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds1685.c | 757 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 in ds1685_rtc_probe() 1382 u8 ctrla, ctrl4a, ctrl4b; ds1685_rtc_poweroff() local [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A 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 in ds1685_rtc_probe() 1373 u8 ctrla, ctrl4a, ctrl4b; ds1685_rtc_poweroff() local [all...] |