Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-sprd-adi.c490 u32 chn_id = be32_to_cpu(*list++); in sprd_adi_hw_init() local
494 if (chn_id < 2) in sprd_adi_hw_init()
498 REG_ADI_CHN_ADDR(chn_id)); in sprd_adi_hw_init()
500 if (chn_id < 32) { in sprd_adi_hw_init()
502 value |= BIT(chn_id); in sprd_adi_hw_init()
504 } else if (chn_id < ADI_HW_CHNS) { in sprd_adi_hw_init()
506 value |= BIT(chn_id - 32); in sprd_adi_hw_init()