Home
last modified time | relevance | path

Searched defs:bit (Results 1 – 25 of 706) sorted by relevance

12345678910>>...29

/drivers/gpio/
Dgpio-xilinx.c78 static inline int xgpio_from_bit(struct xgpio_instance *chip, int bit) in xgpio_from_bit()
88 static inline u32 xgpio_get_value32(const unsigned long *map, int bit) in xgpio_get_value32()
96 static inline void xgpio_set_value32(unsigned long *map, int bit, u32 v) in xgpio_set_value32()
117 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()
131 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_read_ch_all() local
139 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_write_ch_all() local
159 int bit = xgpio_to_bit(chip, gpio); in xgpio_get() local
180 int bit = xgpio_to_bit(chip, gpio); in xgpio_set() local
237 int bit = xgpio_to_bit(chip, gpio); in xgpio_dir_in() local
[all …]
Dgpio-exar.c60 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_get_direction() local
72 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_get_value() local
82 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_set_value() local
95 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_direction_output() local
107 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); in exar_direction_input() local
Dgpio-sta2x11.c57 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_set() local
69 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_get() local
79 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_direction_output() local
94 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_direction_input() local
148 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_set_config() local
216 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_irq_disable() local
239 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_irq_enable() local
Dgpio-logicvc.c31 unsigned int *reg, unsigned int *bit) in logicvc_gpio_offset()
53 unsigned int reg, bit, value; in logicvc_gpio_get() local
68 unsigned int reg, bit; in logicvc_gpio_set() local
Dgpio-adp5588.c69 unsigned bit = ADP5588_BIT(off); in adp5588_gpio_get_value() local
87 unsigned bank, bit; in adp5588_gpio_set_value() local
124 unsigned bank, bit; in adp5588_gpio_direction_output() local
212 unsigned bank, bit; in adp5588_irq_set_type() local
260 int bit = ADP5588_BIT(gpio); in adp5588_irq_handler() local
Dgpio-bcm-kona.c137 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_set() local
164 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_get() local
228 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_direction_output() local
343 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_irq_ack() local
364 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_irq_mask() local
386 int bit = GPIO_BIT(gpio); in bcm_kona_gpio_irq_unmask() local
450 int bit, bank_id; in bcm_kona_gpio_irq_handler() local
/drivers/pinctrl/
Dpinctrl-rockchip.c588 int *reg, u8 *bit, int *mask) in rockchip_get_recalced_mux()
882 u8 bit; in rockchip_get_mux() local
971 u8 bit; in rockchip_set_mux() local
1044 int *reg, u8 *bit) in px30_calc_pull_reg_and_bit()
1076 int *reg, u8 *bit) in px30_calc_drv_reg_and_bit()
1109 int *reg, u8 *bit) in px30_calc_schmitt_reg_and_bit()
1139 int *reg, u8 *bit) in rv1108_calc_pull_reg_and_bit()
1170 int *reg, u8 *bit) in rv1108_calc_drv_reg_and_bit()
1203 int *reg, u8 *bit) in rv1108_calc_schmitt_reg_and_bit()
1230 int *reg, u8 *bit) in rk3308_calc_schmitt_reg_and_bit()
[all …]
/drivers/gpu/drm/tidss/
Dtidss_irq.h36 #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/clk/ux500/
Du8500_of_clk.c22 #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/acpi/pmic/
Dintel_pmic_bytcrc.c189 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()
Dintel_pmic_bxtwc.c274 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()
Dintel_pmic.c35 int count, int *reg, int *bit) in pmic_get_reg_bit()
57 int reg, bit, result; in intel_pmic_power_handler() local
136 int bit, u32 function, u64 *value) in pmic_thermal_pen()
175 int reg, bit, result; in intel_pmic_thermal_handler() local
/drivers/pinctrl/meson/
Dpinctrl-meson.c99 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/clk/pxa/
Dclk-pxa25x.c137 bit, is_lp, flags) \ argument
140 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument
143 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\ argument
146 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument
150 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument
153 #define PXA25X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument
/drivers/staging/rtl8192u/
Dr8180_93cx6.c23 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/clk/hisilicon/
Dreset.c34 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/
Disp_private.h61 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()
Dsp_private.h48 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/
Dairq.c225 unsigned long bit, i, flags; in airq_iv_alloc() local
258 void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num) in airq_iv_free()
292 unsigned long bit; in airq_iv_scan() local
/drivers/hid/
Dhid-lg.c539 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()
Dhid-microsoft.c81 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()
/drivers/net/wireless/realtek/rtw88/
Dhci.h117 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/media/pci/cx25821/
Dcx25821-biffuncs.h19 static inline u32 clearBitAtPos(u32 value, u8 bit) in clearBitAtPos()
24 static inline u32 setBitAtPos(u32 sample, u8 bit) in setBitAtPos()
/drivers/pinctrl/renesas/
Dpinctrl-rzg2l.c440 u8 bit = 0; in rzg2l_pinctrl_pinconf_get() local
510 u8 bit = 0; in rzg2l_pinctrl_pinconf_set() local
654 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_request() local
676 u8 bit, bool output) in rzg2l_gpio_set_direction()
696 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_get_direction() local
715 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_direction_input() local
727 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_set() local
748 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_direction_output() local
760 u8 bit = RZG2L_PIN_ID_TO_PIN(offset); in rzg2l_gpio_get() local
/drivers/reset/
Dreset-imx7.c21 unsigned int offset, bit; member
95 const unsigned int bit = imx7src->signals[id].bit; in imx7_reset_set() local
223 const unsigned int bit = imx7src->signals[id].bit; in imx8mq_reset_set() local
318 const unsigned int bit = imx7src->signals[id].bit; in imx8mp_reset_set() local

12345678910>>...29