Home
last modified time | relevance | path

Searched refs:compat_ptr (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/iicbus/gpio/
H A Dtca64xx.c209 const struct ofw_compat_data *compat_ptr; in tca64xx_probe() local
214 compat_ptr = ofw_bus_search_compatible(dev, compat_data); in tca64xx_probe()
216 switch (compat_ptr->ocd_data) { in tca64xx_probe()
234 const struct ofw_compat_data *compat_ptr; in tca64xx_attach() local
237 compat_ptr = ofw_bus_search_compatible(dev, compat_data); in tca64xx_attach()
239 switch (compat_ptr->ocd_data) { in tca64xx_attach()
259 sc->chip = compat_ptr->ocd_data; in tca64xx_attach()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dcompat.h62 #define compat_ptr(x) ((void *)(uintptr_t)x) macro
/freebsd/sys/dev/iicbus/sensor/
H A Dlm75.c160 const struct ofw_compat_data *compat_ptr; in lm75_probe() local
171 compat_ptr = ofw_bus_search_compatible(dev, compat_data); in lm75_probe()
173 switch (compat_ptr->ocd_data){ in lm75_probe()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_user_mad.c912 return ib_umad_reg_agent(filp->private_data, compat_ptr(arg), 1); in ib_umad_compat_ioctl()
914 return ib_umad_unreg_agent(filp->private_data, compat_ptr(arg)); in ib_umad_compat_ioctl()
918 return ib_umad_reg_agent2(filp->private_data, compat_ptr(arg)); in ib_umad_compat_ioctl()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_file.c1034 return (zpl_ioctl(filp, cmd, (unsigned long)compat_ptr(arg))); in zpl_compat_ioctl()