Searched refs:msg_dinp (Results 1 - 2 of 2) sorted by relevance
/freebsd-11.0-release/sys/arm/samsung/exynos/ |
H A D | chrome_ec_spi.c | 123 uint8_t *msg_dinp; local 130 msg_dinp = malloc(dinp_len + 4, M_DEVBUF, M_NOWAIT | M_ZERO); 133 spi_cmd.rx_cmd = msg_dinp; 160 if (msg_dinp[0] == 0xec) 174 free(msg_dinp, M_DEVBUF); 179 dinp[i] = msg_dinp[i + 2]; 183 free(msg_dinp, M_DEVBUF);
|
H A D | chrome_ec.c | 161 uint8_t *msg_dinp; local 166 msg_dinp = malloc(dinp_len + 3, M_DEVBUF, M_NOWAIT); 185 { 0x1e, IIC_M_RD, dinp_len + 3, msg_dinp, }, 192 free(msg_dinp, M_DEVBUF); 197 dinp[i] = msg_dinp[i + 2]; 201 free(msg_dinp, M_DEVBUF);
|
Completed in 47 milliseconds