Lines Matching refs:device
171 struct device *dev;
176 struct ines_timestamp *ts, struct device *dev);
196 static int ines_clock_init(struct ines_clock *clock, struct device *device,
199 struct device_node *node = device->of_node;
206 clock->dev = device;
228 dev_dbg(device, "ID 0x%x\n", ines_read32(clock, id));
229 dev_dbg(device, "TEST 0x%x\n", ines_read32(clock, test));
230 dev_dbg(device, "VERSION 0x%x\n", ines_read32(clock, version));
231 dev_dbg(device, "TEST2 0x%x\n", ines_read32(clock, test2));
441 struct ines_timestamp *ts, struct device *dev)
710 static struct mii_timestamper *ines_ptp_probe_channel(struct device *device,
713 struct device_node *node = device->of_node;
717 dev_err(device, "bad port index %u\n", index);
722 dev_err(device, "missing port index %u\n", index);
734 static void ines_ptp_release_channel(struct device *device,