Lines Matching refs:field
128 u64_stats_t *field;
133 field = (void *)pcpu_stats + offset;
136 inc = u64_stats_read(field);
143 #define SPI_STATISTICS_ATTRS(field, file) \
144 static ssize_t spi_controller_##field##_show(struct device *dev, \
150 return spi_statistics_##field##_show(ctlr->pcpu_statistics, buf); \
152 static struct device_attribute dev_attr_spi_controller_##field = { \
154 .show = spi_controller_##field##_show, \
156 static ssize_t spi_device_##field##_show(struct device *dev, \
161 return spi_statistics_##field##_show(spi->pcpu_statistics, buf); \
163 static struct device_attribute dev_attr_spi_device_##field = { \
165 .show = spi_device_##field##_show, \
168 #define SPI_STATISTICS_SHOW_NAME(name, file, field) \
173 offsetof(struct spi_statistics, field)); \
177 #define SPI_STATISTICS_SHOW(field) \
178 SPI_STATISTICS_SHOW_NAME(field, __stringify(field), \
179 field)
2876 * memory is in the driver_data field of the returned device, accessible