/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/ |
H A D | driver_cmd_nl80211.c | 38 char *buf; member in struct:android_wifi_priv_cmd 75 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, argument 95 ret = os_snprintf(buf, buf_len, 100 os_memcpy(buf, cmd, strlen(cmd) + 1); 103 priv_cmd.buf = buf; 121 ret = strlen(buf); 124 __func__, MAC2STR(buf)); 126 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf); 128 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf); 146 char buf[MAX_DRV_CMD_SIZE]; local 154 wpa_driver_get_p2p_noa(void *priv, u8 *buf, size_t len) argument 162 char buf[MAX_DRV_CMD_SIZE]; local [all...] |
/hardware/ti/omap4-aah/security/tf_daemon/ |
H A D | smc_properties.c | 106 struct stat buf; local 132 result = stat(pDir, &buf); 149 if ((buf.st_mode & S_IFDIR) != S_IFDIR) 157 if ((buf.st_mode & S_IREAD) != S_IREAD) 163 if ((buf.st_mode & S_IWRITE) != S_IWRITE)
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
H A D | smc_properties.c | 106 struct stat buf; local 132 result = stat(pDir, &buf); 149 if ((buf.st_mode & S_IFDIR) != S_IFDIR) 157 if ((buf.st_mode & S_IREAD) != S_IREAD) 163 if ((buf.st_mode & S_IWRITE) != S_IWRITE)
|
/hardware/broadcom/libbt/src/ |
H A D | upio.c | 149 char buf[16]; local 166 sz = read(fd, &buf, sizeof(buf)); 169 if (sz >= 9 && memcmp(buf, "bluetooth", 9) == 0)
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
H A D | dhdu_linux.c | 145 dhd_ioctl(void *dhd, int cmd, void *buf, int len, bool set) argument 157 if (remote_type == NO_REMOTE && strncmp (buf, RWL_WIFI_ACTION_CMD, 158 strlen(RWL_WIFI_ACTION_CMD)) && strncmp(buf, RWL_WIFI_GET_ACTION_CMD, 166 ioc.buf = buf; 180 int wl_ioctl(void *wl, int cmd, void *buf, int len, bool set) argument 182 return dhd_ioctl(wl, cmd, buf, len, set); /* Call actual wl_ioctl here: Shubhro */ 191 dhd_get_dev_type(char *name, void *buf, char *type) argument 214 *(char *)buf = '\0'; 217 strcpy(buf, inf 231 dhd_get(void *dhd, int cmd, void *buf, int len) argument 244 dhd_set(void *dhd, int cmd, void *buf, int len) argument 311 static char buf[400]; local 363 ioctl_setinformation_fe(void *wl, int cmd, void* buf, int *len) argument 382 wl_get(void *wl, int cmd, void *buf, int len) argument 404 wl_set(void *wl, int cmd, void *buf, int len) argument [all...] |
H A D | ucode_download.c | 38 char *buf; local 49 buf = malloc(WLC_IOCTL_MEDLEN); 50 if (buf) { 51 bzero(buf, WLC_IOCTL_MEDLEN); 52 err = wlu_iovar_setbuf(wl, "generic_dload", dload_buf, len, buf, 55 free(buf);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
H A D | bcmendian.h | 69 #define ltoh16_buf(buf, i) 70 #define htol16_buf(buf, i) 116 #define bcmswap16_buf(buf, len) ({ \ 117 uint16 *_buf = (uint16 *)(buf); \ 199 /* buf - start of buffer of shorts to swap */ 202 bcmswap16_buf(uint16 *buf, uint len) argument 207 *buf = bcmswap16(*buf); 208 buf++;
|
H A D | dhdioctl.h | 39 void *buf; /* pointer to user buffer */ member in struct:dhd_ioctl
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
H A D | cpp_bindings.cpp | 25 void appendFmt(char *buf, int &offset, const char *fmt, ...) argument 29 offset += vsprintf(buf + offset, fmt, params);
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
H A D | driver_cmd_nl80211.c | 69 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, argument 106 ret = os_snprintf(buf, buf_len, 109 os_memcpy(buf, cmd, strlen(cmd) + 1); 115 priv_cmd.bufaddr = (u64)(uintptr_t)buf; 117 priv_cmd.bufaddr = buf; 133 ret = strlen(buf); 135 wpa_printf(MSG_DEBUG, "%s %s len = %d, %zu", __func__, buf, ret, strlen(buf)); 143 char buf[MAX_DRV_CMD_SIZE]; local 145 memset(buf, 159 char buf[MAX_DRV_CMD_SIZE]; local 171 char *buf; local [all...] |
/hardware/bsp/intel/peripheral/libupm/src/hmtrp/ |
H A D | hmtrp.cxx | 178 char buf[4]; local 180 int rv = readData(buf, 4, defaultDelay); 190 if (buf[0] == 'O' && buf[1] == 'K' && 191 buf[2] == '\r' && buf[3] == '\n') 223 char buf[16]; local 224 int rv = readData(buf, 16, defaultDelay); 236 *freq = ( ((buf[0] & 0xff) << 24) | 237 ((buf[ 439 char buf; local 471 char buf; local [all...] |
/hardware/bsp/intel/peripheral/libupm/src/hp20x/ |
H A D | hp20x.cxx | 139 uint8_t buf[3] = {0}; local 141 if (!m_i2c.read(buf, 3)) 150 if (buf[0] & 0x80) 153 buf[0] &= 0x3f; 157 return ( minus * ((buf[0] << 16) | (buf[1] << 8) | buf[2]) );
|
/hardware/bsp/intel/peripheral/libupm/src/lsm303d/ |
H A D | lsm303d.h | 221 uint8_t buf[6]; member in class:upm::LSM303d
|
/hardware/bsp/intel/peripheral/libupm/src/m24lr64e/ |
H A D | m24lr64e.cxx | 61 uint8_t buf[pktLen]; local 63 buf[0] = 0x09; 64 buf[1] = 0x00; 66 buf[2] = ((passwd >> 24) & 0xff); 67 buf[3] = ((passwd >> 16) & 0xff); 68 buf[4] = ((passwd >> 8) & 0xff); 69 buf[5] = (passwd & 0xff); 71 buf[6] = 0x09; 74 buf[7] = ((passwd >> 24) & 0xff); 75 buf[ 92 uint8_t buf[pktLen]; local 135 uint8_t buf[64]={0x0}; local 215 uint8_t buf[pktLen]; local 234 uint8_t buf[pktLen]; local 268 uint8_t buf[apktLen]; local [all...] |
/hardware/bsp/intel/peripheral/libupm/src/wt5001/ |
H A D | wt5001.cxx | 508 char buf[2]; local 509 int rv = readData(buf, 2); 513 *numf = (buf[0] << 8) | buf[1]; 534 char buf[2]; local 535 int rv = readData(buf, 2); 539 *curf = (buf[0] << 8) | (buf[1] & 0xff); 560 char buf[4]; local 561 int rv = readData(buf, 587 char buf[3]; local [all...] |
/hardware/bsp/intel/peripheral/libupm/src/zfm20/ |
H A D | zfm20.cxx | 277 char buf[ZFM20_MAX_PKT_LEN]; local 302 if ((rv = readData(buf, ZFM20_MAX_PKT_LEN)) == 0) 312 pkt[idx++] = buf[i];
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/ |
H A D | fw_pvt.h | 66 mfd_sync_msg_t buf; member in struct:__anon650
|
/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_ttmpool.c | 63 struct _WsbmBufStorage buf; member in struct:_TTMBuffer 100 return containerOf(dBuf->buf.pool, struct _TTMPool, pool); 104 ttmBuffer(struct _WsbmBufStorage *buf) argument 106 return containerOf(buf, struct _TTMBuffer, buf); 126 ret = wsbmBufStorageInit(&dBuf->buf, pool); 151 return &dBuf->buf; 156 wsbmBufStorageTakedown(&dBuf->buf); 173 ret = wsbmBufStorageInit(&dBuf->buf, pool); 196 return &dBuf->buf; 208 pool_destroy(struct _WsbmBufStorage **buf) argument 230 syncforcpu_locked(struct _WsbmBufStorage *buf, unsigned mode) argument 287 releasefromcpu_locked(struct _WsbmBufStorage *buf, unsigned mode) argument 319 pool_syncforcpu(struct _WsbmBufStorage *buf, unsigned mode) argument 330 pool_releasefromcpu(struct _WsbmBufStorage *buf, unsigned mode) argument 351 pool_map(struct _WsbmBufStorage *buf, unsigned mode __attribute__ ((unused)), void **virtual) argument 396 pool_offset(struct _WsbmBufStorage *buf) argument 410 pool_placement(struct _WsbmBufStorage *buf) argument 418 pool_size(struct _WsbmBufStorage *buf) argument 435 pool_waitIdle(struct _WsbmBufStorage *buf, int lazy) argument 461 pool_setStatus(struct _WsbmBufStorage *buf, uint32_t set_placement, uint32_t clr_placement) argument 489 pool_kernel(struct _WsbmBufStorage *buf) argument [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | decode_with_partial_drops.c | 311 unsigned char *buf =img->planes[plane]; local 314 (void) fwrite(buf, 1, (plane ? (img->d_w + 1) >> 1 : img->d_w), 316 buf += img->stride[plane];
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | tools_common.c | 116 memcpy(ptr, detect->buf + detect->position, more); 224 const unsigned char *buf = img->planes[plane]; local 231 fwrite(buf, 1, w, file); 232 buf += stride; 241 unsigned char *buf = img->planes[plane]; local 248 if (fread(buf, 1, w, file) != w) 250 buf += stride;
|
H A D | tools_common.h | 80 char buf[4]; member in struct:FileTypeDetectionBuffer
|
H A D | y4minput.c | 20 // Reads 'size' bytes from 'file' into 'buf' with some fault tolerance. 22 static int file_read(void *buf, size_t size, FILE *file) { argument 28 const size_t n = fread((uint8_t*)buf + len, 1, size - len, file); 752 /*Chroma filter required: read into the aux buf first.*/ 759 /*Chroma filter required: read into the aux buf first. 770 /*Chroma filter required: read into the aux buf first.*/ 780 /*Chroma filter required: read into the aux buf first. 804 /*Chroma filter required: read into the aux buf first. 817 /*Chroma filter required: read into the aux buf first. 841 /*Chroma filter required: read into the aux buf firs [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
H A D | onyxd_if.c | 43 static void ref_cnt_fb (int *buf, int *idx, int new_idx); 199 static void ref_cnt_fb (int *buf, int *idx, int new_idx) argument 201 if (buf[*idx] > 0) 202 buf[*idx]--; 206 buf[new_idx]++;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
H A D | vpx_encoder.c | 278 char *const dst_buf = (char *)priv->enc.cx_data_dst_buf.buf; 281 pkt->data.raw.buf != dst_buf && 286 memcpy(dst_buf + priv->enc.cx_data_pad_before, pkt->data.raw.buf, 289 modified_pkt->data.raw.buf = dst_buf; 295 if (dst_buf == pkt->data.raw.buf) { 296 priv->enc.cx_data_dst_buf.buf = dst_buf + pkt->data.raw.sz; 306 const vpx_fixed_buf_t *buf, 312 if (buf) { 313 ctx->priv->enc.cx_data_dst_buf = *buf; 317 ctx->priv->enc.cx_data_dst_buf.buf 305 vpx_codec_set_cx_data_buf(vpx_codec_ctx_t *ctx, const vpx_fixed_buf_t *buf, unsigned int pad_before, unsigned int pad_after) argument 346 vpx_fixed_buf_t *buf = NULL; local [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
H A D | RotationBufferProvider.cpp | 98 void *buf; local 101 buf = mTTMWrappers.valueAt(i); 102 if (!mWsbm->destroyTTMBuffer(buf)) 139 buffer_handle_t RotationBufferProvider::createWsbmBuffer(int width, int height, void **buf) argument 143 bool ret = mWsbm->allocateTTMBuffer(size, allignment, buf); 150 return (buffer_handle_t) mWsbm->getKBufHandle(*buf); 521 void *buf = NULL; local 542 bool ret = mWsbm->allocateTTMBufferUB(size, 0, &buf, user_pt); 553 index = mTTMWrappers.add((uint64_t)user_pt, buf); 556 buf [all...] |