Lines Matching refs:slave
66 static bool is_wake_capable(struct sdw_slave *slave)
71 if (slave->id.part_id == wake_capable_list[i].part_id &&
72 slave->id.mfg_id == wake_capable_list[i].mfg_id)
94 struct sdw_slave *slave,
101 bool wake_capable = slave->prop.wake_capable || is_wake_capable(slave);
114 __func__, dev_num, slave->prop.wake_capable);
203 static int intel_get_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave)
207 if (slave->prop.wake_capable || is_wake_capable(slave))
212 bit = find_first_zero_bit(slave->bus->assigned, SDW_MAX_DEVICES);
219 static void intel_put_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave)
221 if (slave->prop.wake_capable || is_wake_capable(slave))
222 ida_free(&intel_peripheral_ida, slave->dev_num);
477 struct sdw_slave *slave = dev_to_sdw_dev(dev);
479 if (!slave->probed) {
483 if (!slave->dev_num_sticky) {