Home
last modified time | relevance | path

Searched defs:offset (Results 76 – 100 of 4737) sorted by relevance

12345678910>>...190

/linux/drivers/gpio/
H A Dgpio-sch311x.c132 static int sch311x_gpio_request(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_request()
148 static void sch311x_gpio_free(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_free()
158 static int sch311x_gpio_get(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_get()
171 unsigned offset, int value) in __sch311x_gpio_set()
181 static int sch311x_gpio_set(struct gpio_chip *chip, unsigned int offset, in sch311x_gpio_set()
193 static int sch311x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_direction_in()
207 static int sch311x_gpio_direction_out(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_direction_out()
224 static int sch311x_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_get_direction()
239 static int sch311x_gpio_set_config(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_set_config()
H A Dgpio-bd9571mwv.c25 unsigned int offset) in bd9571mwv_gpio_get_direction()
40 unsigned int offset) in bd9571mwv_gpio_direction_input()
50 unsigned int offset, int value) in bd9571mwv_gpio_direction_output()
63 static int bd9571mwv_gpio_get(struct gpio_chip *chip, unsigned int offset) in bd9571mwv_gpio_get()
75 static int bd9571mwv_gpio_set(struct gpio_chip *chip, unsigned int offset, in bd9571mwv_gpio_set()
H A Dgpio-viperboard.c45 u8 offset; member
82 unsigned int offset) in vprbrd_gpioa_get()
131 static int vprbrd_gpioa_set(struct gpio_chip *chip, unsigned int offset, in vprbrd_gpioa_set()
178 unsigned int offset) in vprbrd_gpioa_direction_input()
215 unsigned int offset, int value) in vprbrd_gpioa_direction_output()
259 static int vprbrd_gpiob_setdir(struct vprbrd *vb, unsigned int offset, in vprbrd_gpiob_setdir()
281 unsigned int offset) in vprbrd_gpiob_get()
312 static int vprbrd_gpiob_set(struct gpio_chip *chip, unsigned int offset, in vprbrd_gpiob_set()
351 unsigned int offset) in vprbrd_gpiob_direction_input()
372 unsigned int offset, int value) in vprbrd_gpiob_direction_output()
H A Dgpio-tps65912.c24 unsigned offset) in tps65912_gpio_get_direction()
40 static int tps65912_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_direction_input()
49 unsigned offset, int value) in tps65912_gpio_direction_output()
64 static int tps65912_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_get()
79 static int tps65912_gpio_set(struct gpio_chip *gc, unsigned int offset, in tps65912_gpio_set()
H A Dgpio-pl061.c63 static int pl061_get_direction(struct gpio_chip *gc, unsigned offset) in pl061_get_direction()
73 static int pl061_direction_input(struct gpio_chip *gc, unsigned offset) in pl061_direction_input()
88 static int pl061_direction_output(struct gpio_chip *gc, unsigned offset, in pl061_direction_output()
111 static int pl061_get_value(struct gpio_chip *gc, unsigned offset) in pl061_get_value()
118 static int pl061_set_value(struct gpio_chip *gc, unsigned int offset, int value) in pl061_set_value()
131 int offset = irqd_to_hwirq(d); in pl061_irq_type() local
218 int offset; in pl061_irq_handler() local
374 int offset; in pl061_suspend() local
395 int offset; in pl061_resume() local
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 int da9052_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in da9052_gpio_set()
108 static int da9052_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in da9052_gpio_direction_input()
134 unsigned offset, int value) in da9052_gpio_direction_output()
159 static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset) in da9052_gpio_to_irq()
H A Dgpio-octeon.c25 static unsigned int bit_cfg_reg(unsigned int offset) in bit_cfg_reg()
42 static int octeon_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in octeon_gpio_dir_in()
50 static int octeon_gpio_set(struct gpio_chip *chip, unsigned int offset, in octeon_gpio_set()
61 static int octeon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, in octeon_gpio_dir_out()
76 static int octeon_gpio_get(struct gpio_chip *chip, unsigned offset) in octeon_gpio_get()
H A Dgpio-regmap.c51 unsigned int base, unsigned int offset, in gpio_regmap_simple_xlate()
63 static int gpio_regmap_get(struct gpio_chip *chip, unsigned int offset) in gpio_regmap_get()
86 static int gpio_regmap_set(struct gpio_chip *chip, unsigned int offset, in gpio_regmap_set()
107 unsigned int offset, int val) in gpio_regmap_set_with_clear()
126 unsigned int offset) in gpio_regmap_get_direction()
162 unsigned int offset, bool output) in gpio_regmap_set_direction()
191 unsigned int offset) in gpio_regmap_direction_input()
197 unsigned int offset, int value) in gpio_regmap_direction_output()
H A Dgpio-tps65218.c23 static int tps65218_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_get()
37 static int tps65218_gpio_set(struct gpio_chip *gc, unsigned int offset, in tps65218_gpio_set()
54 static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_output()
61 static int tps65218_gpio_request(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_request()
132 static int tps65218_gpio_set_config(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_set_config()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Ditem.h12 unsigned short offset; /* bytes in container */ member
47 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u8)); in __mlxsw_item_get8() local
62 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set8() local
81 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u16)); in __mlxsw_item_get16() local
96 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set16() local
115 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u32)); in __mlxsw_item_get32() local
130 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set32() local
149 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); in __mlxsw_item_get64() local
164 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); in __mlxsw_item_set64() local
182 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); in __mlxsw_item_memcpy_from() local
[all …]
/linux/arch/mips/rb532/
H A Dgpio.c71 unsigned offset, void __iomem *ioaddr) in rb532_set_bit()
90 static inline int rb532_get_bit(unsigned offset, void __iomem *ioaddr) in rb532_get_bit()
97 static int rb532_gpio_get(struct gpio_chip *chip, unsigned offset) in rb532_gpio_get()
108 static int rb532_gpio_set(struct gpio_chip *chip, unsigned int offset, in rb532_gpio_set()
122 static int rb532_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in rb532_gpio_direction_input()
139 unsigned offset, int value) in rb532_gpio_direction_output()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00usb.h151 const u16 offset, in rt2x00usb_vendor_request_sw()
187 const unsigned int offset) in rt2x00usb_register_read()
205 const unsigned int offset) in rt2x00usb_register_read_lock()
225 const unsigned int offset, in rt2x00usb_register_multiread()
243 const unsigned int offset, in rt2x00usb_register_write()
262 const unsigned int offset, in rt2x00usb_register_write_lock()
282 const unsigned int offset, in rt2x00usb_register_multiwrite()
/linux/drivers/xen/xen-pciback/
H A Dconf_space_capability.c68 static int vpd_address_write(struct pci_dev *dev, int offset, u16 value, in vpd_address_write()
94 static int pm_caps_read(struct pci_dev *dev, int offset, u16 *value, in pm_caps_read()
114 static int pm_ctrl_write(struct pci_dev *dev, int offset, u16 new_value, in pm_ctrl_write()
148 static void *pm_ctrl_init(struct pci_dev *dev, int offset) in pm_ctrl_init()
206 static void *msi_field_init(struct pci_dev *dev, int offset) in msi_field_init()
211 static void *msix_field_init(struct pci_dev *dev, int offset) in msix_field_init()
216 static int msi_msix_flags_write(struct pci_dev *dev, int offset, u16 new_value, in msi_msix_flags_write()
/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
/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()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dbmi.c120 u32 offset; in ath6kl_bmi_read() local
176 u32 offset; in ath6kl_bmi_write() local
243 u32 offset; in ath6kl_bmi_execute() local
290 u32 offset; in ath6kl_bmi_set_app_start() local
326 u32 offset; in ath6kl_bmi_reg_read() local
369 u32 offset; in ath6kl_bmi_reg_write() local
409 u32 offset; in ath6kl_bmi_lz_data() local
460 u32 offset; in ath6kl_bmi_lz_stream_start() local
/linux/security/ipe/
H A Dpolicy_fs.c48 size_t len, loff_t *offset) in read_pkcs7()
91 size_t len, loff_t *offset) in read_policy()
128 size_t len, loff_t *offset) in read_name()
166 size_t len, loff_t *offset) in read_version()
209 size_t len, loff_t *offset) in setactive()
257 size_t len, loff_t *offset) in getactive()
299 size_t len, loff_t *offset) in update_policy()
348 size_t len, loff_t *offset) in delete_policy()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dradio.c99 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset) in b43legacy_radio_read16()
126 void b43legacy_radio_write16(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_radio_write16()
139 u16 offset = 0x0400; in b43legacy_set_all_gains() local
174 u16 offset = 0x0400; in b43legacy_set_original_gains() local
317 void b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val) in b43legacy_nrssi_hw_write()
324 s16 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_nrssi_hw_read()
905 u8 id, u16 offset, u16 value) in _stack_save()
919 u8 id, u16 offset) in _stack_restore()
937 #define phy_stacksave(offset) \ argument
942 #define phy_stackrestore(offset) \ argument
[all …]
/linux/arch/powerpc/platforms/cell/spufs/
H A Dspu_save.c27 unsigned int offset; in save_event_mask() local
38 unsigned int offset; in save_tag_mask() local
70 unsigned int offset; in save_fpcr() local
82 unsigned int offset; in save_decr() local
94 unsigned int offset; in save_srr0() local
/linux/drivers/ssb/
H A Dsdio.c167 u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset) in ssb_sdio_scan_read32()
229 static u8 ssb_sdio_read8(struct ssb_device *dev, u16 offset) in ssb_sdio_read8()
251 static u16 ssb_sdio_read16(struct ssb_device *dev, u16 offset) in ssb_sdio_read16()
273 static u32 ssb_sdio_read32(struct ssb_device *dev, u16 offset) in ssb_sdio_read32()
298 size_t count, u16 offset, u8 reg_width) in ssb_sdio_block_read()
343 static void ssb_sdio_write8(struct ssb_device *dev, u16 offset, u8 val) in ssb_sdio_write8()
362 static void ssb_sdio_write16(struct ssb_device *dev, u16 offset, u16 val) in ssb_sdio_write16()
381 static void ssb_sdio_write32(struct ssb_device *dev, u16 offset, u32 val) in ssb_sdio_write32()
405 size_t count, u16 offset, u8 reg_width) in ssb_sdio_block_write()
/linux/mm/
H A Dswapfile.c120 unsigned long offset[SWAP_NR_ORDERS]; member
174 unsigned long offset, int nr_pages) in swap_only_has_cache() argument
189 unsigned long offset, int nr_pages, bool *has_cache) in swap_is_last_map() argument
213 unsigned long offset, unsigne in __try_to_reclaim_swap() argument
329 offset_to_swap_extent(struct swap_info_struct * sis,unsigned long offset) offset_to_swap_extent() argument
353 pgoff_t offset; swap_folio_sector() local
371 pgoff_t offset = start_page - se->start_page; discard_swap_cluster() local
431 offset_to_cluster(struct swap_info_struct * si,unsigned long offset) offset_to_cluster() argument
443 lock_cluster(struct swap_info_struct * si,unsigned long offset) lock_cluster() argument
684 unsigned long offset = start; cluster_reclaim_range() local
722 unsigned long offset, end = start + nr_pages; cluster_scan_range() local
773 alloc_swap_scan_cluster(struct swap_info_struct * si,struct swap_cluster_info * ci,unsigned long offset,unsigned int order,unsigned char usage) alloc_swap_scan_cluster() argument
831 unsigned long offset, end; swap_reclaim_full_clusters() local
885 unsigned int offset = SWAP_ENTRY_INVALID, found = SWAP_ENTRY_INVALID; cluster_alloc_swap_entry() local
1120 swap_range_free(struct swap_info_struct * si,unsigned long offset,unsigned int nr_entries) swap_range_free() argument
1184 unsigned int offset, found = SWAP_ENTRY_INVALID; swap_alloc_fast() local
1215 unsigned long offset; swap_alloc_slow() local
1327 unsigned long offset; _swap_info_get() local
1363 unsigned long offset = swp_offset(entry); swap_entry_put_locked() local
1442 unsigned long offset; get_swap_device() local
1469 unsigned long offset = swp_offset(entry); swap_entries_put_cache() local
1485 unsigned long offset = swp_offset(entry); swap_entries_put_map() local
1532 unsigned long offset = swp_offset(entry); swap_entries_put_map_nr() local
1565 unsigned long offset = swp_offset(entry); swap_entries_free() local
1597 unsigned long offset = swp_offset(entry); swap_free_nr() local
1629 pgoff_t offset = swp_offset(entry); __swap_count() local
1641 pgoff_t offset = swp_offset(entry); swap_entry_swapped() local
1661 pgoff_t offset; swp_swapcount() local
1704 unsigned long offset = round_down(roffset, nr_pages); swap_page_trans_huge_swapped() local
1806 unsigned long offset; free_swap_and_cache_nr() local
1860 unsigned long offset; get_swap_page_of_type() local
1889 swap_type_of(dev_t device,sector_t offset) swap_type_of() argument
1938 swapdev_block(int type,pgoff_t offset) swapdev_block() argument
2097 unsigned long offset; unuse_pte_range() local
2641 unsigned long offset; wait_for_allocation() local
3549 unsigned long offset; __swap_duplicate() local
3696 pgoff_t offset; add_swap_count_continuation() local
3795 swap_count_continued(struct swap_info_struct * si,pgoff_t offset,unsigned char count) swap_count_continued() argument
3880 pgoff_t offset; free_swap_count_continuations() local
[all...]
/linux/drivers/virtio/
H A Dvirtio_pci_admin_legacy_io.c37 u8 offset, u8 size, u8 *buf) in virtio_pci_admin_legacy_io_write()
81 int virtio_pci_admin_legacy_common_io_write(struct pci_dev *pdev, u8 offset, in virtio_pci_admin_legacy_common_io_write()
101 int virtio_pci_admin_legacy_device_io_write(struct pci_dev *pdev, u8 offset, in virtio_pci_admin_legacy_device_io_write()
111 u8 offset, u8 size, u8 *buf) in virtio_pci_admin_legacy_io_read()
156 int virtio_pci_admin_legacy_device_io_read(struct pci_dev *pdev, u8 offset, in virtio_pci_admin_legacy_device_io_read()
176 int virtio_pci_admin_legacy_common_io_read(struct pci_dev *pdev, u8 offset, in virtio_pci_admin_legacy_common_io_read()
/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()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmmio.c10 static u32 mt76_mmio_rr(struct mt76_dev *dev, u32 offset) in mt76_mmio_rr()
20 static void mt76_mmio_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt76_mmio_wr()
26 static u32 mt76_mmio_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt76_mmio_rmw()
33 static void mt76_mmio_write_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_write_copy()
39 static void mt76_mmio_read_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_read_copy()
/linux/drivers/vfio/pci/
H A Dvfio_pci_config.c34 #define is_bar(offset) \ argument
123 static int vfio_user_config_read(struct pci_dev *pdev, int offset, in vfio_user_config_read()
154 static int vfio_user_config_write(struct pci_dev *pdev, int offset, in vfio_user_config_write()
177 int offset, __le32 *val) in vfio_default_config_read()
203 int offset, __le32 val) in vfio_default_config_write()
250 int offset, __le32 *val) in vfio_direct_config_read()
275 int offset, __le32 val) in vfio_raw_config_write()
288 int offset, __le32 *val) in vfio_raw_config_read()
302 int offset, __le32 val) in vfio_virt_config_write()
310 int offset, __le32 *val) in vfio_virt_config_read()
[all …]

12345678910>>...190