Lines Matching refs:padev
290 find_pa_parent_type(const struct parisc_device *padev, int type) in find_pa_parent_type() argument
292 const struct device *dev = &padev->dev; in find_pa_parent_type()
400 static void setup_bus_id(struct parisc_device *padev) in setup_bus_id() argument
407 get_node_path(padev->dev.parent, &path); in setup_bus_id()
414 sprintf(output, "%u", (unsigned char) padev->hw_path); in setup_bus_id()
415 dev_set_name(&padev->dev, name); in setup_bus_id()
557 const struct parisc_device *padev = to_parisc_device(dev); in make_modalias() local
558 const struct parisc_device_id *id = &padev->id; in make_modalias()
567 const struct parisc_device *padev; in parisc_uevent() local
573 padev = to_parisc_device(dev); in parisc_uevent()
574 if (!padev) in parisc_uevent()
577 if (add_uevent_var(env, "PARISC_NAME=%s", padev->name)) in parisc_uevent()
590 struct parisc_device *padev = to_parisc_device(dev); \
591 return sprintf(buf, format_string, padev->field); \
779 struct parisc_device *padev; in device_to_hwpath() local
781 padev = to_parisc_device(dev); in device_to_hwpath()
783 path->mod = padev->hw_path; in device_to_hwpath()