Searched refs:cdev (Results 501 - 525 of 676) sorted by relevance

<<2122232425262728

/linux-master/drivers/scsi/qedf/
H A Dqedf_fip.c70 rc = qed_ops->ll2->start_xmit(qedf->cdev, skb, flags);
157 rc = qed_ops->ll2->start_xmit(qedf->cdev, skb, 0);
/linux-master/tools/lib/thermal/
H A Dcommands.c72 static int parse_cdev_get(struct genl_info *info, struct thermal_cdev **cdev) argument
107 *cdev = __cdev;
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_ctl_drv.c11 #include <linux/cdev.h>
36 struct cdev drv_cdev;
68 pr_err("QAT: cdev add failed\n");
/linux-master/drivers/hid/
H A Dhid-roccat.c23 #include <linux/cdev.h>
67 static struct cdev roccat_cdev;
436 pr_warn("cannot add cdev\n");
H A Dhid-apple.c80 struct led_classdev cdev; member in struct:apple_sc_backlight
768 struct apple_sc_backlight, cdev);
808 asc->backlight->cdev.name = "apple::kbd_backlight";
809 asc->backlight->cdev.max_brightness = rep->backlight_on_max;
810 asc->backlight->cdev.brightness_set_blocking = apple_backlight_led_set;
818 ret = devm_led_classdev_register(&hdev->dev, &asc->backlight->cdev);
/linux-master/drivers/misc/genwqe/
H A Dcard_base.h23 #include <linux/cdev.h>
294 struct cdev cdev_genwqe; /* char device for card */
/linux-master/drivers/nvme/host/
H A Dmultipath.c458 static inline struct nvme_ns_head *cdev_to_ns_head(struct cdev *cdev) argument
460 return container_of(cdev, struct nvme_ns_head, cdev);
495 ret = nvme_cdev_add(&head->cdev, &head->cdev_device,
889 nvme_cdev_del(&head->cdev, &head->cdev_device);
H A Dcore.c3349 container_of(inode->i_cdev, struct nvme_ctrl, cdev);
3371 container_of(inode->i_cdev, struct nvme_ctrl, cdev);
3438 void nvme_cdev_del(struct cdev *cdev, struct device *cdev_device) argument
3440 cdev_device_del(cdev, cdev_device);
3444 int nvme_cdev_add(struct cdev *cdev, struct device *cdev_device, argument
3456 cdev_init(cdev, fops);
3457 cdev->owner = owner;
3458 ret = cdev_device_add(cdev, cdev_devic
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c37 #include <linux/cdev.h>
2260 struct cdev **cdevp, struct device **devp)
2263 struct cdev *cdev; local
2267 cdev = cdev_alloc();
2268 if (!cdev) {
2269 pr_err("Could not allocate cdev for minor %d, %s\n",
2275 cdev->owner = THIS_MODULE;
2276 cdev->ops = fops;
2277 kobject_set_name(&cdev
[all...]
/linux-master/drivers/scsi/fcoe/
H A Dfcoe.c115 static int fcoe_ctlr_enabled(struct fcoe_ctlr_device *cdev);
405 ctlr->cdev = ctlr_dev;
1836 struct fcoe_ctlr_device *cdev; local
1896 cdev = fcoe_ctlr_to_ctlr_dev(ctlr);
1899 switch (cdev->enabled) {
1908 switch (cdev->enabled) {
1991 * @cdev: The FCoE Controller that is being enabled or disabled
1999 static int fcoe_ctlr_enabled(struct fcoe_ctlr_device *cdev) argument
2001 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(cdev);
2005 switch (cdev
2082 struct fcoe_ctlr_device *cdev; local
2346 struct fcoe_ctlr_device *cdev = fcoe_ctlr_to_ctlr_dev(ctlr); local
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c71 static int bnx2fc_ctlr_enabled(struct fcoe_ctlr_device *cdev);
862 struct fcoe_ctlr_device *cdev; local
923 cdev = fcoe_ctlr_to_ctlr_dev(ctlr);
926 switch (cdev->enabled) {
943 switch (cdev->enabled) {
1448 ctlr->cdev = ctlr_dev;
2245 * @cdev: The FCoE Controller that is being enabled or disabled
2253 static int bnx2fc_ctlr_enabled(struct fcoe_ctlr_device *cdev) argument
2255 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(cdev);
2257 switch (cdev
2292 struct fcoe_ctlr_device *cdev; local
[all...]
/linux-master/drivers/infiniband/core/
H A Duverbs_main.c45 #include <linux/cdev.h>
902 dev = container_of(inode->i_cdev, struct ib_uverbs_device, cdev);
1020 res->cdev = &uverbs_dev->dev;
1164 cdev_init(&uverbs_dev->cdev,
1166 uverbs_dev->cdev.owner = THIS_MODULE;
1168 ret = cdev_device_add(&uverbs_dev->cdev, &uverbs_dev->dev);
1222 cdev_device_del(&uverbs_dev->cdev, &uverbs_dev->dev);
1234 * cdev was deleted, however active clients can still issue
/linux-master/drivers/input/
H A Devdev.c25 #include <linux/cdev.h>
36 struct cdev cdev; member in struct:evdev
472 struct evdev *evdev = container_of(inode->i_cdev, struct evdev, cdev);
1384 cdev_init(&evdev->cdev, &evdev_fops);
1386 error = cdev_device_add(&evdev->cdev, &evdev->dev);
1406 cdev_device_del(&evdev->cdev, &evdev->dev);
/linux-master/drivers/s390/net/
H A Dqeth_core_main.c1109 static int qeth_get_problem(struct qeth_card *card, struct ccw_device *cdev, argument
1123 dev_warn(&cdev->dev, "The qeth device driver "
1126 CCW_DEVID(cdev), dstat, cstat);
1157 static int qeth_check_irb_error(struct qeth_card *card, struct ccw_device *cdev, argument
1166 CCW_DEVID(cdev));
1171 dev_warn(&cdev->dev, "A hardware operation timed out"
1178 PTR_ERR(irb), CCW_DEVID(cdev));
1187 * @cdev: ccw device
1199 static void qeth_irq(struct ccw_device *cdev, unsigned long intparm, argument
1210 gdev = dev_get_drvdata(&cdev
1713 struct ccw_device *cdev = channel->ccwdev; local
1731 struct ccw_device *cdev = channel->ccwdev; local
3742 qeth_qdio_poll(struct ccw_device *cdev, unsigned long card_ptr) argument
5050 struct ccw_device *cdev = CARD_DDEV(card); local
[all...]
/linux-master/drivers/pci/switch/
H A Dswitchtec.c470 stdev = container_of(inode->i_cdev, struct switchtec_dev, cdev);
1345 struct cdev *cdev; local
1380 cdev = &stdev->cdev;
1381 cdev_init(cdev, &switchtec_fops);
1382 cdev->owner = THIS_MODULE;
1686 rc = cdev_device_add(&stdev->cdev, &stdev->dev);
1710 cdev_device_del(&stdev->cdev, &stdev->dev);
/linux-master/drivers/vfio/
H A Dgroup.c435 container_of(inode->i_cdev, struct vfio_group, cdev);
558 cdev_init(&group->cdev, &vfio_group_fops);
559 group->cdev.owner = THIS_MODULE;
596 err = cdev_device_add(&group->cdev, &group->dev);
739 cdev_device_del(&group->cdev, &group->dev);
/linux-master/drivers/scsi/
H A Dses.c691 static int ses_intf_add(struct device *cdev) argument
693 struct scsi_device *sdev = to_scsi_device(cdev->parent);
808 edev = enclosure_register(cdev->parent, dev_name(&sdev->sdev_gendev),
893 static void ses_intf_remove(struct device *cdev) argument
895 struct scsi_device *sdev = to_scsi_device(cdev->parent);
H A Dpmcraid.h19 #include <linux/cdev.h>
717 struct cdev cdev; member in struct:pmcraid_instance
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dinit.c472 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev);
581 mphy->leds.cdev.brightness_set = mt7615_led_set_brightness;
582 mphy->leds.cdev.blink_set = mt7615_led_set_blink;
/linux-master/drivers/misc/ocxl/
H A Dfile.c496 cdev_init(&info->cdev, &ocxl_afu_fops);
497 rc = cdev_add(&info->cdev, info->dev.devt, 1);
508 cdev_del(&info->cdev);
/linux-master/drivers/cxl/
H A Dcxlmem.h6 #include <linux/cdev.h>
39 * @cdev: char dev core object for ioctl operations
50 struct cdev cdev; member in struct:cxl_memdev
/linux-master/drivers/platform/x86/
H A Dtoshiba_acpi.c489 static void toshiba_illumination_set(struct led_classdev *cdev,
492 struct toshiba_acpi_dev *dev = container_of(cdev,
509 static enum led_brightness toshiba_illumination_get(struct led_classdev *cdev)
511 struct toshiba_acpi_dev *dev = container_of(cdev,
608 static enum led_brightness toshiba_kbd_backlight_get(struct led_classdev *cdev)
610 struct toshiba_acpi_dev *dev = container_of(cdev,
627 static void toshiba_kbd_backlight_set(struct led_classdev *cdev,
630 struct toshiba_acpi_dev *dev = container_of(cdev,
720 toshiba_eco_mode_get_status(struct led_classdev *cdev)
722 struct toshiba_acpi_dev *dev = container_of(cdev,
483 toshiba_illumination_set(struct led_classdev *cdev, enum led_brightness brightness) argument
503 toshiba_illumination_get(struct led_classdev *cdev) argument
602 toshiba_kbd_backlight_get(struct led_classdev *cdev) argument
621 toshiba_kbd_backlight_set(struct led_classdev *cdev, enum led_brightness brightness) argument
714 toshiba_eco_mode_get_status(struct led_classdev *cdev) argument
734 toshiba_eco_mode_set_status(struct led_classdev *cdev, enum led_brightness brightness) argument
[all...]
/linux-master/drivers/tee/
H A Dtee_core.c8 #include <linux/cdev.h>
116 ctx = teedev_open(container_of(inode->i_cdev, struct tee_device, cdev));
937 cdev_init(&teedev->cdev, &tee_fops);
938 teedev->cdev.owner = teedesc->owner;
1006 rc = cdev_device_add(&teedev->cdev, &teedev->dev);
1060 cdev_device_del(&teedev->cdev, &teedev->dev);
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c302 struct l2t_entry *t3_l2t_get(struct t3cdev *cdev, struct dst_entry *dst, argument
327 d = L2DATA(cdev);
/linux-master/arch/alpha/kernel/
H A Dsys_marvel.c320 marvel_map_irq(const struct pci_dev *cdev, u8 slot, u8 pin)
322 struct pci_dev *dev = (struct pci_dev *)cdev;
319 marvel_map_irq(const struct pci_dev *cdev, u8 slot, u8 pin) argument

Completed in 618 milliseconds

<<2122232425262728