Lines Matching defs:client
27 struct spi_device *client = to_spi_device(rsmu->dev);
41 xfer.bits_per_word = client->bits_per_word;
42 xfer.speed_hz = client->max_speed_hz;
59 ret = spi_sync(client, &msg);
68 struct spi_device *client = to_spi_device(rsmu->dev);
81 xfer.bits_per_word = client->bits_per_word;
82 xfer.speed_hz = client->max_speed_hz;
86 return spi_sync(client, &msg);
198 static int rsmu_spi_probe(struct spi_device *client)
200 const struct spi_device_id *id = spi_get_device_id(client);
205 rsmu = devm_kzalloc(&client->dev, sizeof(*rsmu), GFP_KERNEL);
209 spi_set_drvdata(client, rsmu);
211 rsmu->dev = &client->dev;
227 rsmu->regmap = devm_regmap_init(&client->dev, NULL, client, cfg);
237 static void rsmu_spi_remove(struct spi_device *client)
239 struct rsmu_ddata *rsmu = spi_get_drvdata(client);