Searched refs:classp (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/arch/powerpc/kernel/ |
D | pci_dn.c | 346 const __be32 *classp; in traverse_pci_devices() local 350 classp = of_get_property(dn, "class-code", NULL); in traverse_pci_devices() 351 if (classp) in traverse_pci_devices() 352 class = of_read_number(classp, 1); in traverse_pci_devices()
|
/linux-4.4.14/drivers/staging/dgnc/ |
D | dgnc_tty.c | 365 struct device *classp; in dgnc_tty_init() local 367 classp = tty_register_device(&brd->SerialDriver, i, in dgnc_tty_init() 369 ch->ch_tun.un_sysfs = classp; in dgnc_tty_init() 370 dgnc_create_tty_sysfs(&ch->ch_tun, classp); in dgnc_tty_init() 372 classp = tty_register_device(&brd->PrintDriver, i, in dgnc_tty_init() 374 ch->ch_pun.un_sysfs = classp; in dgnc_tty_init() 375 dgnc_create_tty_sysfs(&ch->ch_pun, classp); in dgnc_tty_init()
|
/linux-4.4.14/drivers/staging/dgap/ |
D | dgap.c | 6403 struct device *classp; in dgap_tty_register_ports() local 6405 classp = tty_port_register_device(&brd->serial_ports[i], in dgap_tty_register_ports() 6409 if (IS_ERR(classp)) { in dgap_tty_register_ports() 6410 ret = PTR_ERR(classp); in dgap_tty_register_ports() 6414 dgap_create_tty_sysfs(&ch->ch_tun, classp); in dgap_tty_register_ports() 6415 ch->ch_tun.un_sysfs = classp; in dgap_tty_register_ports() 6417 classp = tty_port_register_device(&brd->printer_ports[i], in dgap_tty_register_ports() 6421 if (IS_ERR(classp)) { in dgap_tty_register_ports() 6422 ret = PTR_ERR(classp); in dgap_tty_register_ports() 6426 dgap_create_tty_sysfs(&ch->ch_pun, classp); in dgap_tty_register_ports() [all …]
|