| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-xilinx.c | 26 # define xgpio_readreg(offset) readl(offset) argument 27 # define xgpio_writereg(offset, val) writel(val, offset) argument 29 # define xgpio_readreg(offset) __raw_readl(offset) argument 30 # define xgpio_writereg(offset, val) __raw_writel(val, offset) argument 111 int offset = xgpio_offset(chip, gpio); in xgpio_set() local 142 int offset, i; in xgpio_set_multiple() local 188 int offset = xgpio_offset(chip, gpio); in xgpio_dir_in() local 219 int offset = xgpio_offset(chip, gpio); in xgpio_dir_out() local
|
| H A D | gpio-xtensa.c | 72 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 D | gpio-104-dio-48e.c | 56 static int dio48e_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in dio48e_gpio_get_direction() 68 static int dio48e_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in dio48e_gpio_direction_input() 107 static int dio48e_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in dio48e_gpio_direction_output() 157 static int dio48e_gpio_get(struct gpio_chip *chip, unsigned offset) in dio48e_gpio_get() 187 unsigned long offset; in dio48e_gpio_get_multiple() local 205 static void dio48e_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in dio48e_gpio_set() 229 unsigned long offset; in dio48e_gpio_set_multiple() local 261 const unsigned long offset = irqd_to_hwirq(data); in dio48e_irq_mask() local 286 const unsigned long offset = irqd_to_hwirq(data); in dio48e_irq_unmask() local 311 const unsigned long offset = irqd_to_hwirq(data); in dio48e_irq_set_type() local
|
| H A D | gpio-wm8994.c | 30 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 D | gpio-max77650.c | 41 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 D | gpio-wm831x.c | 29 static int wm831x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_direction_in() 43 static int wm831x_gpio_get(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_get() 59 static void wm831x_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm831x_gpio_set() 69 unsigned offset, int value) in wm831x_gpio_direction_out() 91 static int wm831x_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_to_irq() 100 static int wm831x_gpio_set_debounce(struct wm831x *wm831x, unsigned offset, in wm831x_gpio_set_debounce() 129 static int wm831x_set_config(struct gpio_chip *chip, unsigned int offset, in wm831x_set_config()
|
| H A D | gpio-da9055.c | 22 #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 D | gpio-spear-spics.c | 58 static int spics_get_value(struct gpio_chip *chip, unsigned offset) in spics_get_value() 63 static void spics_set_value(struct gpio_chip *chip, unsigned offset, int value) in spics_set_value() 82 static int spics_direction_input(struct gpio_chip *chip, unsigned offset) in spics_direction_input() 87 static int spics_direction_output(struct gpio_chip *chip, unsigned offset, in spics_direction_output() 94 static int spics_request(struct gpio_chip *chip, unsigned offset) in spics_request() 109 static void spics_free(struct gpio_chip *chip, unsigned offset) in spics_free()
|
| H A D | gpio-tps65086.c | 21 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 D | gpio-bd9571mwv.c | 32 unsigned int offset) in bd9571mwv_gpio_get_direction() 47 unsigned int offset) in bd9571mwv_gpio_direction_input() 58 unsigned int offset, int value) in bd9571mwv_gpio_direction_output() 71 static int bd9571mwv_gpio_get(struct gpio_chip *chip, unsigned int offset) in bd9571mwv_gpio_get() 83 static void bd9571mwv_gpio_set(struct gpio_chip *chip, unsigned int offset, in bd9571mwv_gpio_set()
|
| H A D | gpio-aspeed-sgpio.c | 128 static const struct aspeed_sgpio_bank *to_bank(unsigned int offset) in to_bank() 171 static bool aspeed_sgpio_is_input(unsigned int offset) in aspeed_sgpio_is_input() 176 static int aspeed_sgpio_get(struct gpio_chip *gc, unsigned int offset) in aspeed_sgpio_get() 194 static int sgpio_set_value(struct gpio_chip *gc, unsigned int offset, int val) in sgpio_set_value() 221 static void aspeed_sgpio_set(struct gpio_chip *gc, unsigned int offset, int val) in aspeed_sgpio_set() 233 static int aspeed_sgpio_dir_in(struct gpio_chip *gc, unsigned int offset) in aspeed_sgpio_dir_in() 238 static int aspeed_sgpio_dir_out(struct gpio_chip *gc, unsigned int offset, int val) in aspeed_sgpio_dir_out() 254 static int aspeed_sgpio_get_direction(struct gpio_chip *gc, unsigned int offset) in aspeed_sgpio_get_direction() 262 u32 *bit, int *offset) in irqd_to_aspeed_sgpio_data() 281 int offset; in aspeed_sgpio_irq_ack() local [all …]
|
| H A D | gpio-exar.c | 35 unsigned int offset) in exar_update() 50 unsigned int offset) in exar_set_direction() 73 static int exar_get_direction(struct gpio_chip *chip, unsigned int offset) in exar_get_direction() 86 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() 107 static int exar_direction_output(struct gpio_chip *chip, unsigned int offset, in exar_direction_output() 114 static int exar_direction_input(struct gpio_chip *chip, unsigned int offset) in exar_direction_input()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | coresight.h | 363 u32 offset) in csdev_access_relaxed_read32() 371 static inline u32 csdev_access_read32(struct csdev_access *csa, u32 offset) in csdev_access_read32() 380 u32 val, u32 offset) in csdev_access_relaxed_write32() 388 static inline void csdev_access_write32(struct csdev_access *csa, u32 val, u32 offset) in csdev_access_write32() 399 u32 offset) in csdev_access_relaxed_read64() 407 static inline u64 csdev_access_read64(struct csdev_access *csa, u32 offset) in csdev_access_read64() 416 u64 val, u32 offset) in csdev_access_relaxed_write64() 424 static inline void csdev_access_write64(struct csdev_access *csa, u64 val, u32 offset) in csdev_access_write64() 435 u32 offset) in csdev_access_relaxed_read64() 441 static inline u64 csdev_access_read64(struct csdev_access *csa, u32 offset) in csdev_access_read64() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/renesas/ |
| H A D | gpio.c | 44 static void gpio_get_data_reg(struct sh_pfc_chip *chip, unsigned int offset, in gpio_get_data_reg() 131 static int gpio_pin_request(struct gpio_chip *gc, unsigned offset) in gpio_pin_request() 142 static void gpio_pin_free(struct gpio_chip *gc, unsigned offset) in gpio_pin_free() 147 static void gpio_pin_set_value(struct sh_pfc_chip *chip, unsigned offset, in gpio_pin_set_value() 166 static int gpio_pin_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_pin_direction_input() 171 static int gpio_pin_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_pin_direction_output() 179 static int gpio_pin_get(struct gpio_chip *gc, unsigned offset) in gpio_pin_get() 193 static void gpio_pin_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_pin_set() 198 static int gpio_pin_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_pin_to_irq() 253 static int gpio_function_request(struct gpio_chip *gc, unsigned offset) in gpio_function_request()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H A D | tables_lpphy.c | 21 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()
|
| H A D | tables.c | 366 u16 b43_ofdmtab_read16(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read16() 387 u16 offset, u16 value) in b43_ofdmtab_write16() 403 u32 b43_ofdmtab_read32(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read32() 425 u16 offset, u32 value) in b43_ofdmtab_write32() 443 u16 b43_gtab_read(struct b43_wldev *dev, u16 table, u16 offset) in b43_gtab_read() 449 void b43_gtab_write(struct b43_wldev *dev, u16 table, u16 offset, u16 value) in b43_gtab_write()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/adv7511/ |
| H A D | adv7511_cec.c | 37 unsigned int offset = adv7511->type == ADV7533 ? in adv_cec_tx_raw_status() local 89 unsigned int offset = adv7511->type == ADV7533 ? in adv7511_cec_irq_process() local 134 unsigned int offset = adv7511->type == ADV7533 ? in adv7511_cec_adap_enable() local 181 unsigned int offset = adv7511->type == ADV7533 ? in adv7511_cec_adap_log_addr() local 251 unsigned int offset = adv7511->type == ADV7533 ? in adv7511_cec_adap_transmit() local 305 unsigned int offset = adv7511->type == ADV7533 ? in adv7511_cec_init() local
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-s3c/ |
| H A D | gpio-samsung.c | 428 static int samsung_gpiolib_2bit_input(struct gpio_chip *chip, unsigned offset) in samsung_gpiolib_2bit_input() 447 unsigned offset, int value) in samsung_gpiolib_2bit_output() 491 unsigned int offset) in samsung_gpiolib_4bit_input() 510 unsigned int offset, int value) in samsung_gpiolib_4bit_output() 560 unsigned int offset) in samsung_gpiolib_4bit2_input() 582 unsigned int offset, int value) in samsung_gpiolib_4bit2_output() 619 static int s3c24xx_gpiolib_banka_input(struct gpio_chip *chip, unsigned offset) in s3c24xx_gpiolib_banka_input() 625 unsigned offset, int value) in s3c24xx_gpiolib_banka_output() 655 unsigned offset, int value) in samsung_gpiolib_set() 673 static int samsung_gpiolib_get(struct gpio_chip *chip, unsigned offset) in samsung_gpiolib_get() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/sirf/ |
| H A D | pinctrl-sirf.c | 73 struct seq_file *s, unsigned offset) in sirfsoc_pin_dbg_show() 212 struct pinctrl_gpio_range *range, unsigned offset) in sirfsoc_pinmux_request_gpio() 410 sirfsoc_gpio_to_bank(struct sirfsoc_gpio_chip *sgpio, unsigned int offset) in sirfsoc_gpio_to_bank() 415 static inline int sirfsoc_gpio_to_bankoff(unsigned int offset) in sirfsoc_gpio_to_bankoff() 426 u32 val, offset; in sirfsoc_gpio_irq_ack() local 444 u32 val, offset; in __sirfsoc_gpio_irq_mask() local 474 u32 val, offset; in sirfsoc_gpio_irq_unmask() local 495 u32 val, offset; in sirfsoc_gpio_irq_type() local 610 static int sirfsoc_gpio_request(struct gpio_chip *chip, unsigned offset) in sirfsoc_gpio_request() 633 static void sirfsoc_gpio_free(struct gpio_chip *chip, unsigned offset) in sirfsoc_gpio_free() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | item.h | 12 unsigned short offset; /* bytes in container */ member 47 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u8)); in __mlxsw_item_get8() local 62 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set8() local 81 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u16)); in __mlxsw_item_get16() local 96 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set16() local 115 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u32)); in __mlxsw_item_get32() local 130 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set32() local 149 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); in __mlxsw_item_get64() local 164 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); in __mlxsw_item_set64() local 182 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); in __mlxsw_item_memcpy_from() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/vmx/ |
| H A D | evmcs.h | 71 u16 offset; member 105 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write64() local 118 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write32() local 130 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write16() local 141 int offset = get_evmcs_offset(field, NULL); in evmcs_read64() local 151 int offset = get_evmcs_offset(field, NULL); in evmcs_read32() local 161 int offset = get_evmcs_offset(field, NULL); in evmcs_read16() local
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | spi_flash.h | 116 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read() 122 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write() 128 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase() 147 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read() 156 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write() 165 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | radix-tree.c | 86 unsigned int offset = (index >> parent->shift) & RADIX_TREE_MAP_MASK; in radix_tree_descend() local 99 int offset) in tag_set() 105 int offset) in tag_clear() 111 int offset) in tag_get() 179 unsigned long offset) in radix_tree_find_next_bit() 221 unsigned long offset) in next_index() 233 unsigned int shift, unsigned int offset, in radix_tree_node_alloc() 603 unsigned int shift, offset = 0; in __radix_tree_create() local 656 unsigned offset = 0; in radix_tree_free_nodes() local 719 unsigned offset = get_slot_offset(node, slot); in radix_tree_insert() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/ |
| H A D | pinctrl-coh901.c | 211 static int u300_gpio_get(struct gpio_chip *chip, unsigned offset) in u300_gpio_get() 218 static void u300_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in u300_gpio_set() 235 static int u300_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in u300_gpio_direction_input() 250 static int u300_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in u300_gpio_direction_output() 281 unsigned offset, in u300_gpio_config_get() 339 int u300_gpio_config_set(struct gpio_chip *chip, unsigned offset, in u300_gpio_config_set() 401 static void u300_toggle_trigger(struct u300_gpio *gpio, unsigned offset) in u300_toggle_trigger() 425 int offset = d->hwirq; in u300_gpio_irq_type() local 462 int offset = d->hwirq; in u300_gpio_irq_enable() local 478 int offset = d->hwirq; in u300_gpio_irq_disable() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | r600_hdmi.c | 177 void r600_hdmi_update_acr(struct drm_encoder *encoder, long offset, in r600_hdmi_update_acr() 217 void r600_set_avi_packet(struct radeon_device *rdev, u32 offset, in r600_set_avi_packet() 250 uint32_t offset = dig->afmt->offset; in r600_hdmi_update_audio_infoframe() local 268 uint32_t offset = dig->afmt->offset; in r600_hdmi_is_audio_buffer_filled() local 301 uint32_t offset = dig->afmt->offset; in r600_hdmi_audio_workaround() local 340 void r600_set_vbi_packet(struct drm_encoder *encoder, u32 offset) in r600_set_vbi_packet() 351 void r600_set_audio_packet(struct drm_encoder *encoder, u32 offset) in r600_set_audio_packet() 393 void r600_set_mute(struct drm_encoder *encoder, u32 offset, bool mute) in r600_set_mute() 420 uint32_t offset; in r600_hdmi_update_audio_settings() local
|