Home
last modified time | relevance | path

Searched refs:class_dev (Results 1 – 25 of 101) sorted by relevance

12345

/linux/drivers/media/usb/pvrusb2/
A Dpvrusb2-sysfs.c20 struct device *class_dev; member
502 kfree(class_dev); in pvr2_sysfs_release()
509 if (!sfp->class_dev) return; in class_dev_destroy()
540 dev = sfp->class_dev->parent; in class_dev_destroy()
544 sfp->class_dev = NULL; in class_dev_destroy()
621 struct device *class_dev; in class_dev_create() local
626 class_dev = kzalloc(sizeof(*class_dev),GFP_KERNEL); in class_dev_create()
627 if (!class_dev) return; in class_dev_create()
633 dev_set_name(class_dev, "%s", in class_dev_create()
638 sfp->class_dev = class_dev; in class_dev_create()
[all …]
/linux/drivers/staging/fieldbus/anybuss/
A Darcx-anybus.c40 struct device *class_dev; member
299 cd->class_dev = kzalloc(sizeof(*cd->class_dev), GFP_KERNEL); in controller_probe()
300 if (!cd->class_dev) { in controller_probe()
306 cd->class_dev->parent = dev; in controller_probe()
307 cd->class_dev->id = id; in controller_probe()
309 dev_set_name(cd->class_dev, "%d", cd->class_dev->id); in controller_probe()
310 dev_set_drvdata(cd->class_dev, cd); in controller_probe()
311 err = device_register(cd->class_dev); in controller_probe()
316 put_device(cd->class_dev); in controller_probe()
327 int id = cd->class_dev->id; in controller_remove()
[all …]
/linux/drivers/comedi/drivers/
A Dusbduxfast.c177 dev_err(dev->class_dev, in usbduxfast_send_cmd()
284 dev_err(dev->class_dev, in usbduxfast_ai_interrupt()
336 dev_err(dev->class_dev, in usbduxfast_ai_check_chanlist()
341 dev_err(dev->class_dev, in usbduxfast_ai_check_chanlist()
451 dev_err(dev->class_dev, "urbSubmit: err=%d\n", ret); in usbduxfast_ai_inttrig()
458 dev_err(dev->class_dev, "ai is already running\n"); in usbduxfast_ai_inttrig()
776 dev_err(dev->class_dev, in usbduxfast_ai_insn_read()
809 dev_err(dev->class_dev, "insn timeout, no data\n"); in usbduxfast_ai_insn_read()
879 dev_err(dev->class_dev, "can not stop firmware\n"); in usbduxfast_upload_firmware()
922 dev_err(dev->class_dev, in usbduxfast_auto_attach()
[all …]
A Dme4000.c340 dev_err(dev->class_dev, "Can't init Xilinx\n"); in me4000_xilinx_download()
363 dev_err(dev->class_dev, in me4000_xilinx_download()
475 dev_err(dev->class_dev, in me4000_ai_insn_read()
481 dev_err(dev->class_dev, in me4000_ai_insn_read()
487 dev_err(dev->class_dev, in me4000_ai_insn_read()
547 dev_dbg(dev->class_dev, in me4000_ai_check_chanlist()
554 dev_err(dev->class_dev, in me4000_ai_check_chanlist()
560 dev_dbg(dev->class_dev, in me4000_ai_check_chanlist()
566 dev_dbg(dev->class_dev, in me4000_ai_check_chanlist()
808 dev_err(dev->class_dev, "Invalid start arg\n"); in me4000_ai_do_cmd_test()
[all …]
A Dcomedi_bond.c190 dev_err(dev->class_dev, in do_dev_config()
195 dev_err(dev->class_dev, in do_dev_config()
200 dev_err(dev->class_dev, in do_dev_config()
211 dev_err(dev->class_dev, in do_dev_config()
221 dev_err(dev->class_dev, in do_dev_config()
246 dev_err(dev->class_dev, in do_dev_config()
266 dev_err(dev->class_dev, "No channels found!\n"); in do_dev_config()
306 dev_info(dev->class_dev, in bonding_attach()
A Ddt2801.c323 dev_dbg(dev->class_dev, in dt2801_writecmd()
327 dev_dbg(dev->class_dev, "!ready in %s, ignoring\n", __func__); in dt2801_writecmd()
355 dev_dbg(dev->class_dev, "timeout 1 status=0x%02x\n", stat); in dt2801_reset()
370 dev_dbg(dev->class_dev, "timeout 2 status=0x%02x\n", stat); in dt2801_reset()
433 dev_dbg(dev->class_dev, "timeout\n"); in dt2801_error()
435 dev_dbg(dev->class_dev, "error %d\n", stat); in dt2801_error()
438 dev_dbg(dev->class_dev, "error status 0x%02x, resetting...\n", stat); in dt2801_error()
559 dev_dbg(dev->class_dev, in dt2801_attach()
A Damplc_dio200_pci.c323 dev_err(dev->class_dev, "error! bad PCI region!\n"); in dio200_pcie_board_setup()
328 dev_err(dev->class_dev, "error! failed to map registers!\n"); in dio200_pcie_board_setup()
353 dev_info(dev->class_dev, "%s: attach pci %s (%s)\n", in dio200_pci_auto_attach()
364 dev_err(dev->class_dev, in dio200_pci_auto_attach()
A Dusbduxsigma.c240 dev_err(dev->class_dev, "urb resubmit failed (%d)\n", in usbduxsigma_ai_handle_urb()
243 dev_err(dev->class_dev, in usbduxsigma_ai_handle_urb()
288 dev_err(dev->class_dev, "non-zero urb status (%d)\n", in usbduxsigma_ai_urb_complete()
356 dev_err(dev->class_dev, "buffer underflow\n"); in usbduxsigma_ao_handle_urb()
382 dev_err(dev->class_dev, in usbduxsigma_ao_handle_urb()
415 dev_err(dev->class_dev, "non-zero urb status (%d)\n", in usbduxsigma_ao_urb_complete()
1052 dev_err(dev->class_dev, in usbduxsigma_pwm_urb_complete()
1297 dev_err(dev->class_dev, "can not stop firmware\n"); in usbduxsigma_firmware_upload()
1478 dev_err(dev->class_dev, in usbduxsigma_auto_attach()
1550 dev_err(dev->class_dev, in usbduxsigma_auto_attach()
[all …]
A Dmite.c285 dev_warn(s->device->class_dev, in mite_sync_input_dma()
325 dev_warn(s->device->class_dev, "mite: DMA underrun\n"); in mite_sync_output_dma()
402 dev_err(s->device->class_dev, in mite_ack_linkc()
660 dev_dbg(s->device->class_dev, in mite_init_ring_descriptors()
664 dev_err(s->device->class_dev, in mite_init_ring_descriptors()
734 dev_err(s->device->class_dev, in mite_buf_change()
806 dev_dbg(dev->class_dev, in mite_setup()
833 dev_warn(dev->class_dev, in mite_setup()
844 dev_dbg(dev->class_dev, in mite_setup()
848 dev_dbg(dev->class_dev, in mite_setup()
[all …]
A Dni_mio_common.c572 dev_err(dev->class_dev, in ni_request_ai_mite_channel()
598 dev_err(dev->class_dev, in ni_request_ao_mite_channel()
628 dev_err(dev->class_dev, in ni_request_gpct_mite_channel()
655 dev_err(dev->class_dev, in ni_request_cdo_mite_channel()
906 dev_err(dev->class_dev, in ni_ai_drain_dma()
1085 dev_err(dev->class_dev, in ni_ai_fifo_read()
1369 dev_err(dev->class_dev, in handle_b_interrupt()
2800 dev_err(dev->class_dev, in ni_ao_arm()
3692 dev_err(dev->class_dev, in ni_cdio_cmd()
4777 dev_err(dev->class_dev, in cs5529_command()
[all …]
A Dgsc_hpdi.c234 dev_err(dev->class_dev, "rx fifo overrun\n"); in gsc_hpdi_interrupt()
239 dev_err(dev->class_dev, "rx fifo underrun\n"); in gsc_hpdi_interrupt()
340 dev_dbg(dev->class_dev, in gsc_hpdi_check_chanlist()
603 dev_warn(dev->class_dev, "failed to remap io memory\n"); in gsc_hpdi_auto_attach()
612 dev_warn(dev->class_dev, in gsc_hpdi_auto_attach()
618 dev_dbg(dev->class_dev, " irq %u\n", dev->irq); in gsc_hpdi_auto_attach()
627 dev_warn(dev->class_dev, in gsc_hpdi_auto_attach()
639 dev_warn(dev->class_dev, in gsc_hpdi_auto_attach()
644 dev_warn(dev->class_dev, in gsc_hpdi_auto_attach()
A Dni_tiocmd.c155 dev_err(counter->counter_dev->dev->class_dev, in ni_tio_output_cmd()
214 dev_err(counter->counter_dev->dev->class_dev, in ni_tio_cmd()
216 dev_err(counter->counter_dev->dev->class_dev, in ni_tio_cmd()
433 dev_info(counter->counter_dev->dev->class_dev, in ni_tio_acknowledge_and_confirm()
460 dev_notice(counter->counter_dev->dev->class_dev, in ni_tio_handle_interrupt()
471 dev_notice(counter->counter_dev->dev->class_dev, in ni_tio_handle_interrupt()
A Ddt9812.c695 dev_err(dev->class_dev, "Wrong number of endpoints\n"); in dt9812_find_endpoints()
728 dev_err(dev->class_dev, in dt9812_find_endpoints()
762 dev_err(dev->class_dev, in dt9812_reset_device()
770 dev_err(dev->class_dev, "failed to read vendor id\n"); in dt9812_reset_device()
777 dev_err(dev->class_dev, "failed to read product id\n"); in dt9812_reset_device()
784 dev_err(dev->class_dev, "failed to read device id\n"); in dt9812_reset_device()
791 dev_err(dev->class_dev, "failed to read serial number\n"); in dt9812_reset_device()
797 dev_info(dev->class_dev, "USB DT9812 (%4.4x.%4.4x.%4.4x) #0x%8.8x\n", in dt9812_reset_device()
802 dev_err(dev->class_dev, "Unsupported device!\n"); in dt9812_reset_device()
A Dusbdux.c277 dev_err(dev->class_dev, in usbduxsub_ai_handle_urb()
281 dev_err(dev->class_dev, in usbduxsub_ai_handle_urb()
326 dev_err(dev->class_dev, in usbduxsub_ai_isoc_irq()
424 dev_err(dev->class_dev, in usbduxsub_ao_handle_urb()
428 dev_err(dev->class_dev, in usbduxsub_ao_handle_urb()
461 dev_err(dev->class_dev, in usbduxsub_ao_isoc_irq()
1177 dev_err(dev->class_dev, in usbduxsub_pwm_irq()
1195 dev_err(dev->class_dev, in usbduxsub_pwm_irq()
1199 dev_err(dev->class_dev, in usbduxsub_pwm_irq()
1378 dev_err(dev->class_dev, in usbdux_firmware_upload()
[all …]
A Dadl_pci9118.c306 dev_err(dev->class_dev, in pci9118_ai_check_chanlist()
312 dev_err(dev->class_dev, in pci9118_ai_check_chanlist()
318 dev_err(dev->class_dev, in pci9118_ai_check_chanlist()
711 dev_err(dev->class_dev, in pci9118_interrupt()
717 dev_err(dev->class_dev, in pci9118_interrupt()
826 dev_info(dev->class_dev, in pci9118_ai_setup_dma()
844 dev_info(dev->class_dev, in pci9118_ai_setup_dma()
1019 dev_err(dev->class_dev, in pci9118_ai_cmd()
1067 dev_err(dev->class_dev, in pci9118_ai_cmd()
1100 dev_err(dev->class_dev, in pci9118_ai_cmd()
[all …]
A Damplc_pci230.c740 dev_dbg(dev->class_dev, in pci230_ai_insn_read()
862 dev_dbg(dev->class_dev, in pci230_ao_check_chanlist()
869 dev_dbg(dev->class_dev, in pci230_ao_check_chanlist()
1424 dev_dbg(dev->class_dev, in pci230_ai_check_chanlist()
1440 dev_dbg(dev->class_dev, in pci230_ai_check_chanlist()
1447 dev_dbg(dev->class_dev, in pci230_ai_check_chanlist()
1454 dev_dbg(dev->class_dev, in pci230_ai_check_chanlist()
1478 dev_dbg(dev->class_dev, in pci230_ai_check_chanlist()
2393 dev_err(dev->class_dev, in pci230_auto_attach()
2410 dev_dbg(dev->class_dev, in pci230_auto_attach()
[all …]
A Dni_at_a2150.c361 dev_dbg(dev->class_dev, in a2150_ai_check_chanlist()
367 dev_dbg(dev->class_dev, in a2150_ai_check_chanlist()
377 dev_dbg(dev->class_dev, in a2150_ai_check_chanlist()
385 dev_dbg(dev->class_dev, in a2150_ai_check_chanlist()
475 dev_err(dev->class_dev, in a2150_ai_cmd()
553 dev_err(dev->class_dev, "you shouldn't see this?\n"); in a2150_ai_cmd()
754 dev_err(dev->class_dev, in a2150_attach()
A Dcomedi_isadma.c179 if (!dev->class_dev) in comedi_isadma_alloc()
182 if (dma_coerce_mask_and_coherent(dev->class_dev, in comedi_isadma_alloc()
186 dma->dev = dev->class_dev; in comedi_isadma_alloc()
/linux/drivers/mfd/
A Dcros_ec_dev.c151 device_initialize(&ec->class_dev); in ec_device_probe()
173 ec->class_dev.class = &cros_class; in ec_device_probe()
174 ec->class_dev.parent = dev; in ec_device_probe()
175 ec->class_dev.release = cros_ec_class_release; in ec_device_probe()
177 retval = dev_set_name(&ec->class_dev, "%s", ec_platform->ec_name); in ec_device_probe()
183 retval = device_add(&ec->class_dev); in ec_device_probe()
269 put_device(&ec->class_dev); in ec_device_probe()
278 device_unregister(&ec->class_dev); in ec_device_remove()
/linux/drivers/mmc/core/
A Dhost.c34 #define cls_dev_to_mmc_host(d) container_of(d, struct mmc_host, class_dev)
551 dev_set_name(&host->class_dev, "mmc%d", host->index); in mmc_alloc_host()
552 host->ws = wakeup_source_register(NULL, dev_name(&host->class_dev)); in mmc_alloc_host()
555 host->class_dev.parent = dev; in mmc_alloc_host()
556 host->class_dev.class = &mmc_host_class; in mmc_alloc_host()
557 device_initialize(&host->class_dev); in mmc_alloc_host()
558 device_enable_async_suspend(&host->class_dev); in mmc_alloc_host()
561 put_device(&host->class_dev); in mmc_alloc_host()
606 err = device_add(&host->class_dev); in mmc_add_host()
638 device_del(&host->class_dev); in mmc_remove_host()
[all …]
/linux/drivers/comedi/
A Dcomedi_fops.c118 put_device(dev->class_dev); in comedi_dev_kref_release()
194 if (dev->class_dev) { in comedi_free_board_dev()
350 dev_dbg(dev->class_dev, in resize_async_buffer()
355 dev_dbg(dev->class_dev, in resize_async_buffer()
746 dev_err(dev->class_dev, in do_become_nonbusy()
841 dev_warn(dev->class_dev, in do_devconfig_ioctl()
886 dev_dbg(dev->class_dev, in do_bufconfig_ioctl()
1671 dev_dbg(dev->class_dev, in __comedi_get_user_cmd()
3318 s->class_dev = csdev; in comedi_alloc_subdevice_minor()
3338 if (s->class_dev) { in comedi_free_subdevice_minor()
[all …]
A Ddrivers.c651 dev_warn(dev->class_dev, in __comedi_device_postconfig_async()
656 dev_warn(dev->class_dev, in __comedi_device_postconfig_async()
661 dev_warn(dev->class_dev, in __comedi_device_postconfig_async()
677 dev_warn(dev->class_dev, "Buffer allocation failed\n"); in __comedi_device_postconfig_async()
878 dev_warn(dev->class_dev, in __comedi_request_region()
885 dev_warn(dev->class_dev, "%s: I/O port conflict (%#lx,%lu)\n", in __comedi_request_region()
986 dev_warn(dev->class_dev, in comedi_device_attach()
1082 dev_info(dev->class_dev, in comedi_auto_config()
1175 dev_warn(dev->class_dev, in comedi_driver_unregister()
/linux/drivers/atm/
A Dadummy.c48 struct atm_dev *atm_dev = container_of(dev, struct atm_dev, class_dev); in __set_signal()
65 struct atm_dev *atm_dev = container_of(dev, struct atm_dev, class_dev); in __show_signal()
168 if (sysfs_create_group(&atm_dev->class_dev.kobj, &adummy_group_attrs)) in adummy_init()
169 dev_err(&atm_dev->class_dev, "Could not register attrs for adummy\n"); in adummy_init()
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
A Dsysman.c46 dev_err(wmi_priv.class_dev, "UTF16 conversion failed\n"); in populate_string_buffer()
51 dev_err(wmi_priv.class_dev, "Error string too long\n"); in populate_string_buffer()
547 wmi_priv.class_dev = device_create(fw_attr_class, NULL, MKDEV(0, 0), in sysman_init()
549 if (IS_ERR(wmi_priv.class_dev)) { in sysman_init()
550 ret = PTR_ERR(wmi_priv.class_dev); in sysman_init()
555 &wmi_priv.class_dev->kobj); in sysman_init()
562 &wmi_priv.class_dev->kobj); in sysman_init()
/linux/net/atm/
A Datm_sysfs.c12 #define to_atm_dev(cldev) container_of(cldev, struct atm_dev, class_dev)
143 struct device *cdev = &adev->class_dev; in atm_register_sysfs()
172 struct device *cdev = &adev->class_dev; in atm_unregister_sysfs()

Completed in 92 milliseconds

12345