/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | bcmxtlv.c | 90 bcm_xtlv_buf_len(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf_len() argument 92 if (tbuf == NULL) return 0; in bcm_xtlv_buf_len() 93 return (uint16)(tbuf->buf - tbuf->head); in bcm_xtlv_buf_len() 96 bcm_xtlv_buf_rlen(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf_rlen() argument 98 if (tbuf == NULL) return 0; in bcm_xtlv_buf_rlen() 99 return tbuf->size - bcm_xtlv_buf_len(tbuf); in bcm_xtlv_buf_rlen() 102 bcm_xtlv_buf(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf() argument 104 if (tbuf == NULL) return NULL; in bcm_xtlv_buf() 105 return tbuf->buf; in bcm_xtlv_buf() 108 bcm_xtlv_head(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_head() argument [all …]
|
D | wl_cfg80211.c | 18327 char tbuf[S_SUBLOGLEVEL * ARRAYSIZE(sublogname_map)], sublog[S_SUBLOGLEVEL]; in wl_debuglevel_write() local 18330 size_t minsize = min_t(size_t, (sizeof(tbuf) - 1), count); in wl_debuglevel_write() 18332 memset(tbuf, 0, sizeof(tbuf)); in wl_debuglevel_write() 18334 if (copy_from_user(&tbuf, userbuf, minsize)) { in wl_debuglevel_write() 18338 tbuf[minsize + 1] = '\0'; in wl_debuglevel_write() 18339 params = &tbuf[0]; in wl_debuglevel_write() 18372 tbuf, token, tokens)); in wl_debuglevel_write() 18382 char tbuf[S_SUBLOGLEVEL * ARRAYSIZE(sublogname_map)]; in wl_debuglevel_read() local 18384 memset(tbuf, 0, sizeof(tbuf)); in wl_debuglevel_read() 18385 param = &tbuf[0]; in wl_debuglevel_read() [all …]
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | bcmxtlv.c | 161 bcm_xtlv_buf_len(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf_len() argument 165 if (tbuf) in bcm_xtlv_buf_len() 166 len = (uint16)(tbuf->buf - tbuf->head); in bcm_xtlv_buf_len() 174 bcm_xtlv_buf_rlen(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf_rlen() argument 177 if (tbuf) in bcm_xtlv_buf_rlen() 178 rlen = tbuf->size - bcm_xtlv_buf_len(tbuf); in bcm_xtlv_buf_rlen() 186 bcm_xtlv_buf(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf() argument 188 return tbuf ? tbuf->buf : NULL; in bcm_xtlv_buf() 192 bcm_xtlv_head(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_head() argument 194 return tbuf ? tbuf->head : NULL; in bcm_xtlv_head() [all …]
|
D | wl_cfg80211.c | 5788 bcm_xtlvbuf_t tbuf; in wl_set_fils_params() local 5822 err = bcm_xtlv_buf_init(&tbuf, (uint8*)&iov_buf->data[0], in wl_set_fils_params() 5830 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_USERNAME, in wl_set_fils_params() 5838 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_REALM, in wl_set_fils_params() 5846 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_RRK, in wl_set_fils_params() 5853 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_NEXT_SEQ_NUM, in wl_set_fils_params() 5859 iov_buf->len = bcm_xtlv_buf_len(&tbuf); in wl_set_fils_params() 20579 char tbuf[SUBLOGLEVELZ * ARRAYSIZE(sublogname_map)], sublog[SUBLOGLEVELZ]; in wl_debuglevel_write() local 20582 size_t minsize = min_t(size_t, (sizeof(tbuf) - 1), count); in wl_debuglevel_write() 20584 bzero(tbuf, sizeof(tbuf)); in wl_debuglevel_write() [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | bcmxtlv.c | 158 uint16 bcm_xtlv_buf_len(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf_len() argument 162 if (tbuf) { in bcm_xtlv_buf_len() 163 len = (uint16)(tbuf->buf - tbuf->head); in bcm_xtlv_buf_len() 171 uint16 bcm_xtlv_buf_rlen(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf_rlen() argument 174 if (tbuf) { in bcm_xtlv_buf_rlen() 175 rlen = tbuf->size - bcm_xtlv_buf_len(tbuf); in bcm_xtlv_buf_rlen() 183 uint8 *bcm_xtlv_buf(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf() argument 185 return tbuf ? tbuf->buf : NULL; in bcm_xtlv_buf() 188 uint8 *bcm_xtlv_head(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_head() argument 190 return tbuf ? tbuf->head : NULL; in bcm_xtlv_head() [all …]
|
D | wl_cfg80211.c | 5852 bcm_xtlvbuf_t tbuf; in wl_set_fils_params() local 5888 err = bcm_xtlv_buf_init(&tbuf, (uint8 *)&iov_buf->data[0], in wl_set_fils_params() 5897 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_USERNAME, in wl_set_fils_params() 5906 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_REALM, in wl_set_fils_params() 5914 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_RRK, sme->fils_erp_rrk, in wl_set_fils_params() 5921 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_NEXT_SEQ_NUM, in wl_set_fils_params() 5928 iov_buf->len = bcm_xtlv_buf_len(&tbuf); in wl_set_fils_params() 20742 char tbuf[SUBLOGLEVELZ * ARRAYSIZE(sublogname_map)], sublog[SUBLOGLEVELZ]; in wl_debuglevel_write() local 20745 size_t minsize = min_t(size_t, (sizeof(tbuf) - 1), count); in wl_debuglevel_write() 20747 bzero(tbuf, sizeof(tbuf)); in wl_debuglevel_write() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | bcmxtlv.c | 175 bcm_xtlv_buf_len(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf_len() argument 179 if (tbuf) in bcm_xtlv_buf_len() 180 len = (uint16)(tbuf->buf - tbuf->head); in bcm_xtlv_buf_len() 188 bcm_xtlv_buf_rlen(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf_rlen() argument 191 if (tbuf) in bcm_xtlv_buf_rlen() 192 rlen = tbuf->size - bcm_xtlv_buf_len(tbuf); in bcm_xtlv_buf_rlen() 200 bcm_xtlv_buf(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_buf() argument 202 return tbuf ? tbuf->buf : NULL; in bcm_xtlv_buf() 206 bcm_xtlv_head(bcm_xtlvbuf_t *tbuf) in bcm_xtlv_head() argument 208 return tbuf ? tbuf->head : NULL; in bcm_xtlv_head() [all …]
|
D | dhd_linux_exportfs.c | 2176 char tbuf[SUBLOGLEVELZ * ARRAYSIZE(sublogname_map)]; in show_wl_debug_level() local 2180 bzero(tbuf, sizeof(tbuf)); in show_wl_debug_level() 2181 param = &tbuf[0]; in show_wl_debug_level() 2183 param += snprintf(param, sizeof(tbuf) - 1, "%s:%d ", in show_wl_debug_level() 2187 ret = scnprintf(buf, PAGE_SIZE - 1, "%s \n", tbuf); in show_wl_debug_level() 2194 char tbuf[SUBLOGLEVELZ * ARRAYSIZE(sublogname_map)], sublog[SUBLOGLEVELZ]; in set_wl_debug_level() local 2197 size_t minsize = min_t(size_t, (sizeof(tbuf) - 1), count); in set_wl_debug_level() 2199 bzero(tbuf, sizeof(tbuf)); in set_wl_debug_level() 2201 strlcpy(tbuf, buf, minsize); in set_wl_debug_level() 2205 tbuf[minsize] = '\0'; in set_wl_debug_level() [all …]
|
D | wl_cfg80211.c | 5036 bcm_xtlvbuf_t tbuf; in wl_set_fils_params() local 5070 err = bcm_xtlv_buf_init(&tbuf, (uint8*)&iov_buf->data[0], in wl_set_fils_params() 5078 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_USERNAME, in wl_set_fils_params() 5086 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_REALM, in wl_set_fils_params() 5094 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_RRK, in wl_set_fils_params() 5101 err = bcm_xtlv_put_data(&tbuf, WL_FILS_XTLV_ERP_NEXT_SEQ_NUM, in wl_set_fils_params() 5107 iov_buf->len = bcm_xtlv_buf_len(&tbuf); in wl_set_fils_params()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
D | bcmtlv.h | 210 uint16 bcm_xtlv_buf_len(struct bcm_xtlvbuf *tbuf); 213 uint16 bcm_xtlv_buf_rlen(struct bcm_xtlvbuf *tbuf); 216 uint8 *bcm_xtlv_buf(struct bcm_xtlvbuf *tbuf); 219 uint8 *bcm_xtlv_head(struct bcm_xtlvbuf *tbuf); 222 int bcm_xtlv_put_data(bcm_xtlvbuf_t *tbuf, uint16 type, const uint8 *data, int n); 225 int bcm_xtlv_put16(bcm_xtlvbuf_t *tbuf, uint16 type, const uint16 *data, int n); 228 int bcm_xtlv_put32(bcm_xtlvbuf_t *tbuf, uint16 type, const uint32 *data, int n); 231 int bcm_xtlv_put64(bcm_xtlvbuf_t *tbuf, uint16 type, const uint64 *data, int n);
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/ |
D | bcmtlv.h | 216 uint16 bcm_xtlv_buf_len(struct bcm_xtlvbuf *tbuf); 219 uint16 bcm_xtlv_buf_rlen(struct bcm_xtlvbuf *tbuf); 222 uint8 *bcm_xtlv_buf(struct bcm_xtlvbuf *tbuf); 225 uint8 *bcm_xtlv_head(struct bcm_xtlvbuf *tbuf); 228 int bcm_xtlv_put_data(bcm_xtlvbuf_t *tbuf, uint16 type, const uint8 *data, 232 int bcm_xtlv_put16(bcm_xtlvbuf_t *tbuf, uint16 type, const uint16 *data, int n); 235 int bcm_xtlv_put32(bcm_xtlvbuf_t *tbuf, uint16 type, const uint32 *data, int n); 238 int bcm_xtlv_put64(bcm_xtlvbuf_t *tbuf, uint16 type, const uint64 *data, int n);
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/ |
D | bcmtlv.h | 235 uint16 bcm_xtlv_buf_len(struct bcm_xtlvbuf *tbuf); 238 uint16 bcm_xtlv_buf_rlen(struct bcm_xtlvbuf *tbuf); 241 uint8 *bcm_xtlv_buf(struct bcm_xtlvbuf *tbuf); 244 uint8 *bcm_xtlv_head(struct bcm_xtlvbuf *tbuf); 247 int bcm_xtlv_put_data(bcm_xtlvbuf_t *tbuf, uint16 type, const uint8 *data, int n); 250 int bcm_xtlv_put16(bcm_xtlvbuf_t *tbuf, uint16 type, const uint16 *data, int n); 253 int bcm_xtlv_put32(bcm_xtlvbuf_t *tbuf, uint16 type, const uint32 *data, int n); 256 int bcm_xtlv_put64(bcm_xtlvbuf_t *tbuf, uint16 type, const uint64 *data, int n);
|
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/rga2/ |
D | rga2_drv.c | 952 struct rga2_mmu_buf_t *tbuf = &rga2_mmu_buf; in rga2_del_running_list() local 958 if (reg->MMU_len && tbuf) { in rga2_del_running_list() 959 if (tbuf->back + reg->MMU_len > 2 * tbuf->size) in rga2_del_running_list() 960 tbuf->back = reg->MMU_len + tbuf->size; in rga2_del_running_list() 962 tbuf->back += reg->MMU_len; in rga2_del_running_list() 980 struct rga2_mmu_buf_t *tbuf = &rga2_mmu_buf; in rga2_del_running_list_timeout() local 989 if (reg->MMU_len && tbuf) { in rga2_del_running_list_timeout() 990 if (tbuf->back + reg->MMU_len > 2 * tbuf->size) in rga2_del_running_list_timeout() 991 tbuf->back = reg->MMU_len + tbuf->size; in rga2_del_running_list_timeout() 993 tbuf->back += reg->MMU_len; in rga2_del_running_list_timeout() [all …]
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/ |
D | rga2_drv.c | 924 struct rga2_mmu_buf_t *tbuf = &rga2_mmu_buf; in rga2_del_running_list() local 929 if (reg->MMU_len && tbuf) { in rga2_del_running_list() 930 if (tbuf->back + reg->MMU_len > 0x2 * tbuf->size) { in rga2_del_running_list() 931 tbuf->back = reg->MMU_len + tbuf->size; in rga2_del_running_list() 933 tbuf->back += reg->MMU_len; in rga2_del_running_list() 951 struct rga2_mmu_buf_t *tbuf = &rga2_mmu_buf; in rga2_del_running_list_timeout() local 956 if (reg->MMU_len && tbuf) { in rga2_del_running_list_timeout() 957 if (tbuf->back + reg->MMU_len > 0x2 * tbuf->size) { in rga2_del_running_list_timeout() 958 tbuf->back = reg->MMU_len + tbuf->size; in rga2_del_running_list_timeout() 960 tbuf->back += reg->MMU_len; in rga2_del_running_list_timeout() [all …]
|
/device/soc/rockchip/common/sdk_linux/ipc/ |
D | shm.c | 1078 static int shmctl_stat(struct ipc_namespace *ns, int shmid, int cmd, struct shmid64_ds *tbuf) in shmctl_stat() argument 1083 memset(tbuf, 0, sizeof(*tbuf)); in shmctl_stat() 1129 kernel_to_ipc64_perm(&shp->shm_perm, &tbuf->shm_perm); in shmctl_stat() 1130 tbuf->shm_segsz = shp->shm_segsz; in shmctl_stat() 1131 tbuf->shm_atime = shp->shm_atim; in shmctl_stat() 1132 tbuf->shm_dtime = shp->shm_dtim; in shmctl_stat() 1133 tbuf->shm_ctime = shp->shm_ctim; in shmctl_stat() 1135 tbuf->shm_atime_high = shp->shm_atim >> 0x20; in shmctl_stat() 1136 tbuf->shm_dtime_high = shp->shm_dtim >> 0x20; in shmctl_stat() 1137 tbuf->shm_ctime_high = shp->shm_ctim >> 0x20; in shmctl_stat() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/ |
D | bcmutils.h | 825 extern uint16 bcm_xtlv_buf_len(struct bcm_xtlvbuf *tbuf); 826 extern uint16 bcm_xtlv_buf_rlen(struct bcm_xtlvbuf *tbuf); 827 extern uint8 *bcm_xtlv_buf(struct bcm_xtlvbuf *tbuf); 828 extern uint8 *bcm_xtlv_head(struct bcm_xtlvbuf *tbuf); 829 extern int bcm_xtlv_put_data(bcm_xtlvbuf_t *tbuf, uint16 type, const void *data, uint16 dlen); 830 extern int bcm_xtlv_put_8(bcm_xtlvbuf_t *tbuf, uint16 type, const int8 data); 831 extern int bcm_xtlv_put_16(bcm_xtlvbuf_t *tbuf, uint16 type, const int16 data); 832 extern int bcm_xtlv_put_32(bcm_xtlvbuf_t *tbuf, uint16 type, const int32 data);
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/ |
D | rga2_reg_info.c | 2308 struct rga2_mmu_info_t *tbuf = &rga2_mmu_info; in rga2_init_reg() local 2350 if (job->vir_page_table.MMU_len && tbuf) { in rga2_init_reg() 2351 if (tbuf->back + job->vir_page_table.MMU_len > 2 * tbuf->size) in rga2_init_reg() 2352 tbuf->back = job->vir_page_table.MMU_len + tbuf->size; in rga2_init_reg() 2354 tbuf->back += job->vir_page_table.MMU_len; in rga2_init_reg()
|
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/ |
D | kernel.patch | 25795 + DEBUG_PRINT("\tbuf[%d]: addr: %pad pitch: %d offset: %d\n",
|