Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Dif_spi.c182 static inline int spu_write_u16(struct if_spi_card *card, u16 reg, u16 val) in spu_write_u16() function
344 err = spu_write_u16(card, IF_SPI_HOST_INT_STATUS_MASK_REG, 0); in spu_set_interrupt_mode()
348 err = spu_write_u16(card, IF_SPI_HOST_INT_STATUS_MASK_REG, in spu_set_interrupt_mode()
365 err = spu_write_u16(card, IF_SPI_HOST_INT_CTRL_REG, in spu_set_interrupt_mode()
373 err = spu_write_u16(card, IF_SPI_HOST_INT_STATUS_MASK_REG, 0); in spu_set_interrupt_mode()
398 err = spu_write_u16(card, IF_SPI_SPU_BUS_MODE_REG, mode); in spu_set_bus_mode()
478 err = spu_write_u16(card, IF_SPI_SCRATCH_1_REG, in if_spi_prog_helper_firmware()
503 err = spu_write_u16(card, IF_SPI_HOST_INT_STATUS_REG, 0); in if_spi_prog_helper_firmware()
506 err = spu_write_u16(card, IF_SPI_CARD_INT_CAUSE_REG, in if_spi_prog_helper_firmware()
519 err = spu_write_u16(card, IF_SPI_SCRATCH_1_REG, FIRMWARE_DNLD_OK); in if_spi_prog_helper_firmware()
[all …]