Lines Matching refs:pin_desc
460 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_altcx_set_mode() local
482 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_altcx_set_mode()
491 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
492 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
493 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
506 if (pin_desc->altcx[alt_index].used == false) { in nmk_prcm_altcx_set_mode()
520 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
521 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
522 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
532 reg = gpiocr_regs[pin_desc->altcx[alt_index].reg_index]; in nmk_prcm_altcx_set_mode()
533 bit = pin_desc->altcx[alt_index].control_bit; in nmk_prcm_altcx_set_mode()
591 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_gpiocr_get_mode() local
604 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_gpiocr_get_mode()
607 if (pin_desc->altcx[i].used == true) { in nmk_prcm_gpiocr_get_mode()
608 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_gpiocr_get_mode()
609 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_gpiocr_get_mode()