Lines Matching refs:pin_desc
350 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_altcx_set_mode() local
372 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_altcx_set_mode()
381 if (pin_desc->altcx[i].used) { in nmk_prcm_altcx_set_mode()
382 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
383 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
396 if (!pin_desc->altcx[alt_index].used) { in nmk_prcm_altcx_set_mode()
410 if (pin_desc->altcx[i].used) { in nmk_prcm_altcx_set_mode()
411 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode()
412 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_altcx_set_mode()
422 reg = gpiocr_regs[pin_desc->altcx[alt_index].reg_index]; in nmk_prcm_altcx_set_mode()
423 bit = pin_desc->altcx[alt_index].control_bit; in nmk_prcm_altcx_set_mode()
482 const struct prcm_gpiocr_altcx_pin_desc *pin_desc; in nmk_prcm_gpiocr_get_mode() local
495 pin_desc = npct->soc->altcx_pins + i; in nmk_prcm_gpiocr_get_mode()
498 if (pin_desc->altcx[i].used) { in nmk_prcm_gpiocr_get_mode()
499 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_gpiocr_get_mode()
500 bit = pin_desc->altcx[i].control_bit; in nmk_prcm_gpiocr_get_mode()