Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-riic.c124 u8 start_bit; in riic_xfer() local
140 for (i = 0, start_bit = ICCR2_ST; i < num; i++) { in riic_xfer()
148 writeb(start_bit, riic->base + RIIC_ICCR2); in riic_xfer()
157 start_bit = ICCR2_RS; in riic_xfer()
Di2c-pnx.c61 start_bit = 1 << 8, enumerator
166 (slave_addr << 1) | start_bit | alg_data->mif.mode); in i2c_pnx_start()
169 iowrite32((slave_addr << 1) | start_bit | alg_data->mif.mode, in i2c_pnx_start()
/drivers/iio/adc/
Dmcp320x.c78 int start_bit = 1; in mcp320x_channel_to_tx_data() local
87 return ((start_bit << 4) | (!differential << 3) | in mcp320x_channel_to_tx_data()
93 return ((start_bit << 6) | (!differential << 5) | in mcp320x_channel_to_tx_data()
/drivers/input/mouse/
Dalps.c364 point->start_bit = i; in alps_get_bitmap_points()
414 x_high.start_bit = x_low.start_bit + i; in alps_process_bitmap()
420 y_high.start_bit = y_low.start_bit + i; in alps_process_bitmap()
426 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap()
429 (priv->y_max * (2 * y_low.start_bit + y_low.num_bits - 1)) / in alps_process_bitmap()
434 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) / in alps_process_bitmap()
437 (priv->y_max * (2 * y_low.start_bit + y_low.num_bits - 1)) / in alps_process_bitmap()
442 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) / in alps_process_bitmap()
445 (priv->y_max * (2 * y_high.start_bit + y_high.num_bits - 1)) / in alps_process_bitmap()
450 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap()
[all …]
Dalps.h176 int start_bit; member
/drivers/mmc/host/
Dmtk-sd.c1265 static int get_delay_len(u32 delay, u32 start_bit) in get_delay_len() argument
1269 for (i = 0; i < (PAD_DELAY_MAX - start_bit); i++) { in get_delay_len()
1270 if (test_delay_bit(delay, start_bit + i) == 0) in get_delay_len()
1273 return PAD_DELAY_MAX - start_bit; in get_delay_len()
Drtsx_pci_sdmmc.c666 static int sd_get_phase_len(u32 phase_map, unsigned int start_bit) in sd_get_phase_len() argument
671 if (test_phase_bit(phase_map, start_bit + i) == 0) in sd_get_phase_len()
/drivers/video/fbdev/via/
Dhw.h359 u8 start_bit; member
Dhw.c994 start_index = reg[i].start_bit; in viafb_load_reg()
/drivers/edac/
Damd64_edac.c924 u8 start_bit = 1; in get_error_address() local
935 start_bit = 3; in get_error_address()
939 addr = m->addr & GENMASK_ULL(end_bit, start_bit); in get_error_address()