Lines Matching full:child
40 struct nxp_lp_flexcomm_child *child; in nxp_lp_flexcomm_isr() local
46 child = &data->children[LP_FLEXCOMM_PERIPH_LPI2C]; in nxp_lp_flexcomm_isr()
48 if (child->lp_flexcomm_child_isr != NULL) { in nxp_lp_flexcomm_isr()
49 child->lp_flexcomm_child_isr(child->dev); in nxp_lp_flexcomm_isr()
55 child = &data->children[LP_FLEXCOMM_PERIPH_LPUART]; in nxp_lp_flexcomm_isr()
57 if (child->lp_flexcomm_child_isr != NULL) { in nxp_lp_flexcomm_isr()
58 child->lp_flexcomm_child_isr(child->dev); in nxp_lp_flexcomm_isr()
63 child = &data->children[LP_FLEXCOMM_PERIPH_LPSPI]; in nxp_lp_flexcomm_isr()
65 if (child->lp_flexcomm_child_isr != NULL) { in nxp_lp_flexcomm_isr()
66 child->lp_flexcomm_child_isr(child->dev); in nxp_lp_flexcomm_isr()
75 struct nxp_lp_flexcomm_child *child; in nxp_lp_flexcomm_setirqhandler() local
77 child = &data->children[periph]; in nxp_lp_flexcomm_setirqhandler()
79 /* Store the interrupt handler and the child device node */ in nxp_lp_flexcomm_setirqhandler()
80 child->lp_flexcomm_child_isr = handler; in nxp_lp_flexcomm_setirqhandler()
81 child->dev = child_dev; in nxp_lp_flexcomm_setirqhandler()
89 struct nxp_lp_flexcomm_child *child = NULL; in nxp_lp_flexcomm_init() local
95 child = &data->children[i]; in nxp_lp_flexcomm_init()
96 if (child->periph == LP_FLEXCOMM_PERIPH_LPSPI) { in nxp_lp_flexcomm_init()
99 if (child->periph == LP_FLEXCOMM_PERIPH_LPI2C) { in nxp_lp_flexcomm_init()
102 if (child->periph == LP_FLEXCOMM_PERIPH_LPUART) { in nxp_lp_flexcomm_init()