Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/spi/
H A Dich.c131 ctlr->optype = offsetof(struct ich7_spi_regs, optype); in ich_init_controller()
145 ctlr->optype = offsetof(struct ich9_spi_regs, optype); in ich_init_controller()
261 optypes = ich_readw(ctlr, ctlr->optype); in spi_setup_opcode()
263 ich_writew(ctlr, optypes, ctlr->optype); in spi_setup_opcode()
267 uint8_t optype; in spi_setup_opcode() local
287 optypes = ich_readw(ctlr, ctlr->optype); in spi_setup_opcode()
288 optype = (optypes >> (opcode_index * 2)) & 0x3; in spi_setup_opcode()
290 optype == SPI_OPCODE_TYPE_WRITE_WITH_ADDRESS && in spi_setup_opcode()
293 trans->type = optype; in spi_setup_opcode()
295 if (optype != trans->type) { in spi_setup_opcode()
[all …]
H A Dich.h20 uint16_t optype; member
39 uint16_t optype; member
185 int optype; member