/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | qcom,bam-dmux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/qcom,bam-dmux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephan Gerhold <stephan@gerhold.net> 25 const: qcom,bam-dmux 32 - description: Power control 33 - description: Power control acknowledgment 35 interrupt-names: 37 - const: pc [all …]
|
/openbmc/linux/Documentation/input/devices/ |
H A D | walkera0701.rst | 2 Walkera WK-0701 transmitter 5 Walkera WK-0701 transmitter is supplied with a ready to fly Walkera 10 http://zub.fei.tuke.sk/walkera-wk0701/ 13 cg-clone http://zub.fei.tuke.sk/GIT/walkera0701-joystick 16 Connecting to PC 19 At back side of transmitter S-video connector can be found. Modulation 22 modulation pulses to PC, signal pulses must be amplified. 26 Walkera WK-0701 TX S-VIDEO connector:: 29 __ __ S-video: canon25 31 / O 4 3 O \ pin 3 (GND) LED ________________ 10 ACK [all …]
|
/openbmc/qemu/target/rx/ |
H A D | helper.c | 28 if (env->psw_pm == 0) { in rx_cpu_unpack_psw() 29 env->psw_ipl = FIELD_EX32(psw, PSW, IPL); in rx_cpu_unpack_psw() 32 env->psw_pm = FIELD_EX32(psw, PSW, PM); in rx_cpu_unpack_psw() 34 env->psw_u = FIELD_EX32(psw, PSW, U); in rx_cpu_unpack_psw() 35 env->psw_i = FIELD_EX32(psw, PSW, I); in rx_cpu_unpack_psw() 37 env->psw_o = FIELD_EX32(psw, PSW, O) << 31; in rx_cpu_unpack_psw() 38 env->psw_s = FIELD_EX32(psw, PSW, S) << 31; in rx_cpu_unpack_psw() 39 env->psw_z = 1 - FIELD_EX32(psw, PSW, Z); in rx_cpu_unpack_psw() 40 env->psw_c = FIELD_EX32(psw, PSW, C); in rx_cpu_unpack_psw() 47 int do_irq = cs->interrupt_request & INT_FLAGS; in rx_cpu_do_interrupt() [all …]
|
H A D | cpu.h | 24 #include "cpu-qom.h" 26 #include "exec/cpu-defs.h" 27 #include "qemu/cpu-float.h" 85 uint32_t bpc; /* backup pc */ 88 uint32_t pc; /* program counter */ member 104 qemu_irq ack; /* Interrupt acknowledge */ member 145 int *max_insns, vaddr pc, void *host_pc); 148 #include "exec/cpu-all.h" 156 static inline void cpu_get_tb_cpu_state(CPURXState *env, vaddr *pc, in cpu_get_tb_cpu_state() argument 159 *pc = env->pc; in cpu_get_tb_cpu_state() [all …]
|
/openbmc/linux/drivers/net/wwan/ |
H A D | qcom_bam_dmux.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Qualcomm BAM-DMUX WWAN network driver 10 #include <linux/dma-mapping.h> 27 #define BAM_DMUX_MAX_DATA_SIZE (BAM_DMUX_BUFFER_SIZE - BAM_DMUX_HDR_SIZE) 73 struct qcom_smem_state *pc, *pc_ack; member 98 reinit_completion(&dmux->pc_ack_completion); in bam_dmux_pc_vote() 99 qcom_smem_state_update_bits(dmux->pc, dmux->pc_mask, in bam_dmux_pc_vote() 100 enable ? dmux->pc_mask : 0); in bam_dmux_pc_vote() 105 qcom_smem_state_update_bits(dmux->pc_ack, dmux->pc_ack_mask, in bam_dmux_pc_ack() 106 dmux->pc_ack_state ? 0 : dmux->pc_ack_mask); in bam_dmux_pc_ack() [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_vpu_if.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Author: PC Chen <pc.chen@mediatek.com> 13 * struct vdec_vpu_inst - VPU instance for video codec 23 * @signaled : 1 - Host has received ack message from VPU, 0 - not received 26 * @wq : wait queue to wait VPU message ack 50 * vpu_dec_init - init decoder instance and allocate required resource in VPU. 57 * vpu_dec_start - start decoding, basically the function will be invoked once 67 * vpu_dec_end - end decoding, basically the function will be invoked once 77 * vpu_dec_deinit - deinit decoder instance and resource freed in VPU. 84 * vpu_dec_reset - reset decoder, use for flush decoder when end of stream or [all …]
|
H A D | vdec_ipi_msg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Author: PC Chen <pc.chen@mediatek.com> 11 * enum vdec_ipi_msgid - message id between AP and VPU 13 * @VPU_IPIMSG_XXX_ACK : VPU ack AP cmd message id 36 * struct vdec_ap_ipi_cmd - generic AP to VPU ipi command format 54 * struct vdec_vpu_ipi_ack - generic VPU to AP ipi command format 66 * struct vdec_ap_ipi_init - for AP_IPIMSG_DEC_INIT 78 * struct vdec_ap_ipi_dec_start - for AP_IPIMSG_DEC_START 99 * struct vdec_vpu_ipi_init_ack - for VPU_IPIMSG_DEC_INIT_ACK 120 * struct vdec_ap_ipi_get_param - for AP_IPIMSG_DEC_GET_PARAM [all …]
|
/openbmc/linux/arch/mips/kvm/ |
H A D | emulate.c | 23 #include <asm/cpu-info.h> 45 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_compute_return_epc() 52 return -EINVAL; in kvm_compute_return_epc() 65 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc() 68 nextpc = arch->gprs[insn.r_format.rs]; in kvm_compute_return_epc() 71 return -EINVAL; in kvm_compute_return_epc() 84 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc() 93 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc() 102 arch->gprs[31] = epc + 8; in kvm_compute_return_epc() 103 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc() [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | f_thor.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * f_thor.h - USB TIZEN THOR - internal gadget definitions 25 * Attribute Vendor descriptor - necessary to prevent ZLP transmission 26 * from Windows XP HOST PC 86 s32 ack; /* ack */ member 92 s32 ack; /* response id (= request id) */ member 103 struct usb_request *req; /* EP0 -> control responses */
|
H A D | f_thor.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_thor.c -- USB TIZEN THOR Downloader gadget function 9 * git://review.tizen.org/kernel/u-boot 48 /* THOR protocol - transmission handling */ 59 debug("-RSP: %d, %d\n", rsp->rsp, rsp->rsp_data); in send_rsp() 62 static void send_data_rsp(s32 ack, s32 count) in send_data_rsp() argument 67 rsp->ack = ack; in send_data_rsp() 68 rsp->count = count; in send_data_rsp() 73 debug("-DATA RSP: %d, %d\n", ack, count); in send_data_rsp() 81 rsp->rsp = rqt->rqt; in process_rqt_info() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | n411.c | 2 * linux/drivers/video/n411.c -- Platform device for N411 EPD kit 19 * PC parallel port. 22 * - User must set dio_addr=0xIOADDR cio_addr=0xIOADDR c2io_addr=0xIOADDR 91 } while (timeout--); in n411_wait_for_ack() 92 printk(KERN_ERR "timed out waiting for ack\n"); in n411_wait_for_ack() 100 ACK = hi in n411_init_control() 110 /* check ACK is not lo */ in n411_init_control() 113 printk(KERN_ERR "Fail because ACK is already low\n"); in n411_init_control() 114 return -ENXIO; in n411_init_control() 129 par->send_command(par, APOLLO_INIT_DISPLAY); in n411_init_board() [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | irq_i8259.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * present in the majority of PC/AT boxes. 8 * Started hacking from linux-2.3.30pre6/arch/i386/kernel/i8259.c. 40 i8259_update_irq_hw(d->irq, cached_irq_mask &= ~(1 << d->irq)); in i8259a_enable_irq() 54 __i8259a_disable_irq(d->irq); in i8259a_disable_irq() 61 unsigned int irq = d->irq; in i8259a_mask_and_ack_irq() 66 /* Ack the interrupt making it the lowest priority. */ in i8259a_mask_and_ack_irq() 68 outb(0xE0 | (irq - 8), 0xa0); /* ack the slave */ in i8259a_mask_and_ack_irq() 71 outb(0xE0 | irq, 0x20); /* ack the master */ in i8259a_mask_and_ack_irq() 76 .name = "XT-PIC", [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: ISC 55 Say Y, if you have a SoC with a compatible built-in 118 bool "Atheros ath9k ACK timeout estimation algorithm" 122 This option enables ath9k dynamic ACK timeout estimation algorithm 123 based on ACK frame RX timestamp, TX frame timestamp and frame 140 Say Y to have ath9k poll the RF-Kill GPIO every couple of 142 a platform that can toggle the RF-Kill GPIO. 150 for multi-channel concurrency. Enable this if P2P PowerSave support 154 bool "Atheros ath9k support for PC OEM cards" if EXPERT 159 tristate "Atheros ath9k pci loader for EEPROM-less chips" [all …]
|
/openbmc/linux/arch/mips/dec/ |
H A D | kn01-berr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 * Bits 7:0 of the Control Register are write-only -- the 41 * There is no default value -- it has to be initialized. 74 int data = regs->cp0_cause & 4; in dec_kn01_be_backend() 75 unsigned int __user *pc = (unsigned int __user *)regs->cp0_epc + in dec_kn01_be_backend() local 76 ((regs->cp0_cause & CAUSEF_BD) != 0); in dec_kn01_be_backend() 87 /* Ack ASAP, so that any subsequent errors get caught. */ in dec_kn01_be_backend() 100 __get_user(insn.word, pc); in dec_kn01_be_backend() 101 vaddr = regs->regs[insn.i_format.rs] + in dec_kn01_be_backend() 104 vaddr = (long)pc; in dec_kn01_be_backend() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/ |
H A D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 15 * This file handles the architecture-dependent parts of hardware exceptions 59 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs() 61 regs->msr, regs->msr & MSR_EE ? 1 : 0, in show_regs() 62 regs->msr & MSR_PR ? 1 : 0, regs->msr & MSR_FP ? 1 : 0, in show_regs() 63 regs->msr & MSR_ME ? 1 : 0, regs->msr & MSR_IR ? 1 : 0, in show_regs() 64 regs->msr & MSR_DR ? 1 : 0); in show_regs() 71 printf("%08lX ", regs->gpr[i]); in show_regs() 81 print_backtrace((unsigned long *)regs->gpr[1]); in _exception() [all …]
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-sti.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2013-2016 STMicroelectronics (R&D) Limited 59 * Each capture input can be programmed to detect rising-edge, falling-edge, 123 static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period, in sti_pwm_get_prescale() argument 126 struct sti_pwm_compat_data *cdata = pc->cdata; in sti_pwm_get_prescale() 131 clk_rate = clk_get_rate(pc->pwm_clk); in sti_pwm_get_prescale() 133 dev_err(pc->dev, "failed to get clock rate\n"); in sti_pwm_get_prescale() 134 return -EINVAL; in sti_pwm_get_prescale() 138 * prescale = ((period_ns * clk_rate) / (10^9 * (max_pwm_cnt + 1)) - 1 in sti_pwm_get_prescale() 141 value *= cdata->max_pwm_cnt + 1; in sti_pwm_get_prescale() [all …]
|
/openbmc/linux/include/linux/bcma/ |
H A D | bcma_driver_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 142 #define BCMA_CORE_PCI_DLLP_LACKTOREG 0x124 /* Link Ack Timeout */ 237 #define pcicore_read16(pc, offset) bcma_read16((pc)->core, offset) argument 238 #define pcicore_read32(pc, offset) bcma_read32((pc)->core, offset) argument 239 #define pcicore_write16(pc, offset, val) bcma_write16((pc)->core, offset, val) argument 240 #define pcicore_write32(pc, offset, val) bcma_write32((pc)->core, offset, val) argument 256 return -ENOTSUPP; in bcma_core_pci_pcibios_map_irq() 260 return -ENOTSUPP; in bcma_core_pci_plat_dev_init()
|
/openbmc/linux/drivers/input/serio/ |
H A D | parkbd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 1999-2004 Vojtech Pavlik 15 * +5V --------------------- +5V (4) 18 * +5V -------|______|--. 20 * ACK (10) ------------| 21 * |--- KBD CLOCK (5) 22 * STROBE (1) ---|<|----' 25 * +5V -------|______|--. 27 * BUSY (11) -----------| 28 * |--- KBD DATA (1) [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | plip.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 ----------------- 17 This device interface allows a point-to-point connection between two 24 over a parallel port. In the case of a PC, the obvious choice is the 25 printer port. PLIP is a non-standard, but [can use] uses the standard 26 LapLink null-printer cable [can also work in turbo mode, with a PLIP 62 ------------------- 77 On these machines, the PLIP driver can be used in IRQ-less mode, where 82 indicate that there isn't a noticeable performance drop when using IRQ-less 92 When in IRQ-less mode, the PLIP driver polls the parallel port HZ times [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 10 * This file handles the architecture-dependent parts of hardware 25 #define END_OF_MEM (gd->bd->bi_memstart + gd->bd->bi_memsize) 56 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs() 58 regs->msr, regs->msr&MSR_EE ? 1 : 0, regs->msr&MSR_PR ? 1 : 0, in show_regs() 59 regs->msr & MSR_FP ? 1 : 0,regs->msr&MSR_ME ? 1 : 0, in show_regs() 60 regs->msr&MSR_IR ? 1 : 0, in show_regs() 61 regs->msr&MSR_DR ? 1 : 0); in show_regs() 69 printf("%08lX ", regs->gpr[i]); in show_regs() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
H A D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 13 * This file handles the architecture-dependent parts of hardware exceptions 31 #define END_OF_MEM (gd->bd->bi_memstart + get_effective_memsize()) 64 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs() 67 regs->msr, regs->msr & MSR_EE ? 1 : 0, in show_regs() 68 regs->msr & MSR_PR ? 1 : 0, regs->msr & MSR_FP ? 1 : 0, in show_regs() 69 regs->msr & MSR_ME ? 1 : 0, regs->msr & MSR_IR ? 1 : 0, in show_regs() 70 regs->msr & MSR_DR ? 1 : 0); in show_regs() 78 printf("%08lX ", regs->gpr[i]); in show_regs() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | ebcdic.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * EBCDIC -> ASCII, ASCII -> EBCDIC, 9 * Martin Peschke <peschke@fh-brandenburg.de> 17 * ASCII (IBM PC 437) -> EBCDIC 037 21 /*00 NUL SOH STX ETX EOT ENQ ACK BEL */ 24 /* ->NL */ 29 /* ->IGS ->IRS ->IUS */ 33 /*28 ( ) * + , - . / */ 90 * EBCDIC 037 -> ASCII (IBM PC 437) 96 /* 0x08 -GE -SPS -RPT VT FF CR SO SI */ [all …]
|
/openbmc/linux/sound/pci/ |
H A D | azt3328.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /* "PU" == "power-up value", as tested on PCI168 PCI rev. 10 41 /* write back to flags in case flags are set, in order to ACK IRQ in handler 43 * sometimes in this case it just writes 0xffff to globally ACK all IRQs 46 #define IRQ_SOMETHING 0x0001 /* something & ACK */ 47 #define IRQ_FINISHED_DMABUF_1 0x0002 /* 1st dmabuf finished & ACK */ 48 #define IRQ_FINISHED_DMABUF_2 0x0004 /* 2nd dmabuf finished & ACK */ 85 …REQ_SUSPECTED_66200 0x06 | SOUNDFORMAT_XTAL2 /* 66200 (13240 * 5); 64000 may have been nicer :-\ */ 111 #define IDX_IO_TIMER_VALUE 0x60 /* found this timer area by pure luck :-) */ 122 /* some IRQ bit in here might also be used to signal a power-management timer [all …]
|
/openbmc/linux/drivers/net/plip/ |
H A D | plip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /* This driver is for parallel port with 5-bit cable (LapLink (R) cable). */ 8 * Tanabe Hiroyasu <hiro@sanpo.t.u-tokyo.ac.jp> 17 * parport-sharing awareness code by Philip Blundell. 25 * - Module initialization. 26 * - MTU fix. 27 * - Make sure other end is OK, before sending a packet. 28 * - Fix immediate timer problem. 31 * - Changed {enable,disable}_irq handling to make it work 51 * # ifconfig plip[0-2] arp [all …]
|
/openbmc/linux/drivers/char/ |
H A D | dtlk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- 3 * dtlk.c - DoubleTalk PC driver for Linux 8 * 2000-03-18 Jim Van Zandt: Fix polling. 15 /* This driver is for the DoubleTalk PC, a speech synthesizer 20 The DoubleTalk PC contains four voice synthesizers: text-to-speech 30 DoubleTalk PC implement index markers. Both the TTS and LPC ports 33 The DoubleTalk PC generates no interrupts. 40 This driver was written for use with the text-to-speech 57 #include <linux/errno.h> /* for -EBUSY */ [all …]
|