Lines Matching defs:device
32 struct device *device;
46 dev_info(modem->device, "CMT rst line change detected\n");
61 static void nokia_modem_gpio_unexport(struct device *dev)
72 static int nokia_modem_gpio_probe(struct device *dev)
127 static int nokia_modem_probe(struct device *dev)
139 dev_err(dev, "device tree node not found\n");
148 modem->device = dev;
185 dev_err(dev, "Could not register ssi-protocol device\n");
190 err = device_attach(&modem->ssi_protocol->device);
208 dev_err(dev, "Could not register cmt-speech device\n");
213 err = device_attach(&modem->cmt_speech->device);
228 hsi_remove_client(&modem->cmt_speech->device, NULL);
230 hsi_remove_client(&modem->ssi_protocol->device, NULL);
240 static int nokia_modem_remove(struct device *dev)
248 hsi_remove_client(&modem->cmt_speech->device, NULL);
253 hsi_remove_client(&modem->ssi_protocol->device, NULL);