Beispiel #1
0
int
bcmpm_match(struct device *parent, void *cfdata, void *aux)
{
	struct armv7_attach_args *aa = aux;

	if (fdt_node_compatible("brcm,bcm2835-pm", aa->aa_node) ||
	    fdt_node_compatible("broadcom,bcm2835-pm", aa->aa_node))
		return (1);

	return 0;
}
Beispiel #2
0
static int
mvmdio_match(struct device *parent, void *cfdata, void *aux)
{
	struct armv7_attach_args *aa = aux;

	if (fdt_node_compatible("marvell,orion-mdio", aa->aa_node))
		return (1);

	return 0;
}
Beispiel #3
0
int
imxehci_match(struct device *parent, void *v, void *aux)
{
	struct armv7_attach_args *aa = aux;

	if (fdt_node_compatible("fsl,imx6q-usb", aa->aa_node))
		return 1;

	return 0;
}
Beispiel #4
0
int
mpic_match(struct device *parent, void *cfdata, void *aux)
{
	struct armv7_attach_args *aa = aux;

	if (fdt_node_compatible("marvell,mpic", aa->aa_node))
		return (1);

	return (0);
}
Beispiel #5
0
int
exmct_match(struct device *parent, void *v, void *aux)
{
#if NFDT > 0
	struct armv7_attach_args *aa = aux;

	if (fdt_node_compatible("samsung,exynos4210-mct", aa->aa_node))
		return 1;
#endif

	return 0;
}