Lines Matching refs:simple_cmd
121 } __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()
829 memset(c->u.simple_cmd.addr, 0xFF, 3); in wilc_spi_special_cmd()
831 cmd_len = offsetof(struct wilc_spi_cmd, u.simple_cmd.crc); in wilc_spi_special_cmd()
835 c->u.simple_cmd.crc[0] = wilc_get_crc7(wb, cmd_len); in wilc_spi_special_cmd()