Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/microchip/wilc1000/
Dspi.c134 } __packed internal_w_cmd; member
592 c->u.internal_w_cmd.addr[0] = adr >> 8; in wilc_spi_write_cmd()
594 c->u.internal_w_cmd.addr[0] |= BIT(7); in wilc_spi_write_cmd()
596 c->u.internal_w_cmd.addr[1] = adr; in wilc_spi_write_cmd()
597 c->u.internal_w_cmd.data = cpu_to_be32(data); in wilc_spi_write_cmd()
598 cmd_len = offsetof(struct wilc_spi_cmd, u.internal_w_cmd.crc); in wilc_spi_write_cmd()
600 c->u.internal_w_cmd.crc[0] = wilc_get_crc7(wb, cmd_len); in wilc_spi_write_cmd()