Lines Matching refs:padev
271 find_pa_parent_type(const struct parisc_device *padev, int type) in find_pa_parent_type() argument
273 const struct device *dev = &padev->dev; in find_pa_parent_type()
393 static void setup_bus_id(struct parisc_device *padev) in setup_bus_id() argument
400 get_node_path(padev->dev.parent, &path); in setup_bus_id()
407 sprintf(output, "%u", (unsigned char) padev->hw_path); in setup_bus_id()
408 dev_set_name(&padev->dev, name); in setup_bus_id()
554 const struct parisc_device *padev = to_parisc_device(dev); in make_modalias() local
555 const struct parisc_device_id *id = &padev->id; in make_modalias()
564 const struct parisc_device *padev; in parisc_uevent() local
570 padev = to_parisc_device(dev); in parisc_uevent()
571 if (!padev) in parisc_uevent()
574 if (add_uevent_var(env, "PARISC_NAME=%s", padev->name)) in parisc_uevent()
587 struct parisc_device *padev = to_parisc_device(dev); \
588 return sprintf(buf, format_string, padev->field); \
769 struct parisc_device *padev; in device_to_hwpath() local
771 padev = to_parisc_device(dev); in device_to_hwpath()
773 path->mod = padev->hw_path; in device_to_hwpath()