Lines Matching refs:device
166 struct device *dev;
171 struct ines_timestamp *ts, struct device *dev);
191 static int ines_clock_init(struct ines_clock *clock, struct device *device,
194 struct device_node *node = device->of_node;
201 clock->dev = device;
223 dev_dbg(device, "ID 0x%x\n", ines_read32(clock, id));
224 dev_dbg(device, "TEST 0x%x\n", ines_read32(clock, test));
225 dev_dbg(device, "VERSION 0x%x\n", ines_read32(clock, version));
226 dev_dbg(device, "TEST2 0x%x\n", ines_read32(clock, test2));
432 struct ines_timestamp *ts, struct device *dev)
701 static struct mii_timestamper *ines_ptp_probe_channel(struct device *device,
704 struct device_node *node = device->of_node;
708 dev_err(device, "bad port index %u\n", index);
713 dev_err(device, "missing port index %u\n", index);
725 static void ines_ptp_release_channel(struct device *device,