Lines Matching refs:sh_msiof_write
205 static void sh_msiof_write(struct sh_msiof_spi_priv *p, int reg_offs, in sh_msiof_write() function
228 sh_msiof_write(p, SICTR, data); in sh_msiof_modify_ctr_wait()
239 sh_msiof_write(p, SIIER, 0); in sh_msiof_spi_irq()
252 sh_msiof_write(p, SICTR, data); in sh_msiof_spi_reset_regs()
302 sh_msiof_write(p, SITSCR, scr); in sh_msiof_spi_set_clk_regs()
304 sh_msiof_write(p, SIRSCR, scr); in sh_msiof_spi_set_clk_regs()
368 sh_msiof_write(p, SITMDR1, tmp | SITMDR1_PCON); in sh_msiof_spi_set_pin_regs()
370 sh_msiof_write(p, SITMDR1, in sh_msiof_spi_set_pin_regs()
378 sh_msiof_write(p, SIRMDR1, tmp); in sh_msiof_spi_set_pin_regs()
389 sh_msiof_write(p, SICTR, tmp); in sh_msiof_spi_set_pin_regs()
399 sh_msiof_write(p, SITMDR2, dr2); in sh_msiof_spi_set_mode_regs()
401 sh_msiof_write(p, SITMDR2, dr2 | SIMDR2_GRPMASK1); in sh_msiof_spi_set_mode_regs()
404 sh_msiof_write(p, SIRMDR2, dr2); in sh_msiof_spi_set_mode_regs()
409 sh_msiof_write(p, SISTR, in sh_msiof_reset_str()
420 sh_msiof_write(p, SITFDR, buf_8[k] << fs); in sh_msiof_spi_write_fifo_8()
430 sh_msiof_write(p, SITFDR, buf_16[k] << fs); in sh_msiof_spi_write_fifo_16()
440 sh_msiof_write(p, SITFDR, get_unaligned(&buf_16[k]) << fs); in sh_msiof_spi_write_fifo_16u()
450 sh_msiof_write(p, SITFDR, buf_32[k] << fs); in sh_msiof_spi_write_fifo_32()
460 sh_msiof_write(p, SITFDR, get_unaligned(&buf_32[k]) << fs); in sh_msiof_spi_write_fifo_32u()
470 sh_msiof_write(p, SITFDR, swab32(buf_32[k] << fs)); in sh_msiof_spi_write_fifo_s32()
480 sh_msiof_write(p, SITFDR, swab32(get_unaligned(&buf_32[k]) << fs)); in sh_msiof_spi_write_fifo_s32u()
575 sh_msiof_write(p, SITMDR1, tmp | set | SIMDR1_TRMD | SITMDR1_PCON); in sh_msiof_spi_setup()
577 sh_msiof_write(p, SIRMDR1, tmp | set); in sh_msiof_spi_setup()
694 sh_msiof_write(p, SIFCTR, 0); in sh_msiof_spi_txrx_once()
698 sh_msiof_write(p, SIIER, SIIER_TEOFE | SIIER_REOFE); in sh_msiof_spi_txrx_once()
737 sh_msiof_write(p, SIIER, 0); in sh_msiof_spi_txrx_once()
792 sh_msiof_write(p, SIFCTR, SIFCTR_TFWM_1 | SIFCTR_RFWM_1); in sh_msiof_dma_once()
797 sh_msiof_write(p, SIIER, ier_bits); in sh_msiof_dma_once()
829 sh_msiof_write(p, SIIER, 0); in sh_msiof_dma_once()
832 sh_msiof_write(p, SIIER, SIIER_TEOFE); in sh_msiof_dma_once()
862 sh_msiof_write(p, SIIER, 0); in sh_msiof_dma_once()