Home
last modified time | relevance | path

Searched refs:drv_index (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/block/
Dcciss.c163 static int deregister_disk(ctlr_info_t *h, int drv_index,
188 static void cciss_free_gendisk(ctlr_info_t *h, int drv_index);
189 static void cciss_free_drive_info(ctlr_info_t *h, int drv_index);
884 int drv_index) in cciss_create_ld_sysfs_entry() argument
888 if (h->drv[drv_index]->device_initialized) in cciss_create_ld_sysfs_entry()
891 dev = &h->drv[drv_index]->dev; in cciss_create_ld_sysfs_entry()
895 dev_set_name(dev, "c%dd%d", h->ctlr, drv_index); in cciss_create_ld_sysfs_entry()
897 h->drv[drv_index]->device_initialized = 1; in cciss_create_ld_sysfs_entry()
904 static void cciss_destroy_ld_sysfs_entry(struct ctlr_info *h, int drv_index, in cciss_destroy_ld_sysfs_entry() argument
907 struct device *dev = &h->drv[drv_index]->dev; in cciss_destroy_ld_sysfs_entry()
[all …]
/linux-2.6.39/drivers/isdn/i4l/
Disdn_ttyfax.c383 info->drv_index = i; in isdn_tty_cmd_FCLASS1()
394 if (info->drv_index >= 0) { in isdn_tty_cmd_FCLASS1()
395 dev->m_idx[info->drv_index] = -1; in isdn_tty_cmd_FCLASS1()
396 info->drv_index = -1; in isdn_tty_cmd_FCLASS1()
Disdn_tty.c630 info->drv_index = i; in isdn_tty_dial()
742 if (info->drv_index >= 0) { in isdn_tty_modem_hup()
743 dev->m_idx[info->drv_index] = -1; in isdn_tty_modem_hup()
744 info->drv_index = -1; in isdn_tty_modem_hup()
840 info->drv_index = i; in isdn_tty_resume()
933 info->drv_index = i; in isdn_tty_send_msg()
1928 info->drv_index = -1; in isdn_tty_modem_init()
2100 info->drv_index = idx; in isdn_tty_find_icall()
2557 isdn_tty_at_cout(dev->num[info->drv_index], info); in isdn_tty_modem_result()
2586 isdn_tty_at_cout(dev->num[info->drv_index], info); in isdn_tty_modem_result()
[all …]
/linux-2.6.39/drivers/char/
Dvirtio_console.c148 unsigned int drv_index; member
1169 port->portdev->drv_index, id); in add_port()
1216 port->portdev->drv_index, id); in add_port()
1663 portdev->drv_index = pdrvdata.index++; in virtcons_probe()
1671 portdev->chr_major, portdev->drv_index); in virtcons_probe()
/linux-2.6.39/include/linux/
Disdn.h468 int drv_index; /* Index to dev->usage */ member