Lines Matching refs:pos
367 int fd, rc, pos = 0; in setup_wcnss_parameters() local
380 pos = 0; in setup_wcnss_parameters()
381 msg[pos++] = WCNSS_USR_WLAN_MAC_ADDR >> BYTE_1; in setup_wcnss_parameters()
382 msg[pos++] = WCNSS_USR_WLAN_MAC_ADDR >> BYTE_0; in setup_wcnss_parameters()
383 msg[pos++] = wlan_nv_mac_addr[0]; in setup_wcnss_parameters()
384 msg[pos++] = wlan_nv_mac_addr[1]; in setup_wcnss_parameters()
385 msg[pos++] = wlan_nv_mac_addr[2]; in setup_wcnss_parameters()
386 msg[pos++] = wlan_nv_mac_addr[3]; in setup_wcnss_parameters()
387 msg[pos++] = wlan_nv_mac_addr[4]; in setup_wcnss_parameters()
388 msg[pos++] = wlan_nv_mac_addr[5]; in setup_wcnss_parameters()
393 if (write(fd, msg, pos) < 0) { in setup_wcnss_parameters()
401 pos = 0; in setup_wcnss_parameters()
402 msg[pos++] = WCNSS_USR_HAS_CAL_DATA >> BYTE_1; in setup_wcnss_parameters()
403 msg[pos++] = WCNSS_USR_HAS_CAL_DATA >> BYTE_0; in setup_wcnss_parameters()
419 msg[pos++] = 1; in setup_wcnss_parameters()
421 if (write(fd, msg, pos) < 0) { in setup_wcnss_parameters()
433 msg[pos++] = 0; in setup_wcnss_parameters()
434 if (write(fd, msg, pos) < 0) in setup_wcnss_parameters()