Home
last modified time | relevance | path

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

1234

/linux/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.c30 struct exynos_asv_subsys *subsys = NULL; in exynos_asv_update_cpu_opps() local
35 for (i = 0; i < ARRAY_SIZE(asv->subsys); i++) { in exynos_asv_update_cpu_opps()
37 asv->subsys[i].cpu_dt_compat)) { in exynos_asv_update_cpu_opps()
38 subsys = &asv->subsys[i]; in exynos_asv_update_cpu_opps()
42 if (!subsys) in exynos_asv_update_cpu_opps()
45 for (i = 0; i < subsys->table.num_rows; i++) { in exynos_asv_update_cpu_opps()
49 opp_freq = exynos_asv_opp_get_frequency(subsys, i); in exynos_asv_update_cpu_opps()
60 new_volt = asv->opp_get_voltage(subsys, i, volt); in exynos_asv_update_cpu_opps()
161 for (i = 0; i < ARRAY_SIZE(asv->subsys); in exynos_asv_init()
[all...]
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()
/linux/drivers/nvme/target/
H A Dconfigfs.c541 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_path_store()
546 mutex_lock(&subsys->lock); in nvmet_ns_device_path_store()
564 mutex_unlock(&subsys->lock);
568 mutex_unlock(&subsys->lock); in nvmet_ns_p2pmem_show()
591 mutex_lock(&ns->subsys->lock); in nvmet_ns_p2pmem_store()
608 mutex_unlock(&ns->subsys->lock);
625 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_uuid_store()
628 mutex_lock(&subsys in nvmet_ns_device_uuid_store()
534 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_device_path_store() local
618 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_device_uuid_store() local
646 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_device_nguid_store() local
865 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); nvmet_ns_make() local
907 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_device_path_show() local
915 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_device_path_store() local
948 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_enable_show() local
956 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_enable_store() local
981 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_admin_timeout_store() local
1000 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_io_timeout_store() local
1019 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_clear_ids_store() local
1043 nvmet_add_passthru_group(struct nvmet_subsys * subsys) nvmet_add_passthru_group() argument
1053 nvmet_add_passthru_group(struct nvmet_subsys * subsys) nvmet_add_passthru_group() argument
1063 struct nvmet_subsys *subsys; nvmet_port_subsys_allow_link() local
1106 struct nvmet_subsys *subsys = to_subsys(target); nvmet_port_subsys_drop_link() local
1141 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); nvmet_allowed_hosts_allow_link() local
1183 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); nvmet_allowed_hosts_drop_link() local
1223 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_allow_any_host_store() local
1252 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_version_show() local
1266 nvmet_subsys_attr_version_store_locked(struct nvmet_subsys * subsys,const char * page,size_t count) nvmet_subsys_attr_version_store_locked() argument
1301 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_version_store() local
1323 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_serial_show() local
1330 nvmet_subsys_attr_serial_store_locked(struct nvmet_subsys * subsys,const char * page,size_t count) nvmet_subsys_attr_serial_store_locked() argument
1362 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_serial_store() local
1481 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_model_show() local
1486 nvmet_subsys_attr_model_store_locked(struct nvmet_subsys * subsys,const char * page,size_t count) nvmet_subsys_attr_model_store_locked() argument
1524 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_model_store() local
1540 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_ieee_oui_show() local
1545 nvmet_subsys_attr_ieee_oui_store_locked(struct nvmet_subsys * subsys,const char * page,size_t count) nvmet_subsys_attr_ieee_oui_store_locked() argument
1572 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_ieee_oui_store() local
1588 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_firmware_show() local
1593 nvmet_subsys_attr_firmware_store_locked(struct nvmet_subsys * subsys,const char * page,size_t count) nvmet_subsys_attr_firmware_store_locked() argument
1634 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_firmware_store() local
1657 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_pi_enable_store() local
1678 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_qid_max_store() local
1723 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_release() local
1742 struct nvmet_subsys *subsys; nvmet_subsys_make() local
[all...]
H A Dcore.c120 static u32 nvmet_max_nsid(struct nvmet_subsys *subsys) in nvmet_max_nsid() argument
126 nvmet_for_each_enabled_ns(&subsys->namespaces, idx, cur) in nvmet_max_nsid()
238 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed() argument
242 lockdep_assert_held(&subsys->lock); in nvmet_ns_changed()
244 list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) { in nvmet_ns_changed()
254 void nvmet_send_ana_event(struct nvmet_subsys *subsys, in nvmet_send_ana_event() argument
259 mutex_lock(&subsys->lock); in nvmet_send_ana_event()
260 list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) { in nvmet_send_ana_event()
268 mutex_unlock(&subsys->lock); in nvmet_send_ana_event()
277 nvmet_send_ana_event(p->subsys, por in nvmet_port_send_ana_event()
304 nvmet_port_del_ctrls(struct nvmet_port * port,struct nvmet_subsys * subsys) nvmet_port_del_ctrls() argument
448 struct nvmet_subsys *subsys = nvmet_req_subsys(req); nvmet_req_find_ns() local
586 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_enable() local
651 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_disable() local
692 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_free() local
713 nvmet_ns_alloc(struct nvmet_subsys * subsys,u32 nsid) nvmet_ns_alloc() argument
1490 struct nvmet_subsys *subsys; nvmet_ctrl_find_get() local
1548 nvmet_host_allowed(struct nvmet_subsys * subsys,const char * hostnqn) nvmet_host_allowed() argument
1609 struct nvmet_subsys *subsys; nvmet_alloc_ctrl() local
1764 struct nvmet_subsys *subsys = ctrl->subsys; nvmet_ctrl_free() local
1855 struct nvmet_subsys *subsys; nvmet_subsys_alloc() local
1930 struct nvmet_subsys *subsys = nvmet_subsys_free() local
1948 nvmet_subsys_del_ctrls(struct nvmet_subsys * subsys) nvmet_subsys_del_ctrls() argument
1958 nvmet_subsys_put(struct nvmet_subsys * subsys) nvmet_subsys_put() argument
[all...]
H A Dpassthru.c29 if (!nvme_multi_css(ctrl->subsys->passthru->ctrl)) in nvmet_passthrough_override_cap()
42 if (!ctrl->subsys->passthru->clear_ids) in nvmet_passthru_override_id_descs()
92 struct nvme_ctrl *pctrl = ctrl->subsys->passthru->ctrl; in nvmet_passthru_override_id_ctrl()
107 id->ver = cpu_to_le32(ctrl->subsys->ver); in nvmet_passthru_override_id_ctrl()
162 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_passthru_override_id_ctrl()
211 if (req->sq->ctrl->subsys->passthru->clear_ids) { in nvmet_passthru_override_id_ns()
609 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_enable()
617 mutex_lock(&subsys->lock); in nvmet_passthru_ctrl_enable()
618 passthru = subsys->passthru; in nvmet_passthru_ctrl_enable()
624 if (subsys in nvmet_passthru_ctrl_enable()
587 nvmet_passthru_ctrl_enable(struct nvmet_subsys * subsys) nvmet_passthru_ctrl_enable() argument
649 __nvmet_passthru_ctrl_disable(struct nvmet_subsys * subsys) __nvmet_passthru_ctrl_disable() argument
660 nvmet_passthru_ctrl_disable(struct nvmet_subsys * subsys) nvmet_passthru_ctrl_disable() argument
667 nvmet_passthru_subsys_free(struct nvmet_subsys * subsys) nvmet_passthru_subsys_free() argument
[all...]
H A Ddebugfs.h13 int nvmet_debugfs_subsys_setup(struct nvmet_subsys *subsys);
14 void nvmet_debugfs_subsys_free(struct nvmet_subsys *subsys);
23 static inline int nvmet_debugfs_subsys_setup(struct nvmet_subsys *subsys) in nvmet_debugfs_subsys_setup() argument
27 static inline void nvmet_debugfs_subsys_free(struct nvmet_subsys *subsys){} in nvmet_debugfs_subsys_free() argument
H A Ddebugfs.c239 struct dentry *parent = ns->subsys->debugfs_dir; in nvmet_debugfs_ns_setup()
262 struct dentry *parent = ctrl->subsys->debugfs_dir; in nvmet_debugfs_ctrl_setup()
298 int nvmet_debugfs_subsys_setup(struct nvmet_subsys *subsys) in nvmet_debugfs_subsys_setup() argument
302 subsys->debugfs_dir = debugfs_create_dir(subsys->subsysnqn, in nvmet_debugfs_subsys_setup()
304 if (IS_ERR(subsys->debugfs_dir)) { in nvmet_debugfs_subsys_setup()
305 ret = PTR_ERR(subsys->debugfs_dir); in nvmet_debugfs_subsys_setup()
306 subsys->debugfs_dir = NULL; in nvmet_debugfs_subsys_setup()
311 void nvmet_debugfs_subsys_free(struct nvmet_subsys *subsys) in nvmet_debugfs_subsys_free() argument
313 debugfs_remove_recursive(subsys->debugfs_dir); in nvmet_debugfs_subsys_free()
H A Dnvmet.h118 struct nvmet_subsys *subsys;
261 struct nvmet_subsys *subsys;
429 struct nvmet_subsys *subsys;
653 void nvmet_subsys_put(struct nvmet_subsys *subsys);
654 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
660 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
663 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
671 struct nvmet_subsys *subsys);
690 struct nvmet_subsys *subsys);
691 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
117 struct nvmet_subsys *subsys; global() member
258 struct nvmet_subsys *subsys; global() member
413 struct nvmet_subsys *subsys; global() member
767 nvmet_is_disc_subsys(struct nvmet_subsys * subsys) nvmet_is_disc_subsys() argument
794 nvmet_is_passthru_subsys(struct nvmet_subsys * subsys) nvmet_is_passthru_subsys() argument
799 nvmet_passthru_subsys_free(struct nvmet_subsys * subsys) nvmet_passthru_subsys_free() argument
802 nvmet_passthru_ctrl_disable(struct nvmet_subsys * subsys) nvmet_passthru_ctrl_disable() argument
813 nvmet_is_passthru_subsys(struct nvmet_subsys * subsys) nvmet_is_passthru_subsys() argument
[all...]
H A Dadmin-cmd.c290 nvmet_for_each_enabled_ns(&ctrl->subsys->namespaces, idx, ns) { in nvmet_execute_get_log_page_rmi()
504 nvmet_for_each_enabled_ns(&ctrl->subsys->namespaces, idx, ns) { in nvmet_execute_get_log_page_endgrp()
691 struct nvmet_subsys *subsys = ctrl->subsys; in nvmet_execute_identify_ctrl()
696 if (!subsys->subsys_discovered) { in nvmet_execute_identify_ctrl()
697 mutex_lock(&subsys->lock); in nvmet_execute_identify_ctrl()
698 subsys->subsys_discovered = true; in nvmet_execute_identify_ctrl()
699 mutex_unlock(&subsys->lock); in nvmet_execute_identify_ctrl()
708 id->vid = cpu_to_le16(subsys->vendor_id); in nvmet_execute_identify_ctrl()
709 id->ssvid = cpu_to_le16(subsys in nvmet_execute_identify_ctrl()
653 struct nvmet_subsys *subsys = ctrl->subsys; nvmet_execute_identify_ctrl() local
1195 struct nvmet_subsys *subsys = nvmet_req_subsys(req); nvmet_set_feat_write_protect() local
1396 struct nvmet_subsys *subsys = nvmet_req_subsys(req); nvmet_get_feat_write_protect() local
[all...]
H A Dpr.c65 nvmet_for_each_enabled_ns(&ctrl->subsys->namespaces, idx, ns) { in nvmet_set_feat_resv_notif_mask()
169 struct nvmet_subsys *subsys = ns->subsys; in nvmet_pr_resv_released()
175 mutex_lock(&subsys->lock); in nvmet_pr_resv_released()
176 list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) { in nvmet_pr_resv_released()
186 mutex_unlock(&subsys->lock); in nvmet_pr_send_event_to_host()
193 struct nvmet_subsys *subsys = ns->subsys; in nvmet_pr_send_event_to_host()
196 mutex_lock(&subsys->lock); in nvmet_pr_send_event_to_host()
197 list_for_each_entry(ctrl, &subsys in nvmet_pr_send_event_to_host()
163 struct nvmet_subsys *subsys = ns->subsys; nvmet_pr_resv_released() local
187 struct nvmet_subsys *subsys = ns->subsys; nvmet_pr_send_event_to_host() local
1069 struct nvmet_subsys *subsys = ctrl->subsys; nvmet_ctrl_init_pr() local
1129 struct nvmet_subsys *subsys = ns->subsys; nvmet_pr_init_ns() local
[all...]
/linux/tools/lib/api/fs/
H A Dcgroup.c12 char subsys[32]; member
19 int cgroupfs_find_mountpoint(char *buf, size_t maxlen, const char *subsys) in cgroupfs_find_mountpoint() argument
27 if (cached && !strcmp(cached->subsys, subsys)) { in cgroupfs_find_mountpoint()
80 p = strstr(p, subsys); in cgroupfs_find_mountpoint()
85 if (!strchr(" ,", p[-1]) || !strchr(" ,", p[strlen(subsys)])) in cgroupfs_find_mountpoint()
98 strncpy(cached->subsys, subsys, sizeof(cached->subsys) - 1); in cgroupfs_find_mountpoint()
/linux/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 …]
/linux/samples/configfs/
H A Dconfigfs_sample.c32 struct configfs_subsystem subsys; member
40 struct childless, subsys); in to_childless()
100 .subsys = {
444 &childless_subsys.subsys,
453 struct configfs_subsystem *subsys;
457 subsys = example_subsys[i];
459 config_group_init(&subsys->su_group);
460 mutex_init(&subsys->su_mutex);
461 ret = configfs_register_subsystem(subsys);
464 ret, subsys
332 struct configfs_subsystem *subsys; configfs_example_init() local
[all...]
/linux/drivers/nvme/host/
H A Dmultipath.c112 void nvme_mpath_default_iopolicy(struct nvme_subsystem *subsys) in nvme_mpath_default_iopolicy() argument
114 subsys->iopolicy = iopolicy; in nvme_mpath_default_iopolicy()
117 void nvme_mpath_unfreeze(struct nvme_subsystem *subsys) in nvme_mpath_unfreeze() argument
121 lockdep_assert_held(&subsys->lock); in nvme_mpath_unfreeze()
122 list_for_each_entry(h, &subsys->nsheads, entry) in nvme_mpath_unfreeze()
127 void nvme_mpath_wait_freeze(struct nvme_subsystem *subsys) in nvme_mpath_wait_freeze() argument
131 lockdep_assert_held(&subsys->lock); in nvme_mpath_wait_freeze()
132 list_for_each_entry(h, &subsys->nsheads, entry) in nvme_mpath_wait_freeze()
137 void nvme_mpath_start_freeze(struct nvme_subsystem *subsys) in nvme_mpath_start_freeze() argument
141 lockdep_assert_held(&subsys in nvme_mpath_start_freeze()
1038 struct nvme_subsystem *subsys = nvme_subsys_iopolicy_show() local
1045 nvme_subsys_iopolicy_update(struct nvme_subsystem * subsys,int iopolicy) nvme_subsys_iopolicy_update() argument
1071 struct nvme_subsystem *subsys = nvme_subsys_iopolicy_store() local
[all...]
H A Dcore.c157 static void nvme_put_subsystem(struct nvme_subsystem *subsys);
694 ida_free(&head->subsys->ns_ida, head->instance); in nvme_free_ns_head()
696 nvme_put_subsystem(head->subsys); in nvme_free_ns_head()
1271 mutex_lock(&ctrl->subsys->lock); in nvme_passthru_start()
1272 nvme_mpath_start_freeze(ctrl->subsys); in nvme_passthru_start()
1273 nvme_mpath_wait_freeze(ctrl->subsys); in nvme_passthru_start()
1286 nvme_mpath_unfreeze(ctrl->subsys); in nvme_passthru_end()
1287 mutex_unlock(&ctrl->subsys->lock); in nvme_passthru_end()
3190 static void nvme_init_subnqn(struct nvme_subsystem *subsys, struct nvme_ctrl *ctrl, in nvme_init_subnqn()
3199 strscpy(subsys in nvme_init_subnqn()
3171 nvme_init_subnqn(struct nvme_subsystem * subsys,struct nvme_ctrl * ctrl,struct nvme_id_ctrl * id) nvme_init_subnqn() argument
3205 struct nvme_subsystem *subsys = nvme_release_subsystem() local
3222 struct nvme_subsystem *subsys = nvme_destroy_subsystem() local
3234 nvme_put_subsystem(struct nvme_subsystem * subsys) nvme_put_subsystem() argument
3242 struct nvme_subsystem *subsys; __nvme_find_get_subsystem() local
3283 nvme_validate_cntlid(struct nvme_subsystem * subsys,struct nvme_ctrl * ctrl,struct nvme_id_ctrl * id) nvme_validate_cntlid() argument
3318 struct nvme_subsystem *subsys, *found; nvme_init_subsystem() local
3914 nvme_subsys_check_duplicate_ids(struct nvme_subsystem * subsys,struct nvme_ns_ids * ids) nvme_subsys_check_duplicate_ids() argument
5180 struct nvme_subsystem *subsys = ctrl->subsys; nvme_free_ctrl() local
[all...]
H A Dnvme.h388 struct nvme_subsystem *subsys;
563 struct nvme_subsystem *subsys;
604 __guarded_by(&subsys->lock);
749 struct nvme_subsystem *subsys = ctrl->subsys;
757 "VID:%04x model:%.*s firmware:%.*s\n", subsys->vendor_id, in nvme_should_fail()
758 nvme_strlen(subsys->model, sizeof(subsys->model)),
759 subsys->model, nvme_strlen(subsys
371 struct nvme_subsystem *subsys; global() member
546 struct nvme_subsystem *subsys; global() member
729 struct nvme_subsystem *subsys = ctrl->subsys; nvme_print_device_info() local
1180 nvme_mpath_unfreeze(struct nvme_subsystem * subsys) nvme_mpath_unfreeze() argument
1183 nvme_mpath_wait_freeze(struct nvme_subsystem * subsys) nvme_mpath_wait_freeze() argument
1186 nvme_mpath_start_freeze(struct nvme_subsystem * subsys) nvme_mpath_start_freeze() argument
1189 nvme_mpath_default_iopolicy(struct nvme_subsystem * subsys) nvme_mpath_default_iopolicy() argument
[all...]
H A Dsysfs.c109 struct nvme_subsystem *subsys = head->subsys; in wwid_show() local
110 int serial_len = sizeof(subsys->serial); in wwid_show()
111 int model_len = sizeof(subsys->model); in wwid_show()
122 while (serial_len > 0 && (subsys->serial[serial_len - 1] == ' ' || in wwid_show()
123 subsys->serial[serial_len - 1] == '\0')) in wwid_show()
125 while (model_len > 0 && (subsys->model[model_len - 1] == ' ' || in wwid_show()
126 subsys->model[model_len - 1] == '\0')) in wwid_show()
129 return sysfs_emit(buf, "nvme.%04x-%*phN-%*phN-%08x\n", subsys->vendor_id, in wwid_show()
130 serial_len, subsys in wwid_show()
1253 struct nvme_subsystem *subsys = nvme_subsys_show_nqn() local
1264 struct nvme_subsystem *subsys = nvme_subsys_show_type() local
[all...]
/linux/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c39 u8 subsys; member
86 client_reg->subsys = CMDQ_SUBSYS_INVALID; in cmdq_dev_get_client_reg()
101 client_reg->subsys = (u8)spec.args[0]; in cmdq_dev_get_client_reg()
218 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) in cmdq_pkt_write() argument
224 .subsys = subsys in cmdq_pkt_write()
230 int cmdq_pkt_write_pa(struct cmdq_pkt *pkt, u8 subsys /*unused*/, u32 pa_base, in cmdq_pkt_write_pa() argument
243 int cmdq_pkt_write_subsys(struct cmdq_pkt *pkt, u8 subsys, u32 pa_base /*unused*/, in cmdq_pkt_write_subsys() argument
246 return cmdq_pkt_write(pkt, subsys, offset, value); in cmdq_pkt_write_subsys()
250 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_write_mask() argument
263 return cmdq_pkt_write(pkt, subsys, offset_mask, value); in cmdq_pkt_write_mask()
[all …]
/linux/fs/configfs/
H A Ddir.c39 * subsys->su_mutex is held.
770 * subsys->su_mutex is held.
828 struct configfs_subsystem *subsys = NULL; /* gcc is a turd */ in link_group() local
833 subsys = parent_group->cg_subsys; in link_group()
835 subsys = to_configfs_subsystem(group); in link_group()
838 group->cg_subsys = subsys; in link_group()
1152 int configfs_depend_item(struct configfs_subsystem *subsys, in configfs_depend_item() argument
1157 struct config_item *s_item = &subsys->su_group.cg_item; in configfs_depend_item()
1181 /* Ok, now we can trust subsys/s_item */ in configfs_depend_item()
1227 * determine if we should lock root and check subsys o
1306 struct configfs_subsystem *subsys; configfs_mkdir() local
1482 struct configfs_subsystem *subsys; configfs_rmdir() local
1763 struct configfs_subsystem *subsys = parent_group->cg_subsys; configfs_register_group() local
1807 struct configfs_subsystem *subsys = group->cg_subsys; configfs_unregister_group() local
1881 configfs_register_subsystem(struct configfs_subsystem * subsys) configfs_register_subsystem() argument
1943 configfs_unregister_subsystem(struct configfs_subsystem * subsys) configfs_unregister_subsystem() argument
[all...]
/linux/drivers/base/
H A Dclass.c58 sp = container_of_const(kset, struct subsys_private, subsys); in class_to_subsys()
138 error = sysfs_create_file_ns(&sp->subsys.kobj, &attr->attr, ns); in class_create_file_ns()
153 sysfs_remove_file_ns(&sp->subsys.kobj, &attr->attr, ns); in class_remove_file_ns()
206 error = kobject_set_name(&cp->subsys.kobj, "%s", cls->name); in class_register()
210 cp->subsys.kobj.kset = class_kset; in class_register()
211 cp->subsys.kobj.ktype = &class_ktype; in class_register()
214 error = kset_register(&cp->subsys); in class_register()
218 error = sysfs_create_groups(&cp->subsys.kobj, cls->class_groups); in class_register()
220 kobject_del(&cp->subsys.kobj); in class_register()
221 kfree_const(cp->subsys.kobj.name); in class_register()
[all …]
/linux/tools/testing/selftests/turbostat/
H A Dadded_perf_counters.py9 def __init__(self, subsys, event): argument
10 self.subsys = subsys
94 if counter.subsys == 'cstate_core':
96 elif counter.subsys == 'cstate_pkg':
/linux/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()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-syscfg-configfs.c453 struct configfs_subsystem *subsys; in cscfg_configfs_init() local
463 subsys = &cscfg_mgr->cfgfs_subsys; in cscfg_configfs_init()
464 config_item_set_name(&subsys->su_group.cg_item, CSCFG_FS_SUBSYS_NAME); in cscfg_configfs_init()
465 subsys->su_group.cg_item.ci_type = ci_type; in cscfg_configfs_init()
467 config_group_init(&subsys->su_group); in cscfg_configfs_init()
468 mutex_init(&subsys->su_mutex); in cscfg_configfs_init()
472 configfs_add_default_group(&cscfg_configs_grp, &subsys->su_group); in cscfg_configfs_init()
475 configfs_add_default_group(&cscfg_features_grp, &subsys->su_group); in cscfg_configfs_init()
477 return configfs_register_subsystem(subsys); in cscfg_configfs_init()
/linux/include/linux/netfilter/
H A Dnfnetlink.h62 static inline u16 nfnl_msg_type(u8 subsys, u8 msg_type) in nfnl_msg_type() argument
64 return subsys << 8 | msg_type; in nfnl_msg_type()
105 #define MODULE_ALIAS_NFNL_SUBSYS(subsys) \ argument
106 MODULE_ALIAS("nfnetlink-subsys-" __stringify(subsys))

1234