Lines Matching full:mpp
157 int mpp[MPP_PIN_MAX]; in platform_mpp_init() local
169 * Try to access the MPP node directly i.e. through /aliases/mpp. in platform_mpp_init()
171 if ((node = OF_finddevice("mpp")) != -1) in platform_mpp_init()
172 if (ofw_bus_node_is_compatible(node, "mrvl,mpp")) in platform_mpp_init()
183 if ((node = fdt_find_compatible(node, "mrvl,mpp", 0)) == 0) in platform_mpp_init()
185 * No MPP node. Fall back to how MPP got set by the in platform_mpp_init()
232 * Fill out a "mpp[pin] => function" table. All pins unspecified in in platform_mpp_init()
235 bzero(mpp, sizeof(mpp)); in platform_mpp_init()
240 mpp[mpp_pin] = mpp_function; in platform_mpp_init()
245 * Prepare and program MPP control register values. in platform_mpp_init()
254 ctrl_val |= MPP_SEL(i + j, mpp[i + j]); in platform_mpp_init()
313 * Re-initialise MPP. It is important to call this prior to using in mv_platform_gpio_init()
314 * console as the physical connection can be routed via MPP. in mv_platform_gpio_init()