Searched defs:offset (Results 1 - 25 of 1990) sorted by relevance

1234567891011>>

/drivers/crypto/amcc/
H A Dcrypto4xx_sa.c39 u32 offset; local
46 offset = cts.bf.key_size
57 return sizeof(struct dynamic_sa_ctl) + offset * 4;
62 u32 offset; local
69 offset = cts.bf.key_size
84 return sizeof(struct dynamic_sa_ctl) + offset * 4;
/drivers/gpu/drm/nouveau/core/include/subdev/bios/
H A Dbit.h8 u16 offset; member in struct:bit_entry
H A Dinit.h7 u16 offset; member in struct:nvbios_init
/drivers/usb/dwc3/
H A Dio.h27 static inline u32 dwc3_readl(void __iomem *base, u32 offset) argument
29 u32 offs = offset - DWC3_GLOBALS_REGS_START;
45 base - DWC3_GLOBALS_REGS_START + offset, value);
50 static inline void dwc3_writel(void __iomem *base, u32 offset, u32 value) argument
52 u32 offs = offset - DWC3_GLOBALS_REGS_START;
67 base - DWC3_GLOBALS_REGS_START + offset, value);
/drivers/acpi/acpica/
H A Drslist.c68 u32 offset, u8 resource_index, void **context)
66 acpi_rs_convert_aml_to_resources(u8 * aml, u32 length, u32 offset, u8 resource_index, void **context) argument
/drivers/bcma/
H A Ddriver_chipcommon_b.c33 void bcma_chipco_b_mii_write(struct bcma_drv_cc_b *ccb, u32 offset, u32 value) argument
37 writel(offset, ccb->mii + 0x00);
/drivers/clk/st/
H A Dclkgen.h13 unsigned int offset; member in struct:clkgen_field
21 return (readl(base + field->offset) >> field->shift) & field->mask;
28 writel((readl(base + field->offset) &
30 base + field->offset);
36 .offset = _offset, \
/drivers/gpio/
H A Dgpio-sa1100.c17 static int sa1100_gpio_get(struct gpio_chip *chip, unsigned offset) argument
19 return GPLR & GPIO_GPIO(offset);
22 static void sa1100_gpio_set(struct gpio_chip *chip, unsigned offset, int value) argument
25 GPSR = GPIO_GPIO(offset);
27 GPCR = GPIO_GPIO(offset);
30 static int sa1100_direction_input(struct gpio_chip *chip, unsigned offset) argument
35 GPDR &= ~GPIO_GPIO(offset);
40 static int sa1100_direction_output(struct gpio_chip *chip, unsigned offset, int value) argument
45 sa1100_gpio_set(chip, offset, value);
46 GPDR |= GPIO_GPIO(offset);
51 sa1100_to_irq(struct gpio_chip *chip, unsigned offset) argument
[all...]
H A Dgpio-twl6040.c37 static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset) argument
46 return (ret >> offset) & 1;
49 static int twl6040gpo_direction_out(struct gpio_chip *chip, unsigned offset, argument
56 static void twl6040gpo_set(struct gpio_chip *chip, unsigned offset, int value) argument
67 gpoctl = ret | (1 << offset);
69 gpoctl = ret & ~(1 << offset);
/drivers/gpu/drm/nouveau/core/engine/software/
H A Dnv50.h31 u64 offset; member in struct:nv50_software_chan::__anon832
/drivers/gpu/drm/nouveau/
H A Dnouveau_acpi.h12 int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len);
22 static inline int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len) { return -EINVAL; } argument
/drivers/gpu/drm/radeon/
H A Ddrm_buffer.h116 * Returns the pointer to the dword which is offset number of elements from the
125 * offset: The index of the dword relative to the internat iterator.
128 int offset)
130 int iter = buffer->iterator + offset * 4;
134 * Returns the pointer to the dword which is offset number of elements from
139 * offset: The index of the byte relative to the internat iterator.
142 int offset)
144 int iter = buffer->iterator + offset;
127 drm_buffer_pointer_to_dword(struct drm_buffer *buffer, int offset) argument
141 drm_buffer_pointer_to_byte(struct drm_buffer *buffer, int offset) argument
/drivers/gpu/host1x/
H A Djob.h26 int offset; member in struct:host1x_job_gather
32 u32 offset; member in struct:host1x_cmdbuf
39 u32 offset; member in struct:host1x_waitchk
/drivers/infiniband/core/
H A Dpacker.c39 static u64 value_read(int offset, int size, void *structure) argument
42 case 1: return *(u8 *) (structure + offset);
43 case 2: return be16_to_cpup((__be16 *) (structure + offset));
44 case 4: return be32_to_cpup((__be32 *) (structure + offset));
45 case 8: return be64_to_cpup((__be64 *) (structure + offset));
127 static void value_write(int offset, int size, u64 val, void *structure) argument
130 case 8: *( u8 *) (structure + offset) = val; break;
131 case 16: *(__be16 *) (structure + offset) = cpu_to_be16(val); break;
132 case 32: *(__be32 *) (structure + offset) = cpu_to_be32(val); break;
133 case 64: *(__be64 *) (structure + offset)
[all...]
/drivers/infiniband/hw/ehca/
H A Dhcp_phyp.h69 static inline u64 hipz_galpa_load(struct h_galpa galpa, u32 offset) argument
71 u64 addr = galpa.fw_handle + offset;
75 static inline void hipz_galpa_store(struct h_galpa galpa, u32 offset, u64 value) argument
77 u64 addr = galpa.fw_handle + offset;
/drivers/net/ethernet/dec/tulip/
H A Dtimer.c58 int offset = mleaf->type == 4 ? 5 : 2; local
59 s8 bitnum = p[offset];
60 if (p[offset+1] & 0x80) {
/drivers/net/ethernet/intel/i40e/
H A Di40e_diag.h40 u32 offset; /* the base register */ member in struct:i40e_diag_reg_test_info
/drivers/net/wireless/rt2x00/
H A Drt2x00mmio.h33 const unsigned int offset,
36 *value = readl(rt2x00dev->csr.base + offset);
40 const unsigned int offset,
43 memcpy_fromio(value, rt2x00dev->csr.base + offset, length);
47 const unsigned int offset,
50 writel(value, rt2x00dev->csr.base + offset);
54 const unsigned int offset,
58 __iowrite32_copy(rt2x00dev->csr.base + offset, value, length >> 2);
64 * @offset: Register offset
32 rt2x00mmio_register_read(struct rt2x00_dev *rt2x00dev, const unsigned int offset, u32 *value) argument
39 rt2x00mmio_register_multiread(struct rt2x00_dev *rt2x00dev, const unsigned int offset, void *value, const u32 length) argument
46 rt2x00mmio_register_write(struct rt2x00_dev *rt2x00dev, const unsigned int offset, u32 value) argument
53 rt2x00mmio_register_multiwrite(struct rt2x00_dev *rt2x00dev, const unsigned int offset, const void *value, const u32 length) argument
[all...]
/drivers/pinctrl/berlin/
H A Dberlin.h23 u8 offset; member in struct:berlin_desc_group
43 .offset = _offset, \
/drivers/power/reset/
H A Dsyscon-reboot.c29 u32 offset; member in struct:syscon_reboot_context
42 regmap_write(ctx->map, ctx->offset, ctx->mask);
64 if (of_property_read_u32(pdev->dev.of_node, "offset", &ctx->offset))
/drivers/scsi/pm8001/
H A Dpm8001_chips.h49 static inline void pm8001_write_32(void *addr, u32 offset, __le32 val) argument
51 *((__le32 *)(addr + offset)) = val;
55 u32 offset)
57 return readl(pm8001_ha->io_mem[bar].memvirtaddr + offset);
65 static inline u32 pm8001_mr32(void __iomem *addr, u32 offset) argument
67 return readl(addr + offset);
69 static inline void pm8001_mw32(void __iomem *addr, u32 offset, u32 val) argument
71 writel(val, addr + offset);
54 pm8001_cr32(struct pm8001_hba_info *pm8001_ha, u32 bar, u32 offset) argument
/drivers/soc/tegra/fuse/
H A Dfuse.h26 u32 (*readl)(const unsigned int offset));
29 u32 tegra30_fuse_readl(const unsigned int offset);
38 u32 tegra20_fuse_early(const unsigned int offset);
46 static inline u32 tegra20_fuse_early(const unsigned int offset) argument
/drivers/staging/android/uapi/
H A Dion_test.h26 * @offset: offset into the ion buffer to start reading
32 __u64 offset; member in struct:ion_test_rw_data
/drivers/staging/ft1000/ft1000-pcmcia/
H A Dft1000.h26 #define FT1000_DPRAM_BASE 0x0000 /* Dual Port RAM starting offset */
51 extern u16 ft1000_read_dpram(struct net_device *dev, int offset);
53 extern u16 ft1000_read_dpram_mag_16(struct net_device *dev, int offset,
55 extern u32 ft1000_read_dpram_mag_32(struct net_device *dev, int offset);
56 void ft1000_write_dpram_mag_32(struct net_device *dev, int offset, u32 value);
59 static inline u16 ft1000_read_reg(struct net_device *dev, u16 offset) argument
61 return inw(dev->base_addr + offset);
65 static inline void ft1000_write_reg(struct net_device *dev, u16 offset, argument
68 outw(value, dev->base_addr + offset);
/drivers/staging/rtl8188eu/hal/
H A Dpwrseqcmd.c33 u32 offset = 0; local
41 ("rtl88eu_pwrseqcmdparsing: offset(%#x) cut_msk(%#x)"
65 offset = GET_PWR_CFG_OFFSET(pwrcfgcmd);
68 value = usb_read8(padapter, offset);
75 usb_write8(padapter, offset, value);
82 offset = GET_PWR_CFG_OFFSET(pwrcfgcmd);
84 value = usb_read8(padapter, offset);
94 DBG_88E("Fail to polling Offset[%#x]\n", offset);

Completed in 657 milliseconds

1234567891011>>