/drivers/pps/ |
H A D | pps.c | 290 dev_t devt; local 317 devt = MKDEV(MAJOR(pps_devt), pps->id); 322 err = cdev_add(&pps->cdev, devt, 1); 328 pps->dev = device_create(pps_class, pps->info.dev, devt, pps, 353 device_destroy(pps_class, pps->dev->devt);
|
/drivers/spi/ |
H A D | spidev.c | 77 dev_t devt; member in struct:spidev_data 493 if (spidev->devt == inode->i_rdev) { 600 spidev->devt = MKDEV(SPIDEV_MAJOR, minor); 601 dev = device_create(spidev_class, &spi->dev, spidev->devt, 636 device_destroy(spidev_class, spidev->devt); 637 clear_bit(MINOR(spidev->devt), minors);
|
/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 577 dev_t devt; local 605 devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR + id); 633 drvdata->devt = devt; 654 retval = cdev_add(&drvdata->cdev, devt, 1); 660 device_create(icap_class, dev, devt, NULL, "%s%d", DRIVER_NAME, id); 703 device_destroy(icap_class, drvdata->devt); 711 probed_devices[MINOR(dev->devt)-XHWICAP_MINOR] = 0; 824 dev_t devt; local 830 devt 851 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/mtd/devices/ |
H A D | block2mtd.c | 239 dev_t devt = name_to_dev_t(devname); local 240 if (devt) 241 bdev = blkdev_get_by_dev(devt, mode, dev);
|
/drivers/isdn/hardware/mISDN/ |
H A D | mISDNisar.c | 816 isar_pump_statev_modem(struct isar_ch *ch, u8 devt) { argument 819 switch (devt) { 865 pr_info("u%s: unknown pump stev %x\n", ch->is->name, devt); 871 isar_pump_statev_fax(struct isar_ch *ch, u8 devt) { argument 875 switch (devt) {
|
/drivers/base/ |
H A D | core.c | 250 if (MAJOR(dev->devt)) { 255 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt)); 256 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt)); 516 return print_dev_t(buf, dev->devt); 903 format_dev_t(devt_str, dev->devt); 916 format_dev_t(devt_str, dev->devt); 1016 if (MAJOR(dev->devt)) { 1078 if (MAJOR(dev->devt)) 1080 if (MAJOR(dev->devt)) 1083 if (MAJOR(dev->devt)) 1520 device_create_vargs(struct class *class, struct device *parent, dev_t devt, void *drvdata, const char *fmt, va_list args) argument 1582 device_create(struct class *class, struct device *parent, dev_t devt, void *drvdata, const char *fmt, ...) argument 1597 dev_t *devt = data; local 1610 device_destroy(struct class *class, dev_t devt) argument [all...] |
/drivers/firewire/ |
H A D | core-device.c | 723 struct fw_device *fw_device_get_by_devt(dev_t devt) argument 728 device = idr_find(&fw_device_idr, MINOR(devt)); 765 int minor = MINOR(device->device.devt); 1010 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 | 1062 dev_t devt; local 1080 devt = MKDEV(MAJOR(macvtap_major), vlan->minor); 1081 classdev = device_create(macvtap_class, &dev->dev, devt, 1089 devt = MKDEV(MAJOR(macvtap_major), vlan->minor); 1090 device_destroy(macvtap_class, devt);
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | main.c | 144 enum htc_endpoint_id ath6kl_ac2_endpoint_id(void *devt, u8 ac) argument 146 struct ath6kl *ar = devt; 542 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver) argument 544 struct ath6kl *ar = devt; 808 void ath6kl_txpwr_rx_evt(void *devt, u8 tx_pwr) argument 810 struct ath6kl *ar = (struct ath6kl *) devt;
|
H A D | txrx.c | 281 int ath6kl_control_tx(void *devt, struct sk_buff *skb, argument 284 struct ath6kl *ar = devt; 515 void ath6kl_indicate_tx_activity(void *devt, u8 traffic_class, bool active) argument 517 struct ath6kl *ar = devt;
|
/drivers/char/ |
H A D | virtio_console.c | 1134 dev_t devt; local 1171 devt = MKDEV(portdev->chr_major, id); 1172 err = cdev_add(port->cdev, devt, 1); 1179 devt, port, "vport%up%u", 1239 device_destroy(pdrvdata.class, port->dev->devt); 1258 device_destroy(pdrvdata.class, port->dev->devt);
|
/drivers/tty/serial/ |
H A D | serial_core.c | 1860 dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) + local 1863 return dev->devt == devt; /* Actually, only one tty per port */
|
/drivers/tty/ |
H A D | tty_io.c | 2899 dev_t *devt = data; local 2900 return dev->devt == *devt; 2906 dev_t devt = tty_devnum(tty); local 2907 return class_find_device(tty_class, NULL, &devt, dev_match_devt); 3312 if (dev->devt == MKDEV(TTYAUX_MAJOR, 0) || 3313 dev->devt == MKDEV(TTYAUX_MAJOR, 2))
|
/drivers/usb/core/ |
H A D | devio.c | 698 return dev->devt == (dev_t) (unsigned long) data; 701 static struct usb_device *usbdev_lookup_by_devt(dev_t devt) argument 706 (void *) (unsigned long) devt, match_devt); 2089 cldev = device_create(usb_classdev_class, &dev->dev, dev->dev.devt,
|
/drivers/usb/dwc3/ |
H A D | core.h | 752 * @devt: Device Event 759 struct dwc3_event_devt devt; member in union:dwc3_event
|