Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/microchip/wilc1000/
H A Dspi.c121 } __packed simple_cmd; member
531 c->u.simple_cmd.addr[0] = adr >> 16; in wilc_spi_single_read()
532 c->u.simple_cmd.addr[1] = adr >> 8; in wilc_spi_single_read()
533 c->u.simple_cmd.addr[2] = adr; in wilc_spi_single_read()
535 c->u.simple_cmd.addr[0] = adr >> 8; in wilc_spi_single_read()
537 c->u.simple_cmd.addr[0] |= BIT(7); in wilc_spi_single_read()
538 c->u.simple_cmd.addr[1] = adr; in wilc_spi_single_read()
539 c->u.simple_cmd.addr[2] = 0x0; in wilc_spi_single_read()
545 cmd_len = offsetof(struct wilc_spi_cmd, u.simple_cmd.crc); in wilc_spi_single_read()
549 c->u.simple_cmd.crc[0] = wilc_get_crc7(wb, cmd_len); in wilc_spi_single_read()
[all …]