/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 34 struct device *class_dev; member 87 static ssize_t show_name(struct device *class_dev, in show_name() argument 101 static ssize_t show_type(struct device *class_dev, in show_type() argument 123 static ssize_t show_min(struct device *class_dev, in show_min() argument 136 static ssize_t show_max(struct device *class_dev, in show_max() argument 149 static ssize_t show_def(struct device *class_dev, in show_def() argument 168 static ssize_t show_val_norm(struct device *class_dev, in show_val_norm() argument 187 static ssize_t show_val_custom(struct device *class_dev, in show_val_custom() argument 206 static ssize_t show_enum(struct device *class_dev, in show_enum() argument 230 static ssize_t show_bits(struct device *class_dev, in show_bits() argument [all …]
|
/drivers/scsi/osd/ |
D | osd_uld.c | 85 struct device class_dev; member 107 class_dev); in osdname_show() 116 class_dev); in systemid_show() 145 get_device(&oud->class_dev); in osd_uld_open() 158 put_device(&oud->class_dev); in osd_uld_release() 277 class_dev); in _match_odi() 303 struct osd_uld_device, class_dev); in osduld_info_lookup() 336 get_device(&oud->class_dev); in osduld_put_device() 339 put_device(&oud->class_dev); in osduld_put_device() 397 class_dev); in __remove() [all …]
|
/drivers/staging/comedi/drivers/ |
D | usbduxfast.c | 185 dev_err(dev->class_dev, in usbduxfast_send_cmd() 260 dev_err(dev->class_dev, "urb resubm failed: %d", ret); in usbduxfast_ai_handle_urb() 292 dev_err(dev->class_dev, in usbduxfast_ai_interrupt() 321 dev_err(dev->class_dev, "usb_submit_urb error %d\n", ret); in usbduxfast_submit_urb() 335 dev_err(dev->class_dev, "unsupported combination of channels\n"); in usbduxfast_ai_check_chanlist() 344 dev_err(dev->class_dev, in usbduxfast_ai_check_chanlist() 349 dev_err(dev->class_dev, in usbduxfast_ai_check_chanlist() 453 dev_err(dev->class_dev, "urbSubmit: err=%d\n", ret); in usbduxfast_ai_inttrig() 460 dev_err(dev->class_dev, "ai is already running\n"); in usbduxfast_ai_inttrig() 778 dev_err(dev->class_dev, in usbduxfast_ai_insn_read() [all …]
|
D | me4000.c | 349 dev_err(dev->class_dev, "Can't init Xilinx\n"); in me4000_xilinx_download() 372 dev_err(dev->class_dev, in me4000_xilinx_download() 381 dev_err(dev->class_dev, "DONE flag is not set\n"); in me4000_xilinx_download() 382 dev_err(dev->class_dev, "Download not successful\n"); in me4000_xilinx_download() 484 dev_err(dev->class_dev, in me4000_ai_insn_read() 490 dev_err(dev->class_dev, in me4000_ai_insn_read() 496 dev_err(dev->class_dev, in me4000_ai_insn_read() 556 dev_dbg(dev->class_dev, in me4000_ai_check_chanlist() 563 dev_err(dev->class_dev, in me4000_ai_check_chanlist() 569 dev_dbg(dev->class_dev, in me4000_ai_check_chanlist() [all …]
|
D | comedi_bond.c | 199 dev_err(dev->class_dev, in do_dev_config() 204 dev_err(dev->class_dev, in do_dev_config() 209 dev_err(dev->class_dev, in do_dev_config() 220 dev_err(dev->class_dev, in do_dev_config() 230 dev_err(dev->class_dev, in do_dev_config() 255 dev_err(dev->class_dev, in do_dev_config() 275 dev_err(dev->class_dev, "No channels found!\n"); in do_dev_config() 315 dev_info(dev->class_dev, in bonding_attach()
|
D | dt2801.c | 322 dev_dbg(dev->class_dev, in dt2801_writecmd() 326 dev_dbg(dev->class_dev, "!ready in %s, ignoring\n", __func__); in dt2801_writecmd() 354 dev_dbg(dev->class_dev, "timeout 1 status=0x%02x\n", stat); in dt2801_reset() 369 dev_dbg(dev->class_dev, "timeout 2 status=0x%02x\n", stat); in dt2801_reset() 432 dev_dbg(dev->class_dev, "timeout\n"); in dt2801_error() 434 dev_dbg(dev->class_dev, "error %d\n", stat); in dt2801_error() 437 dev_dbg(dev->class_dev, "error status 0x%02x, resetting...\n", stat); in dt2801_error() 558 dev_dbg(dev->class_dev, in dt2801_attach()
|
D | amplc_dio200_pci.c | 332 dev_err(dev->class_dev, "error! bad PCI region!\n"); in dio200_pcie_board_setup() 337 dev_err(dev->class_dev, "error! failed to map registers!\n"); in dio200_pcie_board_setup() 362 dev_info(dev->class_dev, "%s: attach pci %s (%s)\n", in dio200_pci_auto_attach() 373 dev_err(dev->class_dev, in dio200_pci_auto_attach()
|
D | usbduxsigma.c | 249 dev_err(dev->class_dev, "urb resubmit failed (%d)\n", in usbduxsigma_ai_handle_urb() 252 dev_err(dev->class_dev, in usbduxsigma_ai_handle_urb() 283 dev_dbg(dev->class_dev, "CRC error in ISO IN stream\n"); in usbduxsigma_ai_urb_complete() 297 dev_err(dev->class_dev, "non-zero urb status (%d)\n", in usbduxsigma_ai_urb_complete() 365 dev_err(dev->class_dev, "buffer underflow\n"); in usbduxsigma_ao_handle_urb() 388 dev_err(dev->class_dev, "urb resubmit failed (%d)\n", in usbduxsigma_ao_handle_urb() 391 dev_err(dev->class_dev, in usbduxsigma_ao_handle_urb() 424 dev_err(dev->class_dev, "non-zero urb status (%d)\n", in usbduxsigma_ao_urb_complete() 1044 dev_err(dev->class_dev, "non-zero urb status (%d)\n", in usbduxsigma_pwm_urb_complete() 1059 dev_err(dev->class_dev, "urb resubmit failed (%d)\n", ret); in usbduxsigma_pwm_urb_complete() [all …]
|
D | mite.c | 294 dev_warn(s->device->class_dev, in mite_sync_input_dma() 334 dev_warn(s->device->class_dev, "mite: DMA underrun\n"); in mite_sync_output_dma() 412 dev_err(s->device->class_dev, in mite_ack_linkc() 679 dev_dbg(s->device->class_dev, in mite_init_ring_descriptors() 683 dev_err(s->device->class_dev, in mite_init_ring_descriptors() 753 dev_err(s->device->class_dev, in mite_buf_change() 825 dev_dbg(dev->class_dev, in mite_setup() 852 dev_warn(dev->class_dev, in mite_setup() 863 dev_dbg(dev->class_dev, in mite_setup() 867 dev_dbg(dev->class_dev, in mite_setup() [all …]
|
D | ni_tiocmd.c | 150 dev_err(counter->counter_dev->dev->class_dev, in ni_tio_output_cmd() 191 dev_err(counter->counter_dev->dev->class_dev, in ni_tio_cmd() 193 dev_err(counter->counter_dev->dev->class_dev, in ni_tio_cmd() 384 dev_info(counter->counter_dev->dev->class_dev, in ni_tio_acknowledge_and_confirm() 411 dev_notice(counter->counter_dev->dev->class_dev, in ni_tio_handle_interrupt() 422 dev_notice(counter->counter_dev->dev->class_dev, in ni_tio_handle_interrupt()
|
D | ni_mio_common.c | 379 dev_warn(dev->class_dev, "%s: unhandled register=0x%x\n", in m_series_stc_write() 392 dev_warn(dev->class_dev, "%s: unmapped register=0x%x\n", in m_series_stc_write() 427 dev_warn(dev->class_dev, "%s: unhandled register=0x%x\n", in m_series_stc_read() 440 dev_warn(dev->class_dev, "%s: unmapped register=0x%x\n", in m_series_stc_read() 554 dev_err(dev->class_dev, "called with invalid register %d\n", in ni_set_bitfield() 581 dev_err(dev->class_dev, in ni_request_ai_mite_channel() 607 dev_err(dev->class_dev, in ni_request_ao_mite_channel() 637 dev_err(dev->class_dev, in ni_request_gpct_mite_channel() 664 dev_err(dev->class_dev, in ni_request_cdo_mite_channel() 802 dev_err(dev->class_dev, "FIFO flush timeout\n"); in ni_clear_ai_fifo() [all …]
|
D | dt9812.c | 647 dev_err(dev->class_dev, "Wrong number of endpoints\n"); in dt9812_find_endpoints() 680 dev_err(dev->class_dev, in dt9812_find_endpoints() 714 dev_err(dev->class_dev, in dt9812_reset_device() 722 dev_err(dev->class_dev, "failed to read vendor id\n"); in dt9812_reset_device() 729 dev_err(dev->class_dev, "failed to read product id\n"); in dt9812_reset_device() 736 dev_err(dev->class_dev, "failed to read device id\n"); in dt9812_reset_device() 743 dev_err(dev->class_dev, "failed to read serial number\n"); in dt9812_reset_device() 749 dev_info(dev->class_dev, "USB DT9812 (%4.4x.%4.4x.%4.4x) #0x%8.8x\n", in dt9812_reset_device() 754 dev_err(dev->class_dev, "Unsupported device!\n"); in dt9812_reset_device()
|
D | usbdux.c | 286 dev_err(dev->class_dev, in usbduxsub_ai_handle_urb() 290 dev_err(dev->class_dev, in usbduxsub_ai_handle_urb() 321 dev_dbg(dev->class_dev, "CRC error in ISO IN stream\n"); in usbduxsub_ai_isoc_irq() 335 dev_err(dev->class_dev, in usbduxsub_ai_isoc_irq() 405 dev_err(dev->class_dev, "buffer underflow\n"); in usbduxsub_ao_handle_urb() 433 dev_err(dev->class_dev, in usbduxsub_ao_handle_urb() 437 dev_err(dev->class_dev, in usbduxsub_ao_handle_urb() 470 dev_err(dev->class_dev, in usbduxsub_ao_isoc_irq() 1187 dev_err(dev->class_dev, in usbduxsub_pwm_irq() 1205 dev_err(dev->class_dev, in usbduxsub_pwm_irq() [all …]
|
D | adl_pci9118.c | 305 dev_err(dev->class_dev, in pci9118_ai_check_chanlist() 311 dev_err(dev->class_dev, in pci9118_ai_check_chanlist() 317 dev_err(dev->class_dev, in pci9118_ai_check_chanlist() 697 dev_err(dev->class_dev, "AMCC IRQ - MASTER DMA ABORT!\n"); in pci9118_interrupt() 703 dev_err(dev->class_dev, "AMCC IRQ - TARGET DMA ABORT!\n"); in pci9118_interrupt() 710 dev_err(dev->class_dev, in pci9118_interrupt() 716 dev_err(dev->class_dev, in pci9118_interrupt() 722 dev_err(dev->class_dev, "A/D Over Speed Status (Warning!)\n"); in pci9118_interrupt() 727 dev_err(dev->class_dev, "A/D Overrun Status (Fatal Error!)\n"); in pci9118_interrupt() 825 dev_info(dev->class_dev, in pci9118_ai_setup_dma() [all …]
|
D | amplc_pci230.c | 747 dev_dbg(dev->class_dev, in pci230_ai_insn_read() 869 dev_dbg(dev->class_dev, in pci230_ao_check_chanlist() 876 dev_dbg(dev->class_dev, in pci230_ao_check_chanlist() 1120 dev_err(dev->class_dev, "AO FIFO underrun\n"); in pci230_handle_ao_fifo() 1130 dev_err(dev->class_dev, "AO buffer underrun\n"); in pci230_handle_ao_fifo() 1175 dev_err(dev->class_dev, "AO FIFO underrun\n"); in pci230_handle_ao_fifo() 1431 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() 1461 dev_dbg(dev->class_dev, in pci230_ai_check_chanlist() [all …]
|
D | gsc_hpdi.c | 243 dev_err(dev->class_dev, "rx fifo overrun\n"); in gsc_hpdi_interrupt() 248 dev_err(dev->class_dev, "rx fifo underrun\n"); in gsc_hpdi_interrupt() 349 dev_dbg(dev->class_dev, in gsc_hpdi_check_chanlist() 612 dev_warn(dev->class_dev, "failed to remap io memory\n"); in gsc_hpdi_auto_attach() 621 dev_warn(dev->class_dev, in gsc_hpdi_auto_attach() 627 dev_dbg(dev->class_dev, " irq %u\n", dev->irq); in gsc_hpdi_auto_attach() 643 dev_warn(dev->class_dev, in gsc_hpdi_auto_attach()
|
D | ni_at_a2150.c | 370 dev_dbg(dev->class_dev, in a2150_ai_check_chanlist() 376 dev_dbg(dev->class_dev, in a2150_ai_check_chanlist() 386 dev_dbg(dev->class_dev, in a2150_ai_check_chanlist() 394 dev_dbg(dev->class_dev, in a2150_ai_check_chanlist() 484 dev_err(dev->class_dev, in a2150_ai_cmd() 562 dev_err(dev->class_dev, "you shouldn't see this?\n"); in a2150_ai_cmd() 763 dev_err(dev->class_dev, in a2150_attach()
|
D | ni_atmio.c | 277 dev_err(dev->class_dev, "can't find board\n"); in ni_atmio_probe() 279 dev_err(dev->class_dev, in ni_atmio_probe() 282 dev_err(dev->class_dev, in ni_atmio_probe()
|
/drivers/platform/chrome/ |
D | cros_ec_dev.c | 229 class_dev); in __remove() 248 device_initialize(&ec->class_dev); in ec_device_probe() 256 ec->cdev.kobj.parent = &ec->class_dev.kobj; in ec_device_probe() 268 ec->class_dev.devt = ec->cdev.dev; in ec_device_probe() 269 ec->class_dev.class = &cros_class; in ec_device_probe() 270 ec->class_dev.parent = dev; in ec_device_probe() 271 ec->class_dev.release = __remove; in ec_device_probe() 273 retval = dev_set_name(&ec->class_dev, "%s", ec_platform->ec_name); in ec_device_probe() 279 retval = device_add(&ec->class_dev); in ec_device_probe() 300 device_unregister(&ec->class_dev); in ec_device_remove()
|
D | cros_ec_lightbar.c | 169 struct cros_ec_dev, class_dev); in version_show() 192 struct cros_ec_dev, class_dev); in brightness_store() 237 struct cros_ec_dev, class_dev); in led_rgb_store() 309 struct cros_ec_dev, class_dev); in sequence_show() 351 struct cros_ec_dev, class_dev); in sequence_store() 414 struct cros_ec_dev, class_dev); in cros_ec_lightbar_attrs_are_visible()
|
D | cros_ec_vbc.c | 33 class_dev); in vboot_context_read() 74 class_dev); in vboot_context_write() 115 class_dev); in cros_ec_vbc_is_visible()
|
/drivers/mmc/core/ |
D | host.c | 370 dev_set_name(&host->class_dev, "mmc%d", host->index); in mmc_alloc_host() 373 host->class_dev.parent = dev; in mmc_alloc_host() 374 host->class_dev.class = &mmc_host_class; in mmc_alloc_host() 375 device_initialize(&host->class_dev); in mmc_alloc_host() 376 device_enable_async_suspend(&host->class_dev); in mmc_alloc_host() 379 put_device(&host->class_dev); in mmc_alloc_host() 419 err = device_add(&host->class_dev); in mmc_add_host() 423 led_trigger_register_simple(dev_name(&host->class_dev), &host->led); in mmc_add_host() 464 device_del(&host->class_dev); in mmc_remove_host() 480 put_device(&host->class_dev); in mmc_free_host()
|
/drivers/staging/comedi/ |
D | comedi_fops.c | 129 put_device(dev->class_dev); in comedi_dev_kref_release() 204 if (dev->class_dev) { in comedi_free_board_dev() 356 dev_dbg(dev->class_dev, in resize_async_buffer() 361 dev_dbg(dev->class_dev, in resize_async_buffer() 379 dev_dbg(dev->class_dev, "subd %d buffer resized to %i bytes\n", in resize_async_buffer() 751 dev_err(dev->class_dev, in do_become_nonbusy() 842 dev_warn(dev->class_dev, in do_devconfig_ioctl() 886 dev_dbg(dev->class_dev, in do_bufconfig_ioctl() 1288 dev_dbg(dev->class_dev, in parse_insn() 1296 dev_dbg(dev->class_dev, "no async\n"); in parse_insn() [all …]
|
D | drivers.c | 618 dev_warn(dev->class_dev, in __comedi_device_postconfig_async() 623 dev_warn(dev->class_dev, in __comedi_device_postconfig_async() 628 dev_warn(dev->class_dev, in __comedi_device_postconfig_async() 644 dev_warn(dev->class_dev, "Buffer allocation failed\n"); in __comedi_device_postconfig_async() 837 dev_warn(dev->class_dev, in __comedi_request_region() 844 dev_warn(dev->class_dev, "%s: I/O port conflict (%#lx,%lu)\n", in __comedi_request_region() 944 dev_warn(dev->class_dev, in comedi_device_attach() 1039 dev_info(dev->class_dev, in comedi_auto_config() 1131 dev_warn(dev->class_dev, in comedi_driver_unregister()
|
/drivers/atm/ |
D | adummy.c | 47 struct atm_dev *atm_dev = container_of(dev, struct atm_dev, class_dev); in __set_signal() 64 struct atm_dev *atm_dev = container_of(dev, struct atm_dev, class_dev); in __show_signal() 167 if (sysfs_create_group(&atm_dev->class_dev.kobj, &adummy_group_attrs)) in adummy_init() 168 dev_err(&atm_dev->class_dev, "Could not register attrs for adummy\n"); in adummy_init()
|