/linux/arch/mips/kernel/ |
H A D | module.c | 38 static int apply_r_mips_26(struct module *me, u32 *location, u32 base, in apply_r_mips_26() argument 43 me->name); in apply_r_mips_26() 49 me->name); in apply_r_mips_26() 59 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16() argument 81 n->next = me->arch.r_mips_hi16_list; in apply_r_mips_hi16() 82 me->arch.r_mips_hi16_list = n; in apply_r_mips_hi16() 98 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() argument 113 if (me->arch.r_mips_hi16_list != NULL) { in apply_r_mips_lo16() 114 l = me->arch.r_mips_hi16_list; in apply_r_mips_lo16() 149 me->arch.r_mips_hi16_list = NULL; in apply_r_mips_lo16() [all …]
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
H A D | ia_css_sdis.host.c | 312 struct ia_css_isp_dvs_statistics *me; in ia_css_isp_dvs_statistics_allocate() local 322 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_isp_dvs_statistics_allocate() 323 if (!me) in ia_css_isp_dvs_statistics_allocate() 333 me->size = hor_size + ver_size; in ia_css_isp_dvs_statistics_allocate() 334 me->data_ptr = hmm_alloc(me->size); in ia_css_isp_dvs_statistics_allocate() 335 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs_statistics_allocate() 337 me->hor_size = hor_size; in ia_css_isp_dvs_statistics_allocate() 338 me->hor_proj = me->data_ptr; in ia_css_isp_dvs_statistics_allocate() 339 me->ver_size = ver_size; in ia_css_isp_dvs_statistics_allocate() 340 me->ver_proj = me->data_ptr + hor_size; in ia_css_isp_dvs_statistics_allocate() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | virtual_isys.c | 275 input_system_channel_t *me) in create_input_system_channel() argument 279 me->dma_id = ISYS2401_DMA0_ID; in create_input_system_channel() 284 me->stream2mmio_id = STREAM2MMIO0_ID; in create_input_system_channel() 285 me->ibuf_ctrl_id = IBUF_CTRL0_ID; in create_input_system_channel() 290 me->stream2mmio_id = STREAM2MMIO1_ID; in create_input_system_channel() 291 me->ibuf_ctrl_id = IBUF_CTRL1_ID; in create_input_system_channel() 296 me->stream2mmio_id = STREAM2MMIO2_ID; in create_input_system_channel() 297 me->ibuf_ctrl_id = IBUF_CTRL2_ID; in create_input_system_channel() 307 if (!acquire_sid(me->stream2mmio_id, &me->stream2mmio_sid_id)) { in create_input_system_channel() 321 &me->ib_buffer)) { in create_input_system_channel() [all …]
|
/linux/arch/riscv/kernel/ |
H A D | module.c | 37 int (*reloc_handler)(struct module *me, void *location, Elf_Addr v); 38 int (*accumulate_handler)(struct module *me, void *location, 80 static int apply_r_riscv_32_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_32_rela() argument 84 me->name, (long long)v); in apply_r_riscv_32_rela() 91 static int apply_r_riscv_64_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_64_rela() argument 97 static int apply_r_riscv_branch_rela(struct module *me, void *location, in apply_r_riscv_branch_rela() argument 109 static int apply_r_riscv_jal_rela(struct module *me, void *location, in apply_r_riscv_jal_rela() argument 121 static int apply_r_riscv_rvc_branch_rela(struct module *me, void *location, in apply_r_riscv_rvc_branch_rela() argument 135 static int apply_r_riscv_rvc_jump_rela(struct module *me, void *location, in apply_r_riscv_rvc_jump_rela() argument 152 static int apply_r_riscv_pcrel_hi20_rela(struct module *me, void *location, in apply_r_riscv_pcrel_hi20_rela() argument [all …]
|
/linux/arch/s390/kernel/ |
H A D | module.c | 57 static void check_rela(Elf_Rela *rela, struct module *me) in check_rela() argument 61 info = me->arch.syminfo + ELF_R_SYM (rela->r_info); in check_rela() 76 info->got_offset = me->arch.got_size; in check_rela() 77 me->arch.got_size += sizeof(void*); in check_rela() 88 info->plt_offset = me->arch.plt_size; in check_rela() 89 me->arch.plt_size += PLT_ENTRY_SIZE; in check_rela() 107 char *secstrings, struct module *me) in module_frob_arch_sections() argument 125 printk(KERN_ERR "module %s: no symbol table\n", me->name); in module_frob_arch_sections() 130 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections() 131 me->arch.syminfo = vmalloc(array_size(sizeof(struct mod_arch_syminfo), in module_frob_arch_sections() [all …]
|
/linux/drivers/misc/mei/ |
H A D | client.h | 37 * mei_me_cl_is_active - check whether me client is active in the fw 39 * @me_cl: me client 41 * Return: true if the me client is active in the firmware 49 * mei_me_cl_uuid - return me client protocol name (uuid) 51 * @me_cl: me client 53 * Return: me client protocol name 61 * mei_me_cl_ver - return me client protocol version 63 * @me_cl: me client 65 * Return: me client protocol version 73 * mei_me_cl_max_conn - return me client max number of connections [all …]
|
H A D | bus.c | 79 /* Check if we have an ME client device */ in __mei_cl_send_timeout() 260 * mei_cldev_send_vtag - me device send with vtag (write) 262 * @cldev: me client device 282 * mei_cldev_send_vtag_timeout - me device send with vtag and timeout (write) 284 * @cldev: me client device 307 * @cldev: me client device 329 * @cldev: me client device 351 * @cldev: me client device 370 * @cldev: me client device 391 * mei_cldev_send - me device send (write) [all …]
|
H A D | hw-me-regs.h | 148 /* ME_CB_RW - ME Circular Buffer Read Window register (read only) */ 150 /* ME_CSR_HA - ME Control Status Host Access register (read only) */ 188 /* register bits of ME_CSR_HA (ME Control Status Host Access register) */ 189 /* ME CB (Circular Buffer) Depth HRA (Host Read Access) - host read only 192 /* ME CB Write Pointer HRA - host read only access to ME_CBWP */ 194 /* ME CB Read Pointer HRA - host read only access to ME_CBRP */ 196 /* ME Power Gate Isolation Capability HRA - host ready only access */ 198 /* ME Reset HRA - host read only access to ME_RST */ 200 /* ME Ready HRA - host read only access to ME_RDY */ 202 /* ME Interrupt Generate HRA - host read only access to ME_IG */ [all …]
|
/linux/arch/parisc/kernel/ |
H A D | module.c | 29 * if (in_init(me, (void *)val)) 30 * val -= (uint32_t)me->mem[MOD_INIT_TEXT].base; 32 * val -= (uint32_t)me->mem[MOD_TEXT].base; 63 me->name, strtab + sym->st_name, (unsigned long)val, bits); \ 270 struct module *me) in module_frob_arch_sections() argument 276 len = hdr->e_shnum * sizeof(me->arch.section[0]); in module_frob_arch_sections() 277 me->arch.section = kzalloc(len, GFP_KERNEL); in module_frob_arch_sections() 278 if (!me->arch.section) in module_frob_arch_sections() 288 me->arch.unwind_section = i; in module_frob_arch_sections() 313 WARN_ON(me->arch.section[s].stub_entries); in module_frob_arch_sections() [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_host_data.c | 22 struct ia_css_host_data *me; in ia_css_host_data_allocate() local 24 me = kmalloc(sizeof(struct ia_css_host_data), GFP_KERNEL); in ia_css_host_data_allocate() 25 if (!me) in ia_css_host_data_allocate() 27 me->size = (uint32_t)size; in ia_css_host_data_allocate() 28 me->address = kvmalloc(size, GFP_KERNEL); in ia_css_host_data_allocate() 29 if (!me->address) { in ia_css_host_data_allocate() 30 kfree(me); in ia_css_host_data_allocate() 33 return me; in ia_css_host_data_allocate() 36 void ia_css_host_data_free(struct ia_css_host_data *me) in ia_css_host_data_free() argument 38 if (me) { in ia_css_host_data_free() [all …]
|
H A D | sh_css_params.c | 700 struct ia_css_isp_parameter_set_info *me, 782 struct ia_css_host_data *me; in convert_allocate_fpntbl() local 792 me = ia_css_host_data_allocate(isp_format_data_size); in convert_allocate_fpntbl() 794 if (!me) in convert_allocate_fpntbl() 797 isp_format_data_ptr = (uint32_t *)me->address; in convert_allocate_fpntbl() 810 return me; in convert_allocate_fpntbl() 1348 struct ia_css_morph_table *me) in ia_css_morph_table_free() argument 1352 if (!me) in ia_css_morph_table_free() 1358 if (me->coordinates_x[i]) { in ia_css_morph_table_free() 1359 kvfree(me->coordinates_x[i]); in ia_css_morph_table_free() [all …]
|
H A D | sh_css_param_shading.c | 336 struct ia_css_shading_table *me; in ia_css_shading_table_alloc() local 340 me = kmalloc(sizeof(*me), GFP_KERNEL); in ia_css_shading_table_alloc() 341 if (!me) in ia_css_shading_table_alloc() 342 return me; in ia_css_shading_table_alloc() 344 me->width = width; in ia_css_shading_table_alloc() 345 me->height = height; in ia_css_shading_table_alloc() 346 me->sensor_width = 0; in ia_css_shading_table_alloc() 347 me->sensor_height = 0; in ia_css_shading_table_alloc() 348 me->fraction_bits = 0; in ia_css_shading_table_alloc() 350 me->data[i] = in ia_css_shading_table_alloc() [all …]
|
H A D | ia_css_dvs.h | 175 * @param[in] me Pointer to the DVS statistics buffer on the ISP. 179 ia_css_isp_dvs_statistics_free(struct ia_css_isp_dvs_statistics *me); 189 * @param[in] me Pointer to the DVS statistics buffer on the ISP. 193 ia_css_isp_dvs2_statistics_free(struct ia_css_isp_dvs_statistics *me); 203 * @param[in] me Pointer to the DVS statistics buffer on the host. 207 ia_css_dvs_statistics_free(struct ia_css_dvs_statistics *me); 217 * @param[in] me Pointer to the DVS coefficients buffer. 221 ia_css_dvs_coefficients_free(struct ia_css_dvs_coefficients *me); 231 * @param[in] me Pointer to the DVS 2.0 statistics buffer on the host. 235 ia_css_dvs2_statistics_free(struct ia_css_dvs2_statistics *me); [all …]
|
/linux/samples/mei/ |
H A D | mei-amt-version.c | 111 static bool mei_init(struct mei *me, const uuid_le *guid, in mei_init() argument 118 me->verbose = verbose; in mei_init() 120 me->fd = open("/dev/mei0", O_RDWR); in mei_init() 121 if (me->fd == -1) { in mei_init() 122 mei_err(me, "Cannot establish a handle to the Intel MEI driver\n"); in mei_init() 125 memcpy(&me->guid, guid, sizeof(*guid)); in mei_init() 127 me->initialized = true; in mei_init() 129 memcpy(&data.in_client_uuid, &me->guid, sizeof(me->guid)); in mei_init() 130 result = ioctl(me->fd, IOCTL_MEI_CONNECT_CLIENT, &data); in mei_init() 132 mei_err(me, "IOCTL_MEI_CONNECT_CLIENT receive message. err=%d\n", result); in mei_init() [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | module_64.c | 290 struct module *me) in get_got_size() argument 337 symindex, me->arch.pcpu_section); in get_got_size() 406 struct module *me) in module_frob_arch_sections() argument 413 me->arch.stubs_section = i; in module_frob_arch_sections() 416 me->arch.pcpu_section = i; in module_frob_arch_sections() 418 me->arch.got_section = i; in module_frob_arch_sections() 424 me->arch.toc_section = i; in module_frob_arch_sections() 440 if (!me->arch.stubs_section) { in module_frob_arch_sections() 441 pr_err("%s: doesn't contain .stubs.\n", me->name); in module_frob_arch_sections() 446 if (!me->arch.got_section) { in module_frob_arch_sections() [all …]
|
/linux/rust/kernel/list/ |
H A D | impl_list_item_mod.rs | 134 unsafe fn view_links(me: *const Self) -> *mut $crate::list::ListLinks<$num> { 135 // SAFETY: The caller guarantees that `me` points at a valid value of type `Self`. 137 <Self as $crate::list::HasListLinks<$num>>::raw_get_list_links(me.cast_mut()) 142 // * `me` originates from the most recent call to `prepare_to_insert`, which just added 144 // `offset` from `me` so it returns the pointer originally passed to 150 unsafe fn view_value(me: *mut $crate::list::ListLinks<$num>) -> *const Self { 152 // SAFETY: `me` originates from the most recent call to `prepare_to_insert`, so it 154 // subtracting `offset` from `me` is still in-bounds of the allocation. 155 unsafe { (me as *const u8).sub(offset) as *const Self } 166 unsafe fn prepare_to_insert(me: *const Self) -> *mut $crate::list::ListLinks<$num> { [all …]
|
/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | jitter.sh | 8 # Usage: jitter.sh me jittering-path duration [ sleepmax [ spinmax ] ] 10 # me: Random-number-generator seed salt. 20 me=$(($1 * 1000)) 68 cpumask=`awk -v cpus="$cpus" -v me=$me -v n=$n 'BEGIN { 69 srand(n + me + systime()); 81 sleeptime=`awk -v me=$me -v n=$n -v sleepmax=$sleepmax 'BEGIN { 82 srand(n + me + systime()); 89 limit=`awk -v me=$me -v n=$n -v spinmax=$spinmax 'BEGIN { 90 srand(n + me + systime());
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
H A D | ia_css_sdis2.host.c | 276 struct ia_css_isp_dvs_statistics *me; in ia_css_isp_dvs2_statistics_allocate() local 286 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_isp_dvs2_statistics_allocate() 287 if (!me) in ia_css_isp_dvs2_statistics_allocate() 296 me->size = 2 * size; in ia_css_isp_dvs2_statistics_allocate() 297 me->data_ptr = hmm_alloc(me->size); in ia_css_isp_dvs2_statistics_allocate() 298 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs2_statistics_allocate() 300 me->hor_proj = me->data_ptr; in ia_css_isp_dvs2_statistics_allocate() 301 me->hor_size = size; in ia_css_isp_dvs2_statistics_allocate() 302 me->ver_proj = me->data_ptr + size; in ia_css_isp_dvs2_statistics_allocate() 303 me->ver_size = size; in ia_css_isp_dvs2_statistics_allocate() [all …]
|
/linux/net/netfilter/ |
H A D | nf_conntrack_helper.c | 93 if (h != NULL && !try_module_get(h->me)) in nf_conntrack_helper_try_module_get() 96 module_put(h->me); in nf_conntrack_helper_try_module_get() 109 module_put(helper->me); in nf_conntrack_helper_put() 241 static int unhelp(struct nf_conn *ct, void *me) in unhelp() argument 245 if (help && rcu_dereference_raw(help->helper) == me) { in unhelp() 347 int nf_conntrack_helper_register(struct nf_conntrack_helper *me) in nf_conntrack_helper_register() argument 350 unsigned int h = helper_hash(&me->tuple); in nf_conntrack_helper_register() 354 BUG_ON(me->expect_policy == NULL); in nf_conntrack_helper_register() 355 BUG_ON(me->expect_class_max >= NF_CT_MAX_EXPECT_CLASSES); in nf_conntrack_helper_register() 356 BUG_ON(strlen(me->name) > NF_CT_HELPER_NAME_LEN - 1); in nf_conntrack_helper_register() [all …]
|
/linux/arch/x86/kernel/ |
H A D | module.c | 44 struct module *me) in apply_relocate() argument 74 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate() 85 struct module *me, in __write_relocate_add() argument 144 me->name, ELF64_R_TYPE(rel[i].r_info)); in __write_relocate_add() 170 me->name); in __write_relocate_add() 178 struct module *me, in write_relocate_add() argument 182 bool early = me->state == MODULE_STATE_UNFORMED; in write_relocate_add() 190 ret = __write_relocate_add(sechdrs, strtab, symindex, relsec, me, in write_relocate_add() 205 struct module *me) in apply_relocate_add() argument 207 return write_relocate_add(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | msix.c | 81 struct hfi1_msix_entry *me; in msix_request_irq() local 113 me = &dd->msix_info.msix_entries[nr]; in msix_request_irq() 114 me->irq = irq; in msix_request_irq() 115 me->arg = arg; in msix_request_irq() 116 me->type = type; in msix_request_irq() 119 ret = hfi1_get_irq_affinity(dd, me); in msix_request_irq() 288 struct hfi1_msix_entry *me; in msix_free_irq() local 293 me = &dd->msix_info.msix_entries[msix_intr]; in msix_free_irq() 295 if (!me->arg) /* => no irq, no affinity */ in msix_free_irq() 298 hfi1_put_irq_affinity(dd, me); in msix_free_irq() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 367 struct ia_css_frame *me = frame_create(0, 0, in ia_css_frame_allocate_with_buffer_size() local 371 if (!me) in ia_css_frame_allocate_with_buffer_size() 375 me->data_bytes = buffer_size_bytes; in ia_css_frame_allocate_with_buffer_size() 377 err = frame_allocate_buffer_data(me); in ia_css_frame_allocate_with_buffer_size() 380 kvfree(me); in ia_css_frame_allocate_with_buffer_size() 381 me = NULL; in ia_css_frame_allocate_with_buffer_size() 384 *frame = me; in ia_css_frame_allocate_with_buffer_size() 629 struct ia_css_frame *me = frame_create(width, in frame_allocate_with_data() local 636 if (!me) in frame_allocate_with_data() 639 err = ia_css_frame_init_planes(me); in frame_allocate_with_data() [all …]
|
/linux/Documentation/driver-api/mei/ |
H A D | mei.rst | 6 The Intel Management Engine (Intel ME) is an isolated and protected computing 7 resource (Co-processor) residing inside certain Intel chipsets. The Intel ME 12 is the interface between the Host and Intel ME. This interface is exposed 15 a host application and the Intel ME features. 17 Each Intel ME feature, or Intel ME Client is addressed by a unique GUID and 27 An application maintains communication with an Intel ME feature while 30 The number of instances of an Intel ME feature that can be opened 31 at the same time depends on the Intel ME feature, but most of the 37 Because some of the Intel ME features can change the system 47 virtual channels with an Intel ME feature. Not all features support
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | uvd_v7_0.c | 75 return RREG32_SOC15(UVD, ring->me, mmUVD_RBC_RB_RPTR); in uvd_v7_0_ring_get_rptr() 89 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_rptr() 90 return RREG32_SOC15(UVD, ring->me, mmUVD_RB_RPTR); in uvd_v7_0_enc_ring_get_rptr() 92 return RREG32_SOC15(UVD, ring->me, mmUVD_RB_RPTR2); in uvd_v7_0_enc_ring_get_rptr() 106 return RREG32_SOC15(UVD, ring->me, mmUVD_RBC_RB_WPTR); in uvd_v7_0_ring_get_wptr() 123 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_wptr() 124 return RREG32_SOC15(UVD, ring->me, mmUVD_RB_WPTR); in uvd_v7_0_enc_ring_get_wptr() 126 return RREG32_SOC15(UVD, ring->me, mmUVD_RB_WPTR2); in uvd_v7_0_enc_ring_get_wptr() 140 WREG32_SOC15(UVD, ring->me, mmUVD_RBC_RB_WPTR, lower_32_bits(ring->wptr)); in uvd_v7_0_ring_set_wptr() 161 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_set_wptr() [all …]
|
/linux/tools/perf/util/ |
H A D | metricgroup.c | 40 struct metric_event me = { in metricgroup__lookup() local 48 me.evsel = evsel->metric_leader; in metricgroup__lookup() 49 nd = rblist__find(metric_events, &me); in metricgroup__lookup() 53 rblist__add_node(metric_events, &me); in metricgroup__lookup() 54 nd = rblist__find(metric_events, &me); in metricgroup__lookup() 78 struct metric_event *me = malloc(sizeof(struct metric_event)); in metric_event_new() local 80 if (!me) in metric_event_new() 82 memcpy(me, entry, sizeof(struct metric_event)); in metric_event_new() 83 me->evsel = ((struct metric_event *)entry)->evsel; in metric_event_new() 84 me->is_default = false; in metric_event_new() [all …]
|