Home
last modified time | relevance | path

Searched refs:shared (Results 1 – 25 of 1016) sorted by relevance

12345678910>>...41

/linux/drivers/hid/
A Dhid-cougar.c127 return shared; in cougar_get_shared_data()
142 kfree(shared); in cougar_release_shared_data()
149 if (cougar->shared) { in cougar_remove_shared_data()
168 if (!shared) { in cougar_bind_shared_data()
169 shared = kzalloc(sizeof(*shared), GFP_KERNEL); in cougar_bind_shared_data()
170 if (!shared) { in cougar_bind_shared_data()
176 shared->dev = hdev; in cougar_bind_shared_data()
180 cougar->shared = shared; in cougar_bind_shared_data()
266 shared = cougar->shared; in cougar_raw_event()
270 if (!shared->enabled || !shared->input) in cougar_raw_event()
[all …]
/linux/mm/
A Dinterval_tree.c24 unsigned long, shared.rb_subtree_last,
38 if (!prev->shared.rb.rb_right) { in vma_interval_tree_insert_after()
40 link = &prev->shared.rb.rb_right; in vma_interval_tree_insert_after()
43 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after()
45 parent->shared.rb_subtree_last = last; in vma_interval_tree_insert_after()
46 while (parent->shared.rb.rb_left) { in vma_interval_tree_insert_after()
48 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after()
50 parent->shared.rb_subtree_last = last; in vma_interval_tree_insert_after()
52 link = &parent->shared.rb.rb_left; in vma_interval_tree_insert_after()
55 node->shared.rb_subtree_last = last; in vma_interval_tree_insert_after()
[all …]
/linux/drivers/md/
A Ddm-stats.c210 struct dm_stat_shared *shared; in dm_stats_cleanup() local
216 shared = &s->stat_shared[ni]; in dm_stats_cleanup()
511 shared->stamp = now; in dm_stat_round()
546 dm_stat_round(s, shared, p); in dm_stat_for_entry()
550 dm_stat_round(s, shared, p); in dm_stat_for_entry()
677 dm_stat_round(s, shared, p); in __dm_stat_init_temporary_percpu_totals()
682 shared->tmp.ios[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
683 shared->tmp.ios[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
684 shared->tmp.merges[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
686 shared->tmp.ticks[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
[all …]
/linux/arch/powerpc/kvm/
A De500_mmu.c146 vcpu->arch.shared->mas6 = (vcpu->arch.shared->mas6 & MAS6_SPID1) in kvmppc_e500_deliver_tlb_miss()
334 vcpu->arch.shared->mas1 = gtlbe->mas1; in kvmppc_e500_emul_tlbre()
335 vcpu->arch.shared->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbre()
362 vcpu->arch.shared->mas1 = gtlbe->mas1; in kvmppc_e500_emul_tlbsx()
363 vcpu->arch.shared->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbsx()
375 vcpu->arch.shared->mas1 = in kvmppc_e500_emul_tlbsx()
379 vcpu->arch.shared->mas2 &= MAS2_EPN; in kvmppc_e500_emul_tlbsx()
380 vcpu->arch.shared->mas2 |= vcpu->arch.shared->mas4 & in kvmppc_e500_emul_tlbsx()
410 gtlbe->mas1 = vcpu->arch.shared->mas1; in kvmppc_e500_emul_tlbwe()
411 gtlbe->mas2 = vcpu->arch.shared->mas2; in kvmppc_e500_emul_tlbwe()
[all …]
A De500_emulate.c75 int cpir = cvcpu->arch.shared->pir; in kvmppc_e500_emul_msgsnd()
225 vcpu->arch.shared->mas0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
228 vcpu->arch.shared->mas1 = spr_val; in kvmppc_core_emulate_mtspr_e500()
231 vcpu->arch.shared->mas2 = spr_val; in kvmppc_core_emulate_mtspr_e500()
238 vcpu->arch.shared->mas4 = spr_val; in kvmppc_core_emulate_mtspr_e500()
241 vcpu->arch.shared->mas6 = spr_val; in kvmppc_core_emulate_mtspr_e500()
338 *spr_val = vcpu->arch.shared->mas0; in kvmppc_core_emulate_mfspr_e500()
341 *spr_val = vcpu->arch.shared->mas1; in kvmppc_core_emulate_mfspr_e500()
344 *spr_val = vcpu->arch.shared->mas2; in kvmppc_core_emulate_mfspr_e500()
350 *spr_val = vcpu->arch.shared->mas4; in kvmppc_core_emulate_mfspr_e500()
[all …]
A De500mc.c135 mtspr(SPRN_GSRR0, vcpu->arch.shared->srr0); in kvmppc_core_vcpu_load_e500mc()
136 mtspr(SPRN_GSRR1, vcpu->arch.shared->srr1); in kvmppc_core_vcpu_load_e500mc()
139 mtspr(SPRN_GDEAR, vcpu->arch.shared->dar); in kvmppc_core_vcpu_load_e500mc()
140 mtspr(SPRN_GESR, vcpu->arch.shared->esr); in kvmppc_core_vcpu_load_e500mc()
154 vcpu->arch.shared->sprg0 = mfspr(SPRN_GSPRG0); in kvmppc_core_vcpu_put_e500mc()
159 vcpu->arch.shared->srr0 = mfspr(SPRN_GSRR0); in kvmppc_core_vcpu_put_e500mc()
160 vcpu->arch.shared->srr1 = mfspr(SPRN_GSRR1); in kvmppc_core_vcpu_put_e500mc()
163 vcpu->arch.shared->dar = mfspr(SPRN_GDEAR); in kvmppc_core_vcpu_put_e500mc()
164 vcpu->arch.shared->esr = mfspr(SPRN_GESR); in kvmppc_core_vcpu_put_e500mc()
320 if (!vcpu->arch.shared) { in kvmppc_core_vcpu_create_e500mc()
[all …]
A De500.h215 return !!(vcpu->arch.shared->msr & (MSR_IS | MSR_DS)); in get_cur_as()
220 return !!(vcpu->arch.shared->msr & MSR_PR); in get_cur_pr()
225 return (vcpu->arch.shared->mas6 >> 16) & 0xff; in get_cur_spid()
230 return vcpu->arch.shared->mas6 & 0x1; in get_cur_sas()
239 return (vcpu->arch.shared->mas0 >> 28) & 0x1; in get_tlb_tlbsel()
244 return vcpu->arch.shared->mas0 & 0xfff; in get_tlb_nv_bit()
249 return (vcpu->arch.shared->mas0 >> 16) & 0xfff; in get_tlb_esel_bit()
263 if (get_tlb_ts(tlbe) != !!(vcpu->arch.shared->msr & MSR_IS)) in tlbe_is_host_safe()
316 unsigned int tidseld = (vcpu->arch.shared->mas4 >> 16) & 0xf; in get_tlbmiss_tid()
A Dbooke_emulate.c26 vcpu->arch.regs.nip = vcpu->arch.shared->srr0; in kvmppc_emul_rfi()
27 kvmppc_set_msr(vcpu, vcpu->arch.shared->srr1); in kvmppc_emul_rfi()
80 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->msr); in kvmppc_booke_emulate_op()
90 vcpu->arch.shared->msr = (vcpu->arch.shared->msr & ~MSR_EE) in kvmppc_booke_emulate_op()
96 vcpu->arch.shared->msr = (vcpu->arch.shared->msr & ~MSR_EE) in kvmppc_booke_emulate_op()
127 vcpu->arch.shared->dar = spr_val; in kvmppc_booke_emulate_mtspr()
130 vcpu->arch.shared->esr = spr_val; in kvmppc_booke_emulate_mtspr()
388 *spr_val = vcpu->arch.shared->dar; in kvmppc_booke_emulate_mfspr()
391 *spr_val = vcpu->arch.shared->esr; in kvmppc_booke_emulate_mfspr()
/linux/drivers/video/fbdev/
A Dpxa3xx-gcu.c118 struct pxa3xx_gcu_shared *shared = priv->shared; \
207 struct pxa3xx_gcu_shared *shared = priv->shared; in run_ready() local
226 shared->hw_running = 1; in run_ready()
242 struct pxa3xx_gcu_shared *shared = priv->shared; in pxa3xx_gcu_handle_irq() local
251 shared->num_interrupts++; in pxa3xx_gcu_handle_irq()
265 shared->num_idle++; in pxa3xx_gcu_handle_irq()
266 shared->hw_running = 0; in pxa3xx_gcu_handle_irq()
276 shared->num_done++; in pxa3xx_gcu_handle_irq()
298 priv->shared->num_wait_idle++; in pxa3xx_gcu_wait_idle()
388 priv->shared->num_writes++; in pxa3xx_gcu_write()
[all …]
/linux/drivers/net/ipa/
A Dipa_uc.c128 struct ipa_uc_mem_area *shared = ipa_uc_shared(ipa); in ipa_uc_event_handler() local
131 if (shared->event == IPA_UC_EVENT_ERROR) in ipa_uc_event_handler()
133 else if (shared->event != IPA_UC_EVENT_LOG_INFO) in ipa_uc_event_handler()
135 shared->event); in ipa_uc_event_handler()
153 switch (shared->response) { in ipa_uc_response_hdlr()
166 shared->response); in ipa_uc_response_hdlr()
224 shared->command = command; in send_uc_command()
225 shared->command_param = cpu_to_le32(command_param); in send_uc_command()
226 shared->command_param_hi = 0; in send_uc_command()
227 shared->response = 0; in send_uc_command()
[all …]
/linux/drivers/thermal/tegra/
A Dsoctherm-fuse.c74 struct tsensor_shared_calib *shared) in tegra_calc_shared_calib() argument
84 shared->base_cp = (val & tfuse->fuse_base_cp_mask) >> in tegra_calc_shared_calib()
86 shared->base_ft = (val & tfuse->fuse_base_ft_mask) >> in tegra_calc_shared_calib()
101 shared->actual_temp_cp = 2 * NOMINAL_CALIB_CP + shifted_cp; in tegra_calc_shared_calib()
102 shared->actual_temp_ft = 2 * NOMINAL_CALIB_FT + shifted_ft; in tegra_calc_shared_calib()
108 const struct tsensor_shared_calib *shared, in tegra_calc_tsensor_calib() argument
126 actual_tsensor_cp = (shared->base_cp * 64) + sign_extend32(val, 12); in tegra_calc_tsensor_calib()
129 actual_tsensor_ft = (shared->base_ft * 32) + sign_extend32(val, 12); in tegra_calc_tsensor_calib()
132 delta_temp = shared->actual_temp_ft - shared->actual_temp_cp; in tegra_calc_tsensor_calib()
140 temp = ((s64)actual_tsensor_ft * shared->actual_temp_cp) - in tegra_calc_tsensor_calib()
[all …]
/linux/arch/x86/xen/
A Dgrant-table.c35 void *shared = *__shared; in arch_gnttab_map_shared() local
39 if (shared == NULL) in arch_gnttab_map_shared()
40 *__shared = shared = gnttab_shared_vm_area.area->addr; in arch_gnttab_map_shared()
42 addr = (unsigned long)shared; in arch_gnttab_map_shared()
57 grant_status_t *shared = *__shared; in arch_gnttab_map_status() local
61 if (shared == NULL) in arch_gnttab_map_status()
62 *__shared = shared = gnttab_status_vm_area.area->addr; in arch_gnttab_map_status()
64 addr = (unsigned long)shared; in arch_gnttab_map_status()
75 void arch_gnttab_unmap(void *shared, unsigned long nr_gframes) in arch_gnttab_unmap() argument
81 if (shared == gnttab_status_vm_area.area->addr) in arch_gnttab_unmap()
[all …]
/linux/Documentation/filesystems/
A Dsharedsubtree.rst36 a. shared mount
251 1) shared
253 3) shared and slave
291 A shared mount that is made as a slave is no more shared unless
333 |shared |shared |*slave/private| private | unbindable |
377 | shared | shared | shared | shared & slave | invalid |
384 1. 'A' is a shared mount and 'B' is a shared mount. A new mount 'C'
491 | shared | shared | shared |shared and slave| invalid |
525 becomes 'shared'.
538 shared mount.
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dpcie.c676 shared = &devinfo->shared; in brcmf_pcie_send_mb_data()
711 shared = &devinfo->shared; in brcmf_pcie_handle_mb_data()
746 shared = &devinfo->shared; in brcmf_pcie_bus_console_init()
747 console = &shared->console; in brcmf_pcie_bus_console_init()
1287 if (devinfo->shared.scratch) in brcmf_pcie_release_scratchbuffers()
1305 devinfo->shared.scratch = in brcmf_pcie_init_scratchbuffers()
1322 devinfo->shared.ringupd = in brcmf_pcie_init_scratchbuffers()
1501 shared = &devinfo->shared; in brcmf_pcie_init_share_ram_info()
1505 shared->version = (u8)(shared->flags & BRCMF_PCIE_SHARED_VERSION_MASK); in brcmf_pcie_init_share_ram_info()
1510 shared->version); in brcmf_pcie_init_share_ram_info()
[all …]
/linux/drivers/mtd/lpddr/
A Dlpddr_cmds.c38 struct flchip_shared *shared; in lpddr_cmdset() local
70 if (!shared) { in lpddr_cmdset()
78 shared[i].writing = shared[i].erasing = NULL; in lpddr_cmdset()
84 chip->priv = &shared[i]; in lpddr_cmdset()
281 shared->writing = chip; in get_chip()
283 shared->erasing = chip; in get_chip()
355 shared->writing = shared->erasing; in put_chip()
356 if (shared->writing && shared->writing != chip) { in put_chip()
368 shared->erasing = NULL; in put_chip()
369 shared->writing = NULL; in put_chip()
[all …]
/linux/drivers/reset/
A Dcore.c47 bool shared; member
225 if (rstc->shared) { in reset_control_array_rearm()
237 if (rstc && rstc->shared) in reset_control_array_rearm()
342 if (rstc->shared) { in reset_control_reset()
354 if (rstc->shared && ret) in reset_control_reset()
411 if (rstc->shared) { in reset_control_rearm()
452 if (rstc->shared) { in reset_control_assert()
540 if (rstc->shared) { in reset_control_deassert()
762 if (!rstc->shared && !shared && !acquired) in __reset_control_get_internal()
765 if (WARN_ON(!rstc->shared || !shared)) in __reset_control_get_internal()
[all …]
/linux/arch/arm64/boot/dts/ti/
A Dk3-j721e-som-p0.dtsi30 compatible = "shared-dma-pool";
36 compatible = "shared-dma-pool";
42 compatible = "shared-dma-pool";
48 compatible = "shared-dma-pool";
54 compatible = "shared-dma-pool";
60 compatible = "shared-dma-pool";
66 compatible = "shared-dma-pool";
72 compatible = "shared-dma-pool";
78 compatible = "shared-dma-pool";
84 compatible = "shared-dma-pool";
[all …]
/linux/drivers/dma-buf/
A Ddma-resv.c74 sizeof(*list->shared); in dma_resv_list_alloc()
180 fence = rcu_dereference_protected(old->shared[i], in dma_resv_reserve_shared()
183 RCU_INIT_POINTER(new->shared[--k], fence); in dma_resv_reserve_shared()
185 RCU_INIT_POINTER(new->shared[j++], fence); in dma_resv_reserve_shared()
265 old = rcu_dereference_protected(fobj->shared[i], in dma_resv_add_shared_fence()
277 RCU_INIT_POINTER(fobj->shared[i], fence); in dma_resv_add_shared_fence()
561 *shared = NULL; in dma_resv_get_fences()
573 dma_fence_put((*shared)[--(*shared_count)]); in dma_resv_get_fences()
582 *shared = krealloc_array(*shared, count, in dma_resv_get_fences()
585 if (count && !*shared) { in dma_resv_get_fences()
[all …]
/linux/drivers/video/fbdev/via/
A Daccel.c308 u32 chip_name = viapar->shared->chip_info.gfx_chip_name; in viafb_setup_engine()
310 engine = viapar->shared->vdev->engine_mmio; in viafb_setup_engine()
328 viapar->shared->hw_bitblt = hw_bitblt_1; in viafb_setup_engine()
333 viapar->shared->hw_bitblt = hw_bitblt_2; in viafb_setup_engine()
336 viapar->shared->hw_bitblt = NULL; in viafb_setup_engine()
340 viapar->shared->cursor_vram_addr = viapar->fbmem_free; in viafb_setup_engine()
344 viapar->shared->vq_vram_addr = viapar->fbmem_free; in viafb_setup_engine()
369 void __iomem *engine = viapar->shared->vdev->engine_mmio; in viafb_reset_engine()
375 switch (viapar->shared->chip_info.twod_engine) { in viafb_reset_engine()
415 vq_start_addr = viapar->shared->vq_vram_addr; in viafb_reset_engine()
[all …]
A Dviafbdev.c669 struct viafb_shared *shared = viapar->shared; in viafb_fillrect() local
692 if (shared->hw_bitblt(shared->vdev->engine_mmio, VIA_BITBLT_FILL, in viafb_fillrect()
703 struct viafb_shared *shared = viapar->shared; in viafb_copyarea() local
714 if (shared->hw_bitblt(shared->vdev->engine_mmio, VIA_BITBLT_COLOR, in viafb_copyarea()
726 struct viafb_shared *shared = viapar->shared; in viafb_imageblit() local
751 if (shared->hw_bitblt(shared->vdev->engine_mmio, op, in viafb_imageblit()
1633 viaparinfo->shared->i2c_26); in parse_mode()
1636 viaparinfo->shared->i2c_31); in parse_mode()
1716 via_aux_free(shared->i2c_26); in i2c_bus_free()
1717 via_aux_free(shared->i2c_31); in i2c_bus_free()
[all …]
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_wait.c44 struct dma_fence **shared; in i915_gem_object_wait_reservation() local
48 ret = dma_resv_get_fences(resv, &excl, &count, &shared); in i915_gem_object_wait_reservation()
53 timeout = i915_gem_object_wait_fence(shared[i], in i915_gem_object_wait_reservation()
58 dma_fence_put(shared[i]); in i915_gem_object_wait_reservation()
62 dma_fence_put(shared[i]); in i915_gem_object_wait_reservation()
63 kfree(shared); in i915_gem_object_wait_reservation()
157 struct dma_fence **shared; in i915_gem_object_wait_priority() local
162 &shared); in i915_gem_object_wait_priority()
167 i915_gem_fence_wait_priority(shared[i], attr); in i915_gem_object_wait_priority()
168 dma_fence_put(shared[i]); in i915_gem_object_wait_priority()
[all …]
/linux/include/linux/
A Dreset.h45 const char *id, int index, bool shared,
48 int index, bool shared,
53 bool shared, bool optional, bool acquired);
58 const char *id, int index, bool shared,
62 bool shared, bool optional, bool acquired);
65 bool shared, bool optional);
67 bool shared, bool optional,
119 const char *id, int index, bool shared, in __of_reset_control_get() argument
127 int index, bool shared, bool optional, in __reset_control_get() argument
165 bool shared, bool optional, bool acquired) in __reset_control_bulk_get() argument
[all …]
/linux/Documentation/devicetree/bindings/reserved-memory/
A Dxen,shared-memory.txt5 to be a shared memory area across multiple virtual machines for
8 For each of these pre-shared memory regions, a range is exposed under
13 compatible = "xen,shared-memory-v1"
16 the base guest physical address and size of the shared memory region
19 64 bit integer offset within the owner virtual machine's shared
23 a string that identifies the shared memory region as specified in
/linux/arch/x86/kvm/mmu/
A Dtdp_mmu.c35 if (shared) in kvm_lockdep_assert_mmu_lock_held()
58 bool shared);
83 bool shared) in kvm_tdp_mmu_put_root() argument
223 bool shared);
282 bool shared) in tdp_mmu_unlink_page() argument
284 if (shared) in tdp_mmu_unlink_page()
293 if (shared) in tdp_mmu_unlink_page()
331 if (shared) { in handle_removed_tdp_mmu_page()
372 shared); in handle_removed_tdp_mmu_page()
481 bool shared) in handle_changed_spte() argument
[all …]
/linux/Documentation/devicetree/bindings/mailbox/
A Dqcom,apcs-kpss-global.yaml29 - qcom,sc7180-apss-shared
30 - qcom,sc8180x-apss-shared
32 - qcom,sdm845-apss-shared
35 - qcom,sm8150-apss-shared
80 - qcom,sc7180-apss-shared
82 - qcom,sdm845-apss-shared
84 - qcom,sm8150-apss-shared

Completed in 63 milliseconds

12345678910>>...41