/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | tag_public.h | 23 * @param[in] offset 29 int offset,
|
/linux-master/drivers/staging/media/atomisp/pci/base/circbuf/interface/ |
H A D | ia_css_circbuf_desc.h | 81 * @param offset The offset. 88 int offset) 95 /* step 1: adjust the offset */ 96 while (offset < 0) { 97 offset += cb_desc->size; 101 dest = OP_std_modadd(base, offset, cb_desc->size); 107 * @brief Get the offset between two positions in the circular buffer 109 * Get the offset from the source position to the terminal position, 116 * @return the offset 85 ia_css_circbuf_desc_get_pos_at_offset( ia_css_circbuf_desc_t *cb_desc, u32 base, int offset) argument 123 int offset; local [all...] |
/linux-master/scripts/dtc/include-prefixes/dt-bindings/gpio/ |
H A D | tegra186-gpio.h | 41 #define TEGRA186_MAIN_GPIO(port, offset) \ 42 ((TEGRA186_MAIN_GPIO_PORT_##port * 8) + offset) 54 #define TEGRA186_AON_GPIO(port, offset) \ 55 ((TEGRA186_AON_GPIO_PORT_##port * 8) + offset)
|
H A D | tegra234-gpio.h | 45 #define TEGRA234_MAIN_GPIO(port, offset) \ 46 ((TEGRA234_MAIN_GPIO_PORT_##port * 8) + offset) 56 #define TEGRA234_AON_GPIO(port, offset) \ 57 ((TEGRA234_AON_GPIO_PORT_##port * 8) + offset)
|
/linux-master/include/dt-bindings/gpio/ |
H A D | tegra186-gpio.h | 41 #define TEGRA186_MAIN_GPIO(port, offset) \ 42 ((TEGRA186_MAIN_GPIO_PORT_##port * 8) + offset) 54 #define TEGRA186_AON_GPIO(port, offset) \ 55 ((TEGRA186_AON_GPIO_PORT_##port * 8) + offset)
|
H A D | tegra234-gpio.h | 45 #define TEGRA234_MAIN_GPIO(port, offset) \ 46 ((TEGRA234_MAIN_GPIO_PORT_##port * 8) + offset) 56 #define TEGRA234_AON_GPIO(port, offset) \ 57 ((TEGRA234_AON_GPIO_PORT_##port * 8) + offset)
|
/linux-master/drivers/staging/rtl8723bs/hal/ |
H A D | HalPwrSeqCmd.c | 49 u32 offset = 0; local 67 offset = GET_PWR_CFG_OFFSET(PwrCfgCmd); 75 value = SdioLocalCmd52Read1Byte(padapter, offset); 84 SdioLocalCmd52Write1Byte(padapter, offset, value); 87 value = rtw_read8(padapter, offset); 96 rtw_write8(padapter, offset, value); 103 offset = GET_PWR_CFG_OFFSET(PwrCfgCmd); 106 value = SdioLocalCmd52Read1Byte(padapter, offset); 108 value = rtw_read8(padapter, offset);
|
/linux-master/drivers/mtd/parsers/ |
H A D | parser_trx.c | 25 uint32_t offset[3]; member in struct:trx_header 29 size_t offset) 35 err = mtd_read(master, offset, sizeof(buf), &bytes_read, 38 pr_err("mtd_read error while parsing (offset: 0x%zX): %d\n", 39 offset, err); 85 /* We have LZMA loader if there is address in offset[2] */ 86 if (trx.offset[2]) { 89 part->offset = trx.offset[i]; 93 if (trx.offset[ 28 parser_trx_data_part_name(struct mtd_info *master, size_t offset) argument [all...] |
H A D | brcm_u-boot.c | 36 size_t offset; local 44 for (offset = 0; 45 offset < min_t(size_t, mtd->size, BRCM_U_BOOT_MAX_OFFSET); 46 offset += BRCM_U_BOOT_STEP) { 47 err = mtd_read(mtd, offset, sizeof(header), &bytes_read, (uint8_t *)&header); 49 pr_err("Failed to read from %s at 0x%zx: %d\n", mtd->name, offset, err); 57 parts[i].offset = offset; 60 pr_info("offset:0x%zx magic:0x%08x BINGO\n", offset, heade [all...] |
/linux-master/tools/virtio/linux/ |
H A D | kmsan.h | 7 inline void kmsan_handle_dma(struct page *page, size_t offset, size_t size, argument
|
/linux-master/drivers/nvmem/ |
H A D | stm32-bsec-optee-ta.h | 31 * @offset: nvmem offset 38 int stm32_bsec_optee_ta_read(struct tee_context *ctx, unsigned int offset, 45 * @offset: nvmem offset 53 unsigned int offset, void *buf, size_t bytes); 67 unsigned int offset, void *buf, 75 unsigned int offset, void *buf, 66 stm32_bsec_optee_ta_read(struct tee_context *ctx, unsigned int offset, void *buf, size_t bytes) argument 73 stm32_bsec_optee_ta_write(struct tee_context *ctx, unsigned int lower, unsigned int offset, void *buf, size_t bytes) argument
|
/linux-master/tools/lib/bpf/ |
H A D | zip.c | 104 __u32 offset; member in struct:cd_file_header 135 static void *check_access(struct zip_archive *archive, __u32 offset, __u32 size) argument 137 if (offset + size > archive->size || offset > offset + size) 140 return archive->data + offset; 146 static int try_parse_end_of_cd(struct zip_archive *archive, __u32 offset) argument 152 eocd = check_access(archive, offset, sizeof(*eocd)); 157 if (offset + sizeof(*eocd) + comment_length != archive->size) 177 int64_t limit, offset; local 247 local_file_header_at_offset(struct zip_archive *archive, __u32 offset) argument 259 get_entry_at_offset(struct zip_archive *archive, __u32 offset, struct zip_entry *out) argument 302 __u32 i, offset = archive->cd_offset; local [all...] |
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixmap.c | 66 acpi_physical_address offset; local 76 /* Align the offset to use mmap */ 79 offset = where % page_size; 83 mapped_memory = mmap(NULL, (length + offset), PROT_READ, MMAP_FLAGS, 84 fd, (where - offset)); 92 return (ACPI_CAST8(mapped_memory + offset)); 111 acpi_physical_address offset; local 115 offset = ACPI_TO_INTEGER(where) % page_size; 116 munmap((u8 *)where - offset, (length + offset)); [all...] |
/linux-master/drivers/reset/ |
H A D | reset-zynq.c | 23 u32 offset; member in struct:zynq_reset_data 35 int offset = id % BITS_PER_LONG; local 37 pr_debug("%s: %s reset bank %u offset %u\n", KBUILD_MODNAME, __func__, 38 bank, offset); 41 priv->offset + (bank * 4), 42 BIT(offset), 43 BIT(offset)); 52 int offset = id % BITS_PER_LONG; local 54 pr_debug("%s: %s reset bank %u offset %u\n", KBUILD_MODNAME, __func__, 55 bank, offset); 69 int offset = id % BITS_PER_LONG; local [all...] |
/linux-master/include/linux/ |
H A D | syscall_user_dispatch_types.h | 11 unsigned long offset; member in struct:syscall_user_dispatch
|
/linux-master/drivers/gpio/ |
H A D | gpio-da9052.c | 48 static unsigned char da9052_gpio_port_odd(unsigned offset) argument 50 return offset % 2; 53 static int da9052_gpio_get(struct gpio_chip *gc, unsigned offset) argument 60 DA9052_GPIO_0_1_REG + (offset >> 1)); 64 if (da9052_gpio_port_odd(offset)) { 73 if (offset < DA9052_GPIO_MAX_PORTS_PER_REGISTER) 81 return !!(ret & (1 << DA9052_GPIO_SHIFT_COUNT(offset))); 83 if (da9052_gpio_port_odd(offset)) 92 static void da9052_gpio_set(struct gpio_chip *gc, unsigned offset, int value) argument 97 if (da9052_gpio_port_odd(offset)) { 118 da9052_gpio_direction_input(struct gpio_chip *gc, unsigned offset) argument 143 da9052_gpio_direction_output(struct gpio_chip *gc, unsigned offset, int value) argument 169 da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset) argument [all...] |
/linux-master/drivers/gpu/drm/tegra/ |
H A D | firewall.c | 27 static bool fw_check_addr_valid(struct tegra_drm_firewall *fw, u32 offset) argument 34 if (offset >= m->iova && offset <= m->iova_end) 41 static int fw_check_reg(struct tegra_drm_firewall *fw, u32 offset) argument 55 offset); 66 static int fw_check_regs_seq(struct tegra_drm_firewall *fw, u32 offset, argument 72 if (fw_check_reg(fw, offset)) 76 offset++; 82 static int fw_check_regs_mask(struct tegra_drm_firewall *fw, u32 offset, argument 89 if (fw_check_reg(fw, offset 96 fw_check_regs_imm(struct tegra_drm_firewall *fw, u32 offset) argument 161 u32 word, opcode, offset, count, mask, class; local [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | fpu.h | 99 static __always_inline void __save_fp_regs(freg_t *fprs, unsigned int offset) argument 101 fpu_std(0, &fprs[0 * offset]); 102 fpu_std(1, &fprs[1 * offset]); 103 fpu_std(2, &fprs[2 * offset]); 104 fpu_std(3, &fprs[3 * offset]); 105 fpu_std(4, &fprs[4 * offset]); 106 fpu_std(5, &fprs[5 * offset]); 107 fpu_std(6, &fprs[6 * offset]); 108 fpu_std(7, &fprs[7 * offset]); 109 fpu_std(8, &fprs[8 * offset]); 119 __load_fp_regs(freg_t *fprs, unsigned int offset) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_dcn30.c | 91 union dmub_addr offset; local 100 dmub_dcn30_translate_addr(&cw0->offset, fb_base, fb_offset, &offset); 102 REG_WRITE(DMCUB_REGION3_CW0_OFFSET, offset.u.low_part); 103 REG_WRITE(DMCUB_REGION3_CW0_OFFSET_HIGH, offset.u.high_part); 109 dmub_dcn30_translate_addr(&cw1->offset, fb_base, fb_offset, &offset); 111 REG_WRITE(DMCUB_REGION3_CW1_OFFSET, offset.u.low_part); 112 REG_WRITE(DMCUB_REGION3_CW1_OFFSET_HIGH, offset.u.high_part); 130 union dmub_addr offset; local [all...] |
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ethtool.c | 12 { .name = "rx_octets", .offset = 0x00, }, 13 { .name = "rx_unicast", .offset = 0x01, }, 14 { .name = "rx_multicast", .offset = 0x02 }, 15 { .name = "rx_broadcast", .offset = 0x03 }, 16 { .name = "rx_short", .offset = 0x04 }, 17 { .name = "rx_frag", .offset = 0x05 }, 18 { .name = "rx_jabber", .offset = 0x06 }, 19 { .name = "rx_crc", .offset = 0x07 }, 20 { .name = "rx_symbol_err", .offset = 0x08 }, 21 { .name = "rx_sz_64", .offset 306 u32 offset = lan966x->stats_layout[j].offset; local [all...] |
/linux-master/tools/perf/ui/browsers/ |
H A D | header.c | 19 unsigned long offset = (unsigned long)browser->priv; local 21 if (offset >= strlen(str)) 24 str = str + offset; 35 unsigned long offset; local 51 offset = (unsigned long)menu->priv; 52 offset += 10; 53 menu->priv = (void *)offset; 56 offset = (unsigned long)menu->priv; 57 if (offset >= 10) 58 offset [all...] |
/linux-master/tools/objtool/include/objtool/ |
H A D | warn.h | 19 static inline char *offstr(struct section *sec, unsigned long offset) argument 27 sym = find_func_containing(sec, offset); 29 sym = find_symbol_containing(sec, offset); 33 len = sprintf(str, "%s+0x%lx", sym->name, offset - sym->offset); 35 sprintf(str+len, " (%s+0x%lx)", sec->name, offset); 38 sprintf(str, "%s+0x%lx", sec->name, offset); 49 #define WARN_FUNC(format, sec, offset, ...) \ 51 char *_str = offstr(sec, offset); \ 60 WARN_FUNC(format, _insn->sec, _insn->offset, \ [all...] |
/linux-master/arch/sh/mm/ |
H A D | ioremap.c | 40 __ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot) argument 42 phys_addr_t last_addr = offset + size - 1; 50 if (likely(PXSEG(offset) < P3SEG && PXSEG(last_addr) < P3SEG)) { 60 return (void __iomem *)P1SEGADDR(offset); 62 return (void __iomem *)P2SEGADDR(offset); 66 if (unlikely(offset >= P3_ADDR_MAX)) 67 return (void __iomem *)P4SEGADDR(offset); 72 #define __ioremap_29bit(offset, size, prot) NULL 111 static inline int iomapping_nontranslatable(unsigned long offset) argument 118 if (PXSEG(offset) < P3SE [all...] |
/linux-master/arch/riscv/mm/ |
H A D | extable.c | 30 static inline unsigned long regs_get_gpr(struct pt_regs *regs, unsigned int offset) argument 32 if (unlikely(!offset || offset > MAX_REG_OFFSET)) 35 return *(unsigned long *)((unsigned long)regs + offset); 38 static inline void regs_set_gpr(struct pt_regs *regs, unsigned int offset, argument 41 if (unlikely(offset > MAX_REG_OFFSET)) 44 if (offset) 45 *(unsigned long *)((unsigned long)regs + offset) = val; 67 unsigned long data, addr, offset; local 71 offset [all...] |
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-cfg-afdo.c | 34 .offset = TRCRSCTLRn(2), 40 .offset = TRCRSCTLRn(3), 47 .offset = TRCCNTVRn(0), 52 .offset = TRCCNTRLDVRn(0), 58 .offset = TRCCNTCTLRn(0), 65 .offset = TRCCNTVRn(1), 70 .offset = TRCCNTRLDVRn(1), 76 .offset = TRCCNTCTLRn(1), 83 .offset = TRCSEQEVRn(0), 89 .offset [all...] |