/drivers/gpio/ |
D | gpio-xilinx.c | 77 static inline int xgpio_from_bit(struct xgpio_instance *chip, int bit) in xgpio_from_bit() 87 static inline u32 xgpio_get_value32(const unsigned long *map, int bit) in xgpio_get_value32() 95 static inline void xgpio_set_value32(unsigned long *map, int bit, u32 v) in xgpio_set_value32() 116 static void xgpio_read_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_read_ch() 123 static void xgpio_write_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_write_ch() 132 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_read_ch_all() local 140 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_write_ch_all() local 160 int bit = xgpio_to_bit(chip, gpio); in xgpio_get() local 181 int bit = xgpio_to_bit(chip, gpio); in xgpio_set() local 238 int bit = xgpio_to_bit(chip, gpio); in xgpio_dir_in() local [all …]
|
D | gpio-exar.c | 79 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_get_direction() local 91 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_get_value() local 101 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_set_value() local 114 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_direction_output() local 126 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_direction_input() local
|
D | gpio-logicvc.c | 30 unsigned int *reg, unsigned int *bit) in logicvc_gpio_offset() 52 unsigned int reg, bit, value; in logicvc_gpio_get() local 67 unsigned int reg, bit; in logicvc_gpio_set() local
|
D | gpio-bcm-kona.c | 130 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_set() local 157 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_get() local 221 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_direction_output() local 336 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_irq_ack() local 357 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_irq_mask() local 379 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_irq_unmask() local 443 int bit, bank_id; in bcm_kona_gpio_irq_handler() local
|
/drivers/clk/ux500/ |
D | reset-prcc.c | 22 #define PRCC_RESET_LINE(prcc_num, bit) \ argument 72 unsigned int bit = id % PRCC_PERIPHS_PER_CLUSTER; in u8500_prcc_reset() local 93 unsigned int bit = id % PRCC_PERIPHS_PER_CLUSTER; in u8500_prcc_reset_assert() local 106 unsigned int bit = id % PRCC_PERIPHS_PER_CLUSTER; in u8500_prcc_reset_deassert() local 119 unsigned int bit = id % PRCC_PERIPHS_PER_CLUSTER; in u8500_prcc_reset_status() local 139 unsigned int prcc_num, bit; in u8500_prcc_reset_xlate() local
|
D | u8500_of_clk.c | 22 #define PRCC_SHOW(clk, base, bit) \ argument 24 #define PRCC_PCLK_STORE(clk, base, bit) \ argument 26 #define PRCC_KCLK_STORE(clk, base, bit) \ argument 33 unsigned int base, bit; in ux500_twocell_get() local
|
/drivers/pinctrl/ |
D | pinctrl-rockchip.c | 703 int *reg, u8 *bit, int *mask) in rockchip_get_recalced_mux() 1082 u8 bit; in rockchip_get_mux() local 1197 u8 bit; in rockchip_set_mux() local 1314 int *reg, u8 *bit) in px30_calc_pull_reg_and_bit() 1346 int *reg, u8 *bit) in px30_calc_drv_reg_and_bit() 1379 int *reg, u8 *bit) in px30_calc_schmitt_reg_and_bit() 1409 int *reg, u8 *bit) in rv1108_calc_pull_reg_and_bit() 1440 int *reg, u8 *bit) in rv1108_calc_drv_reg_and_bit() 1473 int *reg, u8 *bit) in rv1108_calc_schmitt_reg_and_bit() 1503 int *reg, u8 *bit) in rv1126_calc_pull_reg_and_bit() [all …]
|
D | pinctrl-cy8c95x0.c | 569 u8 bit = cypress_get_pin_mask(chip, off); in cy8c95x0_gpio_direction_output() local 584 u8 bit = cypress_get_pin_mask(chip, off); in cy8c95x0_gpio_get_value() local 607 u8 bit = cypress_get_pin_mask(chip, off); in cy8c95x0_gpio_set_value() local 616 u8 bit = cypress_get_pin_mask(chip, off); in cy8c95x0_gpio_get_direction() local 647 u8 bit = cypress_get_pin_mask(chip, off); in cy8c95x0_gpio_get_pincfg() local 732 u8 bit = cypress_get_pin_mask(chip, off); in cy8c95x0_gpio_set_pincfg() local 1106 u8 bit = cypress_get_pin_mask(chip, off); in cy8c95x0_set_mode() local 1121 u8 bit = cypress_get_pin_mask(chip, group); in cy8c95x0_pinmux_mode() local 1170 u8 bit = cypress_get_pin_mask(chip, pin); in cy8c95x0_pinmux_direction() local
|
/drivers/clk/rockchip/ |
D | rst-rk3588.c | 14 #define RK3588_CRU_RESET_OFFSET(id, reg, bit) [id] = (0 + reg * 16 + bit) argument 17 #define RK3588_PHPTOPCRU_RESET_OFFSET(id, reg, bit) [id] = (0x8000*4 + reg * 16 + bit) argument 20 #define RK3588_SECURECRU_RESET_OFFSET(id, reg, bit) [id] = (0x10000*4 + reg * 16 + bit) argument 23 #define RK3588_PMU1CRU_RESET_OFFSET(id, reg, bit) [id] = (0x30000*4 + reg * 16 + bit) argument
|
/drivers/gpu/drm/tidss/ |
D | tidss_irq.h | 36 #define DSS_IRQ_VP_BIT_N(ch, bit) (4 + 4 * (ch) + (bit)) argument 37 #define DSS_IRQ_PLANE_BIT_N(plane, bit) \ argument 40 #define DSS_IRQ_VP_BIT(ch, bit) BIT(DSS_IRQ_VP_BIT_N((ch), (bit))) argument 41 #define DSS_IRQ_PLANE_BIT(plane, bit) \ argument
|
/drivers/acpi/pmic/ |
D | intel_pmic_bytcrc.c | 189 int bit, u64 *value) in intel_crc_pmic_get_power() 201 int bit, bool on) in intel_crc_pmic_update_power() 242 int reg, int bit, u64 *value) in intel_crc_pmic_get_policy() 253 int reg, int bit, int enable) in intel_crc_pmic_update_policy()
|
D | intel_pmic_bxtwc.c | 274 int bit, u64 *value) in intel_bxtwc_pmic_get_power() 286 int bit, bool on) in intel_bxtwc_pmic_update_power() 351 intel_bxtwc_pmic_get_policy(struct regmap *regmap, int reg, int bit, u64 *value) in intel_bxtwc_pmic_get_policy() 365 int reg, int bit, int enable) in intel_bxtwc_pmic_update_policy()
|
/drivers/pinctrl/meson/ |
D | pinctrl-meson.c | 99 unsigned int *reg, unsigned int *bit) in meson_calc_reg_and_bit() 185 unsigned int reg, bit; in meson_pinconf_set_gpio_bit() local 202 unsigned int reg, bit, val; in meson_pinconf_get_gpio_bit() local 265 unsigned int reg, bit = 0; in meson_pinconf_disable_bias() local 284 unsigned int reg, bit, val = 0; in meson_pinconf_enable_bias() local 312 unsigned int reg, bit, ds_val; in meson_pinconf_set_drive_strength() local 403 unsigned int reg, bit, val; in meson_pinconf_get_pull() local 439 unsigned int reg, bit; in meson_pinconf_get_drive_strength() local 590 unsigned int reg, bit, val; in meson_gpio_get() local
|
/drivers/pinctrl/renesas/ |
D | pinctrl-rzg2l.c | 468 u32 cfg, u32 port, u8 bit) in rzg2l_validate_gpio_pin() 485 u8 bit, u32 mask) in rzg2l_read_pin_config() 499 u8 bit, u32 mask, u32 val) in rzg2l_rmw_pin_config() 530 u8 bit = 0; in rzg2l_pinctrl_pinconf_get() local 621 u8 bit = 0; in rzg2l_pinctrl_pinconf_set() local 799 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_request() local 821 u8 bit, bool output) in rzg2l_gpio_set_direction() 841 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_get_direction() local 860 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_direction_input() local 872 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_set() local [all …]
|
D | pinctrl-rzv2m.c | 428 u32 cfg, u32 port, u8 bit) in rzv2m_validate_gpio_pin() 468 u8 bit; in rzv2m_pinctrl_pinconf_get() local 572 u8 bit; in rzv2m_pinctrl_pinconf_set() local 754 u8 bit = RZV2M_PIN_ID_TO_PIN(offset); in rzv2m_gpio_request() local 767 u8 bit, bool output) in rzv2m_gpio_set_direction() 777 u8 bit = RZV2M_PIN_ID_TO_PIN(offset); in rzv2m_gpio_get_direction() local 790 u8 bit = RZV2M_PIN_ID_TO_PIN(offset); in rzv2m_gpio_direction_input() local 802 u8 bit = RZV2M_PIN_ID_TO_PIN(offset); in rzv2m_gpio_set() local 812 u8 bit = RZV2M_PIN_ID_TO_PIN(offset); in rzv2m_gpio_direction_output() local 824 u8 bit = RZV2M_PIN_ID_TO_PIN(offset); in rzv2m_gpio_get() local
|
/drivers/clk/pxa/ |
D | clk-pxa25x.c | 116 bit, is_lp, flags) \ argument 119 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument 122 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\ argument 125 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument 129 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument 132 #define PXA25X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument
|
/drivers/staging/rtl8192u/ |
D | r8180_93cx6.c | 23 static void eprom_cs(struct net_device *dev, short bit) in eprom_cs() 60 static void eprom_w(struct net_device *dev, short bit) in eprom_w() 79 u8 bit; in eprom_r() local
|
/drivers/android/ |
D | dbitmap.h | 45 unsigned int bit; in dbitmap_shrink_nbits() local 136 unsigned long *bit) in dbitmap_acquire_next_zero_bit() 151 dbitmap_clear_bit(struct dbitmap *dmap, unsigned long bit) in dbitmap_clear_bit()
|
/drivers/clk/hisilicon/ |
D | reset.c | 34 u8 bit; in hisi_reset_of_xlate() local 49 u8 bit; in hisi_reset_assert() local 70 u8 bit; in hisi_reset_deassert() local
|
/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | isp_private.h | 61 const unsigned int bit) in isp_ctrl_getbit() 71 const unsigned int bit) in isp_ctrl_setbit() 82 const unsigned int bit) in isp_ctrl_clearbit()
|
D | sp_private.h | 48 const unsigned int bit) in sp_ctrl_getbit() 58 const unsigned int bit) in sp_ctrl_setbit() 69 const unsigned int bit) in sp_ctrl_clearbit()
|
/drivers/s390/cio/ |
D | airq.c | 227 unsigned long bit, i, flags; in airq_iv_alloc() local 260 void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num) in airq_iv_free() 294 unsigned long bit; in airq_iv_scan() local
|
/drivers/net/wireless/realtek/rtw88/ |
D | hci.h | 117 static inline void rtw_write8_set(struct rtw_dev *rtwdev, u32 addr, u8 bit) in rtw_write8_set() 125 static inline void rtw_write16_set(struct rtw_dev *rtwdev, u32 addr, u16 bit) in rtw_write16_set() 133 static inline void rtw_write32_set(struct rtw_dev *rtwdev, u32 addr, u32 bit) in rtw_write32_set() 141 static inline void rtw_write8_clr(struct rtw_dev *rtwdev, u32 addr, u8 bit) in rtw_write8_clr() 149 static inline void rtw_write16_clr(struct rtw_dev *rtwdev, u32 addr, u16 bit) in rtw_write16_clr() 157 static inline void rtw_write32_clr(struct rtw_dev *rtwdev, u32 addr, u32 bit) in rtw_write32_clr()
|
/drivers/hid/ |
D | hid-microsoft.c | 81 unsigned long **bit, int *max) in ms_ergonomy_kb_quirk() 143 unsigned long **bit, int *max) in ms_presenter_8k_quirk() 162 struct hid_usage *usage, unsigned long **bit, int *max) in ms_surface_dial_quirk() 184 unsigned long **bit, int *max) in ms_input_mapping() 211 unsigned long **bit, int *max) in ms_input_mapped()
|
D | hid-lg.c | 539 struct hid_usage *usage, unsigned long **bit, int *max) in lg_ultrax_remote_mapping() 572 unsigned long **bit, int *max) in lg_wireless_mapping() 634 unsigned long **bit, int *max) in lg_input_mapping() 683 unsigned long **bit, int *max) in lg_input_mapped()
|