Home
last modified time | relevance | path

Searched defs:offset (Results 251 – 275 of 5475) sorted by relevance

1...<<11121314151617181920>>...219

/Linux-v5.10/drivers/gpio/
Dgpio-merrifield.c86 static void __iomem *gpio_reg(struct gpio_chip *chip, unsigned int offset, in gpio_reg()
95 static int mrfld_gpio_get(struct gpio_chip *chip, unsigned int offset) in mrfld_gpio_get()
102 static void mrfld_gpio_set(struct gpio_chip *chip, unsigned int offset, in mrfld_gpio_set()
123 unsigned int offset) in mrfld_gpio_direction_input()
142 unsigned int offset, int value) in mrfld_gpio_direction_output()
161 static int mrfld_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in mrfld_gpio_get_direction()
171 static int mrfld_gpio_set_debounce(struct gpio_chip *chip, unsigned int offset, in mrfld_gpio_set_debounce()
192 static int mrfld_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in mrfld_gpio_set_config()
Dgpio-sa1100.c39 static int sa1100_gpio_get(struct gpio_chip *chip, unsigned offset) in sa1100_gpio_get()
45 static void sa1100_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in sa1100_gpio_set()
52 static int sa1100_get_direction(struct gpio_chip *chip, unsigned offset) in sa1100_get_direction()
62 static int sa1100_direction_input(struct gpio_chip *chip, unsigned offset) in sa1100_direction_input()
74 static int sa1100_direction_output(struct gpio_chip *chip, unsigned offset, int value) in sa1100_direction_output()
87 static int sa1100_to_irq(struct gpio_chip *chip, unsigned offset) in sa1100_to_irq()
Dgpio-dln2.c150 static int dln2_gpio_request(struct gpio_chip *chip, unsigned offset) in dln2_gpio_request()
191 static void dln2_gpio_free(struct gpio_chip *chip, unsigned offset) in dln2_gpio_free()
198 static int dln2_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in dln2_gpio_get_direction()
208 static int dln2_gpio_get(struct gpio_chip *chip, unsigned int offset) in dln2_gpio_get()
223 static void dln2_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in dln2_gpio_set()
230 static int dln2_gpio_set_direction(struct gpio_chip *chip, unsigned offset, in dln2_gpio_set_direction()
253 static int dln2_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in dln2_gpio_direction_input()
258 static int dln2_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in dln2_gpio_direction_output()
271 static int dln2_gpio_set_config(struct gpio_chip *chip, unsigned offset, in dln2_gpio_set_config()
/Linux-v5.10/drivers/misc/ibmasm/
Dibmasmfs.c259 static ssize_t command_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in command_file_read()
296 …ize_t command_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset) in command_file_write()
368 static ssize_t event_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in event_file_read()
411 …c ssize_t event_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset) in event_file_write()
452 …ic ssize_t r_heartbeat_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in r_heartbeat_file_read()
480 …e_t r_heartbeat_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset) in r_heartbeat_file_write()
502 …size_t remote_settings_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in remote_settings_file_read()
515 …mote_settings_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset) in remote_settings_file_write()
/Linux-v5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c16 u32 offset, u32 val) in xgene_enet_wr_csr()
24 u32 offset, u32 val) in xgene_enet_wr_ring_if()
32 u32 offset, u32 val) in xgene_enet_wr_diag_csr()
78 u32 offset, u32 val) in xgene_enet_wr_axg_csr()
86 u32 offset, u32 *val) in xgene_enet_rd_csr()
94 u32 offset, u32 *val) in xgene_enet_rd_diag_csr()
144 u32 offset, u32 *val) in xgene_enet_rd_axg_csr()
224 u8 offset; in xgene_xgmac_set_mss() local
/Linux-v5.10/drivers/pcmcia/
Dvrc4173_cardu.c56 static inline uint8_t exca_readb(vrc4173_socket_t *socket, uint16_t offset) in exca_readb()
61 static inline uint16_t exca_readw(vrc4173_socket_t *socket, uint16_t offset) in exca_readw()
71 static inline void exca_writeb(vrc4173_socket_t *socket, uint16_t offset, uint8_t val) in exca_writeb()
76 static inline void exca_writew(vrc4173_socket_t *socket, uint8_t offset, uint16_t val) in exca_writew()
82 static inline uint32_t cardbus_socket_readl(vrc4173_socket_t *socket, u16 offset) in cardbus_socket_readl()
87 static inline void cardbus_socket_writel(vrc4173_socket_t *socket, u16 offset, uint32_t val) in cardbus_socket_writel()
308 uint32_t start, stop, offset, page; in cardu_get_mem_map() local
/Linux-v5.10/drivers/gpu/drm/mediatek/
Dmtk_hdmi_ddc.c62 static inline void sif_set_bit(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_set_bit()
68 static inline void sif_clr_bit(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_clr_bit()
74 static inline bool sif_bit_is_set(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_bit_is_set()
80 static inline void sif_write_mask(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_write_mask()
93 unsigned int offset, unsigned int mask, in sif_read_mask()
163 int offset; in mtk_hdmi_ddc_read_msg() local
/Linux-v5.10/drivers/gpu/drm/radeon/
Devergreen_hdmi.c67 void evergreen_hdmi_update_acr(struct drm_encoder *encoder, long offset, in evergreen_hdmi_update_acr()
208 void evergreen_set_avi_packet(struct radeon_device *rdev, u32 offset, in evergreen_set_avi_packet()
306 void dce4_set_vbi_packet(struct drm_encoder *encoder, u32 offset) in dce4_set_vbi_packet()
317 void dce4_hdmi_set_color_depth(struct drm_encoder *encoder, u32 offset, int bpc) in dce4_hdmi_set_color_depth()
354 void dce4_set_audio_packet(struct drm_encoder *encoder, u32 offset) in dce4_set_audio_packet()
389 void dce4_set_mute(struct drm_encoder *encoder, u32 offset, bool mute) in dce4_set_mute()
/Linux-v5.10/drivers/nvmem/
Dqcom-spmi-sdam.c35 static bool sdam_is_valid(struct sdam_chip *sdam, unsigned int offset, in sdam_is_valid()
53 static bool sdam_is_ro(unsigned int offset, size_t len) in sdam_is_ro()
64 static int sdam_read(void *priv, unsigned int offset, void *val, in sdam_read()
85 static int sdam_write(void *priv, unsigned int offset, void *val, in sdam_write()
Drave-sp-eeprom.c100 unsigned int offset = 0; in rave_sp_eeprom_io() local
158 unsigned int offset, u8 *data, in rave_sp_eeprom_page_access()
222 unsigned int offset, u8 *data, in rave_sp_eeprom_access()
273 static int rave_sp_eeprom_reg_read(void *eeprom, unsigned int offset, in rave_sp_eeprom_reg_read()
280 static int rave_sp_eeprom_reg_write(void *eeprom, unsigned int offset, in rave_sp_eeprom_reg_write()
/Linux-v5.10/drivers/char/tpm/
Dtpm_atmel.h31 #define atmel_getb(priv, offset) readb(priv->iobase + offset) argument
32 #define atmel_putb(val, priv, offset) writeb(val, priv->iobase + offset) argument
83 #define atmel_getb(chip, offset) inb(atmel_get_priv(chip)->base + offset) argument
84 #define atmel_putb(val, chip, offset) \ argument
/Linux-v5.10/sound/soc/sof/
Dutils.c53 void sof_mailbox_write(struct snd_sof_dev *sdev, u32 offset, in sof_mailbox_write()
62 void sof_mailbox_read(struct snd_sof_dev *sdev, u32 offset, in sof_mailbox_read()
75 void sof_block_write(struct snd_sof_dev *sdev, u32 bar, u32 offset, void *src, in sof_block_write()
106 void sof_block_read(struct snd_sof_dev *sdev, u32 bar, u32 offset, void *dest, in sof_block_read()
/Linux-v5.10/drivers/gpu/drm/vboxvideo/
Dvbox_hgsmi.c33 static u32 hgsmi_checksum(u32 offset, in hgsmi_checksum()
53 dma_addr_t offset; in hgsmi_buffer_alloc() local
86 phys_addr_t offset; in hgsmi_buffer_submit() local
/Linux-v5.10/arch/x86/platform/ce4100/
Dce4100.c36 static unsigned int mem_serial_in(struct uart_port *p, int offset) in mem_serial_in()
52 static unsigned int ce4100_mem_serial_in(struct uart_port *p, int offset) in ce4100_mem_serial_in()
76 static void ce4100_mem_serial_out(struct uart_port *p, int offset, int value) in ce4100_mem_serial_out()
/Linux-v5.10/drivers/firewire/
Dcore-transaction.c200 unsigned long long offset, void *payload, size_t length) in fw_fill_request()
339 unsigned long long offset, void *payload, size_t length, in fw_send_request()
415 int generation, int speed, unsigned long long offset, in fw_run_transaction()
484 struct list_head *list, unsigned long long offset, size_t length) in lookup_overlapping_address_handler()
498 unsigned long long offset, size_t length) in is_enclosing_handler()
505 struct list_head *list, unsigned long long offset, size_t length) in lookup_enclosing_address_handler()
537 static bool is_in_fcp_region(u64 offset, size_t length) in is_in_fcp_region()
838 unsigned long long offset) in handle_exclusive_region_request()
867 unsigned long long offset) in handle_fcp_region_request()
909 unsigned long long offset; in fw_core_handle_request() local
[all …]
/Linux-v5.10/arch/sparc/lib/
Dcopy_user.S69 #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
93 #define MOVE_LASTCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
101 #define MOVE_HALFCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
111 #define MOVE_SHORTCHUNK(src, dst, offset, t0, t1) \ argument
/Linux-v5.10/arch/mips/include/asm/octeon/
Dcvmx-l2c-defs.h43 #define CVMX_L2C_PFCX(offset) (CVMX_ADD_IO_SEG(0x0001180080000098ull) + \ argument
54 #define CVMX_L2C_TADX_PFCX(offset, block_id) \ argument
65 #define CVMX_L2C_TADX_PRF(offset) (CVMX_ADD_IO_SEG(0x0001180080A00008ull) + \ argument
69 #define CVMX_L2C_WPAR_IOBX(offset) (CVMX_ADD_IO_SEG(0x0001180080840200ull) + \ argument
71 #define CVMX_L2C_WPAR_PPX(offset) (CVMX_ADD_IO_SEG(0x0001180080840000ull) + \ argument
/Linux-v5.10/drivers/net/dsa/mv88e6xxx/
Dglobal2_scratch.c52 int base_reg, unsigned int offset, in mv88e6xxx_g2_scratch_get_bit()
79 int base_reg, unsigned int offset, in mv88e6xxx_g2_scratch_set_bit()
131 int offset = (pin / 8); in mv88e6352_g2_scratch_gpio_set_data() local
195 int offset = (pin & 0x1) ? 4 : 0; in mv88e6352_g2_scratch_gpio_get_pctl() local
219 int offset = (pin & 0x1) ? 4 : 0; in mv88e6352_g2_scratch_gpio_set_pctl() local
/Linux-v5.10/drivers/net/wireless/broadcom/b43/
Dtables_phy_lcn.c457 u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset) in b43_lcntab_read()
487 void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_read_bulk()
525 void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_lcntab_write()
555 void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_write_bulk()
600 #define lcntab_upload(dev, offset, data) do { \ argument
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c168 static i40e_status i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_srctl()
220 u8 module_pointer, u32 offset, in i40e_read_nvm_aq()
267 static i40e_status i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_aq()
290 u16 offset, u16 *data) in __i40e_read_nvm_word()
306 i40e_status i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word()
343 u32 offset = 0; in i40e_read_nvm_module_data() local
409 static i40e_status i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_buffer_srctl()
440 static i40e_status i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_buffer_aq()
497 u16 offset, u16 *words, in __i40e_read_nvm_buffer()
517 i40e_status i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_buffer()
[all …]
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_iext_tree.c279 xfs_fileoff_t offset) in xfs_iext_key_cmp()
291 xfs_fileoff_t offset) in xfs_iext_rec_cmp()
306 xfs_fileoff_t offset, in xfs_iext_find_level()
331 xfs_fileoff_t offset) in xfs_iext_node_pos()
346 xfs_fileoff_t offset) in xfs_iext_node_insert_pos()
495 uint64_t offset, in xfs_iext_insert_node()
632 xfs_fileoff_t offset = irec->br_startoff; in xfs_iext_insert() local
725 xfs_fileoff_t offset, in xfs_iext_remove_node()
792 xfs_fileoff_t offset, in xfs_iext_rebalance_leaf()
869 xfs_fileoff_t offset = xfs_iext_leaf_key(leaf, 0); in xfs_iext_remove() local
[all …]
/Linux-v5.10/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.c287 unsigned offset, int gpio_mode) in __nmk_gpio_set_mode()
302 unsigned offset, enum nmk_gpio_slpm mode) in __nmk_gpio_set_slpm()
315 unsigned offset, enum nmk_gpio_pull pull) in __nmk_gpio_set_pull()
339 unsigned offset, bool lowemi) in __nmk_gpio_set_lowemi()
356 unsigned offset) in __nmk_gpio_make_input()
362 unsigned offset, int val) in __nmk_gpio_set_output()
371 unsigned offset, int val) in __nmk_gpio_make_output()
378 unsigned offset, int gpio_mode, in __nmk_gpio_set_mode_safe()
405 nmk_gpio_disable_lazy_irq(struct nmk_gpio_chip *nmk_chip, unsigned offset) in nmk_gpio_disable_lazy_irq()
444 unsigned offset, unsigned alt_num) in nmk_prcm_altcx_set_mode()
[all …]
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmmio.c65 u32 base, offset; in mt7615_reg_map() local
147 static u32 mt7615_rr(struct mt76_dev *mdev, u32 offset) in mt7615_rr()
155 static void mt7615_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7615_wr()
163 static u32 mt7615_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7615_rmw()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dqsfp.c216 u8 slave_addr, int offset, int offset_size, in i2c_bus_write()
264 u8 slave_addr, int offset, int offset_size, in i2c_bus_read()
317 int offset, void *bp, int len) in __i2c_write()
335 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write()
356 int offset, void *bp, int len) in __i2c_read()
374 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read()
401 int offset; in qsfp_write() local
481 int offset; in qsfp_read() local
712 int ret = 0, offset = 0; in get_cable_info() local
/Linux-v5.10/tools/perf/util/
Ddso.c731 static ssize_t bpf_read(struct dso *dso, u64 offset, char *data) in bpf_read()
787 static struct dso_cache *__dso_cache__find(struct dso *dso, u64 offset) in __dso_cache__find()
819 u64 offset = new->offset; in dso_cache__insert() local
846 static ssize_t dso_cache__memcpy(struct dso_cache *cache, u64 offset, u8 *data, in dso_cache__memcpy()
860 u64 offset, char *data) in file_read()
886 u64 offset, ssize_t *ret) in dso_cache__populate()
925 u64 offset, in dso_cache__find()
934 u64 offset, u8 *data, ssize_t size, bool out) in dso_cache_io()
952 u64 offset, u8 *data, ssize_t size, bool out) in cached_io()
1045 u64 offset, u8 *data, ssize_t size, in data_read_write_offset()
[all …]

1...<<11121314151617181920>>...219