Home
last modified time | relevance | path

Searched refs:tcd (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/s390/char/
Dtape_class.c49 struct tape_class_device * tcd; in register_tape_dev() local
53 tcd = kzalloc(sizeof(struct tape_class_device), GFP_KERNEL); in register_tape_dev()
54 if (!tcd) in register_tape_dev()
57 strlcpy(tcd->device_name, device_name, TAPECLASS_NAME_LEN); in register_tape_dev()
58 for (s = strchr(tcd->device_name, '/'); s; s = strchr(s, '/')) in register_tape_dev()
60 strlcpy(tcd->mode_name, mode_name, TAPECLASS_NAME_LEN); in register_tape_dev()
61 for (s = strchr(tcd->mode_name, '/'); s; s = strchr(s, '/')) in register_tape_dev()
64 tcd->char_device = cdev_alloc(); in register_tape_dev()
65 if (!tcd->char_device) { in register_tape_dev()
70 tcd->char_device->owner = fops->owner; in register_tape_dev()
[all …]
Dtape_class.h57 void unregister_tape_dev(struct device *device, struct tape_class_device *tcd);
/linux-4.19.296/include/linux/
Dpower_supply.h276 struct thermal_cooling_device *tcd; member
/linux-4.19.296/drivers/char/pcmcia/
Dsynclink_cs.c893 static void rx_ready_async(MGSLPC_INFO *info, int tcd) in rx_ready_async() argument
901 if (tcd) { in rx_ready_async()