Lines Matching refs:phandle
187 phandle ph; in opromnext()
189 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); in opromnext()
191 if (bufsize < sizeof(phandle)) in opromnext()
223 ph = dp->phandle; in opromnext()
227 op->oprom_size = sizeof(phandle); in opromnext()
247 *((int *)op->oprom_array) = dp->phandle; in oprompci2node()
260 phandle ph = 0; in oprompath2node()
264 ph = dp->phandle; in oprompath2node()
363 static struct device_node *get_node(phandle n, DATA *data) in get_node()
498 phandle nd; in opiocgetnext()
500 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); in opiocgetnext()
502 if (copy_from_user(&nd, argp, sizeof(phandle))) in opiocgetnext()
520 nd = dp->phandle; in opiocgetnext()
521 if (copy_to_user(argp, &nd, sizeof(phandle))) in opiocgetnext()
549 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); in openprom_bsd_ioctl()
552 if (copy_to_user(argp, &options_node->phandle, sizeof(phandle))) in openprom_bsd_ioctl()