/drivers/pps/ |
H A D | pps.c | 295 dev_t devt; local 314 devt = MKDEV(MAJOR(pps_devt), pps->id); 319 err = cdev_add(&pps->cdev, devt, 1); 325 pps->dev = device_create(pps_class, pps->info.dev, devt, pps, 355 device_destroy(pps_class, pps->dev->devt);
|
/drivers/mtd/devices/ |
H A D | block2mtd.c | 234 dev_t devt = name_to_dev_t(devname); local 235 if (devt) 236 bdev = blkdev_get_by_dev(devt, mode, dev);
|
/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 603 dev_t devt; local 631 devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR + id); 659 drvdata->devt = devt; 681 retval = cdev_add(&drvdata->cdev, devt, 1); 687 device_create(icap_class, dev, devt, NULL, "%s%d", DRIVER_NAME, id); 730 device_destroy(icap_class, drvdata->devt); 737 probed_devices[MINOR(dev->devt)-XHWICAP_MINOR] = 0; 853 dev_t devt; local 859 devt 880 dev_t devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR); local [all...] |
H A D | xilinx_hwicap.h | 54 dev_t devt; member in struct:hwicap_drvdata
|
/drivers/misc/cxl/ |
H A D | file.c | 376 if (CXL_DEVT_IS_CARD(dev->devt)) { 388 static int cxl_add_chardev(struct cxl_afu *afu, dev_t devt, struct cdev *cdev, argument 396 if ((rc = cdev_add(cdev, devt, 1))) { 401 dev = device_create(cxl_class, &afu->dev, devt, afu, 471 * adapter->dev.devt = CXL_CARD_MKDEV(adapter);
|
/drivers/spi/ |
H A D | spidev.c | 80 dev_t devt; member in struct:spidev_data 509 if (spidev->devt == inode->i_rdev) { 638 spidev->devt = MKDEV(SPIDEV_MAJOR, minor); 639 dev = device_create(spidev_class, &spi->dev, spidev->devt, 673 device_destroy(spidev_class, spidev->devt); 674 clear_bit(MINOR(spidev->devt), minors);
|
/drivers/isdn/hardware/mISDN/ |
H A D | mISDNisar.c | 818 isar_pump_statev_modem(struct isar_ch *ch, u8 devt) { argument 821 switch (devt) { 867 pr_info("u%s: unknown pump stev %x\n", ch->is->name, devt); 873 isar_pump_statev_fax(struct isar_ch *ch, u8 devt) { argument 877 switch (devt) {
|
/drivers/firewire/ |
H A D | core-device.c | 761 struct fw_device *fw_device_get_by_devt(dev_t devt) argument 766 device = idr_find(&fw_device_idr, MINOR(devt)); 803 int minor = MINOR(device->device.devt); 1049 device->device.devt = MKDEV(fw_cdev_major, minor);
|
/drivers/isdn/hisax/ |
H A D | isar.c | 897 isar_pump_statev_modem(struct BCState *bcs, u_char devt) { argument 901 switch (devt) { 961 debugl1(cs, "unknown pump stev %x", devt); 982 isar_pump_statev_fax(struct BCState *bcs, u_char devt) { argument 987 switch (devt) {
|
/drivers/net/ |
H A D | macvtap.c | 1157 dev_t devt; local 1175 devt = MKDEV(MAJOR(macvtap_major), vlan->minor); 1176 classdev = device_create(macvtap_class, &dev->dev, devt, 1184 devt = MKDEV(MAJOR(macvtap_major), vlan->minor); 1185 device_destroy(macvtap_class, devt);
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | main.c | 149 enum htc_endpoint_id ath6kl_ac2_endpoint_id(void *devt, u8 ac) argument 151 struct ath6kl *ar = devt; 523 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver, argument 526 struct ath6kl *ar = devt; 855 void ath6kl_txpwr_rx_evt(void *devt, u8 tx_pwr) argument 857 struct ath6kl *ar = (struct ath6kl *) devt;
|
H A D | txrx.c | 286 int ath6kl_control_tx(void *devt, struct sk_buff *skb, argument 289 struct ath6kl *ar = devt; 530 void ath6kl_indicate_tx_activity(void *devt, u8 traffic_class, bool active) argument 532 struct ath6kl *ar = devt;
|
/drivers/base/ |
H A D | core.c | 304 if (MAJOR(dev->devt)) { 311 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt)); 312 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt)); 528 return print_dev_t(buf, dev->devt); 911 format_dev_t(devt_str, dev->devt); 924 format_dev_t(devt_str, dev->devt); 1024 if (MAJOR(dev->devt)) { 1086 if (MAJOR(dev->devt)) 1088 if (MAJOR(dev->devt)) 1091 if (MAJOR(dev->devt)) 1579 device_create_groups_vargs(struct class *class, struct device *parent, dev_t devt, void *drvdata, const struct attribute_group **groups, const char *fmt, va_list args) argument 1644 device_create_vargs(struct class *class, struct device *parent, dev_t devt, void *drvdata, const char *fmt, va_list args) argument 1677 device_create(struct class *class, struct device *parent, dev_t devt, void *drvdata, const char *fmt, ...) argument 1717 device_create_with_groups(struct class *class, struct device *parent, dev_t devt, void *drvdata, const struct attribute_group **groups, const char *fmt, ...) argument 1736 const dev_t *devt = data; local 1749 device_destroy(struct class *class, dev_t devt) argument [all...] |
/drivers/char/ |
H A D | virtio_console.c | 1393 dev_t devt; local 1430 devt = MKDEV(portdev->chr_major, id); 1431 err = cdev_add(port->cdev, devt, 1); 1438 devt, port, "vport%up%u", 1506 device_destroy(pdrvdata.class, port->dev->devt); 1590 device_destroy(pdrvdata.class, port->dev->devt);
|
/drivers/scsi/ |
H A D | sd.c | 533 static struct kobject *sd_default_probe(dev_t devt, int *partno, void *data) argument 3078 dev_t devt; local 3081 devt = disk_devt(sdkp->disk); 3090 blk_register_region(devt, SD_MINORS, NULL,
|
/drivers/tty/serial/ |
H A D | serial_core.c | 1928 dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) + local 1931 return dev->devt == devt; /* Actually, only one tty per port */
|
/drivers/tty/ |
H A D | tty_io.c | 3011 const dev_t *devt = data; local 3012 return dev->devt == *devt; 3018 dev_t devt = tty_devnum(tty); local 3019 return class_find_device(tty_class, NULL, &devt, dev_match_devt); 3170 dev_t devt = MKDEV(driver->major, driver->minor_start) + index; local 3187 retval = tty_cdev_add(driver, devt, index, 1); 3199 dev->devt = devt; 3532 if (dev->devt [all...] |
/drivers/usb/core/ |
H A D | devio.c | 856 return dev->devt == (dev_t) (unsigned long) data; 859 static struct usb_device *usbdev_lookup_by_devt(dev_t devt) argument 864 (void *) (unsigned long) devt, match_devt);
|
/drivers/usb/dwc3/ |
H A D | core.h | 889 * @devt: Device Event 896 struct dwc3_event_devt devt; member in union:dwc3_event
|