/drivers/base/ |
H A D | base.h | 6 * @subsys - the struct kset that defines this subsystem 29 struct kset subsys; member in struct:subsys_private 44 #define to_subsys_private(obj) container_of(obj, struct subsys_private, subsys.kobj)
|
H A D | bus.c | 42 kset_get(&bus->p->subsys); 51 kset_put(&bus->p->subsys); 132 error = sysfs_create_file(&bus->p->subsys.kobj, &attr->attr); 143 sysfs_remove_file(&bus->p->subsys.kobj, &attr->attr); 370 * @subsys: subsystem 378 struct device *subsys_find_device_by_id(struct bus_type *subsys, unsigned int id, argument 384 if (!subsys) 388 klist_iter_init_node(&subsys->p->klist_devices, &i, &hint->p->knode_bus); 397 klist_iter_init_node(&subsys->p->klist_devices, &i, NULL); 511 &dev->bus->p->subsys 1115 subsys_dev_iter_init(struct subsys_dev_iter *iter, struct bus_type *subsys, struct device *start, const struct device_type *type) argument 1170 struct bus_type *subsys; local 1197 struct bus_type *subsys; local 1242 subsys_system_register(struct bus_type *subsys, const struct attribute_group **groups) argument [all...] |
/drivers/input/misc/ |
H A D | wistron_btns.c | 205 static u16 __devinit bios_get_default_setting(u8 subsys) argument 211 regs.ebx = 0x0200 | subsys; 217 static void bios_set_state(u8 subsys, int enable) argument 223 regs.ebx = (enable ? 0x0100 : 0x0000) | subsys;
|
/drivers/misc/ |
H A D | spear13xx_pcie_gadget.c | 55 struct configfs_subsystem subsys; member in struct:pcie_gadget_target 611 struct pcie_gadget_target, subsys) : NULL; 723 struct configfs_subsystem *subsys; local 757 cg_item = &target->subsys.su_group.cg_item; 796 subsys = &target->subsys; 797 config_group_init(&subsys->su_group); 798 mutex_init(&subsys->su_mutex); 799 status = configfs_register_subsystem(subsys); 874 configfs_unregister_subsystem(&target->subsys); [all...] |
/drivers/scsi/be2iscsi/ |
H A D | be_cmds.c | 701 u8 subsys = 0, opcode = 0; local 711 subsys = CMD_SUBSYSTEM_COMMON; 715 subsys = CMD_SUBSYSTEM_COMMON; 719 subsys = CMD_SUBSYSTEM_COMMON; 723 subsys = CMD_SUBSYSTEM_ISCSI; 727 subsys = CMD_SUBSYSTEM_ISCSI; 731 subsys = CMD_SUBSYSTEM_ISCSI; 739 be_cmd_hdr_prepare(&req->hdr, subsys, opcode, sizeof(*req));
|
/drivers/video/vermilion/ |
H A D | vermilion.c | 56 static struct vml_sys *subsys = NULL; variable in typeref:struct:vml_sys 613 if (subsys && subsys->nearest_clock) { 614 nearest_clock = subsys->nearest_clock(subsys, clock); 793 if (!subsys) 815 if (subsys->nearest_clock) { 816 clock = subsys->nearest_clock(subsys, clock); 841 if (subsys [all...] |
/drivers/scsi/lpfc/ |
H A D | lpfc_mbox.c | 1608 uint8_t subsys, opcode; local 1620 subsys = lpfc_sli_config_mbox_subsys_get(phba, mboxq); 1622 if (subsys == LPFC_MBOX_SUBSYSTEM_COMMON) { 1636 if (subsys == LPFC_MBOX_SUBSYSTEM_FCOE) {
|
H A D | lpfc_bsg.c | 3937 uint32_t subsys; local 3948 subsys = bsg_bf_get(lpfc_emb0_subcmnd_subsys, 3952 if (subsys == SLI_CONFIG_SUBSYS_FCOE) { 3978 } else if (subsys == SLI_CONFIG_SUBSYS_COMN) { 3999 "subsys:x%d, opcode:x%x\n", 4000 subsys, opcode); 4004 subsys = bsg_bf_get(lpfc_emb1_subcmnd_subsys, 4008 if (subsys == SLI_CONFIG_SUBSYS_COMN) { 4038 "subsys:x%d, opcode:x%x\n", 4039 subsys, opcod [all...] |
/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 1019 u8 subsys = 0, opcode = 0; local 1030 subsys = CMD_SUBSYSTEM_COMMON; 1034 subsys = CMD_SUBSYSTEM_COMMON; 1038 subsys = CMD_SUBSYSTEM_ETH; 1042 subsys = CMD_SUBSYSTEM_ETH; 1046 subsys = CMD_SUBSYSTEM_COMMON; 1053 be_wrb_cmd_hdr_prepare(&req->hdr, subsys, opcode, sizeof(*req), wrb,
|
/drivers/staging/comedi/drivers/ |
H A D | dt3000.c | 362 unsigned int subsys, unsigned int chan, 365 writew(subsys, devpriv->io_addr + DPR_SubSys); 375 static void dt3k_writesingle(struct comedi_device *dev, unsigned int subsys, argument 378 writew(subsys, devpriv->io_addr + DPR_SubSys); 361 dt3k_readsingle(struct comedi_device *dev, unsigned int subsys, unsigned int chan, unsigned int gain) argument
|
/drivers/target/ |
H A D | target_core_configfs.c | 3094 struct configfs_subsystem *subsys; local 3102 subsys = target_core_subsystem[0]; 3103 config_group_init(&subsys->su_group); 3104 mutex_init(&subsys->su_mutex); 3113 target_cg = &subsys->su_group; 3178 ret = configfs_register_subsystem(subsys); 3181 ret, subsys->su_group.cg_item.ci_namebuf); 3200 configfs_unregister_subsystem(subsys); 3221 struct configfs_subsystem *subsys; local 3226 subsys [all...] |
/drivers/scsi/ |
H A D | ips.h | 1057 IPS_SUBSYS *subsys; /* Subsystem parameters */ member in struct:ips_ha
|