/linux/drivers/tty/serial/8250/ |
H A D | 8250_dw.c | 97 static inline u32 dw8250_modify_msr(struct uart_port *p, unsigned int offset, u32 value) in dw8250_modify_msr() 148 static void dw8250_check_lcr(struct uart_port *p, unsigned int offset, u32 value) in dw8250_check_lcr() 208 static void dw8250_serial_out(struct uart_port *p, unsigned int offset, u32 value) in dw8250_serial_out() 214 static void dw8250_serial_out38x(struct uart_port *p, unsigned int offset, u32 value) in dw8250_serial_out38x() 223 static u32 dw8250_serial_in(struct uart_port *p, unsigned int offset) in dw8250_serial_in() 231 static u32 dw8250_serial_inq(struct uart_port *p, unsigned int offset) in dw8250_serial_inq() 238 static void dw8250_serial_outq(struct uart_port *p, unsigned int offset, u32 value) in dw8250_serial_outq() 249 static void dw8250_serial_out32(struct uart_port *p, unsigned int offset, u32 value) in dw8250_serial_out32() 255 static u32 dw8250_serial_in32(struct uart_port *p, unsigned int offset) in dw8250_serial_in32() 262 static void dw8250_serial_out32be(struct uart_port *p, unsigned int offset, u32 value) in dw8250_serial_out32be() [all …]
|
/linux/net/netfilter/ |
H A D | nft_exthdr.c | 21 u8 offset; member 29 static unsigned int optlen(const u8 *opt, unsigned int offset) in optlen() 38 static int nft_skb_copy_to_reg(const struct sk_buff *skb, int offset, u32 *dest, unsigned int len) in nft_skb_copy_to_reg() 52 unsigned int offset = 0; in nft_exthdr_ipv6_eval() local 83 unsigned int *offset, int target) in ipv4_find_option() 146 unsigned int offset; in nft_exthdr_ipv4_eval() local 194 unsigned int i, optl, tcphdr_len, offset; in nft_exthdr_tcp_eval() local 238 unsigned int i, optl, tcphdr_len, offset; in nft_exthdr_tcp_set_eval() local 373 unsigned int offset = nft_thoff(pkt) + sizeof(struct sctphdr); in nft_exthdr_sctp_eval() local 503 u32 offset, len, flags = 0, op = NFT_EXTHDR_OP_IPV6; in nft_exthdr_init() local [all …]
|
H A D | nft_set_pipapo_avx2.c | 101 int offset = start % BITS_PER_LONG; in nft_pipapo_avx2_fill() local 152 static int nft_pipapo_avx2_refill(int offset, unsigned long *map, in nft_pipapo_avx2_refill() 216 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_4b_2() 279 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_4b_4() 356 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_4b_8() 452 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_4b_12() 542 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_4b_32() 678 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_8b_1() 736 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_8b_2() 801 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_8b_4() [all …]
|
/linux/arch/um/drivers/ |
H A D | vfio_kern.c | 228 unsigned int offset, int size, in uml_vfio_update_msix_cap() 246 unsigned int offset, int size, in uml_vfio_update_msix_table() 271 unsigned int offset, int size) in __uml_vfio_cfgspace_read() 297 unsigned int offset, int size) in uml_vfio_cfgspace_read() 305 unsigned int offset, int size, in __uml_vfio_cfgspace_write() 331 unsigned int offset, int size, in uml_vfio_cfgspace_write() 344 void *buffer, unsigned int offset, int size) in uml_vfio_bar_copy_from() 353 unsigned int offset, int size) in uml_vfio_bar_read() 376 unsigned int offset, const void *buffer, in uml_vfio_bar_copy_to() 385 unsigned int offset, int size, in uml_vfio_bar_write() [all …]
|
H A D | vfio_user.c | 280 uint64_t offset, void *buf, uint64_t size) in vfio_region_read() 292 uint64_t offset, const void *buf, uint64_t size) in vfio_region_write() 304 unsigned int offset, void *buf, int size) in uml_vfio_user_cfgspace_read() 311 unsigned int offset, const void *buf, int size) in uml_vfio_user_cfgspace_write() 318 unsigned int offset, void *buf, int size) in uml_vfio_user_bar_read() 324 unsigned int offset, const void *buf, int size) in uml_vfio_user_bar_write()
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-agl-defs.h | 35 #define CVMX_AGL_GMX_PRTX_CFG(offset) (CVMX_ADD_IO_SEG(0x00011800E0000010ull) + ((offset) & 1) * 20… argument 36 #define CVMX_AGL_GMX_RXX_ADR_CAM0(offset) (CVMX_ADD_IO_SEG(0x00011800E0000180ull) + ((offset) & 1) … argument 37 #define CVMX_AGL_GMX_RXX_ADR_CAM1(offset) (CVMX_ADD_IO_SEG(0x00011800E0000188ull) + ((offset) & 1) … argument 38 #define CVMX_AGL_GMX_RXX_ADR_CAM2(offset) (CVMX_ADD_IO_SEG(0x00011800E0000190ull) + ((offset) & 1) … argument 39 #define CVMX_AGL_GMX_RXX_ADR_CAM3(offset) (CVMX_ADD_IO_SEG(0x00011800E0000198ull) + ((offset) & 1) … argument 40 #define CVMX_AGL_GMX_RXX_ADR_CAM4(offset) (CVMX_ADD_IO_SEG(0x00011800E00001A0ull) + ((offset) & 1) … argument 41 #define CVMX_AGL_GMX_RXX_ADR_CAM5(offset) (CVMX_ADD_IO_SEG(0x00011800E00001A8ull) + ((offset) & 1) … argument 42 #define CVMX_AGL_GMX_RXX_ADR_CAM_EN(offset) (CVMX_ADD_IO_SEG(0x00011800E0000108ull) + ((offset) & 1… argument 43 #define CVMX_AGL_GMX_RXX_ADR_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000100ull) + ((offset) & 1) *… argument 44 #define CVMX_AGL_GMX_RXX_DECISION(offset) (CVMX_ADD_IO_SEG(0x00011800E0000040ull) + ((offset) & 1) … argument [all …]
|
H A D | cvmx-mixx-defs.h | 31 #define CVMX_MIXX_BIST(offset) (CVMX_ADD_IO_SEG(0x0001070000100078ull) + ((offset) & 1) * 2048) argument 32 #define CVMX_MIXX_CTL(offset) (CVMX_ADD_IO_SEG(0x0001070000100020ull) + ((offset) & 1) * 2048) argument 33 #define CVMX_MIXX_INTENA(offset) (CVMX_ADD_IO_SEG(0x0001070000100050ull) + ((offset) & 1) * 2048) argument 34 #define CVMX_MIXX_IRCNT(offset) (CVMX_ADD_IO_SEG(0x0001070000100030ull) + ((offset) & 1) * 2048) argument 35 #define CVMX_MIXX_IRHWM(offset) (CVMX_ADD_IO_SEG(0x0001070000100028ull) + ((offset) & 1) * 2048) argument 36 #define CVMX_MIXX_IRING1(offset) (CVMX_ADD_IO_SEG(0x0001070000100010ull) + ((offset) & 1) * 2048) argument 37 #define CVMX_MIXX_IRING2(offset) (CVMX_ADD_IO_SEG(0x0001070000100018ull) + ((offset) & 1) * 2048) argument 38 #define CVMX_MIXX_ISR(offset) (CVMX_ADD_IO_SEG(0x0001070000100048ull) + ((offset) & 1) * 2048) argument 39 #define CVMX_MIXX_ORCNT(offset) (CVMX_ADD_IO_SEG(0x0001070000100040ull) + ((offset) & 1) * 2048) argument 40 #define CVMX_MIXX_ORHWM(offset) (CVMX_ADD_IO_SEG(0x0001070000100038ull) + ((offset) & 1) * 2048) argument [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-bd71828.c | 19 static int bd71828_gpio_set(struct gpio_chip *chip, unsigned int offset, in bd71828_gpio_set() 36 static int bd71828_gpio_get(struct gpio_chip *chip, unsigned int offset) in bd71828_gpio_get() 54 static int bd71828_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in bd71828_gpio_set_config() 79 static int bd71828_get_direction(struct gpio_chip *chip, unsigned int offset) in bd71828_get_direction()
|
H A D | gpio-palmas.c | 26 static int palmas_gpio_get(struct gpio_chip *gc, unsigned offset) in palmas_gpio_get() 57 static int palmas_gpio_set(struct gpio_chip *gc, unsigned int offset, in palmas_gpio_set() 76 static int palmas_gpio_output(struct gpio_chip *gc, unsigned offset, in palmas_gpio_output() 101 static int palmas_gpio_input(struct gpio_chip *gc, unsigned offset) in palmas_gpio_input() 119 static int palmas_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in palmas_gpio_to_irq()
|
H A D | gpio-npcm-sgpio.c | 157 static const struct npcm_sgpio_bank *offset_to_bank(unsigned int offset) in offset_to_bank() 167 u8 *bit, unsigned int *offset) in npcm_sgpio_irqd_to_data() 204 static int npcm_sgpio_dir_in(struct gpio_chip *gc, unsigned int offset) in npcm_sgpio_dir_in() 212 static int npcm_sgpio_dir_out(struct gpio_chip *gc, unsigned int offset, int val) in npcm_sgpio_dir_out() 217 static int npcm_sgpio_get_direction(struct gpio_chip *gc, unsigned int offset) in npcm_sgpio_get_direction() 227 static int npcm_sgpio_set(struct gpio_chip *gc, unsigned int offset, int val) in npcm_sgpio_set() 247 static int npcm_sgpio_get(struct gpio_chip *gc, unsigned int offset) in npcm_sgpio_get() 323 unsigned int offset; in npcm_sgpio_irq_set_mask() local 360 unsigned int offset; in npcm_sgpio_irq_ack() local 387 unsigned int offset; in npcm_sgpio_set_type() local
|
H A D | gpio-tps6586x.c | 30 static int tps6586x_gpio_get(struct gpio_chip *gc, unsigned offset) in tps6586x_gpio_get() 43 static int tps6586x_gpio_set(struct gpio_chip *gc, unsigned int offset, in tps6586x_gpio_set() 52 static int tps6586x_gpio_output(struct gpio_chip *gc, unsigned offset, in tps6586x_gpio_output() 70 static int tps6586x_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in tps6586x_gpio_to_irq()
|
H A D | gpio-timberdale.c | 43 unsigned offset, bool enabled) in timbgpio_update_bit() 88 static int timbgpio_to_irq(struct gpio_chip *gpio, unsigned offset) in timbgpio_to_irq() 104 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_disable() local 119 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_enable() local 134 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_type() local 195 int offset; in timbgpio_irq() local
|
H A D | gpio-kempld.c | 58 static int kempld_gpio_get(struct gpio_chip *chip, unsigned offset) in kempld_gpio_get() 66 static int kempld_gpio_set(struct gpio_chip *chip, unsigned int offset, in kempld_gpio_set() 79 static int kempld_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in kempld_gpio_direction_input() 91 static int kempld_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in kempld_gpio_direction_output() 105 static int kempld_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in kempld_gpio_get_direction()
|
/linux/sound/hda/codecs/side-codecs/ |
H A D | cirrus_scodec_test.c | 37 unsigned int offset) in cirrus_scodec_test_gpio_get_direction() argument 43 unsigned int offset) in cirrus_scodec_test_gpio_direction_in() argument 48 static int cirrus_scodec_test_gpio_get(struct gpio_chip *chip, unsigned int offset) in cirrus_scodec_test_gpio_get() argument 56 unsigned int offset, int value) in cirrus_scodec_test_gpio_direction_out() argument 62 unsigned int offset, int value) in cirrus_scodec_test_gpio_set() argument 68 unsigned int offset, in cirrus_scodec_test_gpio_set_config() argument
|
/linux/arch/arm/boot/compressed/ |
H A D | atags_to_fdt.c | 17 int offset = fdt_path_offset(fdt, node_path); in node_offset() local 27 int offset = node_offset(fdt, node_path); in setprop() local 36 int offset = node_offset(fdt, node_path); in setprop_string() local 45 int offset = node_offset(fdt, node_path); in setprop_cell() local 54 int offset = fdt_path_offset(fdt, node_path); in getprop() local
|
/linux/drivers/reset/ |
H A D | reset-zynq.c | 23 u32 offset; member 35 int offset = id % BITS_PER_LONG; in zynq_reset_assert() local 52 int offset = id % BITS_PER_LONG; in zynq_reset_deassert() local 69 int offset = id % BITS_PER_LONG; in zynq_reset_status() local
|
H A D | reset-eyeq.c | 146 unsigned int offset; member 180 u32 domain, u32 offset, bool assert) in eqr_busy_wait_locked() 243 static void eqr_assert_locked(struct eqr_private *priv, u32 domain, u32 offset) in eqr_assert_locked() 286 u32 offset = FIELD_GET(ID_OFFSET_MASK, id); in eqr_assert() local 297 u32 offset) in eqr_deassert_locked() 340 u32 offset = FIELD_GET(ID_OFFSET_MASK, id); in eqr_deassert() local 353 u32 offset = FIELD_GET(ID_OFFSET_MASK, id); in eqr_status() local 388 u32 domain, u32 offset) in eqr_of_xlate_internal()
|
/linux/fs/fat/ |
H A D | fatent.c | 24 int *offset, sector_t *blocknr) in fat12_ent_blocknr() 34 int *offset, sector_t *blocknr) in fat_ent_blocknr() 43 static void fat12_ent_set_ptr(struct fat_entry *fatent, int offset) in fat12_ent_set_ptr() 57 static void fat16_ent_set_ptr(struct fat_entry *fatent, int offset) in fat16_ent_set_ptr() 63 static void fat32_ent_set_ptr(struct fat_entry *fatent, int offset) in fat32_ent_set_ptr() 70 int offset, sector_t blocknr) in fat12_ent_bread() 103 int offset, sector_t blocknr) in fat_ent_bread() 321 int offset, sector_t blocknr) in fat_ent_update_ptr() 354 int err, offset; in fat_ent_read() local 441 int offset; in fat_ent_read_block() local [all …]
|
/linux/drivers/ssb/ |
H A D | pci.c | 169 #define SPOFF(offset) ((offset) / sizeof(u16)) argument 327 static s8 sprom_extract_antgain(u8 sprom_revision, const u16 *in, u16 offset, in sprom_extract_antgain() 961 static u8 ssb_pci_read8(struct ssb_device *dev, u16 offset) in ssb_pci_read8() 974 static u16 ssb_pci_read16(struct ssb_device *dev, u16 offset) in ssb_pci_read16() 987 static u32 ssb_pci_read32(struct ssb_device *dev, u16 offset) in ssb_pci_read32() 1002 size_t count, u16 offset, u8 reg_width) in ssb_pci_block_read() 1035 static void ssb_pci_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pci_write8() 1048 static void ssb_pci_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pci_write16() 1061 static void ssb_pci_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pci_write32() 1076 size_t count, u16 offset, u8 reg_width) in ssb_pci_block_write()
|
/linux/tools/testing/selftests/sparc64/drivers/ |
H A D | adi-test.c | 205 int buf_sz, unsigned long offset) in pread_adi() 260 int buf_sz, unsigned long offset) in pwrite_adi() 293 static off_t seek_adi(int fd, off_t offset, int whence) in seek_adi() 319 loff_t offset; in test0_prpw_aligned_1byte() local 354 loff_t offset; in test1_prpw_aligned_4096bytes() local 394 loff_t offset; in test2_prpw_aligned_10327bytes() local 434 loff_t offset; in test3_prpw_unaligned_12541bytes() local 521 loff_t offset; in test5_rw_aligned_1byte() local 567 loff_t offset; in test6_rw_aligned_9434bytes() local 619 loff_t offset; in test7_rw_aligned_14963bytes() local
|
/linux/block/ |
H A D | t10-pi.c | 40 u8 offset = bi->pi_offset; in t10_pi_generate() local 67 u8 offset = bi->pi_offset; in t10_pi_verify() local 130 u8 offset = bi->pi_offset; in t10_pi_type1_prepare() local 182 u8 offset = bi->pi_offset; in t10_pi_type1_complete() local 219 u8 offset = bi->pi_offset; in ext_pi_crc64_generate() local 252 u8 offset = bi->pi_offset; in ext_pi_crc64_verify() local 304 u8 offset = bi->pi_offset; in ext_pi_type1_prepare() local 345 u8 offset = bi->pi_offset; in ext_pi_type1_complete() local
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_init_ops.h | 71 #define STORE_RT_REG(hwfn, offset, val) \ argument 74 #define OVERWRITE_RT_REG(hwfn, offset, val) \ argument 82 #define STORE_RT_REG_AGG(hwfn, offset, val) \ argument
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | cong.c | 104 static u32 mlx5_get_cc_param_val(void *field, int offset) in mlx5_get_cc_param_val() 178 static void mlx5_ib_set_cc_param_mask_val(void *field, int offset, in mlx5_ib_set_cc_param_mask_val() 293 int offset, u32 *var) in mlx5_ib_get_cc_params() 330 int offset, u32 var) in mlx5_ib_set_cc_params() 375 int offset = param->offset; in set_param() local 399 int offset = param->offset; in get_param() local
|
/linux/lib/crypto/x86/ |
H A D | sha256-avx2-asm.S | 207 offset = \disp + 1*4 define 258 offset = \disp + 2*4 define 308 offset = \disp + 3*4 define 413 offset = 4*1 + \disp define 453 offset = 4*2 + \disp define 493 offset = 4*3 + \disp define
|
/linux/drivers/i2c/muxes/ |
H A D | i2c-mux-ltc4306.c | 75 static int ltc4306_gpio_get(struct gpio_chip *chip, unsigned int offset) in ltc4306_gpio_get() 88 static int ltc4306_gpio_set(struct gpio_chip *chip, unsigned int offset, in ltc4306_gpio_set() 98 unsigned int offset) in ltc4306_gpio_get_direction() 112 unsigned int offset) in ltc4306_gpio_direction_input() 121 unsigned int offset, int value) in ltc4306_gpio_direction_output() 131 unsigned int offset, unsigned long config) in ltc4306_gpio_set_config()
|