Home
last modified time | relevance | path

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

12345678910>>...284

/openbmc/linux/drivers/gpu/drm/bridge/adv7511/
H A Dadv7511_cec.c36 unsigned int offset = adv7511->reg_cec_offset; in adv_cec_tx_raw_status() local
87 unsigned int offset = adv7511->reg_cec_offset; in adv7511_cec_rx() local
124 unsigned int offset = adv7511->reg_cec_offset; in adv7511_cec_irq_process() local
180 unsigned int offset = adv7511->reg_cec_offset; in adv7511_cec_adap_enable() local
226 unsigned int offset = adv7511->reg_cec_offset; in adv7511_cec_adap_log_addr() local
295 unsigned int offset = adv7511->reg_cec_offset; in adv7511_cec_adap_transmit() local
348 unsigned int offset = adv7511->reg_cec_offset; in adv7511_cec_init() local
/openbmc/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()
/openbmc/linux/drivers/gpio/
H A Dgpio-wm8994.c30 static int wm8994_gpio_request(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_request()
53 static int wm8994_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_direction_in()
62 static int wm8994_gpio_get(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_get()
79 unsigned offset, int value) in wm8994_gpio_direction_out()
91 static void wm8994_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm8994_gpio_set()
102 static int wm8994_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in wm8994_gpio_set_config()
123 static int wm8994_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_to_irq()
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 void 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()
124 static int exar_direction_input(struct gpio_chip *chip, unsigned int offset) in exar_direction_input()
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 void max77620_gpio_set(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set()
242 static int max77620_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set_config()
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()
46 static int tps65086_gpio_get(struct gpio_chip *chip, unsigned offset) in tps65086_gpio_get()
58 static void tps65086_gpio_set(struct gpio_chip *chip, unsigned offset, in tps65086_gpio_set()
H A Dgpio-xtensa.c72 static int xtensa_impwire_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_direction()
77 static int xtensa_impwire_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_value()
89 static void xtensa_impwire_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_impwire_set_value()
95 static int xtensa_expstate_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_direction()
100 static int xtensa_expstate_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_value()
112 static void xtensa_expstate_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_expstate_set_value()
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()
80 unsigned int offset) in max77650_gpio_get_value()
94 unsigned int offset) in max77650_gpio_get_direction()
108 unsigned int offset, unsigned long cfg) in max77650_gpio_set_config()
133 static int max77650_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) in max77650_gpio_to_irq()
H A Dgpio-aspeed-sgpio.c135 static const struct aspeed_sgpio_bank *to_bank(unsigned int offset) in to_bank()
164 static bool aspeed_sgpio_is_input(unsigned int offset) in aspeed_sgpio_is_input()
169 static int aspeed_sgpio_get(struct gpio_chip *gc, unsigned int offset) in aspeed_sgpio_get()
187 static int sgpio_set_value(struct gpio_chip *gc, unsigned int offset, int val) in sgpio_set_value()
214 static void aspeed_sgpio_set(struct gpio_chip *gc, unsigned int offset, int val) in aspeed_sgpio_set()
226 static int aspeed_sgpio_dir_in(struct gpio_chip *gc, unsigned int offset) in aspeed_sgpio_dir_in()
231 static int aspeed_sgpio_dir_out(struct gpio_chip *gc, unsigned int offset, int val) in aspeed_sgpio_dir_out()
247 static int aspeed_sgpio_get_direction(struct gpio_chip *gc, unsigned int offset) in aspeed_sgpio_get_direction()
255 u32 *bit, int *offset) in irqd_to_aspeed_sgpio_data()
274 int offset; in aspeed_sgpio_irq_ack() local
[all …]
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 void da9055_gpio_set(struct gpio_chip *gc, unsigned offset, int value) in da9055_gpio_set()
72 static int da9055_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in da9055_gpio_direction_input()
88 unsigned offset, int value) in da9055_gpio_direction_output()
110 static int da9055_gpio_to_irq(struct gpio_chip *gc, u32 offset) in da9055_gpio_to_irq()
H A Dgpio-rockchip.c77 u32 value, unsigned int offset) in rockchip_gpio_writel()
88 unsigned int offset) in rockchip_gpio_readl()
103 unsigned int offset) in rockchip_gpio_writel_bit()
124 u32 bit, unsigned int offset) in rockchip_gpio_readl_bit()
141 unsigned int offset) in rockchip_gpio_get_direction()
154 unsigned int offset, bool input) in rockchip_gpio_set_direction()
173 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, in rockchip_gpio_set()
184 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get()
197 unsigned int offset, in rockchip_gpio_set_debounce()
258 unsigned int offset) in rockchip_gpio_direction_input()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dtegra186_gpio.c21 uint32_t offset; member
43 static int tegra186_gpio_set_out(struct udevice *dev, unsigned offset, in tegra186_gpio_set_out()
69 static int tegra186_gpio_set_val(struct udevice *dev, unsigned offset, bool val) in tegra186_gpio_set_val()
85 static int tegra186_gpio_direction_input(struct udevice *dev, unsigned offset) in tegra186_gpio_direction_input()
90 static int tegra186_gpio_direction_output(struct udevice *dev, unsigned offset, in tegra186_gpio_direction_output()
101 static int tegra186_gpio_get_value(struct udevice *dev, unsigned offset) in tegra186_gpio_get_value()
119 static int tegra186_gpio_set_value(struct udevice *dev, unsigned offset, in tegra186_gpio_set_value()
125 static int tegra186_gpio_get_function(struct udevice *dev, unsigned offset) in tegra186_gpio_get_function()
H A Dmxc_gpio.c166 static int mxc_gpio_is_output(struct gpio_regs *regs, int offset) in mxc_gpio_is_output()
175 static void mxc_gpio_bank_direction(struct gpio_regs *regs, int offset, in mxc_gpio_bank_direction()
192 static void mxc_gpio_bank_set_value(struct gpio_regs *regs, int offset, in mxc_gpio_bank_set_value()
205 static int mxc_gpio_bank_get_value(struct gpio_regs *regs, int offset) in mxc_gpio_bank_get_value()
211 static int mxc_gpio_direction_input(struct udevice *dev, unsigned offset) in mxc_gpio_direction_input()
222 static int mxc_gpio_direction_output(struct udevice *dev, unsigned offset, in mxc_gpio_direction_output()
237 static int mxc_gpio_get_value(struct udevice *dev, unsigned offset) in mxc_gpio_get_value()
245 static int mxc_gpio_set_value(struct udevice *dev, unsigned offset, in mxc_gpio_set_value()
255 static int mxc_gpio_get_function(struct udevice *dev, unsigned offset) in mxc_gpio_get_function()
H A Dpm8916_gpio.c53 static int pm8916_gpio_set_direction(struct udevice *dev, unsigned offset, in pm8916_gpio_set_direction()
103 static int pm8916_gpio_direction_input(struct udevice *dev, unsigned offset) in pm8916_gpio_direction_input()
108 static int pm8916_gpio_direction_output(struct udevice *dev, unsigned offset, in pm8916_gpio_direction_output()
114 static int pm8916_gpio_get_function(struct udevice *dev, unsigned offset) in pm8916_gpio_get_function()
136 static int pm8916_gpio_get_value(struct udevice *dev, unsigned offset) in pm8916_gpio_get_value()
149 static int pm8916_gpio_set_value(struct udevice *dev, unsigned offset, in pm8916_gpio_set_value()
223 static int pm8941_pwrkey_get_function(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_function()
228 static int pm8941_pwrkey_get_value(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_value()
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dedid.c139 unsigned int offset, void *p_data, unsigned int bytes) in gmbus0_mmio_write()
178 static int gmbus1_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus1_mmio_write()
279 static int gmbus3_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_write()
288 static int gmbus3_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_read()
341 static int gmbus2_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_read()
352 static int gmbus2_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_write()
377 unsigned int offset, void *p_data, unsigned int bytes) in intel_gvt_i2c_handle_gmbus_read()
407 unsigned int offset, void *p_data, unsigned int bytes) in intel_gvt_i2c_handle_gmbus_write()
436 static inline int get_aux_ch_reg(unsigned int offset) in get_aux_ch_reg()
478 unsigned int offset, in intel_gvt_i2c_handle_aux_ch_write()
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dusb.c89 const u8 direction, const u16 val, const u16 offset, in mt7601u_vendor_request()
126 static u32 __mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in __mt7601u_rr()
145 u32 mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in mt7601u_rr()
158 const u16 offset, const u32 val) in __mt7601u_vendor_single_wr()
170 const u16 offset, const u32 val) in mt7601u_vendor_single_wr()
181 void mt7601u_wr(struct mt7601u_dev *dev, u32 offset, u32 val) in mt7601u_wr()
188 u32 mt7601u_rmw(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmw()
198 u32 mt7601u_rmc(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmc()
213 void mt7601u_wr_copy(struct mt7601u_dev *dev, u32 offset, in mt7601u_wr_copy()
222 void mt7601u_addr_wr(struct mt7601u_dev *dev, const u32 offset, const u8 *addr) in mt7601u_addr_wr()
/openbmc/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
/openbmc/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()
/openbmc/u-boot/drivers/pci/
H A Dpci-uclass.c259 int pci_bus_write_config(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_write_config()
270 int pci_bus_clrset_config32(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_clrset_config32()
285 int pci_write_config(pci_dev_t bdf, int offset, unsigned long value, in pci_write_config()
298 int dm_pci_write_config(struct udevice *dev, int offset, unsigned long value, in dm_pci_write_config()
309 int pci_write_config32(pci_dev_t bdf, int offset, u32 value) in pci_write_config32()
314 int pci_write_config16(pci_dev_t bdf, int offset, u16 value) in pci_write_config16()
319 int pci_write_config8(pci_dev_t bdf, int offset, u8 value) in pci_write_config8()
324 int dm_pci_write_config8(struct udevice *dev, int offset, u8 value) in dm_pci_write_config8()
329 int dm_pci_write_config16(struct udevice *dev, int offset, u16 value) in dm_pci_write_config16()
334 int dm_pci_write_config32(struct udevice *dev, int offset, u32 value) in dm_pci_write_config32()
[all …]
/openbmc/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 …]
/openbmc/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
/openbmc/qemu/block/
H A Draw-format.c38 uint64_t offset; member
76 static int raw_read_options(QDict *options, uint64_t *offset, bool *has_size, in raw_read_options()
99 raw_apply_options(BlockDriverState *bs, BDRVRawState *s, uint64_t offset, in raw_apply_options()
145 uint64_t offset, size; in raw_reopen_prepare() local
189 static inline int raw_adjust_offset(BlockDriverState *bs, int64_t *offset, in raw_adjust_offset()
210 raw_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_preadv()
225 raw_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_pwritev()
286 raw_co_block_status(BlockDriverState *bs, bool want_zero, int64_t offset, in raw_co_block_status()
298 raw_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_pwrite_zeroes()
311 raw_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in raw_co_pdiscard()
[all …]
/openbmc/u-boot/lib/libfdt/
H A Dfdt_ro.c17 static int _fdt_nodename_eq(const void *fdt, int offset, in _fdt_nodename_eq()
53 int offset; in fdt_get_max_phandle() local
93 static int _nextprop(const void *fdt, int offset) in _nextprop()
117 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
165 int offset = 0; in fdt_path_offset_namelen() local
234 int offset; in fdt_first_property_offset() local
242 int fdt_next_property_offset(const void *fdt, int offset) in fdt_next_property_offset()
251 int offset, in fdt_get_property_by_offset()
272 int offset, in fdt_get_property_namelen()
315 const void *fdt_getprop_by_offset(const void *fdt, int offset, in fdt_getprop_by_offset()
[all …]
/openbmc/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()
205 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument
212 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
221 COMPAT_SYSCALL_DEFINE6(fadvise64_64, int, fd, compat_arg_u64_dual(offset), in COMPAT_SYSCALL_DEFINE6()
/openbmc/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 …]

12345678910>>...284