Home
last modified time | relevance | path

Searched defs:offset (Results 126 – 150 of 7311) sorted by relevance

12345678910>>...293

/openbmc/u-boot/drivers/gpio/
H A Dstm32f7_gpio.c27 int stm32_offset_to_index(struct udevice *dev, unsigned int offset) in stm32_offset_to_index()
44 static int stm32_gpio_direction_input(struct udevice *dev, unsigned offset) in stm32_gpio_direction_input()
64 static int stm32_gpio_direction_output(struct udevice *dev, unsigned offset, in stm32_gpio_direction_output()
87 static int stm32_gpio_get_value(struct udevice *dev, unsigned offset) in stm32_gpio_get_value()
100 static int stm32_gpio_set_value(struct udevice *dev, unsigned offset, int value) in stm32_gpio_set_value()
115 static int stm32_gpio_get_function(struct udevice *dev, unsigned int offset) in stm32_gpio_get_function()
H A Dpic32_gpio.c41 static int pic32_gpio_get_value(struct udevice *dev, unsigned offset) in pic32_gpio_get_value()
48 static int pic32_gpio_set_value(struct udevice *dev, unsigned offset, in pic32_gpio_set_value()
62 static int pic32_gpio_direction(struct udevice *dev, unsigned offset) in pic32_gpio_direction()
76 static int pic32_gpio_direction_input(struct udevice *dev, unsigned offset) in pic32_gpio_direction_input()
88 unsigned offset, int value) in pic32_gpio_direction_output()
100 static int pic32_gpio_get_function(struct udevice *dev, unsigned offset) in pic32_gpio_get_function()
/openbmc/hiomapd/mtd/
H A Dbackend.c128 uint32_t offset __attribute__((unused)), in flash_validate()
143 static inline bool mtd_is_erased(struct backend *backend, uint32_t offset) in mtd_is_erased()
163 static int mtd_set_bytemap(struct backend *backend, uint32_t offset, in mtd_set_bytemap()
190 static int mtd_erase(struct backend *backend, uint32_t offset, uint32_t count) in mtd_erase()
262 static int64_t mtd_copy(struct backend *backend, uint32_t offset, in mtd_copy()
302 static int mtd_write(struct backend *backend, uint32_t offset, void *buf, in mtd_write()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma.c34 static u32 bcma_bgmac_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_read()
39 static void bcma_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_write()
44 static u32 bcma_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_idm_read()
49 static void bcma_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_idm_write()
64 static void bcma_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, in bcma_bgmac_cco_ctl_maskset()
79 static void bcma_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, in bcma_bgmac_cmn_maskset32()
/openbmc/linux/drivers/gpio/
H A Dgpio-da9052.c48 static unsigned char da9052_gpio_port_odd(unsigned offset) in da9052_gpio_port_odd()
53 static int da9052_gpio_get(struct gpio_chip *gc, unsigned offset) in da9052_gpio_get()
92 static void da9052_gpio_set(struct gpio_chip *gc, unsigned offset, int value) in da9052_gpio_set()
118 static int da9052_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in da9052_gpio_direction_input()
144 unsigned offset, int value) in da9052_gpio_direction_output()
169 static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset) in da9052_gpio_to_irq()
H A Dgpio-mockup.c60 unsigned int offset; member
84 unsigned int offset) in __gpio_mockup_get()
89 static int gpio_mockup_get(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_get()
118 unsigned int offset, int value) in __gpio_mockup_set()
124 unsigned int offset, int value) in gpio_mockup_set()
146 unsigned int offset, int value) in gpio_mockup_apply_pull()
194 unsigned int offset, unsigned long config) in gpio_mockup_set_config()
210 unsigned int offset, int value) in gpio_mockup_dirout()
222 static int gpio_mockup_dirin(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_dirin()
245 static int gpio_mockup_to_irq(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_to_irq()
[all …]
H A Dgpio-twl6040.c23 static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset) in twl6040gpo_get()
35 static int twl6040gpo_get_direction(struct gpio_chip *chip, unsigned offset) in twl6040gpo_get_direction()
40 static int twl6040gpo_direction_out(struct gpio_chip *chip, unsigned offset, in twl6040gpo_direction_out()
47 static void twl6040gpo_set(struct gpio_chip *chip, unsigned offset, int value) in twl6040gpo_set()
H A Dgpio-wm8350.c26 static int wm8350_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_direction_in()
35 static int wm8350_gpio_get(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_get()
51 static void wm8350_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm8350_gpio_set()
63 unsigned offset, int value) in wm8350_gpio_direction_out()
80 static int wm8350_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_to_irq()
H A Dgpio-omap.c85 #define LINE_USED(line, offset) (line & (BIT(offset))) argument
430 unsigned offset = d->hwirq; in omap_gpio_irq_type() local
488 unsigned offset) in omap_clear_gpio_irqstatus()
508 unsigned offset, int enable) in omap_set_gpio_irqenable()
629 unsigned offset = d->hwirq; in omap_gpio_irq_startup() local
648 unsigned offset = d->hwirq; in omap_gpio_irq_shutdown() local
678 unsigned offset = d->hwirq; in omap_gpio_mask_irq() local
691 unsigned offset = d->hwirq; in omap_gpio_unmask_irq() local
825 static void omap_gpio_free(struct gpio_chip *chip, unsigned offset) in omap_gpio_free()
852 static int omap_gpio_input(struct gpio_chip *chip, unsigned offset) in omap_gpio_input()
[all …]
H A Dgpio-viperboard.c45 u8 offset; member
82 unsigned int offset) in vprbrd_gpioa_get()
132 unsigned int offset, int value) in vprbrd_gpioa_set()
173 unsigned int offset) in vprbrd_gpioa_direction_input()
210 unsigned int offset, int value) in vprbrd_gpioa_direction_output()
254 static int vprbrd_gpiob_setdir(struct vprbrd *vb, unsigned int offset, in vprbrd_gpiob_setdir()
276 unsigned int offset) in vprbrd_gpiob_get()
308 unsigned int offset, int value) in vprbrd_gpiob_set()
341 unsigned int offset) in vprbrd_gpiob_direction_input()
362 unsigned int offset, int value) in vprbrd_gpiob_direction_output()
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_chips.h49 static inline void pm8001_write_32(void *addr, u32 offset, __le32 val) in pm8001_write_32()
55 u32 offset) in pm8001_cr32()
65 static inline u32 pm8001_mr32(void __iomem *addr, u32 offset) in pm8001_mr32()
69 static inline void pm8001_mw32(void __iomem *addr, u32 offset, u32 val) in pm8001_mw32()
/openbmc/linux/sound/soc/sof/
H A Dops.h306 u32 offset, u8 value) in snd_sof_dsp_write8()
315 u32 offset, u32 value) in snd_sof_dsp_write()
324 u32 offset, u64 value) in snd_sof_dsp_write64()
333 u32 offset) in snd_sof_dsp_read8()
342 u32 offset) in snd_sof_dsp_read()
351 u32 offset) in snd_sof_dsp_read64()
360 u32 offset, u8 mask, u8 value) in snd_sof_dsp_update8()
373 u32 offset, void *dest, size_t bytes) in snd_sof_dsp_block_read()
380 u32 offset, void *src, size_t bytes) in snd_sof_dsp_block_write()
387 u32 offset, void *dest, size_t bytes) in snd_sof_dsp_mailbox_read()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dpio.h109 static inline u16 b43_piotx_read16(struct b43_pio_txqueue *q, u16 offset) in b43_piotx_read16()
114 static inline u32 b43_piotx_read32(struct b43_pio_txqueue *q, u16 offset) in b43_piotx_read32()
120 u16 offset, u16 value) in b43_piotx_write16()
126 u16 offset, u32 value) in b43_piotx_write32()
132 static inline u16 b43_piorx_read16(struct b43_pio_rxqueue *q, u16 offset) in b43_piorx_read16()
137 static inline u32 b43_piorx_read32(struct b43_pio_rxqueue *q, u16 offset) in b43_piorx_read32()
143 u16 offset, u16 value) in b43_piorx_write16()
149 u16 offset, u32 value) in b43_piorx_write32()
H A Dtables_phy_ht.c606 u32 b43_httab_read(struct b43_wldev *dev, u32 offset) in b43_httab_read()
637 void b43_httab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_httab_read_bulk()
672 void b43_httab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_httab_write()
702 void b43_httab_write_few(struct b43_wldev *dev, u32 offset, size_t num, ...) in b43_httab_write_few()
747 void b43_httab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_httab_write_bulk()
791 #define httab_upload(dev, offset, data) do { \ argument
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dbmi.c118 u32 offset; in ath6kl_bmi_read() local
174 u32 offset; in ath6kl_bmi_write() local
241 u32 offset; in ath6kl_bmi_execute() local
288 u32 offset; in ath6kl_bmi_set_app_start() local
324 u32 offset; in ath6kl_bmi_reg_read() local
367 u32 offset; in ath6kl_bmi_reg_write() local
407 u32 offset; in ath6kl_bmi_lz_data() local
458 u32 offset; in ath6kl_bmi_lz_stream_start() local
/openbmc/linux/arch/sparc/lib/
H A Dcopy_user.S52 #define LD(insn, src, offset, reg, label) \ argument
59 #define ST(insn, dst, offset, reg, label) \ argument
68 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
83 #define MOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
101 #define MOVE_LASTCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
116 #define MOVE_HALFCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
127 #define MOVE_SHORTCHUNK(src, dst, offset, t0, t1) \ argument
141 #define MOVE_LAST_SHORTCHUNK(src, dst, offset, t0, t1) \ argument
/openbmc/u-boot/drivers/pci/
H A Dpcie_intel_fpga.c53 #define TLP_CFG_DW2(bus, dev, fn, offset) \ argument
93 pci_dev_t bdf, int offset) in intel_fpga_pcie_hide_rc_bar()
196 int offset, u8 byte_en, u32 *value) in tlp_cfg_dword_read()
211 int offset, u8 byte_en, u32 value) in tlp_cfg_dword_write()
226 uint offset, void **paddress) in intel_fpga_rp_conf_addr()
236 uint offset, ulong *valuep, in intel_fpga_pcie_rp_rd_conf()
244 uint offset, ulong value, in intel_fpga_pcie_rp_wr_conf()
276 pci_dev_t bdf, uint offset, in _pcie_intel_fpga_read_config()
302 pci_dev_t bdf, uint offset, in _pcie_intel_fpga_write_config()
326 uint offset, ulong *valuep, in pcie_intel_fpga_read_config()
[all …]
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_hw.c59 u32 offset = 0, val, addr; in pe_mem_memcpy_to32() local
133 u32 offset = addr & 0x3; in pe_pmem_read() local
159 u32 offset = addr & 0x3; in pe_dmem_write() local
181 u32 offset = addr & 0x3; in pe_dmem_read() local
207 u32 offset = addr & 0x3; in class_bus_write() local
227 u32 offset = addr & 0x3; in class_bus_read() local
304 void pe_lmem_read(u32 *dst, u32 len, u32 offset) in pe_lmem_read()
349 u32 offset = be32_to_cpu(shdr->sh_offset); in pe_load_pmem_section() local
400 u32 offset = be32_to_cpu(shdr->sh_offset); in pe_load_dmem_section() local
457 u32 offset = be32_to_cpu(shdr->sh_offset); in pe_load_ddr_section() local
[all …]
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c11 #define CTRL_MAC_LO_REG(offset, id) ((offset) + 0x8 * (id)) argument
12 #define CTRL_MAC_HI_REG(offset, id) ((offset) + 0x8 * (id) + 0x4) argument
14 static int davinci_emac_3517_get_macid(struct device *dev, u16 offset, in davinci_emac_3517_get_macid()
41 static int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid()
/openbmc/qemu/block/
H A Dreqlist.c20 void reqlist_init_req(BlockReqList *reqs, BlockReq *req, int64_t offset, in reqlist_init_req()
31 BlockReq *reqlist_find_conflict(BlockReqList *reqs, int64_t offset, in reqlist_find_conflict()
45 bool coroutine_fn reqlist_wait_one(BlockReqList *reqs, int64_t offset, in reqlist_wait_one()
59 void coroutine_fn reqlist_wait_all(BlockReqList *reqs, int64_t offset, in reqlist_wait_all()
/openbmc/qemu/fsdev/
H A D9p-iov-marshal.c22 size_t offset, size_t size, int pack) in v9fs_packunpack()
61 size_t offset, size_t size) in v9fs_unpack()
66 ssize_t v9fs_pack(struct iovec *in_sg, int in_num, size_t offset, in v9fs_pack()
72 ssize_t v9fs_iov_vunmarshal(struct iovec *out_sg, int out_num, size_t offset, in v9fs_iov_vunmarshal()
182 ssize_t v9fs_iov_unmarshal(struct iovec *out_sg, int out_num, size_t offset, in v9fs_iov_unmarshal()
195 ssize_t v9fs_iov_vmarshal(struct iovec *in_sg, int in_num, size_t offset, in v9fs_iov_vmarshal()
295 ssize_t v9fs_iov_marshal(struct iovec *in_sg, int in_num, size_t offset, in v9fs_iov_marshal()
/openbmc/u-boot/board/armltd/integrator/
H A Dpci.c88 static unsigned long v3_open_config_window(pci_dev_t bdf, int offset) in v3_open_config_window()
188 int offset, unsigned char *val) in pci_integrator_read_byte()
199 pci_dev_t bdf, int offset, in pci_integrator_read__word()
211 pci_dev_t bdf, int offset, in pci_integrator_read_dword()
223 pci_dev_t bdf, int offset, in pci_integrator_write_byte()
236 pci_dev_t bdf, int offset, in pci_integrator_write_word()
249 pci_dev_t bdf, int offset, in pci_integrator_write_dword()
/openbmc/qemu/hw/misc/
H A Dallwinner-h3-dramc.c33 #define REG_INDEX(offset) (offset / sizeof(uint32_t)) argument
98 static uint64_t allwinner_h3_dramcom_read(void *opaque, hwaddr offset, in allwinner_h3_dramcom_read()
115 static void allwinner_h3_dramcom_write(void *opaque, hwaddr offset, in allwinner_h3_dramcom_write()
142 static uint64_t allwinner_h3_dramctl_read(void *opaque, hwaddr offset, in allwinner_h3_dramctl_read()
159 static void allwinner_h3_dramctl_write(void *opaque, hwaddr offset, in allwinner_h3_dramctl_write()
185 static uint64_t allwinner_h3_dramphy_read(void *opaque, hwaddr offset, in allwinner_h3_dramphy_read()
202 static void allwinner_h3_dramphy_write(void *opaque, hwaddr offset, in allwinner_h3_dramphy_write()
/openbmc/linux/arch/powerpc/platforms/maple/
H A Dpci.c97 u8 bus, u8 dev_fn, u8 offset) in u3_agp_cfg_access()
118 int offset, int len, u32 *val) in u3_agp_read_config()
149 int offset, int len, u32 val) in u3_agp_write_config()
196 u8 bus, u8 devfn, u8 offset) in u3_ht_cfg_access()
206 static int u3_ht_root_read_config(struct pci_controller *hose, u8 offset, in u3_ht_root_read_config()
229 static int u3_ht_root_write_config(struct pci_controller *hose, u8 offset, in u3_ht_root_write_config()
255 int offset, int len, u32 *val) in u3_ht_read_config()
293 int offset, int len, u32 val) in u3_ht_write_config()
353 u8 bus, u8 dev_fn, int offset) in u4_pcie_cfg_access()
372 int offset, int len, u32 *val) in u4_pcie_read_config()
[all …]
/openbmc/linux/arch/m68k/include/asm/
H A Dmac_psc.h222 static inline void psc_write_byte(int offset, __u8 data) in psc_write_byte()
227 static inline void psc_write_word(int offset, __u16 data) in psc_write_word()
232 static inline void psc_write_long(int offset, __u32 data) in psc_write_long()
237 static inline u8 psc_read_byte(int offset) in psc_read_byte()
242 static inline u16 psc_read_word(int offset) in psc_read_word()
247 static inline u32 psc_read_long(int offset) in psc_read_long()

12345678910>>...293