Lines Matching refs:pin_desc
450 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_altcx_set_mode() local
472 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_altcx_set_mode()
481 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
482 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
483 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
496 if (pin_desc->altcx[alt_index].used == false) { in nmk_prcm_altcx_set_mode()
510 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
511 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
512 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
522 reg = gpiocr_regs[pin_desc->altcx[alt_index].reg_index]; in nmk_prcm_altcx_set_mode()
523 bit = pin_desc->altcx[alt_index].control_bit; in nmk_prcm_altcx_set_mode()
581 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_gpiocr_get_mode() local
594 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_gpiocr_get_mode()
597 if (pin_desc->altcx[i].used == true) { in nmk_prcm_gpiocr_get_mode()
598 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_gpiocr_get_mode()
599 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_gpiocr_get_mode()