Home
last modified time | relevance | path

Searched refs:subsys (Results 1 - 25 of 157) sorted by relevance

1234567

/kernel/linux/linux-5.10/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 in exynos5422_asv_offset_voltage_setup()
419 exynos5422_asv_opp_get_voltage(const struct exynos_asv_subsys *subsys, int level, unsigned int volt) exynos5422_asv_opp_get_voltage() argument
455 struct exynos_asv_subsys *subsys; exynos5422_asv_init() local
[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); in exynos_asv_probe()
[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()
/kernel/linux/linux-6.6/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 in exynos5422_asv_offset_voltage_setup()
419 exynos5422_asv_opp_get_voltage(const struct exynos_asv_subsys *subsys, int level, unsigned int volt) exynos5422_asv_opp_get_voltage() argument
455 struct exynos_asv_subsys *subsys; exynos5422_asv_init() local
[all...]
H A Dexynos-asv.c28 struct exynos_asv_subsys *subsys = NULL; in exynos_asv_update_cpu_opps() local
33 for (i = 0; i < ARRAY_SIZE(asv->subsys); i++) { in exynos_asv_update_cpu_opps()
35 asv->subsys[i].cpu_dt_compat)) { in exynos_asv_update_cpu_opps()
36 subsys = &asv->subsys[i]; in exynos_asv_update_cpu_opps()
40 if (!subsys) in exynos_asv_update_cpu_opps()
43 for (i = 0; i < subsys->table.num_rows; i++) { in exynos_asv_update_cpu_opps()
47 opp_freq = exynos_asv_opp_get_frequency(subsys, i); in exynos_asv_update_cpu_opps()
58 new_volt = asv->opp_get_voltage(subsys, i, volt); in exynos_asv_update_cpu_opps()
152 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()
/kernel/linux/linux-5.10/drivers/nvme/target/
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 in nvmet_ns_device_uuid_store()
450 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_device_nguid_store() local
632 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); nvmet_ns_make() local
674 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_device_path_show() local
682 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_device_path_store() local
715 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_enable_show() local
723 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_enable_store() local
750 nvmet_add_passthru_group(struct nvmet_subsys *subsys) nvmet_add_passthru_group() argument
760 nvmet_add_passthru_group(struct nvmet_subsys *subsys) nvmet_add_passthru_group() argument
770 struct nvmet_subsys *subsys; nvmet_port_subsys_allow_link() local
813 struct nvmet_subsys *subsys = to_subsys(target); nvmet_port_subsys_drop_link() local
848 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); nvmet_allowed_hosts_allow_link() local
890 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); nvmet_allowed_hosts_drop_link() local
930 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_allow_any_host_store() local
959 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_version_show() local
975 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_version_store() local
998 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_serial_show() local
1082 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_model_show() local
1106 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_model_store() local
1155 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_pi_enable_store() local
1185 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_release() local
1204 struct nvmet_subsys *subsys; nvmet_subsys_make() local
[all...]
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, por in nvmet_port_send_ana_event()
301 nvmet_port_del_ctrls(struct nvmet_port *port, struct nvmet_subsys *subsys) nvmet_port_del_ctrls() argument
547 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_enable() local
613 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_disable() local
664 nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) nvmet_ns_alloc() argument
1197 struct nvmet_subsys *subsys; nvmet_ctrl_find_get() local
1250 nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn) nvmet_host_allowed() argument
1314 struct nvmet_subsys *subsys; nvmet_alloc_ctrl() local
1425 struct nvmet_subsys *subsys = ctrl->subsys; nvmet_ctrl_free() local
1494 struct nvmet_subsys *subsys; nvmet_subsys_alloc() local
1537 struct nvmet_subsys *subsys = nvmet_subsys_free() local
1550 nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys) nvmet_subsys_del_ctrls() argument
1560 nvmet_subsys_put(struct nvmet_subsys *subsys) nvmet_subsys_put() argument
[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()
497 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_enable() argument
504 mutex_lock(&subsys->lock); in nvmet_passthru_ctrl_enable()
505 if (!subsys->passthru_ctrl_path) in nvmet_passthru_ctrl_enable()
507 if (subsys->passthru_ctrl) in nvmet_passthru_ctrl_enable()
510 if (subsys->nr_namespaces) { in nvmet_passthru_ctrl_enable()
515 file = filp_open(subsys->passthru_ctrl_path, O_RDWR, 0); in nvmet_passthru_ctrl_enable()
524 subsys->passthru_ctrl_path); in nvmet_passthru_ctrl_enable()
530 subsys, GFP_KERNE in nvmet_passthru_ctrl_enable()
559 __nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) __nvmet_passthru_ctrl_disable() argument
570 nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) nvmet_passthru_ctrl_disable() argument
577 nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) nvmet_passthru_subsys_free() argument
[all...]
H A Dnvmet.h70 struct nvmet_subsys *subsys; member
166 struct nvmet_subsys *subsys; member
287 struct nvmet_subsys *subsys; member
441 void nvmet_subsys_put(struct nvmet_subsys *subsys);
442 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
448 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
451 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
459 struct nvmet_subsys *subsys);
478 struct nvmet_subsys *subsys);
479 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
558 nvmet_passthru_ctrl(struct nvmet_subsys *subsys) nvmet_passthru_ctrl() argument
563 nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) nvmet_passthru_subsys_free() argument
566 nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) nvmet_passthru_ctrl_disable() argument
577 nvmet_passthru_ctrl(struct nvmet_subsys *subsys) nvmet_passthru_ctrl() argument
[all...]
/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dconfigfs.c346 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_path_store() local
350 mutex_lock(&subsys->lock); in nvmet_ns_device_path_store()
366 mutex_unlock(&subsys->lock); in nvmet_ns_device_path_store()
370 mutex_unlock(&subsys->lock); in nvmet_ns_device_path_store()
393 mutex_lock(&ns->subsys->lock); in nvmet_ns_p2pmem_store()
410 mutex_unlock(&ns->subsys->lock); in nvmet_ns_p2pmem_store()
427 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_uuid_store() local
430 mutex_lock(&subsys in nvmet_ns_device_uuid_store()
455 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_device_nguid_store() local
639 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); nvmet_ns_make() local
681 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_device_path_show() local
689 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_device_path_store() local
722 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_enable_show() local
730 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_enable_store() local
755 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_admin_timeout_store() local
774 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_io_timeout_store() local
793 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); nvmet_passthru_clear_ids_store() local
817 nvmet_add_passthru_group(struct nvmet_subsys *subsys) nvmet_add_passthru_group() argument
827 nvmet_add_passthru_group(struct nvmet_subsys *subsys) nvmet_add_passthru_group() argument
837 struct nvmet_subsys *subsys; nvmet_port_subsys_allow_link() local
880 struct nvmet_subsys *subsys = to_subsys(target); nvmet_port_subsys_drop_link() local
915 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); nvmet_allowed_hosts_allow_link() local
957 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); nvmet_allowed_hosts_drop_link() local
997 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_allow_any_host_store() local
1026 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_version_show() local
1040 nvmet_subsys_attr_version_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) nvmet_subsys_attr_version_store_locked() argument
1075 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_version_store() local
1097 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_serial_show() local
1104 nvmet_subsys_attr_serial_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) nvmet_subsys_attr_serial_store_locked() argument
1136 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_serial_store() local
1212 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_model_show() local
1217 nvmet_subsys_attr_model_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) nvmet_subsys_attr_model_store_locked() argument
1255 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_model_store() local
1271 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_ieee_oui_show() local
1276 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
1303 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_ieee_oui_store() local
1319 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_firmware_show() local
1324 nvmet_subsys_attr_firmware_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) nvmet_subsys_attr_firmware_store_locked() argument
1365 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_firmware_store() local
1388 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_pi_enable_store() local
1409 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_attr_qid_max_store() local
1452 struct nvmet_subsys *subsys = to_subsys(item); nvmet_subsys_release() local
1471 struct nvmet_subsys *subsys; nvmet_subsys_make() local
[all...]
H A Dcore.c123 static u32 nvmet_max_nsid(struct nvmet_subsys *subsys) in nvmet_max_nsid() argument
129 xa_for_each(&subsys->namespaces, idx, cur) in nvmet_max_nsid()
241 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed() argument
245 lockdep_assert_held(&subsys->lock); in nvmet_ns_changed()
247 list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) { in nvmet_ns_changed()
257 void nvmet_send_ana_event(struct nvmet_subsys *subsys, in nvmet_send_ana_event() argument
262 mutex_lock(&subsys->lock); in nvmet_send_ana_event()
263 list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) { in nvmet_send_ana_event()
271 mutex_unlock(&subsys->lock); in nvmet_send_ana_event()
280 nvmet_send_ana_event(p->subsys, por in nvmet_port_send_ana_event()
307 nvmet_port_del_ctrls(struct nvmet_port *port, struct nvmet_subsys *subsys) nvmet_port_del_ctrls() argument
554 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_enable() local
620 struct nvmet_subsys *subsys = ns->subsys; nvmet_ns_disable() local
671 nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) nvmet_ns_alloc() argument
1239 struct nvmet_subsys *subsys; nvmet_ctrl_find_get() local
1297 nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn) nvmet_host_allowed() argument
1361 struct nvmet_subsys *subsys; nvmet_alloc_ctrl() local
1478 struct nvmet_subsys *subsys = ctrl->subsys; nvmet_ctrl_free() local
1549 struct nvmet_subsys *subsys; nvmet_subsys_alloc() local
1618 struct nvmet_subsys *subsys = nvmet_subsys_free() local
1632 nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys) nvmet_subsys_del_ctrls() argument
1642 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->clear_ids) in nvmet_passthru_override_id_descs()
83 struct nvme_ctrl *pctrl = ctrl->subsys->passthru_ctrl; in nvmet_passthru_override_id_ctrl()
98 id->ver = cpu_to_le32(ctrl->subsys->ver); in nvmet_passthru_override_id_ctrl()
202 if (req->sq->ctrl->subsys->clear_ids) { in nvmet_passthru_override_id_ns()
573 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_enable() argument
580 mutex_lock(&subsys->lock); in nvmet_passthru_ctrl_enable()
581 if (!subsys->passthru_ctrl_path) in nvmet_passthru_ctrl_enable()
583 if (subsys->passthru_ctrl) in nvmet_passthru_ctrl_enable()
586 if (subsys in nvmet_passthru_ctrl_enable()
635 __nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) __nvmet_passthru_ctrl_disable() argument
646 nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) nvmet_passthru_ctrl_disable() argument
653 nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) nvmet_passthru_subsys_free() argument
[all...]
H A Dnvmet.h73 struct nvmet_subsys *subsys; member
182 struct nvmet_subsys *subsys; member
323 struct nvmet_subsys *subsys; member
491 void nvmet_subsys_put(struct nvmet_subsys *subsys);
492 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
498 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
501 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
509 struct nvmet_subsys *subsys);
528 struct nvmet_subsys *subsys);
529 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
615 nvmet_is_disc_subsys(struct nvmet_subsys *subsys) nvmet_is_disc_subsys() argument
626 nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) nvmet_is_passthru_subsys() argument
631 nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) nvmet_passthru_subsys_free() argument
634 nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) nvmet_passthru_ctrl_disable() argument
645 nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) nvmet_is_passthru_subsys() argument
[all...]
H A Ddiscovery.c29 struct nvmet_subsys *subsys) in nvmet_port_disc_changed()
38 if (subsys && !nvmet_host_allowed(subsys, ctrl->hostnqn)) in nvmet_port_disc_changed()
51 struct nvmet_subsys *subsys, in __nvmet_subsys_disc_changed()
66 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys, in nvmet_subsys_disc_changed() argument
77 if (s->subsys != subsys) in nvmet_subsys_disc_changed()
79 __nvmet_subsys_disc_changed(port, subsys, host); in nvmet_subsys_disc_changed()
152 if (!nvmet_host_allowed(p->subsys, ctrl->hostnqn)) in discovery_log_entries()
217 if (!nvmet_host_allowed(p->subsys, ctr in nvmet_execute_disc_get_log_page()
28 nvmet_port_disc_changed(struct nvmet_port *port, struct nvmet_subsys *subsys) nvmet_port_disc_changed() argument
50 __nvmet_subsys_disc_changed(struct nvmet_port *port, struct nvmet_subsys *subsys, struct nvmet_host *host) __nvmet_subsys_disc_changed() argument
[all...]
/kernel/linux/linux-5.10/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()
348 * @subsys: subsystem
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 in bus_add_device()
989 subsys_dev_iter_init(struct subsys_dev_iter *iter, struct bus_type *subsys, struct device *start, const struct device_type *type) subsys_dev_iter_init() argument
1044 struct bus_type *subsys; subsys_interface_register() local
1071 struct bus_type *subsys; subsys_interface_unregister() local
1099 subsys_register(struct bus_type *subsys, const struct attribute_group **groups, struct kobject *parent_of_root) subsys_register() argument
1159 subsys_system_register(struct bus_type *subsys, const struct attribute_group **groups) subsys_system_register() argument
1177 subsys_virtual_register(struct bus_type *subsys, const struct attribute_group **groups) subsys_virtual_register() argument
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
[all...]
/kernel/linux/linux-6.6/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()
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dget_feat.pl104 my $subsys = "";
105 $subsys = $2 if ( m,.*($prefix)/([^/]+).*,);
107 if (length($subsys) > $max_size_subsys) {
108 $max_size_subsys = length($subsys);
189 parse_error($file, $ln, "Subsystem not found", "") if (!$subsys);
199 $data{$name}->{subsys} = $subsys;
245 ($data{$a}->{subsys} cmp $data{$b}->{subsys}) ||
251 printf "%-${max_size_subsys}s ", $data{$name}->{subsys};
[all...]
/kernel/linux/linux-5.10/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 in configfs_example_init()
[all...]
/kernel/linux/linux-6.6/samples/configfs/
H A Dconfigfs_sample.c32 struct configfs_subsystem subsys; member
40 struct childless, subsys); in to_childless()
100 .subsys = {
324 &childless_subsys.subsys,
332 struct configfs_subsystem *subsys; in configfs_example_init() local
336 subsys = example_subsys[i]; in configfs_example_init()
338 config_group_init(&subsys->su_group); in configfs_example_init()
339 mutex_init(&subsys->su_mutex); in configfs_example_init()
340 ret = configfs_register_subsystem(subsys); in configfs_example_init()
343 ret, subsys in configfs_example_init()
[all...]
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dsysfs.c53 struct nvme_subsystem *subsys = head->subsys; in wwid_show() local
54 int serial_len = sizeof(subsys->serial); in wwid_show()
55 int model_len = sizeof(subsys->model); in wwid_show()
66 while (serial_len > 0 && (subsys->serial[serial_len - 1] == ' ' || in wwid_show()
67 subsys->serial[serial_len - 1] == '\0')) in wwid_show()
69 while (model_len > 0 && (subsys->model[model_len - 1] == ' ' || in wwid_show()
70 subsys->model[model_len - 1] == '\0')) in wwid_show()
73 return sysfs_emit(buf, "nvme.%04x-%*phN-%*phN-%08x\n", subsys->vendor_id, in wwid_show()
74 serial_len, subsys in wwid_show()
609 struct nvme_subsystem *subsys = nvme_subsys_show_nqn() local
620 struct nvme_subsystem *subsys = nvme_subsys_show_type() local
[all...]
/kernel/linux/linux-6.6/include/linux/soc/mediatek/
H A Dmtk-cmdq.h20 u8 subsys; member
80 * @subsys: the CMDQ sub system code
86 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value);
91 * @subsys: the CMDQ sub system code
98 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys,
122 * Support write value to physical address without subsys. Use CMDQ_ADDR_HIGH()
140 * Support write value to physical address without subsys. Use CMDQ_ADDR_HIGH()
211 * @subsys: the CMDQ sub system code
217 int cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys,
227 * @subsys
304 cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) cmdq_pkt_write() argument
309 cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) cmdq_pkt_write_mask() argument
360 cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) cmdq_pkt_poll() argument
366 cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) cmdq_pkt_poll_mask() argument
[all...]
/kernel/linux/linux-5.10/fs/configfs/
H A Ddir.c41 * subsys->su_mutex is held.
748 * subsys->su_mutex is held.
806 struct configfs_subsystem *subsys = NULL; /* gcc is a turd */ in link_group() local
811 subsys = parent_group->cg_subsys; in link_group()
813 subsys = to_configfs_subsystem(group); in link_group()
816 group->cg_subsys = subsys; in link_group()
1134 int configfs_depend_item(struct configfs_subsystem *subsys, in configfs_depend_item() argument
1139 struct config_item *s_item = &subsys->su_group.cg_item; in configfs_depend_item()
1163 /* Ok, now we can trust subsys/s_item */ in configfs_depend_item()
1209 * determine if we should lock root and check subsys o
1287 struct configfs_subsystem *subsys; configfs_mkdir() local
1467 struct configfs_subsystem *subsys; configfs_rmdir() local
1756 struct configfs_subsystem *subsys = parent_group->cg_subsys; configfs_register_group() local
1800 struct configfs_subsystem *subsys = group->cg_subsys; configfs_unregister_group() local
1874 configfs_register_subsystem(struct configfs_subsystem *subsys) configfs_register_subsystem() argument
1934 configfs_unregister_subsystem(struct configfs_subsystem *subsys) configfs_unregister_subsystem() argument
[all...]

Completed in 22 milliseconds

1234567