Home
last modified time | relevance | path

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

12345678910>>...319

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/
H A Dhal_headers_le.h201 static inline u8 hal_sdio_cmd52_r8(struct rtw_hal_com_t *h, u32 offset) in hal_sdio_cmd52_r8()
205 static inline u8 hal_sdio_cmd53_r8(struct rtw_hal_com_t *h, u32 offset) in hal_sdio_cmd53_r8()
210 static inline u16 hal_sdio_cmd53_r16(struct rtw_hal_com_t *h, u32 offset) in hal_sdio_cmd53_r16()
215 static inline u32 hal_sdio_cmd53_r32(struct rtw_hal_com_t *h, u32 offset) in hal_sdio_cmd53_r32()
221 u32 offset, u32 size, u8 *data) in hal_sdio_cmd53_rn()
227 u32 offset, u32 size, u8 *val) in hal_sdio_cmd53_r()
236 u32 offset, u8 val) in hal_sdio_cmd52_w8()
242 u32 offset, u8 val) in hal_sdio_cmd53_w8()
248 u32 offset, u16 val) in hal_sdio_cmd53_w16()
254 u32 offset, u32 val) in hal_sdio_cmd53_w32()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/
H A Dhal_headers_le.h201 static inline u8 hal_sdio_cmd52_r8(struct rtw_hal_com_t *h, u32 offset) in hal_sdio_cmd52_r8()
205 static inline u8 hal_sdio_cmd53_r8(struct rtw_hal_com_t *h, u32 offset) in hal_sdio_cmd53_r8()
210 static inline u16 hal_sdio_cmd53_r16(struct rtw_hal_com_t *h, u32 offset) in hal_sdio_cmd53_r16()
215 static inline u32 hal_sdio_cmd53_r32(struct rtw_hal_com_t *h, u32 offset) in hal_sdio_cmd53_r32()
221 u32 offset, u32 size, u8 *data) in hal_sdio_cmd53_rn()
227 u32 offset, u32 size, u8 *val) in hal_sdio_cmd53_r()
236 u32 offset, u8 val) in hal_sdio_cmd52_w8()
242 u32 offset, u8 val) in hal_sdio_cmd53_w8()
248 u32 offset, u16 val) in hal_sdio_cmd53_w16()
254 u32 offset, u32 val) in hal_sdio_cmd53_w32()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dgpio_txx9.c19 static int txx9_gpio_get(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_get()
24 static void txx9_gpio_set_raw(unsigned int offset, int value) in txx9_gpio_set_raw()
35 static void txx9_gpio_set(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_set()
45 static int txx9_gpio_dir_in(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_dir_in()
56 static int txx9_gpio_dir_out(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_dir_out()
/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Dcap.c21 u32 value, offset; in tb_port_enable_tmu() local
72 int tb_port_next_cap(struct tb_port *port, unsigned int offset) in tb_port_next_cap()
89 int offset = 0; in __tb_port_find_cap() local
145 int tb_switch_next_cap(struct tb_switch *sw, unsigned int offset) in tb_switch_next_cap()
190 int offset = 0; in tb_switch_find_cap() local
223 int offset = 0; in tb_switch_find_vse_cap() local
/OK3568_Linux_fs/u-boot/drivers/pci/
H A Dpci-uclass.c240 int pci_bus_write_config(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_write_config()
251 int pci_bus_clrset_config32(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_clrset_config32()
266 int pci_write_config(pci_dev_t bdf, int offset, unsigned long value, in pci_write_config()
279 int dm_pci_write_config(struct udevice *dev, int offset, unsigned long value, in dm_pci_write_config()
290 int pci_write_config32(pci_dev_t bdf, int offset, u32 value) in pci_write_config32()
295 int pci_write_config16(pci_dev_t bdf, int offset, u16 value) in pci_write_config16()
300 int pci_write_config8(pci_dev_t bdf, int offset, u8 value) in pci_write_config8()
305 int dm_pci_write_config8(struct udevice *dev, int offset, u8 value) in dm_pci_write_config8()
310 int dm_pci_write_config16(struct udevice *dev, int offset, u16 value) in dm_pci_write_config16()
315 int dm_pci_write_config32(struct udevice *dev, int offset, u32 value) in dm_pci_write_config32()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-ws16c48.c53 static int ws16c48_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in ws16c48_gpio_get_direction()
65 static int ws16c48_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in ws16c48_gpio_direction_input()
84 unsigned offset, int value) in ws16c48_gpio_direction_output()
105 static int ws16c48_gpio_get(struct gpio_chip *chip, unsigned offset) in ws16c48_gpio_get()
132 unsigned long offset; in ws16c48_gpio_get_multiple() local
150 static void ws16c48_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in ws16c48_gpio_set()
178 unsigned long offset; in ws16c48_gpio_set_multiple() local
208 const unsigned long offset = irqd_to_hwirq(data); in ws16c48_irq_ack() local
234 const unsigned long offset = irqd_to_hwirq(data); in ws16c48_irq_mask() local
258 const unsigned long offset = irqd_to_hwirq(data); in ws16c48_irq_unmask() local
[all …]
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
108 unsigned int value, offset = data->hwirq; in max77620_gpio_bus_sync_unlock() local
132 static int max77620_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_dir_input()
146 static int max77620_gpio_get(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_get()
164 static int max77620_gpio_dir_output(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_dir_output()
191 unsigned int offset, in max77620_gpio_set_debounce()
223 static void 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-tps65218.c23 static int tps65218_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_get()
37 static void tps65218_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_set()
54 static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_output()
62 static int tps65218_gpio_input(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_input()
67 static int tps65218_gpio_request(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_request()
138 static int tps65218_gpio_set_config(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_set_config()
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 void max7301_set(struct gpio_chip *chip, unsigned offset, int value) in max7301_set()
206 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 void rc5t583_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in rc5t583_gpio_set()
48 static int rc5t583_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_dir_input()
62 static int rc5t583_gpio_dir_output(struct gpio_chip *gc, unsigned offset, in rc5t583_gpio_dir_output()
78 static int rc5t583_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_to_irq()
88 static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_free()
H A Dgpio-rockchip.c78 u32 value, unsigned int offset) in rockchip_gpio_writel()
89 unsigned int offset) in rockchip_gpio_readl()
104 unsigned int offset) in rockchip_gpio_writel_bit()
125 u32 bit, unsigned int offset) in rockchip_gpio_readl_bit()
142 unsigned int offset) in rockchip_gpio_get_direction()
155 unsigned int offset, bool input) in rockchip_gpio_set_direction()
168 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, in rockchip_gpio_set()
179 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get()
192 unsigned int offset, in rockchip_gpio_set_debounce()
255 unsigned int offset) in rockchip_gpio_direction_input()
[all …]
H A Dgpio-omap.c84 #define LINE_USED(line, offset) (line & (BIT(offset))) argument
117 static void omap_set_gpio_dataout_reg(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_reg()
135 static void omap_set_gpio_dataout_mask(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_mask()
180 static int omap2_set_gpio_debounce(struct gpio_bank *bank, unsigned offset, in omap2_set_gpio_debounce()
232 static void omap_clear_gpio_debounce(struct gpio_bank *bank, unsigned offset) in omap_clear_gpio_debounce()
373 static void omap_enable_gpio_module(struct gpio_bank *bank, unsigned offset) in omap_enable_gpio_module()
394 static void omap_disable_gpio_module(struct gpio_bank *bank, unsigned offset) in omap_disable_gpio_module()
408 static int omap_gpio_is_input(struct gpio_bank *bank, unsigned offset) in omap_gpio_is_input()
415 static void omap_gpio_init_irq(struct gpio_bank *bank, unsigned offset) in omap_gpio_init_irq()
429 unsigned offset = d->hwirq; in omap_gpio_irq_type() local
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/
H A Dpfunc_base.c119 unsigned long offset; in macio_gpio_init_one() local
144 static int macio_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in macio_do_write_reg32()
155 static int macio_do_read_reg32(PMF_STD_ARGS, u32 offset) in macio_do_read_reg32()
167 static int macio_do_write_reg8(PMF_STD_ARGS, u32 offset, u8 value, u8 mask) in macio_do_write_reg8()
178 static int macio_do_read_reg8(PMF_STD_ARGS, u32 offset) in macio_do_read_reg8()
190 static int macio_do_read_reg32_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg32_msrx()
203 static int macio_do_read_reg8_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg8_msrx()
216 static int macio_do_write_reg32_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg32_slm()
236 static int macio_do_write_reg8_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg8_slm()
278 static int unin_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in unin_do_write_reg32()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/
H A Dedid.c136 unsigned int offset, void *p_data, unsigned int bytes) in gmbus0_mmio_write()
175 static int gmbus1_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus1_mmio_write()
276 static int gmbus3_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_write()
285 static int gmbus3_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_read()
338 static int gmbus2_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_read()
349 static int gmbus2_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_write()
374 unsigned int offset, void *p_data, unsigned int bytes) in intel_gvt_i2c_handle_gmbus_read()
404 unsigned int offset, void *p_data, unsigned int bytes) in intel_gvt_i2c_handle_gmbus_write()
433 static inline int get_aux_ch_reg(unsigned int offset) in get_aux_ch_reg()
479 unsigned int offset, in intel_gvt_i2c_handle_aux_ch_write()
/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dmxc_gpio.c163 static int mxc_gpio_is_output(struct gpio_regs *regs, int offset) in mxc_gpio_is_output()
172 static void mxc_gpio_bank_direction(struct gpio_regs *regs, int offset, in mxc_gpio_bank_direction()
189 static void mxc_gpio_bank_set_value(struct gpio_regs *regs, int offset, in mxc_gpio_bank_set_value()
202 static int mxc_gpio_bank_get_value(struct gpio_regs *regs, int offset) in mxc_gpio_bank_get_value()
208 static int mxc_gpio_direction_input(struct udevice *dev, unsigned offset) in mxc_gpio_direction_input()
219 static int mxc_gpio_direction_output(struct udevice *dev, unsigned offset, in mxc_gpio_direction_output()
234 static int mxc_gpio_get_value(struct udevice *dev, unsigned offset) in mxc_gpio_get_value()
242 static int mxc_gpio_set_value(struct udevice *dev, unsigned offset, in mxc_gpio_set_value()
252 static int mxc_gpio_get_function(struct udevice *dev, unsigned offset) in mxc_gpio_get_function()
H A Dtegra186_gpio.c24 uint32_t offset; member
46 static int tegra186_gpio_set_out(struct udevice *dev, unsigned offset, in tegra186_gpio_set_out()
72 static int tegra186_gpio_set_val(struct udevice *dev, unsigned offset, bool val) in tegra186_gpio_set_val()
88 static int tegra186_gpio_direction_input(struct udevice *dev, unsigned offset) in tegra186_gpio_direction_input()
93 static int tegra186_gpio_direction_output(struct udevice *dev, unsigned offset, in tegra186_gpio_direction_output()
104 static int tegra186_gpio_get_value(struct udevice *dev, unsigned offset) in tegra186_gpio_get_value()
122 static int tegra186_gpio_set_value(struct udevice *dev, unsigned offset, in tegra186_gpio_set_value()
128 static int tegra186_gpio_get_function(struct udevice *dev, unsigned offset) in tegra186_gpio_get_function()
H A Dpm8916_gpio.c56 static int pm8916_gpio_set_direction(struct udevice *dev, unsigned offset, in pm8916_gpio_set_direction()
106 static int pm8916_gpio_direction_input(struct udevice *dev, unsigned offset) in pm8916_gpio_direction_input()
111 static int pm8916_gpio_direction_output(struct udevice *dev, unsigned offset, in pm8916_gpio_direction_output()
117 static int pm8916_gpio_get_function(struct udevice *dev, unsigned offset) in pm8916_gpio_get_function()
139 static int pm8916_gpio_get_value(struct udevice *dev, unsigned offset) in pm8916_gpio_get_value()
152 static int pm8916_gpio_set_value(struct udevice *dev, unsigned offset, in pm8916_gpio_set_value()
225 static int pm8941_pwrkey_get_function(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_function()
230 static int pm8941_pwrkey_get_value(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_value()
/OK3568_Linux_fs/kernel/scripts/dtc/libfdt/
H A Dfdt.c135 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr()
161 int offset = startoffset; in fdt_next_tag() local
211 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_()
223 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_()
235 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
275 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
286 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_pinctrl.c10 static int rk628_calc_mux_offset(struct rk628 *rk628, int mux, int reg, int offset) in rk628_calc_mux_offset()
63 int i, iomux_base, offset, val; in rk628_misc_pinctrl_set_mux() local
92 int i, data_reg, offset, val; in rk628_misc_gpio_get_value() local
117 int i, data_reg, offset, val; in rk628_misc_gpio_set_value() local
151 int i, dir_reg, offset, val; in rk628_misc_gpio_set_direction() local
184 int i, iomux_base, offset, val, mux; in rk628_misc_iomux_init() local
222 int i, bank, pull_reg = 0, offset, val = 0; in rk628_misc_gpio_set_pull_highz_up_down() local
/OK3568_Linux_fs/u-boot/scripts/dtc/libfdt/
H A Dfdt_ro.c58 static int _fdt_nodename_eq(const void *fdt, int offset, in _fdt_nodename_eq()
94 int offset; in fdt_get_max_phandle() local
134 static int _nextprop(const void *fdt, int offset) in _nextprop()
158 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
187 int offset = 0; in fdt_path_offset_namelen() local
255 int offset; in fdt_first_property_offset() local
263 int fdt_next_property_offset(const void *fdt, int offset) in fdt_next_property_offset()
272 int offset, in fdt_get_property_by_offset()
293 int offset, in fdt_get_property_namelen()
336 const void *fdt_getprop_by_offset(const void *fdt, int offset, in fdt_getprop_by_offset()
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/lib/
H A Dfind_bit.c77 unsigned long offset) in find_next_bit()
86 unsigned long offset) in find_next_zero_bit()
96 unsigned long offset) in find_next_and_bit()
163 long size, unsigned long offset) in find_next_zero_bit_le()
172 long size, unsigned long offset) in find_next_bit_le()
182 unsigned long size, unsigned long offset) in find_next_clump8()
/OK3568_Linux_fs/kernel/arch/mips/rb532/
H A Dgpio.c61 unsigned offset, void __iomem *ioaddr) in rb532_set_bit()
80 static inline int rb532_get_bit(unsigned offset, void __iomem *ioaddr) in rb532_get_bit()
87 static int rb532_gpio_get(struct gpio_chip *chip, unsigned offset) in rb532_gpio_get()
99 unsigned offset, int value) in rb532_gpio_set()
110 static int rb532_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in rb532_gpio_direction_input()
127 unsigned offset, int value) in rb532_gpio_direction_output()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dmkregtable.c106 struct offset { struct
108 unsigned offset; member
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

12345678910>>...319