/linux-master/tools/power/x86/intel-speed-select/ |
H A D | isst-core.c | 63 int isst_is_punit_valid(struct isst_id *id) argument 66 return isst_ops->is_punit_valid(id); 106 int isst_read_pm_config(struct isst_id *id, int *cp_state, int *cp_cap) argument 109 return isst_ops->read_pm_config(id, cp_state, cp_cap); 112 int isst_get_ctdp_levels(struct isst_id *id, struct isst_pkg_ctdp *pkg_dev) argument 115 return isst_ops->get_config_levels(id, pkg_dev); 118 int isst_get_ctdp_control(struct isst_id *id, int config_index, argument 122 return isst_ops->get_ctdp_control(id, config_index, ctdp_level); 125 int isst_get_tdp_info(struct isst_id *id, int config_index, argument 129 return isst_ops->get_tdp_info(id, config_inde 132 isst_get_pwr_info(struct isst_id *id, int config_index, struct isst_pkg_ctdp_level_info *ctdp_level) argument 139 isst_get_coremask_info(struct isst_id *id, int config_index, struct isst_pkg_ctdp_level_info *ctdp_level) argument 146 isst_get_get_trl_from_msr(struct isst_id *id, int *trl) argument 167 isst_get_get_trl(struct isst_id *id, int level, int avx_level, int *trl) argument 173 isst_get_get_trls(struct isst_id *id, int level, struct isst_pkg_ctdp_level_info *ctdp_level) argument 179 isst_get_trl_bucket_info(struct isst_id *id, int level, unsigned long long *buckets_info) argument 185 isst_set_tdp_level(struct isst_id *id, int tdp_level) argument 191 isst_get_pbf_info(struct isst_id *id, int level, struct isst_pbf_info *pbf_info) argument 223 isst_set_pbf_fact_status(struct isst_id *id, int pbf, int enable) argument 231 isst_get_fact_info(struct isst_id *id, int level, int fact_bucket, struct isst_fact_info *fact_info) argument 260 isst_get_trl(struct isst_id *id, unsigned long long *trl) argument 271 isst_set_trl(struct isst_id *id, unsigned long long trl) argument 285 isst_set_trl_from_current_tdp(struct isst_id *id, unsigned long long trl) argument 323 isst_get_config_tdp_lock_status(struct isst_id *id) argument 337 isst_get_process_ctdp_complete(struct isst_id *id, struct isst_pkg_ctdp *pkg_dev) argument 354 isst_adjust_uncore_freq(struct isst_id *id, int config_index, struct isst_pkg_ctdp_level_info *ctdp_level) argument 361 isst_get_process_ctdp(struct isst_id *id, int tdp_level, struct isst_pkg_ctdp *pkg_dev) argument 463 isst_clos_get_clos_information(struct isst_id *id, int *enable, int *type) argument 469 isst_pm_qos_config(struct isst_id *id, int enable_clos, int priority_type) argument 475 isst_pm_get_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) argument 481 isst_set_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) argument 487 isst_clos_get_assoc_status(struct isst_id *id, int *clos_id) argument 493 isst_clos_associate(struct isst_id *id, int clos_id) argument [all...] |
H A D | isst-core-tpmi.c | 115 static int tpmi_is_punit_valid(struct isst_id *id) argument 120 if (id->punit < 0) 123 info.socket_id = id->pkg; 128 if (info.valid_mask & BIT(id->punit)) 134 static int tpmi_read_pm_config(struct isst_id *id, int *cp_state, int *cp_cap) argument 140 info.socket_id = id->pkg; 141 info.power_domain_id = id->punit; 152 int tpmi_get_config_levels(struct isst_id *id, struct isst_pkg_ctdp *pkg_dev) argument 157 info.socket_id = id->pkg; 158 info.power_domain_id = id 174 tpmi_get_ctdp_control(struct isst_id *id, int config_index, struct isst_pkg_ctdp_level_info *ctdp_level) argument 221 tpmi_get_tdp_info(struct isst_id *id, int config_index, struct isst_pkg_ctdp_level_info *ctdp_level) argument 258 tpmi_get_pwr_info(struct isst_id *id, int config_index, struct isst_pkg_ctdp_level_info *ctdp_level) argument 273 tpmi_get_coremask_info(struct isst_id *id, int config_index, struct isst_pkg_ctdp_level_info *ctdp_level) argument 299 tpmi_get_get_trls(struct isst_id *id, int config_index, struct isst_pkg_ctdp_level_info *ctdp_level) argument 326 tpmi_get_get_trl(struct isst_id *id, int level, int config_index, int *trl) argument 343 tpmi_get_trl_bucket_info(struct isst_id *id, int config_index, unsigned long long *buckets_info) argument 370 tpmi_set_tdp_level(struct isst_id *id, int tdp_level) argument 386 _pbf_get_coremask_info(struct isst_id *id, int config_index, struct isst_pbf_info *pbf_info) argument 411 tpmi_get_pbf_info(struct isst_id *id, int level, struct isst_pbf_info *pbf_info) argument 437 tpmi_set_pbf_fact_status(struct isst_id *id, int pbf, int enable) argument 491 tpmi_get_fact_info(struct isst_id *id, int level, int fact_bucket, struct isst_fact_info *fact_info) argument 527 _set_uncore_min_max(struct isst_id *id, int max, int freq) argument 595 tpmi_adjust_uncore_freq(struct isst_id *id, int config_index, struct isst_pkg_ctdp_level_info *ctdp_level) argument 622 tpmi_get_clos_information(struct isst_id *id, int *enable, int *type) argument 640 tpmi_pm_qos_config(struct isst_id *id, int enable_clos, int priority_type) argument 672 tpmi_pm_get_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) argument 699 tpmi_set_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) argument 742 tpmi_clos_get_assoc_status(struct isst_id *id, int *clos_id) argument 763 tpmi_clos_associate(struct isst_id *id, int clos_id) argument [all...] |
/linux-master/sound/ |
H A D | ac97_bus.c | 19 * @id: The ID to compare to 20 * @id_mask: Mask that is applied to the device ID before comparing to @id 22 * If @id is 0 this function returns true if the read device vendor ID is 23 * a valid ID. If @id is non 0 this functions returns true if @id 26 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, argument 29 ac97->id = ac97->bus->ops->read(ac97, AC97_VENDOR_ID1) << 16; 30 ac97->id |= ac97->bus->ops->read(ac97, AC97_VENDOR_ID2); 32 if (ac97->id == 0x0 || ac97->id 55 snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, unsigned int id_mask) argument [all...] |
/linux-master/drivers/tc/ |
H A D | tc-driver.c | 62 const struct tc_device_id *id = tdrv->id_table; local 64 if (id) { 65 while (id->name[0] || id->vendor[0]) { 66 if (strcmp(tdev->name, id->name) == 0 && 67 strcmp(tdev->vendor, id->vendor) == 0) 68 return id; 69 id++; 89 const struct tc_device_id *id; local 91 id [all...] |
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | igt_reset.c | 17 enum intel_engine_id id; local 25 for_each_engine(engine, gt, id) { 26 while (test_and_set_bit(I915_RESET_ENGINE + id, 28 wait_on_bit(>->reset.flags, I915_RESET_ENGINE + id, 36 enum intel_engine_id id; local 38 for_each_engine(engine, gt, id) 39 clear_and_wake_up_bit(I915_RESET_ENGINE + id, >->reset.flags);
|
/linux-master/drivers/remoteproc/ |
H A D | mtk_scp_ipi.c | 24 * @id: IPI ID 33 u32 id, 40 if (WARN_ON(id >= SCP_IPI_MAX) || WARN_ON(handler == NULL)) 43 scp_ipi_lock(scp, id); 44 scp->ipi_desc[id].handler = handler; 45 scp->ipi_desc[id].priv = priv; 46 scp_ipi_unlock(scp, id); 56 * @id: IPI ID 60 void scp_ipi_unregister(struct mtk_scp *scp, u32 id) argument 65 if (WARN_ON(id > 32 scp_ipi_register(struct mtk_scp *scp, u32 id, scp_ipi_handler_t handler, void *priv) argument 119 scp_ipi_lock(struct mtk_scp *scp, u32 id) argument 135 scp_ipi_unlock(struct mtk_scp *scp, u32 id) argument 159 scp_ipi_send(struct mtk_scp *scp, u32 id, void *buf, unsigned int len, unsigned int wait) argument [all...] |
/linux-master/include/xen/interface/io/ |
H A D | pvcalls.h | 44 uint64_t id; member in struct:xen_pvcalls_request::__anon189::xen_pvcalls_socket 50 uint64_t id; member in struct:xen_pvcalls_request::__anon189::xen_pvcalls_connect 58 uint64_t id; member in struct:xen_pvcalls_request::__anon189::xen_pvcalls_release 62 uint64_t id; member in struct:xen_pvcalls_request::__anon189::xen_pvcalls_bind 67 uint64_t id; member in struct:xen_pvcalls_request::__anon189::xen_pvcalls_listen 71 uint64_t id; member in struct:xen_pvcalls_request::__anon189::xen_pvcalls_accept 77 uint64_t id; member in struct:xen_pvcalls_request::__anon189::xen_pvcalls_poll 94 uint64_t id; member in struct:xen_pvcalls_response::__anon190::_xen_pvcalls_socket 97 uint64_t id; member in struct:xen_pvcalls_response::__anon190::_xen_pvcalls_connect 100 uint64_t id; member in struct:xen_pvcalls_response::__anon190::_xen_pvcalls_release 103 uint64_t id; member in struct:xen_pvcalls_response::__anon190::_xen_pvcalls_bind 106 uint64_t id; member in struct:xen_pvcalls_response::__anon190::_xen_pvcalls_listen 109 uint64_t id; member in struct:xen_pvcalls_response::__anon190::_xen_pvcalls_accept 112 uint64_t id; member in struct:xen_pvcalls_response::__anon190::_xen_pvcalls_poll [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | debug.h | 65 typedef int (debug_header_proc_t) (debug_info_t *id, 71 typedef int (debug_format_proc_t) (debug_info_t *id, 74 typedef int (debug_prolog_proc_t) (debug_info_t *id, 77 typedef int (debug_input_proc_t) (debug_info_t *id, 83 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, 100 debug_entry_t *debug_event_common(debug_info_t *id, int level, 103 debug_entry_t *debug_exception_common(debug_info_t *id, int level, 115 void debug_unregister(debug_info_t *id); 117 void debug_set_level(debug_info_t *id, int new_level); 127 * @id 133 debug_level_enabled(debug_info_t *id, int level) argument 151 debug_event(debug_info_t *id, int level, void *data, int length) argument 171 debug_int_event(debug_info_t *id, int level, unsigned int tag) argument 193 debug_long_event(debug_info_t *id, int level, unsigned long tag) argument 215 debug_text_event(debug_info_t *id, int level, const char *txt) argument 275 debug_exception(debug_info_t *id, int level, void *data, int length) argument 296 debug_int_exception(debug_info_t *id, int level, unsigned int tag) argument 319 debug_long_exception(debug_info_t *id, int level, unsigned long tag) argument 343 debug_text_exception(debug_info_t *id, int level, const char *txt) argument [all...] |
/linux-master/drivers/gpu/host1x/hw/ |
H A D | intr_hw.c | 26 unsigned int i, id; local 38 for_each_set_bit(id, ®, 32) 39 host1x_intr_handle_interrupt(host, i * 32 + id); 73 u32 id; local 81 for (id = 0; id < host->info->nb_pts; id++) { 82 u32 reg_offset = id / 32; 85 host1x_sync_writel(host, irq_index, HOST1X_SYNC_SYNCPT_INTR_DEST(id)); 119 unsigned int id, 118 host1x_intr_set_syncpt_threshold(struct host1x *host, unsigned int id, u32 thresh) argument 125 host1x_intr_enable_syncpt_intr(struct host1x *host, unsigned int id) argument 132 host1x_intr_disable_syncpt_intr(struct host1x *host, unsigned int id) argument [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | audio_manager.c | 25 static struct gb_audio_manager_module *gb_audio_manager_get_locked(int id) argument 29 if (id < 0) 33 if (module->id == id) 44 int id; local 47 id = ida_alloc(&module_id, GFP_KERNEL); 48 if (id < 0) 49 return id; 52 id, desc); 54 ida_free(&module_id, id); 67 gb_audio_manager_remove(int id) argument 108 gb_audio_manager_get_module(int id) argument 126 gb_audio_manager_dump_module(int id) argument [all...] |
/linux-master/sound/isa/ad1816a/ |
H A D | ad1816a.c | 27 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 40 module_param_array(id, charp, NULL, 0444); 41 MODULE_PARM_DESC(id, "ID string for ad1816a based soundcard."); 49 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } }, 51 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 53 { .id 78 snd_card_ad1816a_pnp(int dev, struct pnp_card_link *card, const struct pnp_card_device_id *id) argument 193 snd_ad1816a_pnp_detect(struct pnp_card_link *card, const struct pnp_card_device_id *id) argument [all...] |
/linux-master/arch/s390/kvm/ |
H A D | trace-s390.h | 43 TP_PROTO(unsigned int id, struct kvm_vcpu *vcpu, 45 TP_ARGS(id, vcpu, sie_block), 48 __field(unsigned int, id) 54 __entry->id = id; 60 __entry->id, __entry->vcpu, __entry->sie_block) 64 TP_PROTO(unsigned int id), 65 TP_ARGS(id), 68 __field(unsigned int, id) 72 __entry->id [all...] |
/linux-master/security/integrity/ |
H A D | digsig.c | 42 static struct key *integrity_keyring_from_id(const unsigned int id) argument 44 if (id >= INTEGRITY_KEYRING_MAX) 47 if (!keyring[id]) { 48 keyring[id] = 49 request_key(&key_type_keyring, keyring_name[id], NULL); 50 if (IS_ERR(keyring[id])) { 51 int err = PTR_ERR(keyring[id]); 52 pr_err("no %s keyring: %d\n", keyring_name[id], err); 53 keyring[id] = NULL; 58 return keyring[id]; 61 integrity_digsig_verify(const unsigned int id, const char *sig, int siglen, const char *digest, int digestlen) argument 87 integrity_modsig_verify(const unsigned int id, const struct modsig *modsig) argument 98 __integrity_init_keyring(const unsigned int id, key_perm_t perm, struct key_restriction *restriction) argument 125 integrity_init_keyring(const unsigned int id) argument 168 integrity_add_key(const unsigned int id, const void *data, off_t size, key_perm_t perm) argument 194 integrity_load_x509(const unsigned int id, const char *path) argument 218 integrity_load_cert(const unsigned int id, const char *source, const void *data, size_t len, key_perm_t perm) argument [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | test_vxlan_under_vrf.sh | 71 id=$1 73 ip link set veth-hv-$id netns ${hv[$id]} 74 ip -netns ${hv[$id]} link set veth-hv-$id name veth0 76 ip -netns ${hv[$id]} link add vrf-underlay type vrf table 1 77 ip -netns ${hv[$id]} link set vrf-underlay up 78 ip -netns ${hv[$id]} addr add 172.16.0.$id/24 dev veth0 79 ip -netns ${hv[$id]} lin [all...] |
/linux-master/drivers/clk/at91/ |
H A D | at91sam9x5.c | 45 u8 id; member in struct:__anon9 51 { .n = "ddrck", .p = "masterck_div", .id = 2, .flags = CLK_IS_CRITICAL }, 52 { .n = "smdck", .p = "smdclk", .id = 4 }, 53 { .n = "uhpck", .p = "usbck", .id = 6 }, 54 { .n = "udpck", .p = "usbck", .id = 7 }, 55 { .n = "pck0", .p = "prog0", .id = 8 }, 56 { .n = "pck1", .p = "prog1", .id = 9 }, 68 u8 id; member in struct:pck 72 { .n = "pioAB_clk", .id = 2, }, 73 { .n = "pioCD_clk", .id [all...] |
H A D | at91sam9g45.c | 44 u8 id; member in struct:__anon5 50 { .n = "ddrck", .p = "masterck_div", .id = 2, .flags = CLK_IS_CRITICAL }, 51 { .n = "uhpck", .p = "usbck", .id = 6 }, 52 { .n = "pck0", .p = "prog0", .id = 8 }, 53 { .n = "pck1", .p = "prog1", .id = 9 }, 58 u8 id; member in struct:pck 62 { .n = "pioA_clk", .id = 2, }, 63 { .n = "pioB_clk", .id = 3, }, 64 { .n = "pioC_clk", .id = 4, }, 65 { .n = "pioDE_clk", .id [all...] |
/linux-master/tools/perf/util/ |
H A D | perf_regs.c | 33 const char *perf_reg_name(int id, const char *arch) argument 38 reg_name = __perf_reg_name_csky(id); 40 reg_name = __perf_reg_name_loongarch(id); 42 reg_name = __perf_reg_name_mips(id); 44 reg_name = __perf_reg_name_powerpc(id); 46 reg_name = __perf_reg_name_riscv(id); 48 reg_name = __perf_reg_name_s390(id); 50 reg_name = __perf_reg_name_x86(id); 52 reg_name = __perf_reg_name_arm(id); 54 reg_name = __perf_reg_name_arm64(id); 59 perf_reg_value(u64 *valp, struct regs_dump *regs, int id) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | gpio.h | 41 enum gpio_id id; member in struct:gpio 56 enum gpio_id id, 60 enum gpio_id id, 64 enum gpio_id id, 68 enum gpio_id id, 72 enum gpio_id id, 76 enum gpio_id id, 80 enum gpio_id id, 87 enum gpio_id *id, 90 enum gpio_id id, [all...] |
/linux-master/include/net/netfilter/ |
H A D | nf_conntrack_extend.h | 45 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) argument 47 return !!ext->offset[id]; 50 static inline bool nf_ct_ext_exist(const struct nf_conn *ct, u8 id) argument 52 return (ct->ext && __nf_ct_ext_exist(ct->ext, id)); 55 void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id); 57 static inline void *nf_ct_ext_find(const struct nf_conn *ct, u8 id) argument 61 if (!ext || !__nf_ct_ext_exist(ext, id)) 65 return __nf_ct_ext_find(ext, id); 67 return (void *)ct->ext + ct->ext->offset[id]; 71 void *nf_ct_ext_add(struct nf_conn *ct, enum nf_ct_ext_id id, gfp_ [all...] |
/linux-master/arch/m68k/emu/ |
H A D | natfeat.c | 68 long id = nf_get_id("NF_SHUTDOWN"); local 70 if (id) 71 nf_call(id); 76 unsigned long id, version; local 79 id = nf_get_id("NF_VERSION"); 80 if (!id) 82 version = nf_call(id); 84 id = nf_get_id("NF_NAME"); 85 if (!id) 87 nf_call(id, virt_to_phy [all...] |
/linux-master/drivers/clk/qcom/ |
H A D | reset.c | 14 static int qcom_reset(struct reset_controller_dev *rcdev, unsigned long id) argument 18 rcdev->ops->assert(rcdev, id); 19 fsleep(rst->reset_map[id].udelay ?: 1); /* use 1 us as default */ 21 rcdev->ops->deassert(rcdev, id); 26 unsigned long id, bool assert) 33 map = &rst->reset_map[id]; 44 static int qcom_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 46 return qcom_reset_set_assert(rcdev, id, true); 49 static int qcom_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 51 return qcom_reset_set_assert(rcdev, id, fals 25 qcom_reset_set_assert(struct reset_controller_dev *rcdev, unsigned long id, bool assert) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ids.c | 156 * @id: VMID structure 161 struct amdgpu_vmid *id) 163 return id->current_gpu_reset_count != 168 static bool amdgpu_vmid_gds_switch_needed(struct amdgpu_vmid *id, argument 171 return id->gds_base != job->gds_base || 172 id->gds_size != job->gds_size || 173 id->gws_base != job->gws_base || 174 id->gws_size != job->gws_size || 175 id->oa_base != job->oa_base || 176 id 160 amdgpu_vmid_had_gpu_reset(struct amdgpu_device *adev, struct amdgpu_vmid *id) argument 180 amdgpu_vmid_compatible(struct amdgpu_vmid *id, struct amdgpu_job *job) argument 270 amdgpu_vmid_grab_reserved(struct amdgpu_vm *vm, struct amdgpu_ring *ring, struct amdgpu_job *job, struct amdgpu_vmid **id, struct dma_fence **fence) argument 331 amdgpu_vmid_grab_used(struct amdgpu_vm *vm, struct amdgpu_ring *ring, struct amdgpu_job *job, struct amdgpu_vmid **id, struct dma_fence **fence) argument 401 struct amdgpu_vmid *id = NULL; local 468 struct amdgpu_vmid *id; local 509 struct amdgpu_vmid *id = &id_mgr->ids[vmid]; local 594 struct amdgpu_vmid *id = &id_mgr->ids[j]; local [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | cgrp_kfunc_common.h | 32 s32 id; local 35 status = bpf_probe_read_kernel(&id, sizeof(id), &cgrp->self.id); 39 return bpf_map_lookup_elem(&__cgrps_kfunc_map, &id); 47 s32 id; local 49 status = bpf_probe_read_kernel(&id, sizeof(id), &cgrp->self.id); 54 status = bpf_map_update_elem(&__cgrps_kfunc_map, &id, [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | ddc_regs.h | 34 #define DDC_GPIO_REG_LIST_ENTRY(type, cd, id) \ 35 .type ## _reg = REG(DC_GPIO_DDC ## id ## _ ## type),\ 36 .type ## _mask = DC_GPIO_DDC ## id ## _ ## type ## __DC_GPIO_DDC ## id ## cd ## _ ## type ## _MASK,\ 37 .type ## _shift = DC_GPIO_DDC ## id ## _ ## type ## __DC_GPIO_DDC ## id ## cd ## _ ## type ## __SHIFT 39 #define DDC_GPIO_REG_LIST(cd, id) \ 41 DDC_GPIO_REG_LIST_ENTRY(MASK, cd, id),\ 42 DDC_GPIO_REG_LIST_ENTRY(A, cd, id),\ 43 DDC_GPIO_REG_LIST_ENTRY(EN, cd, id),\ [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_abm.h | 53 #define ABM_DCN10_REG_LIST(id)\ 55 SRI(DC_ABM1_HG_SAMPLE_RATE, ABM, id), \ 56 SRI(DC_ABM1_LS_SAMPLE_RATE, ABM, id), \ 57 SRI(BL1_PWM_BL_UPDATE_SAMPLE_RATE, ABM, id), \ 58 SRI(DC_ABM1_HG_MISC_CTRL, ABM, id), \ 59 SRI(DC_ABM1_IPCSC_COEFF_SEL, ABM, id), \ 60 SRI(BL1_PWM_CURRENT_ABM_LEVEL, ABM, id), \ 61 SRI(BL1_PWM_TARGET_ABM_LEVEL, ABM, id), \ 62 SRI(BL1_PWM_USER_LEVEL, ABM, id), \ 63 SRI(DC_ABM1_LS_MIN_MAX_PIXEL_VALUE_THRES, ABM, id), \ [all...] |