/third_party/rust/crates/cxx/src/ |
H A D | cxx_string.rs | 7 use core::cmp::Ordering; 8 use core::fmt::{self, Debug, Display}; 9 use core::hash::{Hash, Hasher}; 10 use core::marker::{PhantomData, PhantomPinned}; 11 use core::mem::MaybeUninit; 12 use core::pin::Pin; 13 use core::slice; 14 use core::str::{self, Utf8Error};
|
/third_party/pulseaudio/src/modules/ |
H A D | reserve-wrap.c | 28 #include <pulsecore/core-error.h> 29 #include <pulsecore/core-util.h> 43 pa_core *core; member 54 pa_core *core; member 77 pa_assert_se(pa_shared_remove(r->core, r->shared_name) >= 0); in reserve_wrapper_free() 130 r->core = c; in pa_reserve_wrapper_get() 219 pa_assert_se(pa_shared_remove(w->core, w->shared_name) >= 0); in reserve_monitor_wrapper_free() 273 w->core = c; in pa_reserve_monitor_wrapper_get()
|
H A D | module-device-manager.c | 37 #include <pulsecore/core-error.h> 39 #include <pulsecore/core-util.h> 42 #include <pulsecore/core-subscribe.h> 100 pa_core *core; member 162 u->core->mainloop->time_free(u->save_time_event); in save_time_callback() 182 u->save_time_event = pa_core_rttime_new(u->core, pa_rtclock_now() + SAVE_INTERVAL, save_time_callback, u); in trigger_save() 367 if (PA_INVALID_INDEX != u->preferred_sinks[role_index] && (s = pa_idxset_get_by_index(u->core->sinks, u->preferred_sinks[role_index]))) in dump_database_helper() 373 if (PA_INVALID_INDEX != u->preferred_sources[role_index] && (s = pa_idxset_get_by_index(u->core->sources, u->preferred_sources[role_index]))) in dump_database_helper() 603 PA_IDXSET_FOREACH(sink, u->core->sinks, idx) { in update_highest_priority_device_indexes() 617 PA_IDXSET_FOREACH(source, u->core in update_highest_priority_device_indexes() [all...] |
/third_party/rust/crates/once_cell/src/ |
H A D | race.rs | 25 use core::sync::atomic; 28 use core::cell::UnsafeCell; 29 use core::marker::PhantomData; 30 use core::num::NonZeroUsize; 186 impl<'a, T> core::fmt::Debug for OnceRef<'a, T> { 187 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() 258 /// core::mem::swap(&mut l, &mut r); 273 use core::{marker::PhantomData, ptr}; 283 impl<T> core [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_hwmon.c | 12 #include "core.h" 60 struct mlxsw_core *core; member 81 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_show() 106 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_max_show() 139 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_rst_store() 144 err = mlxsw_reg_write(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_rst_store() 164 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mfsm), mfsm_pl); in mlxsw_hwmon_fan_rpm_show() 184 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(fore), fore_pl); in mlxsw_hwmon_fan_fault_show() 206 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mfsc), mfsc_pl); in mlxsw_hwmon_pwm_show() 234 err = mlxsw_reg_write(mlxsw_hwmon->core, MLXSW_RE in mlxsw_hwmon_pwm_store() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | sink-input.c | 34 #include <pulsecore/core-format.h> 37 #include <pulsecore/core-subscribe.h> 41 #include <pulsecore/core-util.h> 357 pa_core *core, in pa_sink_input_new() 370 pa_assert(core); in pa_sink_input_new() 399 if ((r = pa_hook_fire(&core->hooks[PA_CORE_HOOK_SINK_INPUT_NEW], data)) < 0) in pa_sink_input_new() 405 pa_sink *sink = pa_namereg_get(core, NULL, PA_NAMEREG_SINK); in pa_sink_input_new() 509 data->resample_method = core->resample_method; in pa_sink_input_new() 513 if ((r = pa_hook_fire(&core->hooks[PA_CORE_HOOK_SINK_INPUT_FIXATE], data)) < 0) in pa_sink_input_new() 534 core in pa_sink_input_new() 355 pa_sink_input_new( pa_sink_input **_i, pa_core *core, pa_sink_input_new_data *data) pa_sink_input_new() argument [all...] |
/third_party/pulseaudio/src/modules/dbus/ |
H A D | iface-core.c | 31 #include <pulsecore/core-util.h> 47 #include "iface-core.h" 93 pa_core *core; member 429 *n = c->core->default_channel_map.channels; in get_default_channels() 433 default_channels[i] = c->core->default_channel_map.map[i]; in get_default_channels() 494 c->core->default_channel_map = new_channel_map; in handle_set_default_channels() 495 c->core->default_sample_spec.channels = n_channels; in handle_set_default_channels() 508 default_sample_format = c->core->default_sample_spec.format; in handle_get_default_sample_format() 529 c->core->default_sample_spec.format = default_sample_format; in handle_set_default_sample_format() 542 default_sample_rate = c->core in handle_get_default_sample_rate() 2171 pa_dbusiface_core_new(pa_core *core) pa_dbusiface_core_new() argument [all...] |
H A D | iface-client.c | 27 #include <pulsecore/core-util.h> 36 pa_dbusiface_core *core; member 170 owner_module = pa_dbusiface_core_get_module_path(c->core, c->client->module); in handle_get_owner_module() 193 playback_streams[i++] = pa_dbusiface_core_get_playback_stream_path(c->core, sink_input); in get_playback_streams() 232 record_streams[i++] = pa_dbusiface_core_get_record_stream_path(c->core, source_output); in get_record_streams() 281 owner_module = pa_dbusiface_core_get_module_path(c->core, c->client->module); in handle_get_all() 386 pa_hook_fire(&c->client->core->hooks[PA_CORE_HOOK_CLIENT_PROPLIST_CHANGED], c->client); in handle_remove_properties() 387 pa_subscription_post(c->client->core, PA_SUBSCRIPTION_EVENT_CLIENT|PA_SUBSCRIPTION_EVENT_CHANGE, c->client->index); in handle_remove_properties() 422 pa_dbusiface_client *pa_dbusiface_client_new(pa_dbusiface_core *core, pa_client *client) { in pa_dbusiface_client_new() argument 425 pa_assert(core); in pa_dbusiface_client_new() [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | module-plts.c | 53 struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : in get_module_plt() 199 * the addend is zero. (Note that calls into the core in count_plts() 223 * To store the PLTs, we expand the .text section for core module code in module_frob_arch_sections() 228 mod->arch.core.plt = s; in module_frob_arch_sections() 235 if (!mod->arch.core.plt || !mod->arch.init.plt) { in module_frob_arch_sections() 267 mod->arch.core.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections() 268 mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 269 mod->arch.core.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections() 270 mod->arch.core.plt->sh_size = round_up(core_plts * PLT_ENT_SIZE, in module_frob_arch_sections() 272 mod->arch.core in module_frob_arch_sections() [all...] |
/kernel/linux/linux-5.10/arch/mips/netlogic/xlp/ |
H A D | nlm_hal.c | 228 static unsigned int nlm_xlp2_get_core_frequency(int node, int core) in nlm_xlp2_get_core_frequency() argument 236 SYS_9XX_CPU_PLL_CTRL0(core)); in nlm_xlp2_get_core_frequency() 238 SYS_9XX_CPU_PLL_CTRL1(core)); in nlm_xlp2_get_core_frequency() 242 SYS_CPU_PLL_CTRL0(core)); in nlm_xlp2_get_core_frequency() 244 SYS_CPU_PLL_CTRL1(core)); in nlm_xlp2_get_core_frequency() 274 static unsigned int nlm_xlp_get_core_frequency(int node, int core) in nlm_xlp_get_core_frequency() argument 286 dfs_div = ((dfsval >> (core * 4)) & 0xf) + 1; in nlm_xlp_get_core_frequency() 295 unsigned int nlm_get_core_frequency(int node, int core) in nlm_get_core_frequency() argument 298 return nlm_xlp2_get_core_frequency(node, core); in nlm_get_core_frequency() 300 return nlm_xlp_get_core_frequency(node, core); in nlm_get_core_frequency() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
H A D | cw1200_sdio.c | 48 struct cw1200_common *core; member 89 if (self->core) in cw1200_sdio_irq_handler() 90 cw1200_irq_handler(self->core); in cw1200_sdio_irq_handler() 102 if (self->core) { in cw1200_gpio_irq() 104 cw1200_irq_handler(self->core); in cw1200_gpio_irq() 300 self, &func->dev, &self->core, in cw1200_sdio_probe() 326 if (self->core) { in cw1200_sdio_disconnect() 327 cw1200_core_release(self->core); in cw1200_sdio_disconnect() 328 self->core = NULL; in cw1200_sdio_disconnect() 345 if (!cw1200_can_suspend(self->core)) in cw1200_sdio_suspend() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/ |
H A D | cw1200_sdio.c | 48 struct cw1200_common *core; member 89 if (self->core) in cw1200_sdio_irq_handler() 90 cw1200_irq_handler(self->core); in cw1200_sdio_irq_handler() 102 if (self->core) { in cw1200_gpio_irq() 104 cw1200_irq_handler(self->core); in cw1200_gpio_irq() 300 self, &func->dev, &self->core, in cw1200_sdio_probe() 326 if (self->core) { in cw1200_sdio_disconnect() 327 cw1200_core_release(self->core); in cw1200_sdio_disconnect() 328 self->core = NULL; in cw1200_sdio_disconnect() 345 if (!cw1200_can_suspend(self->core)) in cw1200_sdio_suspend() [all...] |
/kernel/linux/linux-6.6/rust/alloc/vec/ |
H A D | into_iter.rs | 9 use core::array; 10 use core::fmt; 11 use core::iter::{ 14 use core::marker::PhantomData; 15 use core::mem::{self, ManuallyDrop, MaybeUninit, SizedTypeProperties}; 16 use core::num::NonZeroUsize; 18 use core::ops::Deref; 19 use core::ptr::{self, NonNull}; 20 use core::slice::{self}; 242 fn next_chunk<const N: usize>(&mut self) -> Result<[T; N], core [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcSpirvUtils.cpp | 51 bool is_at_least_gl_46 = (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 6))); in checkGlSpirvSupported() 273 spvtools::SpirvTools core(SPV_ENV_OPENGL_4_5); in spirvAssemble() 275 core.SetMessageConsumer(consumer); in spirvAssemble() 277 if (!core.Assemble(src, &dst)) in spirvAssemble() 283 spvtools::SpirvTools core(SPV_ENV_OPENGL_4_5); in spirvDisassemble() 285 core.SetMessageConsumer(consumer); in spirvDisassemble() 287 if (!core.Disassemble(src, &dst)) in spirvDisassemble() 293 spvtools::SpirvTools core(SPV_ENV_OPENGL_4_5); in spirvValidate() 296 core.SetMessageConsumer(consumer); in spirvValidate() 298 if (!core in spirvValidate() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_env.c | 8 #include "core.h" 19 struct mlxsw_core *core; member 25 static int mlxsw_env_validate_cable_ident(struct mlxsw_core *core, int id, in mlxsw_env_validate_cable_ident() argument 35 err = mlxsw_reg_query(core, MLXSW_REG(mcia), mcia_pl); in mlxsw_env_validate_cable_ident() 125 int mlxsw_env_module_temp_thresholds_get(struct mlxsw_core *core, int module, in mlxsw_env_module_temp_thresholds_get() argument 142 err = mlxsw_reg_query(core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_module_temp_thresholds_get() 161 err = mlxsw_env_validate_cable_ident(core, module, &qsfp, &cmis); in mlxsw_env_module_temp_thresholds_get() 184 err = mlxsw_reg_query(core, MLXSW_REG(mcia), mcia_pl); in mlxsw_env_module_temp_thresholds_get() 463 if (!mlxsw_core_temp_warn_enabled(mlxsw_env->core)) in mlxsw_env_temp_warn_event_unregister() 466 mlxsw_core_trap_unregister(mlxsw_env->core, in mlxsw_env_temp_warn_event_unregister() [all...] |
H A D | switchx2.c | 16 #include "core.h" 30 struct mlxsw_core *core; member 167 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(paos), paos_pl); in mlxsw_sx_port_admin_status_set() 179 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(paos), paos_pl); in mlxsw_sx_port_oper_status_get() 196 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); in __mlxsw_sx_port_mtu_set() 205 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); in __mlxsw_sx_port_mtu_set() 230 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(plib), plib_pl); in mlxsw_sx_port_ib_port_set() 240 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(pspa), pspa_pl); in mlxsw_sx_port_swid_set() 250 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sspr), sspr_pl); in mlxsw_sx_port_system_port_mapping_set() 261 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_RE in mlxsw_sx_port_module_info_get() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
H A D | hfi_venus.h | 11 void venus_hfi_destroy(struct venus_core *core); 12 int venus_hfi_create(struct venus_core *core); 13 void venus_hfi_queues_reinit(struct venus_core *core);
|
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
H A D | hfi_venus.h | 11 void venus_hfi_destroy(struct venus_core *core); 12 int venus_hfi_create(struct venus_core *core); 13 void venus_hfi_queues_reinit(struct venus_core *core);
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | tvp5150.c | 1746 .core = &tvp5150_core_ops, 1836 static int tvp5150_detect_version(struct tvp5150 *core) in tvp5150_detect_version() argument 1838 struct v4l2_subdev *sd = &core->sd; in tvp5150_detect_version() 1847 res = regmap_bulk_read(core->regmap, TVP5150_MSB_DEV_ID, regs, 4); in tvp5150_detect_version() 1853 core->dev_id = (regs[0] << 8) | regs[1]; in tvp5150_detect_version() 1854 core->rom_ver = (regs[2] << 8) | regs[3]; in tvp5150_detect_version() 1857 core->dev_id, regs[2], regs[3], c->addr << 1, in tvp5150_detect_version() 1860 if (core->dev_id == 0x5150 && core->rom_ver == 0x0321) { in tvp5150_detect_version() 1862 } else if (core in tvp5150_detect_version() 2127 struct tvp5150 *core; tvp5150_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | tvp5150.c | 1736 .core = &tvp5150_core_ops, 1826 static int tvp5150_detect_version(struct tvp5150 *core) in tvp5150_detect_version() argument 1828 struct v4l2_subdev *sd = &core->sd; in tvp5150_detect_version() 1837 res = regmap_bulk_read(core->regmap, TVP5150_MSB_DEV_ID, regs, 4); in tvp5150_detect_version() 1843 core->dev_id = (regs[0] << 8) | regs[1]; in tvp5150_detect_version() 1844 core->rom_ver = (regs[2] << 8) | regs[3]; in tvp5150_detect_version() 1847 core->dev_id, regs[2], regs[3], c->addr << 1, in tvp5150_detect_version() 1850 if (core->dev_id == 0x5150 && core->rom_ver == 0x0321) { in tvp5150_detect_version() 1852 } else if (core in tvp5150_detect_version() 2117 struct tvp5150 *core; tvp5150_probe() local [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | cs47l24.c | 18 #include <sound/core.h> 26 #include <linux/mfd/arizona/core.h> 36 struct arizona_priv core; member 1076 struct arizona *arizona = priv->core.arizona; in cs47l24_open() 1090 return wm_adsp_compr_open(&priv->core.adsp[n_adsp], stream); in cs47l24_open() 1096 struct arizona *arizona = priv->core.arizona; in cs47l24_adsp2_irq() 1102 ret = wm_adsp_compr_handle_irq(&priv->core.adsp[i]); in cs47l24_adsp2_irq() 1106 info.core = i; in cs47l24_adsp2_irq() 1125 struct arizona *arizona = priv->core.arizona; in cs47l24_component_probe() 1138 ret = wm_adsp2_component_probe(&priv->core in cs47l24_component_probe() [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | cs47l24.c | 18 #include <sound/core.h> 26 #include <linux/mfd/arizona/core.h> 36 struct arizona_priv core; member 1080 struct arizona *arizona = priv->core.arizona; in cs47l24_open() 1094 return wm_adsp_compr_open(&priv->core.adsp[n_adsp], stream); in cs47l24_open() 1100 struct arizona *arizona = priv->core.arizona; in cs47l24_adsp2_irq() 1106 ret = wm_adsp_compr_handle_irq(&priv->core.adsp[i]); in cs47l24_adsp2_irq() 1110 info.core = i; in cs47l24_adsp2_irq() 1129 struct arizona *arizona = priv->core.arizona; in cs47l24_component_probe() 1142 ret = wm_adsp2_component_probe(&priv->core in cs47l24_component_probe() [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/ |
H A D | render_configuration_component.h | 22 #include <core/ecs/component_struct_macros.h> 23 #include <core/ecs/entity.h> 24 #include <core/ecs/entity_reference.h> 25 #include <core/ecs/intf_component_manager.h>
|
H A D | post_process_configuration_component.h | 24 #include <core/ecs/component_struct_macros.h> 25 #include <core/ecs/entity_reference.h> 26 #include <core/ecs/intf_component_manager.h> 27 #include <core/property/intf_property_handle.h> 34 * Uses the core configuration of PostProcessConfiguration, expect fog control not used/implemented.
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | engine_factory.cpp | 20 #include <core/implementation_uids.h> 21 #include <core/intf_engine.h> 22 #include <core/namespace.h> 23 #include <core/plugin/intf_class_info.h>
|