Searched refs:ctr2 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/dma/stm32/ |
H A D | stm32-dma3.c | 242 u32 ctr2; member 372 dev_dbg(chan2dev(chan), "| C%dTR2: %08x\n", chan->id, hwdesc->ctr2); in stm32_dma3_chan_dump_hwdesc() 487 u32 ctr1, u32 ctr2, bool is_last, bool is_cyclic) in stm32_dma3_chan_prep_hwdesc() argument 495 hwdesc->ctr2 = ctr2; in stm32_dma3_chan_prep_hwdesc() 552 u32 *ccr, u32 *ctr1, u32 *ctr2, in stm32_dma3_chan_prep_hw() argument 727 *ctr2 = _ctr2; in stm32_dma3_chan_prep_hw() 757 writel_relaxed(hwdesc->ctr2, ddata->base + STM32_DMA3_CTR2(id)); in stm32_dma3_chan_start() 1152 u32 count, i, ctr1, ctr2; in stm32_dma3_prep_dma_memcpy() local 1170 ret = stm32_dma3_chan_prep_hw(chan, DMA_MEM_TO_MEM, &swdesc->ccr, &ctr1, &ctr2, in stm32_dma3_prep_dma_memcpy() 1176 ctr1, ctr2, next_size == remaining, false); in stm32_dma3_prep_dma_memcpy() [all …]
|
/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_kunit.c | 1478 struct vcap_counter ctr2 = { .value = 101, .sticky = true}; in vcap_api_set_rule_counter_test() local 1495 ret = vcap_rule_set_counter(&ri2.data, &ctr2); in vcap_api_set_rule_counter_test() 1531 struct vcap_counter ctr2 = {}; in vcap_api_get_rule_counter_test() local 1552 ret = vcap_rule_get_counter(&ri2.data, &ctr2); in vcap_api_get_rule_counter_test() 1556 KUNIT_EXPECT_EQ(test, 22, ctr2.value); in vcap_api_get_rule_counter_test() 1557 KUNIT_EXPECT_EQ(test, false, ctr2.sticky); in vcap_api_get_rule_counter_test()
|