Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/microchip/wilc1000/
Dspi.c119 } __packed simple_cmd; member
499 c->u.simple_cmd.addr[0] = adr >> 16; in wilc_spi_single_read()
500 c->u.simple_cmd.addr[1] = adr >> 8; in wilc_spi_single_read()
501 c->u.simple_cmd.addr[2] = adr; in wilc_spi_single_read()
503 c->u.simple_cmd.addr[0] = adr >> 8; in wilc_spi_single_read()
505 c->u.simple_cmd.addr[0] |= BIT(7); in wilc_spi_single_read()
506 c->u.simple_cmd.addr[1] = adr; in wilc_spi_single_read()
507 c->u.simple_cmd.addr[2] = 0x0; in wilc_spi_single_read()
513 cmd_len = offsetof(struct wilc_spi_cmd, u.simple_cmd.crc); in wilc_spi_single_read()
517 c->u.simple_cmd.crc[0] = wilc_get_crc7(wb, cmd_len); in wilc_spi_single_read()
[all …]