Searched refs:rel_pos (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/block/ |
H A D | fdc.c | 1594 int len, start_pos, rel_pos; in fdctrl_transfer_handler() local 1618 rel_pos = fdctrl->data_pos % FD_SECTOR_LEN; in fdctrl_transfer_handler() 1621 if (len + rel_pos > FD_SECTOR_LEN) in fdctrl_transfer_handler() 1622 len = FD_SECTOR_LEN - rel_pos; in fdctrl_transfer_handler() 1629 len < FD_SECTOR_LEN || rel_pos != 0) { in fdctrl_transfer_handler() 1642 k->write_memory(fdctrl->dma, nchan, fdctrl->fifo + rel_pos, in fdctrl_transfer_handler() 1657 k->read_memory(fdctrl->dma, nchan, fdctrl->fifo + rel_pos, in fdctrl_transfer_handler() 1677 ret = memcmp(tmpbuf, fdctrl->fifo + rel_pos, len); in fdctrl_transfer_handler() 1691 rel_pos = fdctrl->data_pos % FD_SECTOR_LEN; in fdctrl_transfer_handler() 1692 if (rel_pos == 0) { in fdctrl_transfer_handler()
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_f11.c | 500 s8 *rel_pos; member 554 x = data->rel_pos[n_finger * RMI_F11_REL_BYTES]; in rmi_f11_rel_pos_report() 555 y = data->rel_pos[n_finger * RMI_F11_REL_BYTES + 1]; in rmi_f11_rel_pos_report() 710 data->rel_pos = &sensor->data_pkt[i]; in f11_2d_construct_data()
|