Searched refs:subsys (Results 1 – 8 of 8) sorted by relevance
/drivers/video/vermilion/ |
D | vermilion.c | 55 static struct vml_sys *subsys = NULL; variable 612 if (subsys && subsys->nearest_clock) { in vmlfb_check_var_locked() 613 nearest_clock = subsys->nearest_clock(subsys, clock); in vmlfb_check_var_locked() 792 if (!subsys) in vmlfb_set_par_locked() 814 if (subsys->nearest_clock) { in vmlfb_set_par_locked() 815 clock = subsys->nearest_clock(subsys, clock); in vmlfb_set_par_locked() 840 if (subsys->set_clock) in vmlfb_set_par_locked() 841 subsys->set_clock(subsys, clock); in vmlfb_set_par_locked() 894 list_add(&vinfo->head, (subsys) ? &global_has_mode : &global_no_mode); in vmlfb_set_par() 1097 if (subsys != NULL) { in vmlfb_register_subsys() [all …]
|
/drivers/base/ |
D | bus.c | 22 #define to_bus(obj) container_of(obj, struct bus_type_private, subsys.kobj) 37 kset_get(&bus->p->subsys); in bus_get() 46 kset_put(&bus->p->subsys); in bus_put() 127 error = sysfs_create_file(&bus->p->subsys.kobj, &attr->attr); in bus_create_file() 138 sysfs_remove_file(&bus->p->subsys.kobj, &attr->attr); in bus_remove_file() 439 &dev->bus->p->subsys.kobj, "bus"); in make_deprecated_bus_links() 473 &dev->bus->p->subsys.kobj, "subsystem"); in bus_add_device() 852 kobject_uevent(&bus->p->subsys.kobj, action); in bus_uevent_store() 879 retval = kobject_set_name(&priv->subsys.kobj, "%s", bus->name); in bus_register() 883 priv->subsys.kobj.kset = bus_kset; in bus_register() [all …]
|
D | base.h | 20 struct kset subsys; member
|
/drivers/net/benet/ |
D | be_cmds.c | 496 u8 subsys = 0, opcode = 0; in be_cmd_q_destroy() local 506 subsys = CMD_SUBSYSTEM_COMMON; in be_cmd_q_destroy() 510 subsys = CMD_SUBSYSTEM_COMMON; in be_cmd_q_destroy() 514 subsys = CMD_SUBSYSTEM_ETH; in be_cmd_q_destroy() 518 subsys = CMD_SUBSYSTEM_ETH; in be_cmd_q_destroy() 526 be_cmd_hdr_prepare(&req->hdr, subsys, opcode, sizeof(*req)); in be_cmd_q_destroy()
|
/drivers/input/misc/ |
D | wistron_btns.c | 203 static u16 __devinit bios_get_default_setting(u8 subsys) in bios_get_default_setting() argument 209 regs.ebx = 0x0200 | subsys; in bios_get_default_setting() 215 static void bios_set_state(u8 subsys, int enable) in bios_set_state() argument 221 regs.ebx = (enable ? 0x0100 : 0x0000) | subsys; in bios_set_state()
|
/drivers/scsi/ |
D | ips.c | 994 if (le32_to_cpu(ha->subsys->param[3]) & 0x300000) { in __ips_eh_reset() 2557 if (le32_to_cpu(ha->subsys->param[4]) & 0x1) { in ips_hainit() 2631 if ((ha->subsys->param[3] & 0x300000) in ips_next() 3823 if (ha->subsys->param[4] & 0x00100000) { /* If NEW Tape DCDB is Supported */ in ips_send_cmd() 4332 kfree(ha->subsys); in ips_free() 4333 ha->subsys = NULL; in ips_free() 5809 scb->data_len = sizeof (*ha->subsys); in ips_read_subsystem_parameters() 5819 memcpy(ha->subsys, ha->ioctl_data, sizeof(*ha->subsys)); in ips_read_subsystem_parameters() 7110 ha->subsys = kmalloc(sizeof (IPS_SUBSYS), GFP_KERNEL); in ips_init_phase1() 7112 if (!ha->subsys) { in ips_init_phase1()
|
D | ips.h | 1057 IPS_SUBSYS *subsys; /* Subsystem parameters */ member
|
/drivers/net/wan/ |
D | sbni.c | 300 u16 subsys; in sbni_pci_probe() local 311 pci_read_config_word( pdev, PCI_SUBSYSTEM_ID, &subsys ); in sbni_pci_probe() 313 if (subsys != 2) in sbni_pci_probe()
|