Lines Matching refs:pin_desc
459 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_altcx_set_mode() local
481 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_altcx_set_mode()
490 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
491 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
492 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
505 if (pin_desc->altcx[alt_index].used == false) { in nmk_prcm_altcx_set_mode()
519 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
520 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
521 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
531 reg = gpiocr_regs[pin_desc->altcx[alt_index].reg_index]; in nmk_prcm_altcx_set_mode()
532 bit = pin_desc->altcx[alt_index].control_bit; in nmk_prcm_altcx_set_mode()
590 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_gpiocr_get_mode() local
603 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_gpiocr_get_mode()
606 if (pin_desc->altcx[i].used == true) { in nmk_prcm_gpiocr_get_mode()
607 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_gpiocr_get_mode()
608 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_gpiocr_get_mode()