| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-compressed.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 8 .. _compressed-formats: 18 .. flat-table:: Compressed Image Formats 19 :header-rows: 1 20 :stub-columns: 0 23 * - Identifier 24 - Code 25 - Details 26 * .. _V4L2-PIX-FMT-JPEG: 28 - ``V4L2_PIX_FMT_JPEG`` [all …]
|
| H A D | dev-encoder.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 6 Memory-to-Memory Stateful Video Encoder Interface 12 further post-processing by the client. 34 5. Single-planar API (see :ref:`planar-apis`) and applicable structures may be 35 used interchangeably with multi-planar API, unless specified otherwise, 47 Refer to :ref:`decoder-glossary`. 52 .. kernel-render:: DOT 65 qi -> Initialization [ label = "open()" ]; 67 Initialization -> Encoding [ label = "Both queues streaming" ]; 69 Encoding -> Drain [ label = "V4L2_ENC_CMD_STOP" ]; [all …]
|
| /linux/Documentation/networking/device_drivers/can/ |
| H A D | can327.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 7 -------- 14 ----------- 26 ------------- 29 into full fledged (as far as possible) CAN interfaces. 33 order to fake full-duplex operation. 36 enough to implement simple request-response protocols (such as OBD II), 50 ----------- 59 ---------------------------------- 68 --debug \ [all …]
|
| /linux/drivers/usb/dwc2/ |
| H A D | hcd.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * hcd.h - DesignWare HS OTG Controller host-mode declarations 5 * Copyright (C) 2004-2013 Synopsys, Inc. 24 * struct dwc2_host_chan - Software host channel descriptor 31 * - USB_SPEED_LOW 32 * - USB_SPEED_FULL 33 * - USB_SPEED_HIGH 35 * - USB_ENDPOINT_XFER_CONTROL: 0 36 * - USB_ENDPOINT_XFER_ISOC: 1 37 * - USB_ENDPOINT_XFER_BULK: 2 [all …]
|
| H A D | hcd_queue.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * hcd_queue.c - DesignWare HS OTG Controller host queuing routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 17 #include <linux/dma-mapping.h> 36 * dwc2_periodic_channel_available() - Checks that a channel is available for a 48 * non-periodic transactions in dwc2_periodic_channel_available() 53 num_channels = hsotg->params.host_channels; in dwc2_periodic_channel_available() 54 if ((hsotg->periodic_channels + hsotg->non_periodic_channels < in dwc2_periodic_channel_available() 55 num_channels) && (hsotg->periodic_channels < num_channels - 1)) { in dwc2_periodic_channel_available() 58 dev_dbg(hsotg->dev, in dwc2_periodic_channel_available() [all …]
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac1000.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 Copyright (C) 2007-2009 STMicroelectronics Ltd 15 #define GMAC_FRAME_FILTER 0x00000004 /* Frame Filter */ 23 #define GMAC_WAKEUP_FILTER 0x00000028 /* Wake-up Frame Filter */ 68 #define GMAC_ADDR_HIGH(reg) ((reg > 15) ? 0x00000800 + (reg - 16) * 8 : \ 70 #define GMAC_ADDR_LOW(reg) ((reg > 15) ? 0x00000804 + (reg - 16) * 8 : \ 97 #define GMAC_CONTROL_BE 0x00200000 /* Frame Burst Enable */ 98 #define GMAC_CONTROL_JE 0x00100000 /* Jumbo frame */ 108 #define GMAC_CONTROL_LM 0x00001000 /* Loop-back mode */ 121 /* GMAC Frame Filter defines */ [all …]
|
| /linux/drivers/firmware/tegra/ |
| H A D | ivc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. 47 * This structure is divided into two-cache aligned parts, the first is only 50 * lines, which is critical to performance and necessary in non-cache coherent 79 if (!ivc->peer) in tegra_ivc_invalidate() 82 dma_sync_single_for_cpu(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_invalidate() 88 if (!ivc->peer) in tegra_ivc_flush() 91 dma_sync_single_for_device(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_flush() 106 * Perform an over-full check to prevent denial of service attacks in tegra_ivc_empty() 109 * expected to check for full or over-full conditions. in tegra_ivc_empty() [all …]
|
| /linux/include/linux/spi/ |
| H A D | sh_msiof.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 #define SIMDR1_SYNCMD_PULSE 0U /* Frame start sync pulse */ 33 #define SIMDR1_SYNCAC BIT(25) /* Sync Polarity (1 = Active-low) */ 36 #define SIMDR1_SYNCDL GENMASK(18, 16) /* Frame Sync Signal Timing Delay */ 37 #define SIMDR1_FLD GENMASK(3, 2) /* Frame Sync Signal Interval (0-3) */ 46 #define SIMDR2_BITLEN1 GENMASK(28, 24) /* Data Size (8-32 bits) */ 47 #define SIMDR2_WDLEN1 GENMASK(23, 16) /* Word Count (1-64/256 (SH, A1))) */ 48 #define SIMDR2_GRPMASK GENMASK(3, 0) /* Group Output Mask 1-4 (SH, A1) */ 51 #define SIMDR3_BITLEN2 GENMASK(28, 24) /* Data Size (8-32 bits) */ 52 #define SIMDR3_WDLEN2 GENMASK(23, 16) /* Word Count (1-64/256 (SH, A1))) */ [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/dlink/ |
| H A D | dl2k.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 D-Link DL2000-based Gigabit Ethernet Adapter Installation 11 - Compatibility List 12 - Quick Install 13 - Compiling the Driver 14 - Installing the Driver 15 - Option parameter 16 - Configuration Script Sample 17 - Troubleshooting 25 - D-Link DGE-550T Gigabit Ethernet Adapter. [all …]
|
| /linux/Documentation/fb/ |
| H A D | framebuffer.rst | 2 The Frame Buffer Device 9 --------------- 11 The frame buffer device provides an abstraction for the graphics hardware. It 12 represents the frame buffer of some video hardware and allows application 13 software to access the graphics hardware through a well-defined interface, so 14 the software doesn't need to know anything about the low-level (hardware 22 -------------------------- 24 From the user's point of view, the frame buffer device looks just like any 26 specifies the frame buffer number. 31 0 = /dev/fb0 First frame buffer [all …]
|
| /linux/drivers/usb/c67x00/ |
| H A D | c67x00-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * c67x00-hcd.h: Cypress C67X00 USB HCD 5 * Copyright (C) 2006-2008 Barco N.V. 37 * frames; there are 12000 bit times per frame. 43 #define MAX_FRAME_BW_STD (TOTAL_FRAME_BW - DEFAULT_EOT) 47 * Periodic transfers may only use 90% of the full frame, but as 48 * we currently don't even use 90% of the full frame, we may 49 * use the full usable time for periodic transfers. 53 /* -------------------------------------------------------------------------- */ 89 return (struct c67x00_hcd *)(hcd->hcd_priv); in hcd_to_c67x00_hcd() [all …]
|
| /linux/drivers/net/ethernet/freescale/fs_enet/ |
| H A D | fec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define FEC_ENET_TXF 0x08000000U /* Full frame transmitted */ 15 #define FEC_ENET_RXF 0x02000000U /* Full frame received */
|
| /linux/drivers/net/fddi/skfp/h/ |
| H A D | supern_2.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 40 * FORMAC frame status (rx_msext) 47 #define FS_MSRABT (1<<14) /* frame was aborted during reception*/ 48 #define FS_SSRCRTG (1<<12) /* if SA has set MSB (source-routing)*/ 54 #define FS_SFRMTY2 (1<<6) /* frame-class bit */ 55 #define FS_SFRMTY1 (1<<5) /* frame-type bit (impementor) */ 56 #define FS_SFRMTY0 (1<<4) /* frame-type bit (LLC) */ 58 #define FS_ERFBB0 (1<<0) /* - " - */ 61 * status frame type 71 * bits in rx_descr.i (receive frame status word) [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v8_0.c | 82 (0x13830 - 0x7030) >> 2, 129 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v8_0_audio_endpt_rreg() 132 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v8_0_audio_endpt_rreg() 142 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v8_0_audio_endpt_wreg() 145 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v8_0_audio_endpt_wreg() 150 if (crtc >= adev->mode_info.num_crtc) in dce_v8_0_vblank_get_counter() 161 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v8_0_pageflip_interrupt_init() 162 amdgpu_irq_get(adev, &adev->pageflip_irq, i); in dce_v8_0_pageflip_interrupt_init() 170 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v8_0_pageflip_interrupt_fini() 171 amdgpu_irq_put(adev, &adev->pageflip_irq, i); in dce_v8_0_pageflip_interrupt_fini() [all …]
|
| H A D | dce_v10_0.c | 150 switch (adev->asic_type) { in dce_v10_0_init_golden_registers() 178 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v10_0_audio_endpt_rreg() 181 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v10_0_audio_endpt_rreg() 191 spin_lock_irqsave(&adev->audio_endpt_idx_lock, flags); in dce_v10_0_audio_endpt_wreg() 194 spin_unlock_irqrestore(&adev->audio_endpt_idx_lock, flags); in dce_v10_0_audio_endpt_wreg() 199 if (crtc >= adev->mode_info.num_crtc) in dce_v10_0_vblank_get_counter() 210 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v10_0_pageflip_interrupt_init() 211 amdgpu_irq_get(adev, &adev->pageflip_irq, i); in dce_v10_0_pageflip_interrupt_init() 219 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v10_0_pageflip_interrupt_fini() 220 amdgpu_irq_put(adev, &adev->pageflip_irq, i); in dce_v10_0_pageflip_interrupt_fini() [all …]
|
| /linux/drivers/mailbox/ |
| H A D | bcm-pdc-mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * offload engines. For example, the PDC driver works with both SPU-M and SPU2 41 #include <linux/mailbox/brcm-message.h> 43 #include <linux/dma-direction.h> 44 #include <linux/dma-mapping.h> 73 #define PREVTXD(i, max_mask) TXD((i) - 1, (max_mask)) 75 #define PREVRXD(i, max_mask) RXD((i) - 1, (max_mask)) 76 #define NTXDACTIVE(h, t, max_mask) TXD((t) - (h), (max_mask)) 77 #define NRXDACTIVE(h, t, max_mask) RXD((t) - (h), (max_mask)) 105 * before frame [all …]
|
| /linux/drivers/net/can/ |
| H A D | can327.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * can327.c Author : Max Staudt <max-linux@enpas.org> 37 #include <linux/can/rx-offload.h> 53 /* Bits in elm->cmds_todo */ 76 /* Per-channel lock */ 101 /* The CAN frame and config the ELM327 is sending/using, 125 lockdep_assert_held(&elm->lock); in can327_send() 127 if (elm->uart_side_failure) in can327_send() 130 memcpy(elm->txbuf, buf, len); in can327_send() 134 * the transfer may be completed inside the ops->write() in can327_send() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | uhci-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com 15 * support from usb-ohci.c by Adam Richter, adam@yggdrasil.com). 16 * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c) 17 * (C) Copyright 2004-2007 Alan Stern, stern@rowland.harvard.edu 40 #include <linux/dma-mapping.h> 50 #include "uhci-hcd.h" 97 * Calculate the link pointer DMA value for the first Skeleton QH in a frame. 99 static __hc32 uhci_frame_skel_link(struct uhci_hcd *uhci, int frame) in uhci_frame_skel_link() argument 105 * There's not much to be done about period-1 interrupts; they have in uhci_frame_skel_link() [all …]
|
| H A D | ehci-sched.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2001-2004 by David Brownell 4 * Copyright (c) 2003 Michal Sojka, for high-speed iso transfers 7 /* this file is part of ehci-hcd.c */ 9 /*-------------------------------------------------------------------------*/ 21 * pre-calculated schedule data to make appending to the queue be quick. 27 * periodic_next_shadow - return "next" pointer on shadow list 37 return &periodic->qh->qh_next; in periodic_next_shadow() 39 return &periodic->fstn->fstn_next; in periodic_next_shadow() 41 return &periodic->itd->itd_next; in periodic_next_shadow() [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
| H A D | vdec_av1_req_lat_if.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <media/videobuf2-dma-contig.h> 22 #define AV1_REF_INVALID_SCALE -1 26 #define AV1_INVALID_IDX -1 39 (((_value_) < 0) ? -AV1_DIV_ROUND_UP_POW2(-(_value_), (_n_)) \ 43 #define BIT_FLAG(x, bit) (!!((x)->flags & (bit))) 44 #define SEGMENTATION_FLAG(x, name) (!!((x)->flags & V4L2_AV1_SEGMENTATION_FLAG_##name)) 45 #define QUANT_FLAG(x, name) (!!((x)->flags & V4L2_AV1_QUANTIZATION_FLAG_##name)) 46 #define SEQUENCE_FLAG(x, name) (!!((x)->flags & V4L2_AV1_SEQUENCE_FLAG_##name)) 47 #define FH_FLAG(x, name) (!!((x)->flags & V4L2_AV1_FRAME_FLAG_##name)) [all …]
|
| /linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 1999 - 2010 Intel Corporation. 26 * pch_gbe_regs_mac_adr - Structure holding values of mac address registers 35 * pch_udc_regs - Structure holding values of MAC registers 95 #define PCH_GBE_INT_RX_FRAME_ERR 0x00000004 /* Receive frame error */ 113 #define PCH_GBE_MODE_FULL_DUPLEX 0x40000000 /* Duplex Mode [full duplex] */ 114 #define PCH_GBE_MODE_FR_BST 0x04000000 /* Frame bursting is done */ 145 /* Receive Almost Full Threshold */ 208 /* Frame Start Threshold */ 222 /* Transmit Almost Full Threshold */ [all …]
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00queue.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 19 * DOC: Entry frame size 21 * Ralink PCI devices demand the Frame size to be a multiple of 128 bytes, 64 * @SKBDESC_IV_STRIPPED: Frame contained a IV/EIV provided by 66 * @SKBDESC_NOT_MAC80211: Frame didn't originate from mac80211, 85 * @flags: Frame flags, see &enum skb_frame_desc_flags. 86 * @desc_len: Length of the frame descriptor. 89 * @desc: Pointer to descriptor part of the frame. 91 * of the scope of the skb->data pointer. [all …]
|
| /linux/drivers/scsi/isci/ |
| H A D | request.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 21 * The full GNU General Public License is included in this distribution 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 64 * isci_stp_request - extra request infrastructure to handle pio/atapi protocol 65 * @pio_len - number of bytes requested at PIO setup 66 * @status - pio setup ending status value to tell us if we need 69 * @sgl - track pio transfer progress as we iterate through the sgl 92 /* XXX kill ttype and ttype_ptr, allocate full sas_task */ 103 * - TMF requests are completed in the thread that started them; [all …]
|
| /linux/Documentation/usb/ |
| H A D | ehci.rst | 5 27-Dec-2002 8 USB 2.0-capable host controller hardware. The USB 2.0 standard is 11 - "High Speed" 480 Mbit/sec (60 MByte/sec) 12 - "Full Speed" 12 Mbit/sec (1.5 MByte/sec) 13 - "Low Speed" 1.5 Mbit/sec 15 USB 1.1 only addressed full speed and low speed. High speed devices 23 (TT) in the hub, which turns low or full speed transactions into 31 While usb-storage devices have been available since mid-2001 (working 34 appear to be on hold until more systems come with USB 2.0 built-in. 39 other changes to the Linux-USB core APIs, including the hub driver, [all …]
|
| /linux/drivers/net/ethernet/ |
| H A D | dnet.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 writel((value), (port)->regs + DNET_##reg) 16 #define dnet_readl(port, reg) readl((port)->regs + DNET_##reg) 40 #define DNET_MACREG_DATA 0x200 /* Mac-Reg Data */ 41 #define DNET_MACREG_ADDR 0x204 /* Mac-Reg Addr */ 71 /* SOME INTERNAL MAC-CORE REGISTER */ 87 /* MAC-CORE REGISTER FIELDS */ 89 /* MAC-CORE MODE REGISTER FIELDS */ 95 /* MAC-CORE RXTX CONTROL REGISTER FIELDS */ 146 * almost empty = less than one full sized ethernet frame (no jumbo) inside [all …]
|