/Linux-v5.15/Documentation/devicetree/bindings/media/ |
D | video-interface-devices.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/video-interface-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo@jmondi.org> 11 - Sakari Ailus <sakari.ailus@linux.intel.com> 14 flash-leds: 15 $ref: /schemas/types.yaml#/definitions/phandle-array 17 An array of phandles, each referring to a flash LED, a sub-node of the LED 20 lens-focus: [all …]
|
/Linux-v5.15/drivers/powercap/ |
D | intel_rapl_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include <asm/intel-family.h> 79 #define NR_RAW_PRIMITIVES (NR_RAPL_PRIMITIVES - 2) 94 int (*check_unit)(struct rapl_package *rp, int cpu); 96 u64 (*compute_time_window)(struct rapl_package *rp, u64 val, 131 static void rapl_init_domains(struct rapl_package *rp); 140 static void package_power_limit_irq_save(struct rapl_package *rp); 172 return -EIO; in get_energy_counter() 186 struct rapl_package *rp = rd->rp; in release_zone() local 191 if (rd->id == RAPL_DOMAIN_PACKAGE) { in release_zone() [all …]
|
/Linux-v5.15/arch/m68k/fpsp040/ |
D | bindec.S | 12 | value in memory; d0 contains the k-factor sign-extended 13 | to 32-bits. The input may be either normalized, 18 | Saves and Modifies: D2-D7,A2,FP2 23 | The k-factor is saved for use in d7. Clear the 45 | k-factor can dictate either the total number of digits, 67 | A9. Scale X -> Y. 74 | compensated for by 'or-ing' in the INEX2 flag to 75 | the lsb of Y. 81 | A12. Calculate YINT = FINT(Y) according to user's rounding 87 | or less than LEN -1 digits, adjust ILOG and repeat from [all …]
|
D | scale.S | 12 | Input: Double-extended destination operand in FPTEMP, 13 | double-extended source operand in ETEMP. 15 | Output: The function returns scale(X,Y) to fp0. 170 movel %d2,-(%a7) |free d2 for norm 188 | Test for zero. If zero, simply use fmove to return +/- zero 206 | mode is rp, and the zero is positive, return smallest denorm. 210 btstb #5,FPCR_MODE(%a6) |test if rm or rp 259 btstb #5,FPCR_MODE(%a6) |test if rm or rp 301 moveml %d2/%d3,-(%a7)
|
/Linux-v5.15/arch/sparc/kernel/ |
D | signal32.c | 1 // SPDX-License-Identifier: GPL-2.0 51 unsigned int extramask[_COMPAT_NSIG_WORDS - 1]; 73 * 16-byte aligned, therefore we can always enforce that the restore 79 ((unsigned long)fp) > 0x100000000ULL - fplen) in invalid_frame_pointer() 95 /* Always make any pending restarted system calls return -EINTR */ in do_sigreturn32() 96 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn32() 100 regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL; in do_sigreturn32() 101 sf = (struct signal_frame32 __user *) regs->u_regs[UREG_FP]; in do_sigreturn32() 107 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn32() 113 if (__get_user(pc, &sf->info.si_regs.pc) || in do_sigreturn32() [all …]
|
D | process_64.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * This file handles the architecture-dependent parts of process handling.. 86 /* Re-enable interrupts. */ in arch_cpu_idle() 112 rw = compat_ptr((unsigned int)regs->u_regs[14]); in show_regwindow32() 141 if ((regs->tstate & TSTATE_PRIV) || !(test_thread_flag(TIF_32BIT))) { in show_regwindow() 144 (regs->u_regs[14] + STACK_BIAS); in show_regwindow() 146 (regs->u_regs[14] + STACK_BIAS); in show_regwindow() 147 if (!(regs->tstate & TSTATE_PRIV)) { in show_regwindow() 162 rwk->locals[0], rwk->locals[1], rwk->locals[2], rwk->locals[3]); in show_regwindow() 164 rwk->locals[4], rwk->locals[5], rwk->locals[6], rwk->locals[7]); in show_regwindow() [all …]
|
D | signal_32.c | 1 // SPDX-License-Identifier: GPL-2.0 41 unsigned int extramask[_NSIG_WORDS - 1]; 63 * 16-byte aligned, therefore we can always enforce that the restore 83 /* Always make any pending restarted system calls return -EINTR */ in do_sigreturn() 84 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn() 88 sf = (struct signal_frame __user *) regs->u_regs[UREG_FP]; in do_sigreturn() 94 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn() 100 err = __get_user(pc, &sf->info.si_regs.pc); in do_sigreturn() 101 err |= __get_user(npc, &sf->info.si_regs.npc); in do_sigreturn() 107 up_psr = regs->psr; in do_sigreturn() [all …]
|
D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 41 volatile int pci_poke_cpu = -1; 62 pci_poke_cpu = -1; in pci_config_read8() 84 pci_poke_cpu = -1; in pci_config_read16() 106 pci_poke_cpu = -1; in pci_config_read32() 127 pci_poke_cpu = -1; in pci_config_write8() 146 pci_poke_cpu = -1; in pci_config_write16() 165 pci_poke_cpu = -1; in pci_config_write32() 201 /* The of_device layer has translated all of the assigned-address properties 213 addrs = of_get_property(node, "assigned-addresses", &proplen); in pci_parse_of_addrs() [all …]
|
/Linux-v5.15/Documentation/trace/ |
D | kprobes.rst | 29 collect debugging and performance information non-disruptively. You 41 In the typical case, Kprobes-based instrumentation is packaged as 56 Kprobes -- e.g., the difference between a pre_handler and 62 ----------------------- 74 Next, Kprobes single-steps its copy of the probed instruction. 75 (It would be simpler to single-step the actual instruction in place, 80 After the instruction is single-stepped, Kprobes executes the 85 ----------------------- 105 ------------- 114 is an arbitrary piece of code -- typically just a nop instruction. [all …]
|
/Linux-v5.15/drivers/pci/pcie/ |
D | dpc.c | 1 // SPDX-License-Identifier: GPL-2.0 54 cap = (u16 *)&save_state->cap.data[0]; in pci_save_dpc_state() 55 pci_read_config_word(dev, dev->dpc_cap + PCI_EXP_DPC_CTL, cap); in pci_save_dpc_state() 70 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_dpc_state() 71 pci_write_config_word(dev, dev->dpc_cap + PCI_EXP_DPC_CTL, *cap); in pci_restore_dpc_state() 81 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_STATUS, &status); in dpc_completed() 85 if (test_bit(PCI_DPC_RECOVERING, &pdev->priv_flags)) in dpc_completed() 92 * pci_dpc_recovered - whether DPC triggered and has recovered successfully 103 if (!pdev->dpc_cap) in pci_dpc_recovered() 110 host = pci_find_host_bridge(pdev->bus); in pci_dpc_recovered() [all …]
|
/Linux-v5.15/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_hdcs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 7 * Copyright (c) 2008 Chia-I Wu 10 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600 11 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express 12 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam 13 * P/N 861075-0040: Sensor HDCS1000 ASIC 14 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB 15 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web [all …]
|
/Linux-v5.15/drivers/hid/ |
D | hid-playstation.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include "hid-ids.h" 180 uint8_t x, y; member 188 __le16 gyro[3]; /* x, y, z */ 189 __le16 accel[3]; /* x, y, z */ 201 static_assert(sizeof(struct dualsense_input_report) == DS_INPUT_REPORT_USB_SIZE - 1); 286 static const struct {int x; int y; } ps_gamepad_hat_mapping[] = { member 287 {0, -1}, {1, -1}, {1, 0}, {1, 1}, {0, 1}, {-1, 1}, {-1, 0}, {-1, -1}, 302 if (!memcmp(entry->mac_address, dev->mac_address, sizeof(dev->mac_address))) { in ps_devices_list_add() 303 hid_err(dev->hdev, "Duplicate device found for MAC address %pMR.\n", in ps_devices_list_add() [all …]
|
/Linux-v5.15/drivers/media/pci/bt8xx/ |
D | bttv-risc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 bttv-risc.c -- interfaces to other kernel modules 7 - memory management 8 - generation 10 (c) 2000-2003 Gerd Knorr <kraxel@bytesex.org> 25 #include <media/v4l2-ioctl.h> 31 /* ---------------------------------------------------------- */ 43 __le32 *rp; in bttv_risc_packed() local 54 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed() 58 rp = risc->cpu; in bttv_risc_packed() [all …]
|
/Linux-v5.15/drivers/media/pci/cx88/ |
D | cx88-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org> 9 * - Multituner support 10 * - video_ioctl2 conversion 11 * - PAL/M fixes 29 #include <media/v4l2-common.h> 30 #include <media/v4l2-ioctl.h> 36 /* ------------------------------------------------------------------ */ 64 #define NO_SYNC_LINE (-1U) 70 static __le32 *cx88_risc_field(__le32 *rp, struct scatterlist *sglist, in cx88_risc_field() argument [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtl818x/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 A-Link WL54PC 19 Dlink DWL-610 20 Dlink DWL-510 22 Level-One WPC-0101 24 VCTnet PC-11B1 25 Ovislink AirLive WL-1120PCM 26 Mentor WL-PCI 28 TrendNET TEW-288PI 29 D-Link DWL-520 Rev D [all …]
|
/Linux-v5.15/arch/ia64/lib/ |
D | memcpy_mck.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Itanium 2-optimized version of memcpy and copy_user function 21 #define EK(y...) EX(y) argument 39 /* r19-r30 are temp for each code section */ 110 // both dest and src are aligned on 8-byte boundary 113 alloc saved_pfs=ar.pfs,3,Nrot-3,0,Nrot 124 add cnt=-1,cnt 141 shr.u r29=in2,5 // number of 32-byte iteration 144 add cnt=-1,r29 // ctop iteration adjustment 175 and r21=-8,tmp [all …]
|
/Linux-v5.15/kernel/ |
D | kprobes.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * 2002-Oct Created by Vamsi Krishna S <vamsi_krishna@in.ibm.com> Kernel 11 * 2004-Aug Updated by Prasanna S Panchamukhi <prasanna@in.ibm.com> with 13 * 2004-July Suparna Bhattacharya <suparna@in.ibm.com> added jumper probes 15 * 2004-Sep Prasanna S Panchamukhi <prasanna@in.ibm.com> Changed Kprobes 17 * 2005-May Hien Nguyen <hien@us.ibm.com>, Jim Keniston 19 * <prasanna@in.ibm.com> added function-return probes. 52 * - Normal hlist traversal and RCU add/del under kprobe_mutex is held. 54 * - RCU hlist traversal under disabling preempt (breakpoint handlers) 71 /* Blacklist -- list of struct kprobe_blacklist_entry */ [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtw88/ |
D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 21 MODULE_PARM_DESC(disable_msi, "Set Y to disable MSI interrupt support"); 22 MODULE_PARM_DESC(disable_aspm, "Set Y to disable PCI ASPM support"); 46 return skb->priority; in rtw_pci_get_tx_qsel() 52 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read8() 54 return readb(rtwpci->mmap + addr); in rtw_pci_read8() 59 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read16() 61 return readw(rtwpci->mmap + addr); in rtw_pci_read16() 66 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read32() [all …]
|
/Linux-v5.15/arch/ia64/kernel/ |
D | entry.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #define PRED_KERNEL_STACK 2 /* returning to kernel-stacks? */ 9 #define PRED_USER_STACK 3 /* returning to user-stacks? */ 14 # define PASTE2(x,y) x##y argument 15 # define PASTE(x,y) PASTE2(x,y) argument 31 .spillsp rp, PT(CR_IIP)+16+(off); \ 70 adds sp=-IA64_SWITCH_STACK_SIZE,sp; \
|
/Linux-v5.15/arch/microblaze/pci/ |
D | pci-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * Common pmac/prep/chrp pci routines. -- Cort 35 #include <asm/pci-bridge.h> 60 phb->global_number = global_phb_number++; in pcibios_alloc_controller() 61 list_add_tail(&phb->list_node, &hose_list); in pcibios_alloc_controller() 63 phb->dn = dev; in pcibios_alloc_controller() 64 phb->is_dynamic = mem_init_done; in pcibios_alloc_controller() 71 list_del(&phb->list_node); in pcibios_free_controller() 74 if (phb->is_dynamic) in pcibios_free_controller() 80 return resource_size(&hose->io_resource); in pcibios_io_size() [all …]
|
/Linux-v5.15/drivers/media/pci/cx18/ |
D | cx18-streams.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from ivtv-streams.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-fileops.h" 14 #include "cx18-mailbox.h" 15 #include "cx18-i2c.h" 16 #include "cx18-queue.h" 17 #include "cx18-ioctl.h" 18 #include "cx18-streams.h" [all …]
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | pci-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * Common pmac/prep/chrp pci routines. -- Cort 37 #include <asm/pci-bridge.h> 40 #include <asm/ppc-pci.h> 76 int ret, phb_id = -1; in get_phb_number() 82 * the respective device-tree properties. Firstly, try powernv by in get_phb_number() 83 * reading "ibm,opal-phbid", only present in OPAL environment. in get_phb_number() 85 ret = of_property_read_u64(dn, "ibm,opal-phbid", &prop); in get_phb_number() 92 phb_id = (int)(prop & (MAX_PHBS - 1)); in get_phb_number() 117 phb->global_number = get_phb_number(dev); in pcibios_alloc_controller() [all …]
|
/Linux-v5.15/drivers/video/fbdev/ |
D | controlfb.c | 2 * controlfb.c -- frame buffer device for the PowerMac 'control' display 11 * drivers/video/chipsfb.c -- frame buffer device for 18 * And from the frame buffer device for Open Firmware-initialized devices: 94 #define DIRTY(z) ((x)->z != (y)->z) 95 #define DIRTY_CMAP(z) (memcmp(&((x)->z), &((y)->z), sizeof((y)->z))) 96 static inline int PAR_EQUAL(struct fb_par_control *x, struct fb_par_control *y) in PAR_EQUAL() argument 112 static inline int VAR_MATCH(struct fb_var_screeninfo *x, struct fb_var_screeninfo *y) in VAR_MATCH() argument 143 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r)) 168 out_8(&p->cmap_regs->addr, regno); /* tell clut what addr to fill */ in controlfb_setcolreg() 169 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg() [all …]
|
/Linux-v5.15/net/bluetooth/ |
D | smp.c | 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 40 ((struct smp_dev *)((struct l2cap_chan *)((hdev)->smp_data))->data) 42 /* Low-level debug macros to be used for stuff that we don't want 54 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) 161 dst[len - 1 - i] = src[i]; in swap_buf() 165 * AES-CMAC, f4, f5, f6, g2 and h6. 175 return -EFBIG; in aes_cmac() 179 return -EINVAL; in aes_cmac() 313 const u8 x[16], const u8 y[16], u32 *val) in smp_g2() [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/ |
D | i915_debugfs.c | 55 return to_i915(node->minor->dev); in node_to_i915() 60 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_capabilities() 67 intel_gt_info_print(&i915->gt.info, &p); in i915_capabilities() 68 intel_driver_caps_print(&i915->caps, &p); in i915_capabilities() 71 i915_params_dump(&i915->params, &p); in i915_capabilities() 83 case I915_TILING_Y: return 'Y'; in get_tiling_flag() 89 return READ_ONCE(obj->userfault_count) ? 'g' : ' '; in get_global_flag() 94 return obj->mm.mapping ? 'M' : ' '; in get_pin_mapped_flag() 116 x += snprintf(buf + x, len - x, "2M, "); in stringify_page_sizes() 118 x += snprintf(buf + x, len - x, "64K, "); in stringify_page_sizes() [all …]
|