Lines Matching defs:name
153 .attr = { .name = file, .mode = 0444 }, \
164 .attr = { .name = file, .mode = 0444 }, \
168 #define SPI_STATISTICS_SHOW_NAME(name, file, field) \
169 static ssize_t spi_statistics_##name##_show(struct spi_statistics __percpu *stat, \
175 SPI_STATISTICS_ATTRS(name, file)
261 .name = "statistics",
304 .name = "statistics",
346 static const struct spi_device_id *spi_match_id(const struct spi_device_id *id, const char *name)
348 while (id->name[0]) {
349 if (!strcmp(name, id->name))
383 return strcmp(spi->driver_override, drv->name) == 0;
396 return strcmp(spi->modalias, drv->name) == 0;
463 .name = "spi",
513 if (strcmp(sdrv->driver.name, of_name) == 0)
518 sdrv->driver.name, of_id->compatible);
2763 .name = "spi_master",
2814 char name[32];
2817 rc = sscanf(buf, "%31s", name);
2818 if (rc != 1 || !name[0])
2828 if (strcmp(name, "(null)")) {
2834 strscpy(spi->modalias, name, sizeof(spi->modalias));
2864 .name = "spi_slave",
3019 * If we find a CS GPIO, name it after the device and