voidx393_sensio_ctrl(x393_sensio_ctl_td,intsens_num){writel(d.d32,mmio_ptr+(0x1020+0x100*sens_num));}// Configure sensor I/O port
voidset_x393_sensio_status_cntrl(x393_status_ctrl_td,intsens_num){writel(d.d32,mmio_ptr+(0x1024+0x100*sens_num));}// Set status control for SENSIO module
voidx393_sensio_jtag(x393_sensio_jpag_td,intsens_num){writel(d.d32,mmio_ptr+(0x1028+0x100*sens_num));}// Programming interface for multiplexer FPGA (with X393_SENSIO_STATUS)
voidx393_sensio_jtag(x393_sensio_jtag_td,intsens_num){writel(d.d32,mmio_ptr+(0x1028+0x100*sens_num));}// Programming interface for multiplexer FPGA (with X393_SENSIO_STATUS)
voidset_x393_sensio_width(x393_sensio_width_td,intsens_num){writel(d.d32,mmio_ptr+(0x102c+0x100*sens_num));}// Set sensor line in pixels (0 - use line sync from the sensor)
#define X393_SENSIO_STATUS_CNTRL(sens_num) (0x40001024 + 0x100 * (sens_num)) // Set status control for SENSIO module, sens_num = 0..3, data type: x393_status_ctrl_t (rw)
#define X393_SENSIO_WIDTH(sens_num) (0x4000102c + 0x100 * (sens_num)) // Set sensor line in pixels (0 - use line sync from the sensor), sens_num = 0..3, data type: x393_sensio_width_t (rw)