| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_acpi.h | 54 * ARG1: (ACPI_BUFFER) size of the buffer to fill (up to 4K). 71 * WORD - structure size in bytes (includes size field) 72 * WORD - version 73 * DWORD - supported notifications mask 74 * DWORD - supported functions bit vector 102 * WORD - structure size in bytes (includes size field) 103 * DWORD - valid flags mask 104 * DWORD - flags 108 * WORD - structure size in bytes (includes size field) 109 * DWORD - valid flags mask [all …]
|
| /linux/drivers/crypto/ccree/ |
| H A D | cc_hw_queue_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */ 21 #define CC_REG_HIGH(name) (CC_REG_LOW(name) + name ## _BIT_SIZE - 1) 24 #define CC_HWQ_GENMASK(word, field) \ argument 25 CC_GENMASK(CC_DSCRPTR_QUEUE_WORD ## word ## _ ## field) 64 u32 word[HW_DESC_SIZE_WORDS]; member 75 DESC_DIRECTION_ILLEGAL = -1, 83 DMA_MODE_NULL = -1, 92 FLOW_MODE_NULL = -1, 180 #define CC_LAST_HW_KEY_SLOT (CC_FIRST_HW_KEY_SLOT + CC_NUM_HW_KEY_SLOTS - 1) [all …]
|
| /linux/arch/arm/mm/ |
| H A D | proc-macros.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <asm/asm-offsets.h> 17 * vma_vm_mm - get mm pointer from vma pointer (vma->vm_mm) 24 * vma_vm_flags - get vma->vm_flags 31 * act_mm - get current->active_mm 42 * mmid - get context id from mm pointer (mm->context.id) 43 * note, this field is 64bit, so in big-endian the two words are swapped too. 54 * mask_asid - mask the ASID from the context ID 62 .word \clear 63 .word \mmuset [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * Within a word, bits are numbered LSB first. Lot's of places make 11 * This can cause confusion for large (> 1 word) bitmaps on a 12 * big-endian system because, unlike little endian, the number of each 13 * bit depends on the word size. 23 * The main difference is that bit 0-63 in the bit number field needs to be 62 addr += (nr ^ (BITS_PER_LONG - BITS_PER_BYTE)) / BITS_PER_BYTE; in arch_test_bit() 63 mask = 1UL << (nr & (BITS_PER_BYTE - 1)); in arch_test_bit() 75 #include <asm-generic/bitops/atomic.h> 76 #include <asm-generic/bitops/non-instrumented-non-atomic.h> [all …]
|
| H A D | cio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <asm/dma-types.h> 22 * struct ccw1 - channel command word 29 * operations with the device or the control unit. Only Format-1 channel 40 * struct ccw0 - channel command word 47 * The format-0 ccw structure. 81 * struct erw - extended report word 84 * @pvrf: path-verification-required flag 85 * @cpt: channel-path timeout 107 * struct erw_eadm - EADM Subchannel extended report word [all …]
|
| /linux/drivers/platform/mellanox/ |
| H A D | mlxbf-bootctl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * software to manage reset-time actions. 12 #include <linux/arm-smccc.h> 19 #include "mlxbf-bootctl.h" 29 "89c036b4-e7d7-11e6-8797-001aca00bfc4"; 54 [MLXBF_BOOTCTL_SB_LIFECYCLE_GA_NON_SECURE] = "GA Non-Secured", 136 ((ETH_ALEN * 2) + (ETH_ALEN - 1)) 157 return -EINVAL; in mlxbf_bootctl_reset_action_to_val() 318 for (key = MLXBF_SB_KEY_NUM - 1; key >= 0; key--) { in secure_boot_fuse_state_show() 355 return -EINVAL; in fw_reset_store() [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | una_asm_32.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 mov -EFAULT, %o0 16 /* int __do_int_store(unsigned long *dst_addr, int size, 20 * %o1 = size 23 * Return '0' on success, -EFAULT on failure. 62 .word 4b, retl_efault 63 .word 5b, retl_efault 64 .word 6b, retl_efault 65 .word 7b, retl_efault 66 .word 8b, retl_efault [all …]
|
| H A D | una_asm_64.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 49 .size __do_int_store, .-__do_int_store 52 .word 4b, __retl_efault 53 .word 5b, __retl_efault 54 .word 6b, __retl_efault 55 .word 7b, __retl_efault 56 .word 8b, __retl_efault 57 .word 9b, __retl_efault 58 .word 10b, __retl_efault 59 .word 11b, __retl_efault [all …]
|
| /linux/arch/arm/boot/bootp/ |
| H A D | init.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2000-2003 Russell King. 13 * size immediately following the kernel, we could build this into 20 _start: add lr, pc, #-0x8 @ lr = current load addr 22 ldmia r13!, {r4-r6} @ r5 = dest, r6 = length 30 ldmia r13, {r5-r9} @ get size and addr of initrd 43 movne r4, #2 @ Size of this entry (2 words) 44 stmiane r9, {r4, r5, r10} @ Size, ATAG_CORE, terminator 56 mov r5, #4 @ Size of initrd tag (4 words) 63 move: ldmia r4!, {r7 - r10} @ move 32-bytes at a time [all …]
|
| /linux/drivers/net/phy/aquantia/ |
| H A D | aquantia_firmware.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/crc-itu-t.h> 7 #include <linux/nvmem-consumer.h> 52 * not negative and be in the size of the firmware itself. 54 static bool aqr_fw_validate_get(size_t size, size_t offset, size_t get_size) in aqr_fw_validate_get() argument 56 return offset + get_size <= size; in aqr_fw_validate_get() 59 static int aqr_fw_get_be16(const u8 *data, size_t offset, size_t size, u16 *value) in aqr_fw_get_be16() argument 61 if (!aqr_fw_validate_get(size, offset, sizeof(u16))) in aqr_fw_get_be16() 62 return -EINVAL; in aqr_fw_get_be16() 69 static int aqr_fw_get_le16(const u8 *data, size_t offset, size_t size, u16 *value) in aqr_fw_get_le16() argument [all …]
|
| /linux/arch/arm/boot/compressed/ |
| H A D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1996-2002 Russell King 12 #include "efi-header.S" 20 AR_CLASS( .arch armv7-a ) 21 M_CLASS( .arch armv7-m ) 101 kputc #'-' 105 kputc #'-' 110 kputc #'-' 121 .macro dbgadtb, begin, size argument 134 kphex \size, 8 /* Size of appended DTB */ [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | mcu.c | 1 // SPDX-License-Identifier: ISC 24 dev_err(mdev->dev, "MCU message %02x (seq %d) timed out\n", in mt7603_mcu_parse_response() 26 dev->mcu_hang = MT7603_WATCHDOG_TIMEOUT; in mt7603_mcu_parse_response() 27 return -ETIMEDOUT; in mt7603_mcu_parse_response() 30 rxd = (struct mt7603_mcu_rxd *)skb->data; in mt7603_mcu_parse_response() 31 if (seq != rxd->seq) in mt7603_mcu_parse_response() 32 return -EAGAIN; in mt7603_mcu_parse_response() 42 int hdrlen = dev->mcu_running ? sizeof(struct mt7603_mcu_txd) : 12; in mt7603_mcu_skb_send_msg() 46 mdev->mcu.timeout = 3 * HZ; in mt7603_mcu_skb_send_msg() 48 seq = ++mdev->mcu.msg_seq & 0xf; in mt7603_mcu_skb_send_msg() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_nvm.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * @data: command buffer (size [bytes] = length) 31 return -EINVAL; in ice_aq_read_nvm() 36 cmd->cmd_flags |= ICE_AQC_NVM_FLASH_ONLY; in ice_aq_read_nvm() 40 cmd->cmd_flags |= ICE_AQC_NVM_LAST_CMD; in ice_aq_read_nvm() 41 cmd->module_typeid = cpu_to_le16(module_typeid); in ice_aq_read_nvm() 42 cmd->offset_low = cpu_to_le16(offset & 0xFFFF); in ice_aq_read_nvm() 43 cmd->offset_high = (offset >> 16) & 0xFF; in ice_aq_read_nvm() 44 cmd->length = cpu_to_le16(length); in ice_aq_read_nvm() 50 * ice_read_flat_nvm - Read portion of NVM by flat offset [all …]
|
| /linux/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-mac.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 49 u32 word[6]; member 52 #define RRD_NOR(rrd) BITS_GET((rrd)->word[0], 16, 19) 53 /* start consumer index of rfd-ring */ 54 #define RRD_SI(rrd) BITS_GET((rrd)->word[0], 20, 31) 55 /* vlan-tag (CVID, CFI and PRI) */ 56 #define RRD_CVALN_TAG(rrd) BITS_GET((rrd)->word[2], 0, 15) 58 #define RRD_PKT_SIZE(rrd) BITS_GET((rrd)->word[3], 0, 13) 60 #define RRD_L4F(rrd) BITS_GET((rrd)->word[3], 14, 14) [all …]
|
| /linux/drivers/mtd/maps/ |
| H A D | esb2rom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 /* This became a 16-bit register, and EN2 has disappeared */ 56 /* these are 32-bit values */ 100 unsigned long size; member 124 pci_read_config_byte(window->pdev, BIOS_CNTL, &byte); in esb2rom_cleanup() 125 pci_write_config_byte(window->pdev, BIOS_CNTL, in esb2rom_cleanup() 129 list_for_each_entry_safe(map, scratch, &window->maps, list) { in esb2rom_cleanup() 130 if (map->rsrc.parent) in esb2rom_cleanup() 131 release_resource(&map->rsrc); in esb2rom_cleanup() 132 mtd_device_unregister(map->mtd); in esb2rom_cleanup() [all …]
|
| /linux/arch/x86/boot/ |
| H A D | header.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 BOOTSEG = 0x07C0 /* original address of boot-sector */ 45 # "MZ", MS-DOS header 46 .word IMAGE_DOS_SIGNATURE 60 .word IMAGE_FILE_MACHINE_I386 64 .word IMAGE_FILE_MACHINE_AMD64 66 .word section_count # nr_sections 70 .word section_table - optional_header # SizeOfOptionalHeader 71 .word IMAGE_FILE_EXECUTABLE_IMAGE | \ 77 .word pe_opt_magic [all …]
|
| /linux/Documentation/RCU/Design/Requirements/ |
| H A D | ReadersPartitionGP1.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 29 style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round" 30 …d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354… 31 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 32 inkscape:connector-curvature="0" /> 43 style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round" 44 …d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354… [all …]
|
| H A D | GPpartitionReaders1.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 29 style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round" 30 …d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354… 31 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 32 inkscape:connector-curvature="0" /> 43 style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round" 44 …d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354… [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, 24 * size according to the ieee802.11 specs. 25 * The aggregation size depends on support from the driver, but should 83 * this structure should not exceed the size of that array (40 bytes). 91 * of the scope of the skb->data pointer. 93 * @skb_dma: (PCI-only) the DMA address associated with the sk buffer. 112 * get_skb_frame_desc - Obtain the rt2x00 frame descriptor from a sk_buff. [all …]
|
| /linux/drivers/media/platform/mediatek/jpeg/ |
| H A D | mtk_jpeg_dec_parse.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 u32 size; member 22 if (stream->curr >= stream->size) in read_byte() 23 return -1; in read_byte() 24 return stream->addr[stream->curr++]; in read_byte() 27 static int read_word_be(struct mtk_jpeg_stream *stream, u32 *word) in read_word_be() argument 33 if (byte == -1) in read_word_be() 34 return -1; in read_word_be() 37 if (byte == -1) in read_word_be() 38 return -1; in read_word_be() [all …]
|
| /linux/drivers/nvmem/ |
| H A D | sunxi_sid.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright (C) 2014 Maxime Ripard <maxime.ripard@free-electrons.com> 13 #include <linux/nvmem-provider.h> 19 /* Registers and special values for doing register-based SID readout on H3 */ 30 u32 size; member 43 u32 word; in sunxi_sid_read() local 46 __ioread32_copy(val, sid->base + sid->value_offset + offset, bytes / 4); in sunxi_sid_read() 56 word = readl_relaxed(sid->base + sid->value_offset + offset); in sunxi_sid_read() 57 memcpy(val, &word, bytes); in sunxi_sid_read() 69 /* Set word, lock access, and set read command */ in sun8i_sid_register_readout() [all …]
|
| /linux/arch/sh/drivers/pci/ |
| H A D | pci-sh7751.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Low-Level PCI Support for the SH7751 5 * Copyright (C) 2003 - 2009 Paul Mundt 15 #include "pci-sh4.h" 22 unsigned long word; in __area_sdram_check() local 24 word = __raw_readl(SH7751_BCR1); in __area_sdram_check() 26 if (((word >> area) & 1) == 0) { in __area_sdram_check() 28 area, word); in __area_sdram_check() 31 pci_write_reg(chan, word, SH4_PCIBCR1); in __area_sdram_check() 33 word = __raw_readw(SH7751_BCR2); in __area_sdram_check() [all …]
|
| /linux/sound/pci/ice1712/ |
| H A D | envy24ht.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 39 #define ICEREG1724(ice, x) ((ice)->port + VT1724_REG_##x) 49 #define VT1724_REG_SYS_CFG 0x04 /* byte - system configuration PCI60 on Envy24*/ 60 #define VT1724_CFG_AC97_PACKED 0x01 /* split or packed mode - AC'97 */ 65 #define VT1724_CFG_I2S_RESMASK 0x30 /* resolution mask, 16,18,20,24-bit */ 103 #define VT1724_REG_GPIO_DATA 0x14 /* word */ 104 #define VT1724_REG_GPIO_WRITE_MASK 0x16 /* word */ 106 bit3 - during reset used for Eeprom power-on strapping 114 * Professional multi-track direct control registers 117 #define ICEMT1724(ice, x) ((ice)->profi_port + VT1724_MT_##x) [all …]
|
| /linux/Documentation/gpu/amdgpu/display/ |
| H A D | config_example.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 17 inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)" 31 d="M 0,0 5,-5 -12.5,0 5,5 Z" 32 …style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:#ff0000;stroke-width:1.00000003pt;stro… 33 transform="matrix(-0.4,0,0,-0.4,-4,0)" 34 inkscape:connector-curvature="0" /> 41 id="Arrow1Mend-3" [all …]
|
| /linux/arch/microblaze/lib/ |
| H A D | uaccess_old.S | 34 .word 1b, 33f; \ 35 .word 2b, 33f; \ 36 .word 3b, 33f; \ 37 .word 4b, 33f; \ 38 .word 5b, 33f; \ 39 .word 6b, 33f; \ 40 .word 7b, 33f; \ 41 .word 8b, 33f; \ 42 .word 9b, 33f; \ 43 .word 10b, 33f; \ [all …]
|