/arch/arm/mach-footbridge/ |
D | ebsa285.c | 28 struct led_classdev cdev; member 48 static void ebsa285_led_set(struct led_classdev *cdev, in ebsa285_led_set() argument 51 struct ebsa285_led *led = container_of(cdev, in ebsa285_led_set() 52 struct ebsa285_led, cdev); in ebsa285_led_set() 61 static enum led_brightness ebsa285_led_get(struct led_classdev *cdev) in ebsa285_led_get() argument 63 struct ebsa285_led *led = container_of(cdev, in ebsa285_led_get() 64 struct ebsa285_led, cdev); in ebsa285_led_get() 91 led->cdev.name = ebsa285_leds[i].name; in ebsa285_leds_init() 92 led->cdev.brightness_set = ebsa285_led_set; in ebsa285_leds_init() 93 led->cdev.brightness_get = ebsa285_led_get; in ebsa285_leds_init() [all …]
|
D | netwinder-hw.c | 667 struct led_classdev cdev; member 688 static void netwinder_led_set(struct led_classdev *cdev, in netwinder_led_set() argument 691 struct netwinder_led *led = container_of(cdev, in netwinder_led_set() 692 struct netwinder_led, cdev); in netwinder_led_set() 706 static enum led_brightness netwinder_led_get(struct led_classdev *cdev) in netwinder_led_get() argument 708 struct netwinder_led *led = container_of(cdev, in netwinder_led_get() 709 struct netwinder_led, cdev); in netwinder_led_get() 734 led->cdev.name = netwinder_leds[i].name; in netwinder_leds_init() 735 led->cdev.brightness_set = netwinder_led_set; in netwinder_leds_init() 736 led->cdev.brightness_get = netwinder_led_get; in netwinder_leds_init() [all …]
|
/arch/arm/plat-omap/ |
D | debug-leds.c | 49 struct led_classdev cdev; member 79 static void dbg_led_set(struct led_classdev *cdev, in dbg_led_set() argument 82 struct dbg_led *led = container_of(cdev, struct dbg_led, cdev); in dbg_led_set() 93 static enum led_brightness dbg_led_get(struct led_classdev *cdev) in dbg_led_get() argument 95 struct dbg_led *led = container_of(cdev, struct dbg_led, cdev); in dbg_led_get() 121 led->cdev.name = dbg_leds[i].name; in fpga_probe() 122 led->cdev.brightness_set = dbg_led_set; in fpga_probe() 123 led->cdev.brightness_get = dbg_led_get; in fpga_probe() 124 led->cdev.default_trigger = dbg_leds[i].trigger; in fpga_probe() 127 if (led_classdev_register(NULL, &led->cdev) < 0) { in fpga_probe()
|
/arch/s390/include/asm/ |
D | ccwdev.h | 158 int ccw_device_is_pathgroup(struct ccw_device *cdev); 159 int ccw_device_is_multipath(struct ccw_device *cdev); 186 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, 196 int ccw_device_tm_intrg(struct ccw_device *cdev); 198 int ccw_device_get_mdc(struct ccw_device *cdev, u8 mask); 200 extern int ccw_device_set_online(struct ccw_device *cdev); 201 extern int ccw_device_set_offline(struct ccw_device *cdev); 219 extern void *ccw_device_dma_zalloc(struct ccw_device *cdev, size_t size); 220 extern void ccw_device_dma_free(struct ccw_device *cdev, 228 u8 *ccw_device_get_util_str(struct ccw_device *cdev, int chp_idx); [all …]
|
D | cmb.h | 8 extern int enable_cmf(struct ccw_device *cdev); 9 extern int disable_cmf(struct ccw_device *cdev); 10 extern int __disable_cmf(struct ccw_device *cdev); 11 extern u64 cmf_read(struct ccw_device *cdev, int index); 12 extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data);
|
D | qdio.h | 334 void (*irq_poll)(struct ccw_device *cdev, unsigned long data); 347 extern int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs, 349 extern int qdio_establish(struct ccw_device *cdev, 354 extern int do_QDIO(struct ccw_device *cdev, unsigned int callflags, int q_nr, 356 extern int qdio_start_irq(struct ccw_device *cdev); 357 extern int qdio_stop_irq(struct ccw_device *cdev); 358 extern int qdio_inspect_queue(struct ccw_device *cdev, unsigned int nr,
|
D | ccwgroup.h | 28 struct ccw_device *cdev[0]; member 60 extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); 61 extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev);
|
/arch/arm/mach-pxa/ |
D | idp.c | 199 struct led_classdev cdev; member 215 static void idp_led_set(struct led_classdev *cdev, in idp_led_set() argument 218 struct idp_led *led = container_of(cdev, in idp_led_set() 219 struct idp_led, cdev); in idp_led_set() 230 static enum led_brightness idp_led_get(struct led_classdev *cdev) in idp_led_get() argument 232 struct idp_led *led = container_of(cdev, in idp_led_get() 233 struct idp_led, cdev); in idp_led_get() 252 led->cdev.name = idp_leds[i].name; in idp_leds_init() 253 led->cdev.brightness_set = idp_led_set; in idp_leds_init() 254 led->cdev.brightness_get = idp_led_get; in idp_leds_init() [all …]
|
D | lubbock.c | 544 struct led_classdev cdev; member 566 static void lubbock_led_set(struct led_classdev *cdev, in lubbock_led_set() argument 569 struct lubbock_led *led = container_of(cdev, in lubbock_led_set() 570 struct lubbock_led, cdev); in lubbock_led_set() 581 static enum led_brightness lubbock_led_get(struct led_classdev *cdev) in lubbock_led_get() argument 583 struct lubbock_led *led = container_of(cdev, in lubbock_led_get() 584 struct lubbock_led, cdev); in lubbock_led_get() 606 led->cdev.name = lubbock_leds[i].name; in lubbock_leds_init() 607 led->cdev.brightness_set = lubbock_led_set; in lubbock_leds_init() 608 led->cdev.brightness_get = lubbock_led_get; in lubbock_leds_init() [all …]
|
D | mainstone.c | 635 struct led_classdev cdev; member 657 static void mainstone_led_set(struct led_classdev *cdev, in mainstone_led_set() argument 660 struct mainstone_led *led = container_of(cdev, in mainstone_led_set() 661 struct mainstone_led, cdev); in mainstone_led_set() 672 static enum led_brightness mainstone_led_get(struct led_classdev *cdev) in mainstone_led_get() argument 674 struct mainstone_led *led = container_of(cdev, in mainstone_led_get() 675 struct mainstone_led, cdev); in mainstone_led_get() 697 led->cdev.name = mainstone_leds[i].name; in mainstone_leds_init() 698 led->cdev.brightness_set = mainstone_led_set; in mainstone_leds_init() 699 led->cdev.brightness_get = mainstone_led_get; in mainstone_leds_init() [all …]
|
/arch/mips/sni/ |
D | setup.c | 62 char *cdev; in sni_console_setup() local 67 cdev = prom_getenv("console_dev"); in sni_console_setup() 68 if (strncmp(cdev, "tty", 3) == 0) { in sni_console_setup() 83 if (strncmp(cdev, "tty552", 6) == 0) in sni_console_setup()
|
/arch/arm/mach-davinci/ |
D | board-dm365-evm.c | 622 struct led_classdev cdev; member 640 static void cpld_led_set(struct led_classdev *cdev, enum led_brightness b) in cpld_led_set() argument 642 struct cpld_led *led = container_of(cdev, struct cpld_led, cdev); in cpld_led_set() 652 static enum led_brightness cpld_led_get(struct led_classdev *cdev) in cpld_led_get() argument 654 struct cpld_led *led = container_of(cdev, struct cpld_led, cdev); in cpld_led_get() 676 led->cdev.name = cpld_leds[i].name; in cpld_leds_init() 677 led->cdev.brightness_set = cpld_led_set; in cpld_leds_init() 678 led->cdev.brightness_get = cpld_led_get; in cpld_leds_init() 679 led->cdev.default_trigger = cpld_leds[i].trigger; in cpld_leds_init() 682 if (led_classdev_register(NULL, &led->cdev) < 0) { in cpld_leds_init()
|
/arch/powerpc/platforms/book3s/ |
D | vas-api.c | 42 struct cdev cdev; member 273 cdev); in coproc_open() 452 cdev_init(&coproc_device.cdev, &coproc_fops); in vas_register_coproc_api() 455 rc = cdev_add(&coproc_device.cdev, devno, 1); in vas_register_coproc_api() 475 cdev_del(&coproc_device.cdev); in vas_register_coproc_api() 487 cdev_del(&coproc_device.cdev); in vas_unregister_coproc_api()
|
/arch/mips/txx9/rbtx4939/ |
D | setup.c | 192 struct led_classdev cdev; member 202 container_of(led_cdev, struct rbtx4939_led_data, cdev); in rbtx4939_led_brightness_set() 231 led_dat->cdev.brightness_set = rbtx4939_led_brightness_set; in rbtx4939_led_probe() 233 led_dat->cdev.name = led_dat->name; in rbtx4939_led_probe() 235 led_dat->cdev.default_trigger = default_triggers[i]; in rbtx4939_led_probe() 236 rc = led_classdev_register(&pdev->dev, &led_dat->cdev); in rbtx4939_led_probe() 239 led_dat->cdev.brightness_set(&led_dat->cdev, 0); in rbtx4939_led_probe()
|
/arch/s390/net/ |
D | pnet.c | 48 util_str = ccw_device_get_util_str(gdev->cdev[0], 0); in pnet_ids_by_device()
|
/arch/sh/boards/mach-landisk/ |
D | gio.c | 25 static struct cdev *cdev_p;
|
/arch/alpha/kernel/ |
D | sys_marvel.c | 319 marvel_map_irq(const struct pci_dev *cdev, u8 slot, u8 pin) in marvel_map_irq() argument 321 struct pci_dev *dev = (struct pci_dev *)cdev; in marvel_map_irq()
|
/arch/arm/mach-omap1/ |
D | board-palmtt.c | 181 .cdev = {
|
/arch/x86/kernel/cpu/ |
D | common.c | 1481 const struct cpu_dev *const *cdev; in early_cpu_init() local 1488 for (cdev = __x86_cpu_dev_start; cdev < __x86_cpu_dev_end; cdev++) { in early_cpu_init() 1489 const struct cpu_dev *cpudev = *cdev; in early_cpu_init()
|
/arch/x86/events/ |
D | core.c | 2548 static ssize_t get_attr_rdpmc(struct device *cdev, in get_attr_rdpmc() argument 2555 static ssize_t set_attr_rdpmc(struct device *cdev, in set_attr_rdpmc() argument 2606 static ssize_t max_precise_show(struct device *cdev, in max_precise_show() argument
|
/arch/x86/events/intel/ |
D | core.c | 5026 static ssize_t freeze_on_smi_show(struct device *cdev, in freeze_on_smi_show() argument 5035 static ssize_t freeze_on_smi_store(struct device *cdev, in freeze_on_smi_store() argument 5077 static ssize_t show_sysctl_tfa(struct device *cdev, in show_sysctl_tfa() argument 5084 static ssize_t set_sysctl_tfa(struct device *cdev, in set_sysctl_tfa() argument 5111 static ssize_t branches_show(struct device *cdev, in branches_show() argument 5127 static ssize_t pmu_name_show(struct device *cdev, in pmu_name_show() argument
|
D | pt.c | 89 static ssize_t pt_cap_show(struct device *cdev, in pt_cap_show() argument
|