Lines Matching defs:padev
269 find_pa_parent_type(const struct parisc_device *padev, int type)
271 const struct device *dev = &padev->dev;
391 static void setup_bus_id(struct parisc_device *padev)
398 get_node_path(padev->dev.parent, &path);
405 sprintf(output, "%u", (unsigned char) padev->hw_path);
406 dev_set_name(&padev->dev, name);
552 const struct parisc_device *padev = to_parisc_device(dev);
553 const struct parisc_device_id *id = &padev->id;
562 const struct parisc_device *padev;
568 padev = to_parisc_device(dev);
569 if (!padev)
572 if (add_uevent_var(env, "PARISC_NAME=%s", padev->name))
585 struct parisc_device *padev = to_parisc_device(dev); \
586 return sprintf(buf, format_string, padev->field); \
767 struct parisc_device *padev;
769 padev = to_parisc_device(dev);
771 path->mod = padev->hw_path;