Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand.c270 uint32_t channel = MXS_DMA_CHANNEL_AHB_APBH_GPMI0 + nand_info->cur_chip; in mxs_nand_cmd_ctrl()
320 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_cmd_ctrl()
351 tmp >>= (GPMI_STAT_READY_BUSY_OFFSET + nand_info->cur_chip); in mxs_nand_device_ready()
364 nand_info->cur_chip = chip; in mxs_nand_select_chip()
437 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_read_buf()
462 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_read_buf()
523 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_write_buf()
577 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_ecc_read_page()
593 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_ecc_read_page()
619 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_ecc_read_page()
[all …]
H A Dmxs_nand.h42 int cur_chip; member
/openbmc/linux/drivers/spi/
H A Dspi-pl022.c379 struct chip_data *cur_chip; member
520 pl022->cur_chip = NULL; in giveback()
554 struct chip_data *chip = pl022->cur_chip; in restore_state()
701 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter()
723 pl022->tx += (pl022->cur_chip->n_bytes); in readwriter()
750 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter()
1350 pl022->cur_chip->n_bytes); in set_up_next_transfer()
1423 if (pl022->cur_chip->enable_dma) { in pump_transfers()
1457 if (pl022->cur_chip->enable_dma) { in do_interrupt_dma_transfer()
1589 pl022->cur_chip = spi_get_ctldata(msg->spi); in pl022_transfer_one_message()
[all …]
H A Dspi-fsl-dspi.c221 struct chip_data *cur_chip; member
804 dspi->cur_chip->ctar_val | in dspi_setup_accel()
935 dspi->cur_chip = spi_get_ctldata(spi); in dspi_transfer_one_message()
/openbmc/qemu/hw/audio/
H A Dfmopl.c210 static void *cur_chip = NULL; /* current chip point */ variable
957 cur_chip = NULL; in OPL_LockTable()
972 cur_chip = NULL; in OPL_UnLockTable()
991 if( (void *)OPL != cur_chip ){ in YM3812UpdateOne()
992 cur_chip = (void *)OPL; in YM3812UpdateOne()