Home
last modified time | relevance | path

Searched refs:x_bits (Results 1 – 10 of 10) sorted by relevance

/drivers/pinctrl/mediatek/
Dpinctrl-mt6779.c19 #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, \
Dpinctrl-mt8195.c19 #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, \
Dpinctrl-mt8186.c19 #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)
Dpinctrl-mtk-common-v2.h48 .x_bits = _x_bits, \
152 u8 x_bits; member
Dpinctrl-mt8192.c20 #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, \
Dpinctrl-mt8188.c18 #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, \
Dpinctrl-mtk-common-v2.c126 (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()
/drivers/input/mouse/
Dalps.c432 (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()
Dalps.h304 int x_bits; member
/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c636 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()