Home
last modified time | relevance | path

Searched refs:subsys (Results 1 – 25 of 122) sorted by relevance

12345

/OK3568_Linux_fs/kernel/drivers/soc/samsung/
H A Dexynos5422-asv.c391 struct exynos_asv_subsys *subsys; in exynos5422_asv_offset_voltage_setup() local
397 subsys = &asv->subsys[EXYNOS_ASV_SUBSYS_ID_ARM]; in exynos5422_asv_offset_voltage_setup()
399 subsys->base_volt = 1000000; in exynos5422_asv_offset_voltage_setup()
402 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup()
405 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup()
408 subsys = &asv->subsys[EXYNOS_ASV_SUBSYS_ID_KFC]; in exynos5422_asv_offset_voltage_setup()
410 subsys->base_volt = 1000000; in exynos5422_asv_offset_voltage_setup()
413 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup()
416 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup()
419 static int exynos5422_asv_opp_get_voltage(const struct exynos_asv_subsys *subsys, in exynos5422_asv_opp_get_voltage() argument
[all …]
H A Dexynos-asv.c31 struct exynos_asv_subsys *subsys = NULL; in exynos_asv_update_cpu_opps() local
36 for (i = 0; i < ARRAY_SIZE(asv->subsys); i++) { in exynos_asv_update_cpu_opps()
38 asv->subsys[i].cpu_dt_compat)) { in exynos_asv_update_cpu_opps()
39 subsys = &asv->subsys[i]; in exynos_asv_update_cpu_opps()
43 if (!subsys) in exynos_asv_update_cpu_opps()
46 for (i = 0; i < subsys->table.num_rows; i++) { in exynos_asv_update_cpu_opps()
50 opp_freq = exynos_asv_opp_get_frequency(subsys, i); in exynos_asv_update_cpu_opps()
61 new_volt = asv->opp_get_voltage(subsys, i, volt); in exynos_asv_update_cpu_opps()
161 for (i = 0; i < ARRAY_SIZE(asv->subsys); i++) in exynos_asv_probe()
162 asv->subsys[i].asv = asv; in exynos_asv_probe()
H A Dexynos-asv.h40 struct exynos_asv_subsys subsys[2]; member
59 static inline u32 exynos_asv_opp_get_voltage(const struct exynos_asv_subsys *subsys, in exynos_asv_opp_get_voltage() argument
62 return __asv_get_table_entry(&subsys->table, level, group + 1); in exynos_asv_opp_get_voltage()
65 static inline u32 exynos_asv_opp_get_frequency(const struct exynos_asv_subsys *subsys, in exynos_asv_opp_get_frequency() argument
68 return __asv_get_table_entry(&subsys->table, level, 0); in exynos_asv_opp_get_frequency()
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dcore.c116 static unsigned int nvmet_max_nsid(struct nvmet_subsys *subsys) in nvmet_max_nsid() argument
122 xa_for_each(&subsys->namespaces, idx, cur) in nvmet_max_nsid()
235 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed() argument
239 lockdep_assert_held(&subsys->lock); in nvmet_ns_changed()
241 list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) { in nvmet_ns_changed()
251 void nvmet_send_ana_event(struct nvmet_subsys *subsys, in nvmet_send_ana_event() argument
256 mutex_lock(&subsys->lock); in nvmet_send_ana_event()
257 list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) { in nvmet_send_ana_event()
265 mutex_unlock(&subsys->lock); in nvmet_send_ana_event()
274 nvmet_send_ana_event(p->subsys, port); in nvmet_port_send_ana_event()
[all …]
H A Dconfigfs.c341 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_path_store() local
345 mutex_lock(&subsys->lock); in nvmet_ns_device_path_store()
361 mutex_unlock(&subsys->lock); in nvmet_ns_device_path_store()
365 mutex_unlock(&subsys->lock); in nvmet_ns_device_path_store()
388 mutex_lock(&ns->subsys->lock); in nvmet_ns_p2pmem_store()
405 mutex_unlock(&ns->subsys->lock); in nvmet_ns_p2pmem_store()
422 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_uuid_store() local
425 mutex_lock(&subsys->lock); in nvmet_ns_device_uuid_store()
435 mutex_unlock(&subsys->lock); in nvmet_ns_device_uuid_store()
450 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_nguid_store() local
[all …]
H A Dpassthru.c26 struct nvme_ctrl *pctrl = ctrl->subsys->passthru_ctrl; in nvmet_passthru_override_id_ctrl()
41 id->ver = cpu_to_le32(ctrl->subsys->ver); in nvmet_passthru_override_id_ctrl()
498 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_enable() argument
505 mutex_lock(&subsys->lock); in nvmet_passthru_ctrl_enable()
506 if (!subsys->passthru_ctrl_path) in nvmet_passthru_ctrl_enable()
508 if (subsys->passthru_ctrl) in nvmet_passthru_ctrl_enable()
511 if (subsys->nr_namespaces) { in nvmet_passthru_ctrl_enable()
516 file = filp_open(subsys->passthru_ctrl_path, O_RDWR, 0); in nvmet_passthru_ctrl_enable()
525 subsys->passthru_ctrl_path); in nvmet_passthru_ctrl_enable()
531 subsys, GFP_KERNEL); in nvmet_passthru_ctrl_enable()
[all …]
H A Dnvmet.h70 struct nvmet_subsys *subsys; member
166 struct nvmet_subsys *subsys; member
287 struct nvmet_subsys *subsys; member
440 void nvmet_subsys_put(struct nvmet_subsys *subsys);
441 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
447 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
450 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
458 struct nvmet_subsys *subsys);
477 struct nvmet_subsys *subsys);
478 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
[all …]
H A Ddiscovery.c29 struct nvmet_subsys *subsys) in nvmet_port_disc_changed() argument
38 if (subsys && !nvmet_host_allowed(subsys, ctrl->hostnqn)) in nvmet_port_disc_changed()
51 struct nvmet_subsys *subsys, in __nvmet_subsys_disc_changed() argument
66 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys, in nvmet_subsys_disc_changed() argument
76 if (s->subsys != subsys) in nvmet_subsys_disc_changed()
78 __nvmet_subsys_disc_changed(port, subsys, host); in nvmet_subsys_disc_changed()
151 if (!nvmet_host_allowed(p->subsys, ctrl->hostnqn)) in discovery_log_entries()
210 if (!nvmet_host_allowed(p->subsys, ctrl->hostnqn)) in nvmet_execute_disc_get_log_page()
215 p->subsys->subsysnqn, traddr, in nvmet_execute_disc_get_log_page()
265 bin2hex(id->sn, &ctrl->subsys->serial, in nvmet_execute_disc_identify()
[all …]
H A Dadmin-cmd.c119 xa_for_each(&ctrl->subsys->namespaces, idx, ns) { in nvmet_get_smart_log_all()
234 xa_for_each(&ctrl->subsys->namespaces, idx, ns) in nvmet_format_ana_group()
323 struct nvmet_subsys *subsys) in nvmet_id_set_model_number() argument
329 subsys_model = rcu_dereference(subsys->model); in nvmet_id_set_model_number()
354 bin2hex(id->sn, &ctrl->subsys->serial, in nvmet_execute_identify_ctrl()
355 min(sizeof(ctrl->subsys->serial), sizeof(id->sn) / 2)); in nvmet_execute_identify_ctrl()
356 nvmet_id_set_model_number(id, ctrl->subsys); in nvmet_execute_identify_ctrl()
377 id->ver = cpu_to_le32(ctrl->subsys->ver); in nvmet_execute_identify_ctrl()
410 id->nn = cpu_to_le32(ctrl->subsys->max_nsid); in nvmet_execute_identify_ctrl()
431 strlcpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_identify_ctrl()
[all …]
/OK3568_Linux_fs/kernel/drivers/base/
H A Dbus.c45 kset_get(&bus->p->subsys); in bus_get()
54 kset_put(&bus->p->subsys); in bus_put()
135 error = sysfs_create_file(&bus->p->subsys.kobj, &attr->attr); in bus_create_file()
146 sysfs_remove_file(&bus->p->subsys.kobj, &attr->attr); in bus_remove_file()
356 struct device *subsys_find_device_by_id(struct bus_type *subsys, unsigned int id, in subsys_find_device_by_id() argument
362 if (!subsys) in subsys_find_device_by_id()
366 klist_iter_init_node(&subsys->p->klist_devices, &i, &hint->p->knode_bus); in subsys_find_device_by_id()
375 klist_iter_init_node(&subsys->p->klist_devices, &i, NULL); in subsys_find_device_by_id()
460 &dev->bus->p->subsys.kobj, "subsystem"); in bus_add_device()
754 return sysfs_create_groups(&bus->p->subsys.kobj, groups); in bus_add_groups()
[all …]
H A Dclass.c94 error = sysfs_create_file_ns(&cls->p->subsys.kobj, in class_create_file_ns()
105 sysfs_remove_file_ns(&cls->p->subsys.kobj, &attr->attr, ns); in class_remove_file_ns()
111 kset_get(&cls->p->subsys); in class_get()
118 kset_put(&cls->p->subsys); in class_put()
144 return sysfs_create_groups(&cls->p->subsys.kobj, groups); in class_add_groups()
150 return sysfs_remove_groups(&cls->p->subsys.kobj, groups); in class_remove_groups()
167 error = kobject_set_name(&cp->subsys.kobj, "%s", cls->name); in __class_register()
180 cp->subsys.kobj.kset = class_kset; in __class_register()
182 cp->subsys.kobj.kset = class_kset; in __class_register()
184 cp->subsys.kobj.ktype = &class_ktype; in __class_register()
[all …]
/OK3568_Linux_fs/kernel/drivers/most/
H A Dconfigfs.c415 struct configfs_subsystem subsys; member
418 static struct most_common *to_most_common(struct configfs_subsystem *subsys) in to_most_common() argument
420 return container_of(subsys, struct most_common, subsys); in to_most_common()
481 .subsys = {
492 .subsys = {
503 .subsys = {
590 struct configfs_subsystem subsys; member
600 struct most_sound, subsys); in most_sound_make_group()
624 struct most_sound, subsys); in most_sound_disconnect()
639 .subsys = {
[all …]
/OK3568_Linux_fs/kernel/samples/configfs/
H A Dconfigfs_sample.c34 struct configfs_subsystem subsys; member
42 struct childless, subsys); in to_childless()
102 .subsys = {
326 &childless_subsys.subsys,
334 struct configfs_subsystem *subsys; in configfs_example_init() local
338 subsys = example_subsys[i]; in configfs_example_init()
340 config_group_init(&subsys->su_group); in configfs_example_init()
341 mutex_init(&subsys->su_mutex); in configfs_example_init()
342 ret = configfs_register_subsystem(subsys); in configfs_example_init()
345 ret, subsys->su_group.cg_item.ci_namebuf); in configfs_example_init()
/OK3568_Linux_fs/buildroot/package/nfs-utils/
H A DS60nfs6 mkdir -p /var/lock/subsys
24 touch /var/lock/subsys/nfslock
37 touch /var/lock/subsys/nfs
57 rm -f /var/lock/subsys/nfs
59 rm -f /var/lock/subsys/nfslock
76 touch /var/lock/subsys/nfs
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dcore.c91 static void nvme_put_subsystem(struct nvme_subsystem *subsys);
502 ida_simple_remove(&head->subsys->ns_ida, head->instance); in nvme_free_ns_head()
504 nvme_put_subsystem(head->subsys); in nvme_free_ns_head()
1066 mutex_lock(&ctrl->subsys->lock); in nvme_passthru_start()
1067 nvme_mpath_start_freeze(ctrl->subsys); in nvme_passthru_start()
1068 nvme_mpath_wait_freeze(ctrl->subsys); in nvme_passthru_start()
1079 nvme_mpath_unfreeze(ctrl->subsys); in nvme_passthru_end()
1080 mutex_unlock(&ctrl->subsys->lock); in nvme_passthru_end()
2084 atomic_bs = (1 + ns->ctrl->subsys->awupf) * bs; in nvme_update_disk_info()
2765 static void nvme_init_subnqn(struct nvme_subsystem *subsys, struct nvme_ctrl *ctrl, in nvme_init_subnqn() argument
[all …]
H A Dmultipath.c16 void nvme_mpath_unfreeze(struct nvme_subsystem *subsys) in nvme_mpath_unfreeze() argument
20 lockdep_assert_held(&subsys->lock); in nvme_mpath_unfreeze()
21 list_for_each_entry(h, &subsys->nsheads, entry) in nvme_mpath_unfreeze()
26 void nvme_mpath_wait_freeze(struct nvme_subsystem *subsys) in nvme_mpath_wait_freeze() argument
30 lockdep_assert_held(&subsys->lock); in nvme_mpath_wait_freeze()
31 list_for_each_entry(h, &subsys->nsheads, entry) in nvme_mpath_wait_freeze()
36 void nvme_mpath_start_freeze(struct nvme_subsystem *subsys) in nvme_mpath_start_freeze() argument
40 lockdep_assert_held(&subsys->lock); in nvme_mpath_start_freeze()
41 list_for_each_entry(h, &subsys->nsheads, entry) in nvme_mpath_start_freeze()
59 sprintf(disk_name, "nvme%dc%dn%d", ctrl->subsys->instance, in nvme_set_disk_name()
[all …]
/OK3568_Linux_fs/buildroot/package/dbus/
H A DS30dbus15 [ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
27 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dbus-daemon
40 rm -f /var/lock/subsys/dbus-daemon
58 if [ -f /var/lock/subsys/$servicename ]; then
/OK3568_Linux_fs/kernel/fs/configfs/
H A Ddir.c804 struct configfs_subsystem *subsys = NULL; /* gcc is a turd */ in link_group() local
809 subsys = parent_group->cg_subsys; in link_group()
811 subsys = to_configfs_subsystem(group); in link_group()
814 group->cg_subsys = subsys; in link_group()
1132 int configfs_depend_item(struct configfs_subsystem *subsys, in configfs_depend_item() argument
1137 struct config_item *s_item = &subsys->su_group.cg_item; in configfs_depend_item()
1285 struct configfs_subsystem *subsys; in configfs_mkdir() local
1317 subsys = to_config_group(parent_item)->cg_subsys; in configfs_mkdir()
1318 BUG_ON(!subsys); in configfs_mkdir()
1332 if (!subsys->su_group.cg_item.ci_type) { in configfs_mkdir()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/vermilion/
H A Dvermilion.c42 static struct vml_sys *subsys = NULL; variable
596 if (subsys && subsys->nearest_clock) { in vmlfb_check_var_locked()
597 nearest_clock = subsys->nearest_clock(subsys, clock); in vmlfb_check_var_locked()
776 if (!subsys) in vmlfb_set_par_locked()
798 if (subsys->nearest_clock) { in vmlfb_set_par_locked()
799 clock = subsys->nearest_clock(subsys, clock); in vmlfb_set_par_locked()
824 if (subsys->set_clock) in vmlfb_set_par_locked()
825 subsys->set_clock(subsys, clock); in vmlfb_set_par_locked()
877 list_move(&vinfo->head, (subsys) ? &global_has_mode : &global_no_mode); in vmlfb_set_par()
1075 if (subsys != NULL) { in vmlfb_register_subsys()
[all …]
/OK3568_Linux_fs/buildroot/package/netplug/
H A DS29netplug15 mkdir -p /var/lock/subsys
47 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/netplugd
55 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/netplugd
62 [ -f /var/lock/subsys/netplugd ] && $0 restart || :
/OK3568_Linux_fs/kernel/include/linux/soc/mediatek/
H A Dmtk-cmdq.h21 u8 subsys; member
92 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value);
104 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys,
223 int cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys,
240 int cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys,
/OK3568_Linux_fs/kernel/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c33 u8 subsys; member
64 client_reg->subsys = (u8)spec.args[0]; in cmdq_dev_get_client_reg()
196 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) in cmdq_pkt_write() argument
203 inst.subsys = subsys; in cmdq_pkt_write()
209 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_write_mask() argument
225 err = cmdq_pkt_write(pkt, subsys, offset_mask, value); in cmdq_pkt_write_mask()
365 int cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_poll() argument
374 inst.subsys = subsys; in cmdq_pkt_poll()
381 int cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_poll_mask() argument
394 err = cmdq_pkt_poll(pkt, subsys, offset, value); in cmdq_pkt_poll_mask()
/OK3568_Linux_fs/kernel/arch/arm/mach-s3c/
H A Dpm-s3c2410.c115 .subsys = &s3c2410_subsys,
130 .subsys = &s3c2410a_subsys,
145 .subsys = &s3c2440_subsys,
160 .subsys = &s3c2442_subsys,
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/vblade/files/
H A Dvblade.init62 touch /var/lock/subsys/$prog
79 rm -f /var/lock/subsys/$prog
153 if [ -f /var/lock/subsys/${lock_file} ]; then
178 if [ -f /var/lock/subsys/$prog ]; then
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dkcov.h56 static inline __u64 kcov_remote_handle(__u64 subsys, __u64 inst) in kcov_remote_handle() argument
58 if (subsys & ~KCOV_SUBSYSTEM_MASK || inst & ~KCOV_INSTANCE_MASK) in kcov_remote_handle()
60 return subsys | inst; in kcov_remote_handle()

12345