Searched refs:cdev (Results 326 - 350 of 676) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/sh/boards/mach-landisk/
H A Dgio.c14 #include <linux/cdev.h>
25 static struct cdev *cdev_p;
/linux-master/drivers/misc/
H A Dhpilo.h64 struct cdev cdev; member in struct:ilo_hwinfo
/linux-master/drivers/hwmon/
H A Dgpio-fan.c34 struct thermal_cooling_device *cdev; member in struct:gpio_fan_data
361 static int gpio_fan_get_max_state(struct thermal_cooling_device *cdev, argument
364 struct gpio_fan_data *fan_data = cdev->devdata;
373 static int gpio_fan_get_cur_state(struct thermal_cooling_device *cdev, argument
376 struct gpio_fan_data *fan_data = cdev->devdata;
385 static int gpio_fan_set_cur_state(struct thermal_cooling_device *cdev, argument
388 struct gpio_fan_data *fan_data = cdev->devdata;
543 fan_data->cdev = devm_thermal_of_cooling_device_register(dev, np,
H A Dtc654.c471 static int tc654_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) argument
477 static int tc654_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) argument
479 struct tc654_data *data = tc654_update_client(cdev->devdata);
492 static int tc654_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) argument
494 struct tc654_data *data = tc654_update_client(cdev->devdata);
542 struct thermal_cooling_device *cdev; local
544 cdev = devm_thermal_of_cooling_device_register(dev, dev->of_node, client->name,
546 return PTR_ERR_OR_ZERO(cdev);
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_init.c78 dev->mphy.leds.cdev.brightness_set = mt7615_led_set_brightness;
79 dev->mphy.leds.cdev.blink_set = mt7615_led_set_blink;
/linux-master/drivers/pps/
H A Dpps.c17 #include <linux/cdev.h>
302 struct pps_device, cdev);
311 struct pps_device, cdev);
335 cdev_del(&pps->cdev);
371 cdev_init(&pps->cdev, &pps_cdev_fops);
372 pps->cdev.owner = pps->info.owner;
374 err = cdev_add(&pps->cdev, devt, 1);
390 pr_debug("source %s got cdev (%d:%d)\n", pps->info.name,
396 cdev_del(&pps->cdev);
/linux-master/arch/powerpc/platforms/book3s/
H A Dvas-api.c11 #include <linux/cdev.h>
44 struct cdev cdev; member in struct:coproc_dev
274 cdev);
594 cdev_init(&coproc_device.cdev, &coproc_fops);
597 rc = cdev_add(&coproc_device.cdev, devno, 1);
616 cdev_del(&coproc_device.cdev);
628 cdev_del(&coproc_device.cdev);
/linux-master/drivers/dax/
H A Dsuper.c11 #include <linux/cdev.h>
22 * @cdev: optional character interface for "device dax"
31 struct cdev cdev; member in struct:dax_device
439 inode->i_cdev = &dax_dev->cdev;
515 struct cdev *cdev = inode->i_cdev; local
517 return container_of(cdev, struct dax_device, cdev);
H A Ddax-private.h9 #include <linux/cdev.h>
/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c2866 * @cdev: pointer to embedded class device
2873 version_fw_show(struct device *cdev, struct device_attribute *attr, argument
2876 struct Scsi_Host *shost = class_to_shost(cdev);
2889 * @cdev: pointer to embedded class device
2896 version_bios_show(struct device *cdev, struct device_attribute *attr, argument
2899 struct Scsi_Host *shost = class_to_shost(cdev);
2914 * @cdev: pointer to embedded class device
2921 version_mpi_show(struct device *cdev, struct device_attribute *attr, argument
2924 struct Scsi_Host *shost = class_to_shost(cdev);
2934 * @cdev
2941 version_product_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
2960 version_nvdata_persistent_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
2980 version_nvdata_default_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3000 board_name_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3019 board_assembly_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3038 board_tracer_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3060 io_delay_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3082 device_delay_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3103 fw_queue_depth_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3124 host_sas_address_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3145 logging_level_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3154 logging_level_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
3181 fwfault_debug_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3190 fwfault_debug_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
3218 ioc_reset_count_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3239 reply_queue_count_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3267 BRM_status_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3344 host_trace_buffer_size_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3391 host_trace_buffer_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3423 host_trace_buffer_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
3452 host_trace_buffer_enable_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3470 host_trace_buffer_enable_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
3571 diag_trigger_master_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3597 diag_trigger_master_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
3648 diag_trigger_event_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3673 diag_trigger_event_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
3724 diag_trigger_scsi_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3749 diag_trigger_scsi_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
3798 diag_trigger_mpi_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3823 diag_trigger_mpi_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
3876 drv_support_bitmap_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3896 enable_sdev_max_qd_show(struct device *cdev, struct device_attribute *attr, char *buf) argument
3918 enable_sdev_max_qd_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/drivers/rpmsg/
H A Drpmsg_char.c16 #include <linux/cdev.h>
40 #define cdev_to_eptdev(i_cdev) container_of(i_cdev, struct rpmsg_eptdev, cdev)
45 * @cdev: cdev for the endpoint device
60 struct cdev cdev; member in struct:rpmsg_eptdev
94 cdev_device_del(&eptdev->cdev, &eptdev->dev);
431 cdev_init(&eptdev->cdev, &rpmsg_eptdev_fops);
432 eptdev->cdev.owner = THIS_MODULE;
455 ret = cdev_device_add(&eptdev->cdev,
[all...]
/linux-master/include/linux/mtd/
H A Dubi.h57 * @cdev: UBI volume character device major and minor numbers
112 dev_t cdev; member in struct:ubi_volume_info
155 * @cdev: UBI character device major and minor numbers
184 dev_t cdev; member in struct:ubi_device_info
/linux-master/drivers/input/keyboard/
H A Dcap11xx.c79 struct led_classdev cdev; member in struct:cap11xx_led
419 static int cap11xx_led_set(struct led_classdev *cdev, argument
422 struct cap11xx_led *led = container_of(cdev, struct cap11xx_led, cdev);
471 led->cdev.name =
473 led->cdev.default_trigger =
475 led->cdev.flags = 0;
476 led->cdev.brightness_set_blocking = cap11xx_led_set;
477 led->cdev.max_brightness = 1;
478 led->cdev
[all...]
/linux-master/drivers/soc/qcom/
H A Dqcom_aoss.c56 struct thermal_cooling_device *cdev; member in struct:qmp_cooling_device
331 static int qmp_cdev_get_max_state(struct thermal_cooling_device *cdev, argument
338 static int qmp_cdev_get_cur_state(struct thermal_cooling_device *cdev, argument
341 struct qmp_cooling_device *qmp_cdev = cdev->devdata;
347 static int qmp_cdev_set_cur_state(struct thermal_cooling_device *cdev, argument
350 struct qmp_cooling_device *qmp_cdev = cdev->devdata;
383 qmp_cdev->cdev = devm_thermal_of_cooling_device_register
388 if (IS_ERR(qmp_cdev->cdev))
392 return PTR_ERR_OR_ZERO(qmp_cdev->cdev);
429 (qmp->cooling_devs[count].cdev);
[all...]
/linux-master/drivers/s390/block/
H A Ddasd_diag.c148 dev_name(&device->cdev->dev));
153 dev_name(&device->cdev->dev), rc);
265 spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags);
272 spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags);
305 spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags);
330 ccw_device_get_id(device->cdev, &private->dev_id);
370 dev_name(&device->cdev->dev),
420 dev_name(&device->cdev->dev));
430 dev_name(&device->cdev->dev), rc);
449 dev_name(&device->cdev
[all...]
/linux-master/drivers/staging/greybus/
H A Dfw-management.c9 #include <linux/cdev.h>
33 struct cdev cdev; member in struct:fw_mgmt
86 static struct fw_mgmt *get_fw_mgmt(struct cdev *cdev) argument
93 if (&fw_mgmt->cdev == cdev) {
626 cdev_init(&fw_mgmt->cdev, &fw_mgmt_fops);
628 ret = cdev_add(&fw_mgmt->cdev, fw_mgmt->dev_num, 1);
644 cdev_del(&fw_mgmt->cdev);
[all...]
/linux-master/drivers/thermal/
H A Dthermal_netlink.c364 int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev, argument
367 struct param p = { .cdev_id = cdev->id, .cdev_state = state };
372 int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev) argument
374 struct param p = { .cdev_id = cdev->id, .name = cdev->type,
375 .cdev_max_state = cdev->max_state };
380 int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev) argument
382 struct param p = { .cdev_id = cdev->id };
541 static int __thermal_genl_cmd_cdev_get(struct thermal_cooling_device *cdev, argument
546 if (nla_put_u32(msg, THERMAL_GENL_ATTR_CDEV_ID, cdev
[all...]
H A Dthermal_debugfs.c322 * Assuming maximum cdev states is 1024, the longer
401 * @cdev : a pointer to a cooling device
404 void thermal_debug_cdev_state_update(const struct thermal_cooling_device *cdev, argument
407 struct thermal_debugfs *thermal_dbg = cdev->debugfs;
470 * @cdev: a pointer to a cooling device
473 void thermal_debug_cdev_add(struct thermal_cooling_device *cdev, int state) argument
479 thermal_dbg = thermal_debugfs_add_id(d_cdev, cdev->id);
512 cdev->debugfs = thermal_dbg;
520 * @cdev: a pointer to a cooling device
522 void thermal_debug_cdev_remove(struct thermal_cooling_device *cdev) argument
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_midi.c273 struct usb_composite_dev *cdev = midi->func.config->cdev; local
294 VDBG(cdev, "%s gone (%d), %d/%d\n", ep->name, status,
308 DBG(cdev, "%s complete --> %d, %d/%d\n", ep->name,
317 ERROR(cdev, "kill %s: resubmit %d bytes --> %d\n",
342 struct usb_composite_dev *cdev = f->config->cdev; local
348 ERROR(cdev, "can't configure %s: %d\n", ep->name, err);
354 ERROR(cdev, "can't start %s: %d\n", ep->name, err);
420 struct usb_composite_dev *cdev local
874 struct usb_composite_dev *cdev = c->cdev; local
1313 struct usb_composite_dev *cdev = f->config->cdev; local
[all...]
/linux-master/drivers/scsi/qedi/
H A Dqedi_main.c369 ret = qedi_ops->common->sb_init(qedi->cdev, sb_info, sb_virt, sb_phys,
1077 qedi_ops->get_stats(qedi->cdev, fw_iscsi_stats);
1145 qedi_ops->common->attn_clr_enable(qedi->cdev, true);
1149 qedi_ops->common->recovery_process(qedi->cdev);
1386 qedi_ops->common->get_affin_hwfn_idx(qedi->cdev);
1398 qedi_ops->common->simd_handler_clean(qedi->cdev,
1403 qedi_ops->common->set_fp_int(qedi->cdev, 0);
1414 qedi_ops->common->get_affin_hwfn_idx(qedi->cdev);
1419 qedi_ops->common->get_affin_hwfn_idx(qedi->cdev));
1442 rc = qedi_ops->common->set_fp_int(qedi->cdev, qed
[all...]
/linux-master/arch/s390/net/
H A Dpnet.c48 util_str = ccw_device_get_util_str(gdev->cdev[0], 0);
/linux-master/include/linux/
H A Dleds-lp3952.h92 struct led_classdev cdev; member in struct:lp3952_ctrl_hdl
H A Ddfl.h34 * @cdev: pointer to DFL FPGA container device this dfl device belongs to.
49 struct dfl_fpga_cdev *cdev; member in struct:dfl_device
/linux-master/drivers/s390/cio/
H A Dqdio.h224 struct ccw_device *cdev; member in struct:qdio_irq
255 void (*irq_poll)(struct ccw_device *cdev, unsigned long data);
298 irq->irq_poll(irq->cdev, irq->int_parm);
332 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm,
/linux-master/drivers/firmware/arm_scmi/
H A Dsmc.c130 struct device *cdev = cinfo->dev; local
146 np = of_parse_phandle(cdev->of_node, "shmem", 0);
155 dev_err(cdev, "failed to get SCMI Tx shared memory\n");
191 scmi_info->irq = of_irq_get_byname(cdev->of_node, "a2p");

Completed in 263 milliseconds

<<11121314151617181920>>