コード例 #1
0
ファイル: owctr.c プロジェクト: alenichev/openbsd-kernel
int
owctr_match(struct device *parent, void *match, void *aux)
{
	return (onewire_matchbyfam(aux, owctr_fams, nitems(owctr_fams)));
}
コード例 #2
0
ファイル: owtemp.c プロジェクト: eyberg/rumpkernel-netbsd-src
static int
owtemp_match(device_t parent, cfdata_t match, void *aux)
{
	return (onewire_matchbyfam(aux, owtemp_fams,
	    __arraycount(owtemp_fams)));
}
コード例 #3
0
ファイル: owid.c プロジェクト: repos-holder/openbsd-patches
int
owid_match(struct device *parent, void *match, void *aux)
{
	return (onewire_matchbyfam(aux, owid_fams,
	    sizeof(owid_fams) /sizeof(owid_fams[0])));
}