/openbmc/u-boot/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.h | 32 .x_bits = _x_bits, \ 98 u8 x_bits; member
|
H A D | pinctrl-mtk-common.c | 102 bits = c->fixed ? c->s_bit : c->s_bit + (pin - c->s_pin) * (c->x_bits); in mtk_hw_pin_field_lookup() 109 pfd->mask = (1 << c->x_bits) - 1; in mtk_hw_pin_field_lookup() 115 pfd->next = pfd->bitpos + c->x_bits > c->sz_reg ? c->x_addrs : 0; in mtk_hw_pin_field_lookup()
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mt6779.c | 19 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 20 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \ 23 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 24 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
|
H A D | pinctrl-mt8195.c | 19 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 20 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \ 23 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 24 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
|
H A D | pinctrl-mtk-common-v2.h | 48 .x_bits = _x_bits, \ 152 u8 x_bits; member
|
H A D | pinctrl-mt8186.c | 19 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 20 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, 32, 0) 22 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 23 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, 32, 1)
|
H A D | pinctrl-mt8192.c | 20 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 21 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \ 24 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 25 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
|
H A D | pinctrl-mt8188.c | 18 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 19 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \ 22 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument 23 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
|
H A D | pinctrl-mtk-common-v2.c | 126 (desc->number - c->s_pin) * (c->x_bits); in mtk_hw_pin_field_lookup() 134 pfd->mask = (1 << c->x_bits) - 1; in mtk_hw_pin_field_lookup() 140 pfd->next = pfd->bitpos + c->x_bits > c->sz_reg ? c->x_addrs : 0; in mtk_hw_pin_field_lookup()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | alps.h | 304 int x_bits; member
|
H A D | alps.c | 432 (2 * (priv->x_bits - 1)); in alps_process_bitmap() 440 (2 * (priv->x_bits - 1)); in alps_process_bitmap() 448 (2 * (priv->x_bits - 1)); in alps_process_bitmap() 456 (2 * (priv->x_bits - 1)); in alps_process_bitmap() 719 (BIT(priv->x_bits) - 1); in alps_decode_dolphin() 2636 priv->x_bits = num_x_electrode; in alps_dolphin_get_device_area() 2737 priv->x_bits = 15; in alps_set_protocol() 2773 priv->x_bits = 16; in alps_set_protocol() 2797 priv->x_bits = 23; in alps_set_protocol()
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 636 u32 x_bits, y_bits, tmp, x_mask, y_mask, alignment; in tiler_get_address() local 638 x_bits = CONT_WIDTH_BITS - geom[fmt].x_shft; in tiler_get_address() 643 x_mask = MASK(x_bits); in tiler_get_address() 662 tmp = ((y << x_bits) + x); in tiler_get_address()
|