Lines Matching defs:device
31 struct device *device;
45 dev_info(modem->device, "CMT rst line change detected\n");
60 static void nokia_modem_gpio_unexport(struct device *dev)
71 static int nokia_modem_gpio_probe(struct device *dev)
125 static int nokia_modem_probe(struct device *dev)
137 dev_err(dev, "device tree node not found\n");
146 modem->device = dev;
183 dev_err(dev, "Could not register ssi-protocol device\n");
188 err = device_attach(&modem->ssi_protocol->device);
206 dev_err(dev, "Could not register cmt-speech device\n");
211 err = device_attach(&modem->cmt_speech->device);
226 hsi_remove_client(&modem->cmt_speech->device, NULL);
228 hsi_remove_client(&modem->ssi_protocol->device, NULL);
238 static int nokia_modem_remove(struct device *dev)
246 hsi_remove_client(&modem->cmt_speech->device, NULL);
251 hsi_remove_client(&modem->ssi_protocol->device, NULL);