Lines Matching refs:padev
283 * @padev: The device to start searching from
290 find_pa_parent_type(const struct parisc_device *padev, int type)
292 const struct device *dev = &padev->dev;
400 static void setup_bus_id(struct parisc_device *padev)
407 get_node_path(padev->dev.parent, &path);
414 sprintf(output, "%u", (unsigned char) padev->hw_path);
415 dev_set_name(&padev->dev, name);
558 const struct parisc_device *padev = to_parisc_device(dev);
559 const struct parisc_device_id *id = &padev->id;
568 const struct parisc_device *padev;
574 padev = to_parisc_device(dev);
575 if (!padev)
578 if (add_uevent_var(env, "PARISC_NAME=%s", padev->name))
591 struct parisc_device *padev = to_parisc_device(dev); \
592 return sprintf(buf, format_string, padev->field); \
780 struct parisc_device *padev;
782 padev = to_parisc_device(dev);
784 path->mod = padev->hw_path;