/kernel/linux/linux-5.10/tools/power/cpupower/lib/ |
H A D | cpupower.c | 113 else if (top1->core < top2->core) in __compare() 115 else if (top1->core > top2->core) in __compare() 129 * Array is sorted after ->pkg, ->core, then ->cpu 147 cpu_top->core_info[cpu].core = -1; in get_cpu_topology() 153 &(cpu_top->core_info[cpu].core)) < 0) { in get_cpu_topology() 155 cpu_top->core_info[cpu].core = -1; in get_cpu_topology() 182 if (cpu_top->core_info[cpu].core == 0) in get_cpu_topology()
|
/kernel/linux/linux-5.10/include/linux/bcma/ |
H A D | bcma_driver_pcie2.h | 146 struct bcma_device *core; member 151 #define pcie2_read16(pcie2, offset) bcma_read16((pcie2)->core, offset) 152 #define pcie2_read32(pcie2, offset) bcma_read32((pcie2)->core, offset) 153 #define pcie2_write16(pcie2, offset, val) bcma_write16((pcie2)->core, offset, val) 154 #define pcie2_write32(pcie2, offset, val) bcma_write32((pcie2)->core, offset, val) 156 #define pcie2_set32(pcie2, offset, set) bcma_set32((pcie2)->core, offset, set) 157 #define pcie2_mask32(pcie2, offset, mask) bcma_mask32((pcie2)->core, offset, mask)
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_port_range.c | 43 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pprr), pprr_pl); in mlxsw_sp_port_range_reg_configure() 163 struct mlxsw_core *core = mlxsw_sp->core; in mlxsw_sp_port_range_init() local 166 if (!MLXSW_CORE_RES_VALID(core, ACL_MAX_L4_PORT_RANGE)) in mlxsw_sp_port_range_init() 168 max = MLXSW_CORE_RES_GET(core, ACL_MAX_L4_PORT_RANGE); in mlxsw_sp_port_range_init() 183 devl_resource_occ_get_register(priv_to_devlink(core), in mlxsw_sp_port_range_init() 195 devl_resource_occ_get_unregister(priv_to_devlink(mlxsw_sp->core), in mlxsw_sp_port_range_fini()
|
/kernel/linux/linux-6.6/include/linux/bcma/ |
H A D | bcma_driver_pcie2.h | 146 struct bcma_device *core; member 151 #define pcie2_read16(pcie2, offset) bcma_read16((pcie2)->core, offset) 152 #define pcie2_read32(pcie2, offset) bcma_read32((pcie2)->core, offset) 153 #define pcie2_write16(pcie2, offset, val) bcma_write16((pcie2)->core, offset, val) 154 #define pcie2_write32(pcie2, offset, val) bcma_write32((pcie2)->core, offset, val) 156 #define pcie2_set32(pcie2, offset, set) bcma_set32((pcie2)->core, offset, set) 157 #define pcie2_mask32(pcie2, offset, mask) bcma_mask32((pcie2)->core, offset, mask)
|
/kernel/linux/linux-6.6/rust/kernel/ |
H A D | types.rs | 7 use core::{ 30 fn into_foreign(self) -> *const core::ffi::c_void; in into_foreign() 38 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> Self::Borrowed<'a>; in borrow() 48 unsafe fn from_foreign(ptr: *const core::ffi::c_void) -> Self; in from_foreign() 54 fn into_foreign(self) -> *const core::ffi::c_void { in into_foreign() 58 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> &'a T { in borrow() 66 unsafe fn from_foreign(ptr: *const core::ffi::c_void) -> Self { in from_foreign() 76 fn into_foreign(self) -> *const core::ffi::c_void { in into_foreign() 77 core::ptr::NonNull::dangling().as_ptr() in into_foreign() 80 unsafe fn borrow<'a>(_: *const core [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/lib/ |
H A D | cpupower.c | 141 else if (top1->core < top2->core) in __compare() 143 else if (top1->core > top2->core) in __compare() 157 * Array is sorted after ->pkg, ->core, then ->cpu 175 cpu_top->core_info[cpu].core = -1; in get_cpu_topology() 181 &(cpu_top->core_info[cpu].core)) < 0) { in get_cpu_topology() 183 cpu_top->core_info[cpu].core = -1; in get_cpu_topology() 210 if (cpu_top->core_info[cpu].core == 0) in get_cpu_topology()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | si476x.c | 21 #include <linux/mfd/si476x-core.h> 68 struct si476x_core *core = i2c_mfd_cell_to_core(codec_dai->dev); in si476x_codec_set_dai_fmt() local 132 si476x_core_lock(core); in si476x_codec_set_dai_fmt() 138 si476x_core_unlock(core); in si476x_codec_set_dai_fmt() 152 struct si476x_core *core = i2c_mfd_cell_to_core(dai->dev); in si476x_codec_hw_params() local 178 si476x_core_lock(core); in si476x_codec_hw_params() 197 si476x_core_unlock(core); in si476x_codec_hw_params()
|
/third_party/rust/crates/cxx/src/ |
H A D | cxx_vector.rs | 7 use core::ffi::c_void; 8 use core::fmt::{self, Debug}; 9 use core::iter::FusedIterator; 10 use core::marker::{PhantomData, PhantomPinned}; 11 use core::mem::{self, ManuallyDrop, MaybeUninit}; 12 use core::pin::Pin; 13 use core::slice;
|
H A D | result.rs | 7 use core::fmt::Display; 8 use core::ptr::{self, NonNull}; 9 use core::result::Result as StdResult; 10 use core::slice; 11 use core::str;
|
/third_party/pulseaudio/src/modules/ |
H A D | module-always-source.c | 27 #include <pulsecore/core.h> 28 #include <pulsecore/core-util.h> 102 /* There's no point in doing anything if the core is shut down anyway */ in put_hook_callback() 140 /* There's no point in doing anything if the core is shut down anyway */ in unlink_hook_callback() 162 pa_module_hook_connect(m, &m->core->hooks[PA_CORE_HOOK_SOURCE_PUT], PA_HOOK_LATE, (pa_hook_cb_t) put_hook_callback, u); in pa__init() 163 pa_module_hook_connect(m, &m->core->hooks[PA_CORE_HOOK_SOURCE_UNLINK], PA_HOOK_EARLY, (pa_hook_cb_t) unlink_hook_callback, u); in pa__init() 169 load_null_source_if_needed(m->core, NULL, u); in pa__init() 182 if (u->null_module != PA_INVALID_INDEX && m->core->state != PA_CORE_SHUTDOWN) in pa__done() 183 pa_module_unload_request_by_index(m->core, u->null_module, true); in pa__done()
|
H A D | module-always-sink.c | 26 #include <pulsecore/core.h> 27 #include <pulsecore/core-util.h> 102 /* There's no point in doing anything if the core is shut down anyway */ in put_hook_callback() 140 /* There's no point in doing anything if the core is shut down anyway */ in unlink_hook_callback() 162 pa_module_hook_connect(m, &m->core->hooks[PA_CORE_HOOK_SINK_PUT], PA_HOOK_LATE, (pa_hook_cb_t) put_hook_callback, u); in pa__init() 163 pa_module_hook_connect(m, &m->core->hooks[PA_CORE_HOOK_SINK_UNLINK], PA_HOOK_EARLY, (pa_hook_cb_t) unlink_hook_callback, u); in pa__init() 169 load_null_sink_if_needed(m->core, NULL, u); in pa__init() 182 if (u->null_module != PA_INVALID_INDEX && m->core->state != PA_CORE_SHUTDOWN) in pa__done() 183 pa_module_unload_request_by_index(m->core, u->null_module, true); in pa__done()
|
H A D | module-card-restore.c | 36 #include <pulsecore/core-error.h> 38 #include <pulsecore/core-util.h> 41 #include <pulsecore/core-subscribe.h> 63 pa_core *core; member 94 u->core->mainloop->time_free(u->save_time_event); in save_time_callback() 105 u->save_time_event = pa_core_rttime_new(u->core, pa_rtclock_now() + SAVE_INTERVAL, save_time_callback, u); in trigger_save() 577 static pa_hook_result_t card_choose_initial_profile_callback(pa_core *core, pa_card *card, struct userdata *u) { in card_choose_initial_profile_callback() argument 618 static pa_hook_result_t card_preferred_port_changed_callback(pa_core *core, pa_card_preferred_port_changed_hook_data *data, in card_preferred_port_changed_callback() argument 665 u->core = m->core; in pa__init() [all...] |
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | module-bluez5-discover.c | 24 #include <pulsecore/core.h> 25 #include <pulsecore/core-util.h> 60 pa_core *core; member 97 pa_module_load(&m, u->module->core, "module-bluez5-device", args); in device_connection_changed_cb() 186 u->core = m->core; in pa__init() 192 if (!(u->discovery = pa_bluetooth_discovery_get(u->core, headset_backend, enable_native_hsp_hs, enable_native_hfp_hf, enable_msbc))) in pa__init()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | cli.c | 29 #include <pulsecore/core-util.h> 45 pa_core *core; member 63 pa_cli* pa_cli_new(pa_core *core, pa_iochannel *io, pa_module *m) { in pa_cli_new() argument 77 client = pa_client_new(core, &data); in pa_cli_new() 84 c->core = core; in pa_cli_new() 153 pa_cli_command_execute_line(c->core, s, buf, &c->fail); in line_callback()
|
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/vixl/test/aarch32/ |
H A D | test-utils-aarch32.h | 184 bool Equal32(uint32_t expected, const RegisterDump* core, const Register& reg); 185 bool Equal32(uint32_t expected, const RegisterDump* core, uint32_t result); 187 const RegisterDump* core, 190 const RegisterDump* core, 194 const RegisterDump* core, 196 bool EqualFP32(float expected, const RegisterDump* core, const SRegister& dreg); 198 const RegisterDump* core,
|
/kernel/linux/linux-5.10/drivers/bcma/ |
H A D | driver_chipcommon_pmu.c | 82 struct bcma_bus *bus = cc->core->bus; in bcma_pmu2_pll_init0() 132 bcma_wait_value(cc->core, BCMA_CLKCTLST, in bcma_pmu2_pll_init0() 150 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_pll_init() 164 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_resources_init() 212 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_bcm4331_ext_pa_lines_ctl() 232 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_workarounds() 276 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_early_init() 279 if (cc->core->id.rev >= 35 && in bcma_pmu_early_init() 281 cc->pmu.core = bcma_find_core(bus, BCMA_CORE_PMU); in bcma_pmu_early_init() 282 if (!cc->pmu.core) in bcma_pmu_early_init() [all...] |
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/ |
H A D | cs-etm.c | 103 evsel->core.attr.config |= (1 << ETM_OPT_CTXTID); in cs_etm_set_context_id() 152 evsel->core.attr.config |= (1 << ETM_OPT_TS); in cs_etm_set_timestamp() 163 struct perf_cpu_map *event_cpus = evsel->evlist->core.cpus; in cs_etm_set_option() 223 if (evsel->core.attr.config2 & GENMASK(31, 0)) in cs_etm_set_sink_attr() 241 evsel->core.attr.config2 |= hash; in cs_etm_set_sink_attr() 261 struct perf_cpu_map *cpus = evlist->core.cpus; in cs_etm_recording_options() 273 if (evsel->core.attr.type == cs_etm_pmu->type) { in cs_etm_recording_options() 279 evsel->core.attr.freq = 0; in cs_etm_recording_options() 280 evsel->core.attr.sample_period = 1; in cs_etm_recording_options() 425 tracking_evsel->core in cs_etm_recording_options() [all...] |
/kernel/linux/linux-6.6/drivers/bcma/ |
H A D | driver_chipcommon_pmu.c | 82 struct bcma_bus *bus = cc->core->bus; in bcma_pmu2_pll_init0() 132 bcma_wait_value(cc->core, BCMA_CLKCTLST, in bcma_pmu2_pll_init0() 150 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_pll_init() 164 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_resources_init() 212 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_bcm4331_ext_pa_lines_ctl() 232 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_workarounds() 276 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_early_init() 279 if (cc->core->id.rev >= 35 && in bcma_pmu_early_init() 281 cc->pmu.core = bcma_find_core(bus, BCMA_CORE_PMU); in bcma_pmu_early_init() 282 if (!cc->pmu.core) in bcma_pmu_early_init() [all...] |
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
H A D | Makefile | 6 coresight-y := coresight-core.o coresight-etm-perf.o coresight-platform.o \ 9 coresight-tmc-y := coresight-tmc-core.o coresight-tmc-etf.o \ 16 coresight-etm3x-y := coresight-etm3x-core.o coresight-etm-cp14.o \ 19 coresight-etm4x-y := coresight-etm4x-core.o coresight-etm4x-sysfs.o 24 coresight-cti-y := coresight-cti-core.o coresight-cti-platform.o \
|
/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...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_hwdep.c | 12 #include <sound/core.h> 44 if (verb < codec->core.start_nid || in get_wcap_ioctl() 45 verb >= codec->core.start_nid + codec->core.num_nodes) { in get_wcap_ioctl() 48 verb -= codec->core.start_nid; in get_wcap_ioctl() 49 verb = array_index_nospec(verb, codec->core.num_nodes); in get_wcap_ioctl()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | openat-syscall-tp-fields.c | 65 perf_thread_map__set_pid(evlist->core.threads, 0, getpid()); in test__syscall_openat_tp_fields() 91 for (i = 0; i < evlist->core.nr_mmaps; i++) { in test__syscall_openat_tp_fields() 96 if (perf_mmap__read_init(&md->core) < 0) in test__syscall_openat_tp_fields() 99 while ((event = perf_mmap__read_event(&md->core)) != NULL) { in test__syscall_openat_tp_fields() 107 perf_mmap__consume(&md->core); in test__syscall_openat_tp_fields() 127 perf_mmap__read_done(&md->core); in test__syscall_openat_tp_fields()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | perf_api_probe.c | 32 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, flags); in perf_do_probe_api() 46 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, flags); in perf_do_probe_api() 83 evsel->core.attr.sample_type |= PERF_SAMPLE_IDENTIFIER; in perf_probe_sample_identifier() 88 evsel->core.attr.comm_exec = 1; in perf_probe_comm_exec() 93 evsel->core.attr.context_switch = 1; in perf_probe_context_switch() 98 evsel->core.attr.text_poke = 1; in perf_probe_text_poke()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | openat-syscall-tp-fields.c | 67 perf_thread_map__set_pid(evlist->core.threads, 0, getpid()); in test__syscall_openat_tp_fields() 93 for (i = 0; i < evlist->core.nr_mmaps; i++) { in test__syscall_openat_tp_fields() 98 if (perf_mmap__read_init(&md->core) < 0) in test__syscall_openat_tp_fields() 101 while ((event = perf_mmap__read_event(&md->core)) != NULL) { in test__syscall_openat_tp_fields() 109 perf_mmap__consume(&md->core); in test__syscall_openat_tp_fields() 129 perf_mmap__read_done(&md->core); in test__syscall_openat_tp_fields()
|