Lines Matching refs:pin_desc
453 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_altcx_set_mode() local
475 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_altcx_set_mode()
484 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
485 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
486 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
499 if (pin_desc->altcx[alt_index].used == false) { in nmk_prcm_altcx_set_mode()
513 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode()
514 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
515 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
525 reg = gpiocr_regs[pin_desc->altcx[alt_index].reg_index]; in nmk_prcm_altcx_set_mode()
526 bit = pin_desc->altcx[alt_index].control_bit; in nmk_prcm_altcx_set_mode()
584 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_gpiocr_get_mode() local
597 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_gpiocr_get_mode()
600 if (pin_desc->altcx[i].used == true) { in nmk_prcm_gpiocr_get_mode()
601 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_gpiocr_get_mode()
602 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_gpiocr_get_mode()