Home
last modified time | relevance | path

Searched defs:offset (Results 51 – 75 of 5764) sorted by relevance

12345678910>>...231

/linux/lib/
H A Dradix-tree.c88 unsigned int offset = (index >> parent->shift) & RADIX_TREE_MAP_MASK; in radix_tree_descend() local
101 int offset) in tag_set()
107 int offset) in tag_clear()
113 int offset) in tag_get()
181 unsigned long offset) in radix_tree_find_next_bit()
223 unsigned long offset) in next_index()
235 unsigned int shift, unsigned int offset, in radix_tree_node_alloc()
605 unsigned int shift, offset = 0; in __radix_tree_create() local
658 unsigned offset = 0; in radix_tree_free_nodes() local
721 unsigned offset = get_slot_offset(node, slot); in radix_tree_insert() local
[all …]
/linux/include/dt-bindings/clock/
H A Dam4.h9 #define AM4_CLKCTRL_INDEX(offset) ((offset) - AM4_CLKCTRL_OFFSET) argument
13 #define AM4_L3S_TSC_CLKCTRL_INDEX(offset) ((offset) - AM4_L3S_TSC_CLKCTRL_OFFSET) argument
18 #define AM4_L4_WKUP_AON_CLKCTRL_INDEX(offset) ((offset) - AM4_L4_WKUP_AON_CLKCTRL_OFFSET) argument
24 #define AM4_L4_WKUP_CLKCTRL_INDEX(offset) ((offset) - AM4_L4_WKUP_CLKCTRL_OFFSET) argument
59 #define AM4_L3S_CLKCTRL_INDEX(offset) ((offset) - AM4_L3S_CLKCTRL_OFFSET) argument
73 #define AM4_PRUSS_OCP_CLKCTRL_INDEX(offset) ((offset) - AM4_PRUSS_OCP_CLKCTRL_OFFSET) argument
78 #define AM4_L4LS_CLKCTRL_INDEX(offset) ((offset) - AM4_L4LS_CLKCTRL_OFFSET) argument
127 #define AM4_EMIF_CLKCTRL_INDEX(offset) ((offset) - AM4_EMIF_CLKCTRL_OFFSET) argument
132 #define AM4_DSS_CLKCTRL_INDEX(offset) ((offset) - AM4_DSS_CLKCTRL_OFFSET) argument
137 #define AM4_CPSW_125MHZ_CLKCTRL_INDEX(offset) ((offset) - AM4_CPSW_125MHZ_CLKCTRL_OFFSET) argument
/linux/drivers/gpu/drm/i915/gvt/
H A Dedid.c142 unsigned int offset, void *p_data, unsigned int bytes) in gmbus0_mmio_write()
181 static int gmbus1_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus1_mmio_write()
282 static int gmbus3_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_write()
291 static int gmbus3_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_read()
344 static int gmbus2_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_read()
355 static int gmbus2_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_write()
380 unsigned int offset, void *p_data, unsigned int bytes) in intel_gvt_i2c_handle_gmbus_read()
410 unsigned int offset, void *p_data, unsigned int bytes) in intel_gvt_i2c_handle_gmbus_write()
439 static inline int get_aux_ch_reg(unsigned int offset) in get_aux_ch_reg()
481 unsigned int offset, in intel_gvt_i2c_handle_aux_ch_write()
/linux/arch/powerpc/platforms/powermac/
H A Dpfunc_base.c119 unsigned long offset; in macio_gpio_init_one() local
146 static int macio_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in macio_do_write_reg32()
157 static int macio_do_read_reg32(PMF_STD_ARGS, u32 offset) in macio_do_read_reg32()
169 static int macio_do_write_reg8(PMF_STD_ARGS, u32 offset, u8 value, u8 mask) in macio_do_write_reg8()
180 static int macio_do_read_reg8(PMF_STD_ARGS, u32 offset) in macio_do_read_reg8()
192 static int macio_do_read_reg32_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg32_msrx()
205 static int macio_do_read_reg8_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg8_msrx()
218 static int macio_do_write_reg32_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg32_slm()
238 static int macio_do_write_reg8_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg8_slm()
280 static int unin_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in unin_do_write_reg32()
/linux/drivers/gpio/
H A Dgpio-max77620.c15 #define GPIO_REG_ADDR(offset) (MAX77620_REG_GPIO0 + offset) argument
29 unsigned int value, offset; in max77620_gpio_irqhandler() local
110 unsigned int value, offset = data->hwirq; in max77620_gpio_bus_sync_unlock() local
135 static int max77620_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_dir_input()
149 static int max77620_gpio_get(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_get()
167 static int max77620_gpio_dir_output(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_dir_output()
194 unsigned int offset, in max77620_gpio_set_debounce()
226 static int max77620_gpio_set(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set()
239 static int max77620_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set_config()
H A Dgpio-wm8994.c31 static int wm8994_gpio_request(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_request()
54 static int wm8994_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_direction_in()
63 static int wm8994_gpio_get(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_get()
80 unsigned offset, int value) in wm8994_gpio_direction_out()
92 static int wm8994_gpio_set(struct gpio_chip *chip, unsigned int offset, in wm8994_gpio_set()
105 static int wm8994_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in wm8994_gpio_set_config()
126 static int wm8994_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_to_irq()
H A Dgpio-max730x.c48 static int max7301_direction_input(struct gpio_chip *chip, unsigned offset) in max7301_direction_input()
78 static int __max7301_set(struct max7301 *ts, unsigned offset, int value) in __max7301_set()
89 static int max7301_direction_output(struct gpio_chip *chip, unsigned offset, in max7301_direction_output()
118 static int max7301_get(struct gpio_chip *chip, unsigned offset) in max7301_get()
146 static int max7301_set(struct gpio_chip *chip, unsigned int offset, int value) in max7301_set()
212 int offset = (i - 1) * 4 + j; in __max730x_probe() local
H A Dgpio-rc5t583.c24 static int rc5t583_gpio_get(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_get()
38 static int rc5t583_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in rc5t583_gpio_set()
54 static int rc5t583_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_dir_input()
68 static int rc5t583_gpio_dir_output(struct gpio_chip *gc, unsigned offset, in rc5t583_gpio_dir_output()
87 static int rc5t583_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_to_irq()
97 static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_free()
H A Dgpio-rockchip.c84 u32 value, unsigned int offset) in rockchip_gpio_writel()
95 unsigned int offset) in rockchip_gpio_readl()
110 unsigned int offset) in rockchip_gpio_writel_bit()
131 u32 bit, unsigned int offset) in rockchip_gpio_readl_bit()
148 unsigned int offset) in rockchip_gpio_get_direction()
161 unsigned int offset, bool input) in rockchip_gpio_set_direction()
180 static int rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, in rockchip_gpio_set()
193 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get()
206 unsigned int offset, in rockchip_gpio_set_debounce()
267 unsigned int offset) in rockchip_gpio_direction_input()
[all …]
H A Dgpio-nomadik.c42 void __nmk_gpio_set_slpm(struct nmk_gpio_chip *nmk_chip, unsigned int offset, in __nmk_gpio_set_slpm()
60 unsigned int offset, int val) in __nmk_gpio_set_output()
69 unsigned int offset, int val) in __nmk_gpio_make_output()
93 int offset, enum nmk_gpio_irq_type which, in __nmk_gpio_irq_modify()
134 int offset, bool on) in __nmk_gpio_set_wake()
306 static int nmk_gpio_get_dir(struct gpio_chip *chip, unsigned int offset) in nmk_gpio_get_dir()
323 static int nmk_gpio_make_input(struct gpio_chip *chip, unsigned int offset) in nmk_gpio_make_input()
336 static int nmk_gpio_get_input(struct gpio_chip *chip, unsigned int offset) in nmk_gpio_get_input()
350 static int nmk_gpio_set_output(struct gpio_chip *chip, unsigned int offset, in nmk_gpio_set_output()
364 static int nmk_gpio_make_output(struct gpio_chip *chip, unsigned int offset, in nmk_gpio_make_output()
[all …]
H A Dgpio-exar.c48 exar_offset_to_sel_addr(struct exar_gpio_chip *exar_gpio, unsigned int offset) in exar_offset_to_sel_addr()
58 exar_offset_to_lvl_addr(struct exar_gpio_chip *exar_gpio, unsigned int offset) in exar_offset_to_lvl_addr()
68 exar_offset_to_bit(struct exar_gpio_chip *exar_gpio, unsigned int offset) in exar_offset_to_bit()
75 static int exar_get_direction(struct gpio_chip *chip, unsigned int offset) in exar_get_direction()
87 static int exar_get_value(struct gpio_chip *chip, unsigned int offset) in exar_get_value()
96 static int exar_set_value(struct gpio_chip *chip, unsigned int offset, in exar_set_value()
111 static int exar_direction_output(struct gpio_chip *chip, unsigned int offset, in exar_direction_output()
126 static int exar_direction_input(struct gpio_chip *chip, unsigned int offset) in exar_direction_input()
H A Dgpio-max77650.c41 unsigned int offset) in max77650_gpio_direction_input()
52 unsigned int offset, int value) in max77650_gpio_direction_output()
66 unsigned int offset, int value) in max77650_gpio_set_value()
78 unsigned int offset) in max77650_gpio_get_value()
92 unsigned int offset) in max77650_gpio_get_direction()
106 unsigned int offset, unsigned long cfg) in max77650_gpio_set_config()
131 static int max77650_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) in max77650_gpio_to_irq()
H A Dgpio-tps65086.c21 unsigned offset) in tps65086_gpio_get_direction()
28 unsigned offset) in tps65086_gpio_direction_input()
35 unsigned offset, int value) in tps65086_gpio_direction_output()
44 static int tps65086_gpio_get(struct gpio_chip *chip, unsigned offset) in tps65086_gpio_get()
56 static int tps65086_gpio_set(struct gpio_chip *chip, unsigned int offset, in tps65086_gpio_set()
H A Dgpio-da9055.c22 #define DA9055_PORT_SHIFT(offset) (4 * (offset % 2)) argument
33 static int da9055_gpio_get(struct gpio_chip *gc, unsigned offset) in da9055_gpio_get()
62 static int da9055_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in da9055_gpio_set()
70 static int da9055_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in da9055_gpio_direction_input()
86 unsigned offset, int value) in da9055_gpio_direction_output()
106 static int da9055_gpio_to_irq(struct gpio_chip *gc, u32 offset) in da9055_gpio_to_irq()
H A Dgpio-wm831x.c31 static int wm831x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_direction_in()
45 static int wm831x_gpio_get(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_get()
61 static int wm831x_gpio_set(struct gpio_chip *chip, unsigned int offset, in wm831x_gpio_set()
72 unsigned offset, int value) in wm831x_gpio_direction_out()
92 static int wm831x_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_to_irq()
101 static int wm831x_gpio_set_debounce(struct wm831x *wm831x, unsigned offset, in wm831x_gpio_set_debounce()
130 static int wm831x_set_config(struct gpio_chip *chip, unsigned int offset, in wm831x_set_config()
/linux/drivers/comedi/drivers/
H A Damplc_dio200_common.c92 unsigned int offset) in dio200___read8()
100 unsigned int offset, unsigned char val) in dio200___write8()
109 unsigned int offset) in dio200___read32()
117 unsigned int offset, unsigned int val) in dio200___write32()
128 unsigned int offset) in dio200___read8()
134 unsigned int offset, unsigned char val) in dio200___write8()
140 unsigned int offset) in dio200___read32()
146 unsigned int offset, unsigned int val) in dio200___write32()
154 unsigned int offset) in dio200_read8()
165 unsigned int offset, unsigned char val) in dio200_write8()
[all …]
/linux/drivers/gpu/drm/bridge/adv7511/
H A Dadv7511_cec.c38 unsigned int offset = adv7511->info->reg_cec_offset; in adv_cec_tx_raw_status() local
91 unsigned int offset = adv7511->info->reg_cec_offset; in adv7511_cec_rx() local
128 unsigned int offset = adv7511->info->reg_cec_offset; in adv7511_cec_irq_process() local
189 unsigned int offset = adv7511->info->reg_cec_offset; in adv7511_cec_enable() local
235 unsigned int offset = adv7511->info->reg_cec_offset; in adv7511_cec_log_addr() local
304 unsigned int offset = adv7511->info->reg_cec_offset; in adv7511_cec_transmit() local
354 unsigned int offset = adv7511->info->reg_cec_offset; in adv7511_cec_init() local
/linux/scripts/dtc/libfdt/
H A Dfdt.c140 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr()
166 int offset = startoffset; in fdt_next_tag() local
223 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_()
235 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_()
247 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
287 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
298 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
/linux/drivers/net/wireless/ath/ath5k/
H A Deeprom.c77 u32 cksum, offset, eep_max = AR5K_EEPROM_INFO_MAX; in ath5k_eeprom_init_header() local
189 static int ath5k_eeprom_read_ants(struct ath5k_hw *ah, u32 *offset, in ath5k_eeprom_read_ants()
249 static int ath5k_eeprom_read_modes(struct ath5k_hw *ah, u32 *offset, in ath5k_eeprom_read_modes()
472 u32 offset; in ath5k_eeprom_init_modes() local
510 ath5k_eeprom_read_freq_list(struct ath5k_hw *ah, int *offset, int max, in ath5k_eeprom_read_freq_list()
548 ath5k_eeprom_init_11a_pcal_freq(struct ath5k_hw *ah, int offset) in ath5k_eeprom_init_11a_pcal_freq()
601 ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) in ath5k_eeprom_init_11bg_2413()
800 int offset, ret; in ath5k_eeprom_read_pcal_info_5111() local
1025 u32 offset; in ath5k_eeprom_read_pcal_info_5112() local
1170 u32 offset = AR5K_EEPROM_CAL_DATA_START(ee->ee_misc4); in ath5k_cal_data_offset_2413() local
[all …]
/linux/include/linux/
H A Dswapops.h86 static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) in swp_entry()
168 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset) in make_readable_device_private_entry()
173 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset) in make_writable_device_private_entry()
189 static inline swp_entry_t make_device_exclusive_entry(pgoff_t offset) in make_device_exclusive_entry()
200 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset) in make_readable_device_private_entry()
205 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset) in make_writable_device_private_entry()
220 static inline swp_entry_t make_device_exclusive_entry(pgoff_t offset) in make_device_exclusive_entry()
255 static inline swp_entry_t make_readable_migration_entry(pgoff_t offset) in make_readable_migration_entry()
260 static inline swp_entry_t make_readable_exclusive_migration_entry(pgoff_t offset) in make_readable_exclusive_migration_entry()
265 static inline swp_entry_t make_writable_migration_entry(pgoff_t offset) in make_writable_migration_entry()
[all …]
/linux/arch/arm/mach-s3c/
H A Dgpio-samsung.c245 static int samsung_gpiolib_2bit_input(struct gpio_chip *chip, unsigned offset) in samsung_gpiolib_2bit_input()
264 unsigned offset, int value) in samsung_gpiolib_2bit_output()
308 unsigned int offset) in samsung_gpiolib_4bit_input()
327 unsigned int offset, int value) in samsung_gpiolib_4bit_output()
377 unsigned int offset) in samsung_gpiolib_4bit2_input()
399 unsigned int offset, int value) in samsung_gpiolib_4bit2_output()
433 static int samsung_gpiolib_set(struct gpio_chip *chip, unsigned int offset, in samsung_gpiolib_set()
454 static int samsung_gpiolib_get(struct gpio_chip *chip, unsigned offset) in samsung_gpiolib_get()
541 unsigned int offset) in samsung_gpiolib_add_2bit_chips()
614 int samsung_gpiolib_to_irq(struct gpio_chip *chip, unsigned int offset) in samsung_gpiolib_to_irq()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dmkregtable.c106 struct offset { struct
108 unsigned offset; argument
121 struct offset *offset; in offset_new() local
131 static void table_offset_add(struct table *t, struct offset *offset) in table_offset_add()
171 struct offset *offset; in table_build() local
200 struct offset *offset; in parser_auth() local
/linux/drivers/pinctrl/renesas/
H A Dgpio.c43 static void gpio_get_data_reg(struct sh_pfc_chip *chip, unsigned int offset, in gpio_get_data_reg()
130 static int gpio_pin_request(struct gpio_chip *gc, unsigned offset) in gpio_pin_request()
141 static void gpio_pin_free(struct gpio_chip *gc, unsigned offset) in gpio_pin_free()
146 static void gpio_pin_set_value(struct sh_pfc_chip *chip, unsigned offset, in gpio_pin_set_value()
165 static int gpio_pin_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_pin_direction_input()
170 static int gpio_pin_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_pin_direction_output()
178 static int gpio_pin_get(struct gpio_chip *gc, unsigned offset) in gpio_pin_get()
192 static int gpio_pin_set(struct gpio_chip *gc, unsigned int offset, int value) in gpio_pin_set()
199 static int gpio_pin_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_pin_to_irq()
254 static int gpio_function_request(struct gpio_chip *gc, unsigned offset) in gpio_function_request()
/linux/drivers/net/wireless/broadcom/b43/
H A Dtables_lpphy.c21 u16 offset; member
581 u32 b43_lptab_read(struct b43_wldev *dev, u32 offset) in b43_lptab_read()
612 void b43_lptab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_lptab_read_bulk()
647 void b43_lptab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_lptab_write()
676 void b43_lptab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_lptab_write_bulk()
2342 static void lpphy_rev0_1_write_gain_table(struct b43_wldev *dev, int offset, in lpphy_rev0_1_write_gain_table()
2358 static void lpphy_rev2plus_write_gain_table(struct b43_wldev *dev, int offset, in lpphy_rev2plus_write_gain_table()
2385 void lpphy_write_gain_table(struct b43_wldev *dev, int offset, in lpphy_write_gain_table()
2394 void lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count, in lpphy_write_gain_table_bulk()
/linux/mm/
H A Dfadvise.c31 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise()
180 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise()
191 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64()
201 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument
208 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
217 COMPAT_SYSCALL_DEFINE6(fadvise64_64, int, fd, compat_arg_u64_dual(offset), in COMPAT_SYSCALL_DEFINE6()

12345678910>>...231