Searched refs:opmenu (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/spi/ |
H A D | ich.c | 128 ctlr->opmenu = offsetof(struct ich7_spi_regs, opmenu); in ich_init_controller() 129 ctlr->menubytes = sizeof(ich7_spi->opmenu); in ich_init_controller() 142 ctlr->opmenu = offsetof(struct ich9_spi_regs, opmenu); in ich_init_controller() 143 ctlr->menubytes = sizeof(ich9_spi->opmenu); in ich_init_controller() 253 uint8_t opmenu[ctlr->menubytes]; in spi_setup_opcode() local 259 ich_writeb(ctlr, trans->opcode, ctlr->opmenu); in spi_setup_opcode() 273 read_reg(ctlr, ctlr->opmenu, opmenu, sizeof(opmenu)); in spi_setup_opcode() 276 if (opmenu[opcode_index] == trans->opcode) in spi_setup_opcode() 364 ich_writel(ctlr, SPI_OPMENU_LOWER, ctlr->opmenu); in ich_spi_config_opcode() 365 ich_writel(ctlr, SPI_OPMENU_UPPER, ctlr->opmenu + sizeof(u32)); in ich_spi_config_opcode()
|
H A D | ich.h | 20 uint8_t opmenu[8]; member 39 uint8_t opmenu[8]; /* 0x98 */ member 180 int opmenu; member
|