Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-airoha-snfi.c223 static int airoha_snand_set_fifo_op(struct airoha_snand_ctrl *as_ctrl, in airoha_snand_set_fifo_op() argument
229 err = regmap_write(as_ctrl->regmap_ctrl, REG_SPI_CTRL_OPFIFO_WDATA, in airoha_snand_set_fifo_op()
235 err = regmap_read_poll_timeout(as_ctrl->regmap_ctrl, in airoha_snand_set_fifo_op()
242 err = regmap_write(as_ctrl->regmap_ctrl, REG_SPI_CTRL_OPFIFO_WR, in airoha_snand_set_fifo_op()
247 return regmap_read_poll_timeout(as_ctrl->regmap_ctrl, in airoha_snand_set_fifo_op()
253 static int airoha_snand_set_cs(struct airoha_snand_ctrl *as_ctrl, u8 cs) in airoha_snand_set_cs() argument
255 return airoha_snand_set_fifo_op(as_ctrl, cs, sizeof(cs)); in airoha_snand_set_cs()
258 static int airoha_snand_write_data_to_fifo(struct airoha_snand_ctrl *as_ctrl, in airoha_snand_write_data_to_fifo() argument
268 err = regmap_read_poll_timeout(as_ctrl->regmap_ctrl, in airoha_snand_write_data_to_fifo()
276 err = regmap_write(as_ctrl in airoha_snand_write_data_to_fifo()
294 airoha_snand_read_data_from_fifo(struct airoha_snand_ctrl * as_ctrl,u8 * ptr,int len) airoha_snand_read_data_from_fifo() argument
328 airoha_snand_set_mode(struct airoha_snand_ctrl * as_ctrl,enum airoha_snand_mode mode) airoha_snand_set_mode() argument
390 airoha_snand_write_data(struct airoha_snand_ctrl * as_ctrl,u8 cmd,const u8 * data,int len) airoha_snand_write_data() argument
412 airoha_snand_read_data(struct airoha_snand_ctrl * as_ctrl,u8 * data,int len) airoha_snand_read_data() argument
434 airoha_snand_nfi_init(struct airoha_snand_ctrl * as_ctrl) airoha_snand_nfi_init() argument
449 airoha_snand_nfi_config(struct airoha_snand_ctrl * as_ctrl) airoha_snand_nfi_config() argument
573 struct airoha_snand_ctrl *as_ctrl; airoha_snand_adjust_op_size() local
632 struct airoha_snand_ctrl *as_ctrl; airoha_snand_dirmap_read() local
772 struct airoha_snand_ctrl *as_ctrl; airoha_snand_dirmap_write() local
902 struct airoha_snand_ctrl *as_ctrl; airoha_snand_exec_op() local
969 struct airoha_snand_ctrl *as_ctrl; airoha_snand_setup() local
984 airoha_snand_nfi_setup(struct airoha_snand_ctrl * as_ctrl) airoha_snand_nfi_setup() argument
1038 struct airoha_snand_ctrl *as_ctrl; airoha_snand_probe() local
[all...]