Home
last modified time | relevance | path

Searched refs:cntinfo (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/seeq/
H A Dsgiseeq.c196 sp->tx_desc[i].tdma.cntinfo = TCNTINFO_INIT; in seeq_init_ring()
215 sp->rx_desc[i].rdma.cntinfo = RCNTINFO_INIT; in seeq_init_ring()
218 sp->rx_desc[i - 1].rdma.cntinfo |= HPCDMA_EOR; in seeq_init_ring()
263 i, (&r[i]), r[i].rdma.pbuf, r[i].rdma.cntinfo, in sgiseeq_dump_rings()
267 i, (&r[i]), r[i].rdma.pbuf, r[i].rdma.cntinfo, in sgiseeq_dump_rings()
272 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
276 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
355 while (!(rd->rdma.cntinfo & HPCDMA_OWN)) { in sgiseeq_rx()
356 len = PKT_BUF_SZ - (rd->rdma.cntinfo & HPCDMA_BCNT) - 3; in sgiseeq_rx()
404 rd->rdma.cntinfo = RCNTINFO_INIT; in sgiseeq_rx()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dbcm_app_utils.c925 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format() local
926 uint8 *xtlvbuf_p = cntinfo->data; in wl_cntbuf_to_xtlv_format()
927 uint16 ver = cntinfo->version; in wl_cntbuf_to_xtlv_format()
964 src_max_idx = (cntinfo->datalen - OFFSETOF(wl_cnt_info_t, data)) / sizeof(uint32); in wl_cntbuf_to_xtlv_format()
973 res = wl_copy_wlccnt(ver, (uint32 *)wlccnt, (uint32 *)cntinfo->data, (uint8)src_max_idx); in wl_cntbuf_to_xtlv_format()
981 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
992 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
1016 cntinfo->datalen = (buflen - xtlvbuflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3554 wl_cnt_info_t *cntinfo; local
3611 cntinfo = (wl_cnt_info_t *)cntbuf;
3612 cntinfo->version = dtoh16(cntinfo->version);
3613 cntinfo->datalen = dtoh16(cntinfo->datalen);
3614 ver = cntinfo->version;
3634 res = wl_cntbuf_to_xtlv_format(NULL, cntinfo, MAX_WLIW_IOCTL_LEN, corerev);
3640 if ((res = bcm_unpack_xtlv_buf(wstats, cntinfo->data, cntinfo->datalen,
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dbcm_app_utils.c925 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format() local
926 uint8 *xtlvbuf_p = cntinfo->data; in wl_cntbuf_to_xtlv_format()
927 uint16 ver = cntinfo->version; in wl_cntbuf_to_xtlv_format()
964 src_max_idx = (cntinfo->datalen - OFFSETOF(wl_cnt_info_t, data)) / sizeof(uint32); in wl_cntbuf_to_xtlv_format()
973 res = wl_copy_wlccnt(ver, (uint32 *)wlccnt, (uint32 *)cntinfo->data, (uint8)src_max_idx); in wl_cntbuf_to_xtlv_format()
981 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
992 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
1016 cntinfo->datalen = (buflen - xtlvbuflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3548 wl_cnt_info_t *cntinfo; local
3605 cntinfo = (wl_cnt_info_t *)cntbuf;
3606 cntinfo->version = dtoh16(cntinfo->version);
3607 cntinfo->datalen = dtoh16(cntinfo->datalen);
3608 ver = cntinfo->version;
3628 res = wl_cntbuf_to_xtlv_format(NULL, cntinfo, MAX_WLIW_IOCTL_LEN, corerev);
3634 if ((res = bcm_unpack_xtlv_buf(wstats, cntinfo->data, cntinfo->datalen,
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dbcm_app_utils.c925 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format() local
926 uint8 *xtlvbuf_p = cntinfo->data; in wl_cntbuf_to_xtlv_format()
927 uint16 ver = cntinfo->version; in wl_cntbuf_to_xtlv_format()
964 src_max_idx = (cntinfo->datalen - OFFSETOF(wl_cnt_info_t, data)) / sizeof(uint32); in wl_cntbuf_to_xtlv_format()
973 res = wl_copy_wlccnt(ver, (uint32 *)wlccnt, (uint32 *)cntinfo->data, (uint8)src_max_idx); in wl_cntbuf_to_xtlv_format()
981 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
992 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
1016 cntinfo->datalen = (buflen - xtlvbuflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3554 wl_cnt_info_t *cntinfo; local
3611 cntinfo = (wl_cnt_info_t *)cntbuf;
3612 cntinfo->version = dtoh16(cntinfo->version);
3613 cntinfo->datalen = dtoh16(cntinfo->datalen);
3614 ver = cntinfo->version;
3634 res = wl_cntbuf_to_xtlv_format(NULL, cntinfo, MAX_WLIW_IOCTL_LEN, corerev);
3640 if ((res = bcm_unpack_xtlv_buf(wstats, cntinfo->data, cntinfo->datalen,
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dbcm_app_utils.c907 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format() local
908 void *xtlvbuf_p = cntinfo->data; in wl_cntbuf_to_xtlv_format()
909 uint16 ver = cntinfo->version; in wl_cntbuf_to_xtlv_format()
946 src_max_idx = (cntinfo->datalen - OFFSETOF(wl_cnt_info_t, data)) / sizeof(uint32); in wl_cntbuf_to_xtlv_format()
955 res = wl_copy_wlccnt(ver, (uint32 *)wlccnt, (uint32 *)cntinfo->data, (uint8)src_max_idx); in wl_cntbuf_to_xtlv_format()
963 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
974 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
998 cntinfo->datalen = (buflen - xtlvbuflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3844 wl_cnt_info_t *cntinfo; in wl_iw_get_wireless_stats() local
3906 cntinfo = (wl_cnt_info_t *)cntbuf; in wl_iw_get_wireless_stats()
3907 cntinfo->version = dtoh16(cntinfo->version); in wl_iw_get_wireless_stats()
3908 cntinfo->datalen = dtoh16(cntinfo->datalen); in wl_iw_get_wireless_stats()
3909 ver = cntinfo->version; in wl_iw_get_wireless_stats()
3932 res = wl_cntbuf_to_xtlv_format(NULL, cntinfo, MAX_WLIW_IOCTL_LEN, corerev); in wl_iw_get_wireless_stats()
3938 if ((res = bcm_unpack_xtlv_buf(wstats, cntinfo->data, cntinfo->datalen, in wl_iw_get_wireless_stats()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dsgiwd93.c85 hcp->desc.cntinfo = count; in fill_hpc_entries()
97 hcp->desc.cntinfo = HPCDMA_EOX; in fill_hpc_entries()
186 hcp->desc.cntinfo = HPCDMA_EOX; in init_hpc_chain()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcm_app_utils.c1166 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format() local
1167 uint8 *xtlvbuf_p = cntinfo->data; in wl_cntbuf_to_xtlv_format()
1168 uint16 ver = cntinfo->version; in wl_cntbuf_to_xtlv_format()
1206 src_max_idx = (cntinfo->datalen - OFFSETOF(wl_cnt_info_t, data)) / sizeof(uint32); in wl_cntbuf_to_xtlv_format()
1215 res = wl_copy_wlccnt(ver, (uint32 *)wlccnt, (uint32 *)cntinfo->data, (uint8)src_max_idx); in wl_cntbuf_to_xtlv_format()
1223 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
1234 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
1258 cntinfo->datalen = (buflen - xtlvbuflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3855 wl_cnt_info_t *cntinfo; in wl_iw_get_wireless_stats() local
3917 cntinfo = (wl_cnt_info_t *)cntbuf; in wl_iw_get_wireless_stats()
3918 cntinfo->version = dtoh16(cntinfo->version); in wl_iw_get_wireless_stats()
3919 cntinfo->datalen = dtoh16(cntinfo->datalen); in wl_iw_get_wireless_stats()
3920 ver = cntinfo->version; in wl_iw_get_wireless_stats()
3943 res = wl_cntbuf_to_xtlv_format(NULL, cntinfo, MAX_WLIW_IOCTL_LEN, corerev); in wl_iw_get_wireless_stats()
3949 if ((res = bcm_unpack_xtlv_buf(wstats, cntinfo->data, cntinfo->datalen, in wl_iw_get_wireless_stats()
H A Dwl_iapsta.c4488 wl_cnt_info_t *cntinfo; in wl_ext_counters_update() local
4507 cntinfo = (wl_cnt_info_t *)iovar_buf; in wl_ext_counters_update()
4508 cntinfo->version = dtoh16(cntinfo->version); in wl_ext_counters_update()
4509 cntinfo->datalen = dtoh16(cntinfo->datalen); in wl_ext_counters_update()
4510 ver = cntinfo->version; in wl_ext_counters_update()
4529 ret = wl_cntbuf_to_xtlv_format(NULL, cntinfo, WLC_IOCTL_MEDLEN, corerev); in wl_ext_counters_update()
4536 if ((ret = bcm_unpack_xtlv_buf(cur_if, cntinfo->data, cntinfo->datalen, in wl_ext_counters_update()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcm_app_utils.c1166 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format() local
1167 uint8 *xtlvbuf_p = cntinfo->data; in wl_cntbuf_to_xtlv_format()
1168 uint16 ver = cntinfo->version; in wl_cntbuf_to_xtlv_format()
1206 src_max_idx = (cntinfo->datalen - OFFSETOF(wl_cnt_info_t, data)) / sizeof(uint32); in wl_cntbuf_to_xtlv_format()
1215 res = wl_copy_wlccnt(ver, (uint32 *)wlccnt, (uint32 *)cntinfo->data, (uint8)src_max_idx); in wl_cntbuf_to_xtlv_format()
1223 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
1234 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format()
1258 cntinfo->datalen = (buflen - xtlvbuflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3908 wl_cnt_info_t *cntinfo; in wl_iw_get_wireless_stats() local
3972 cntinfo = (wl_cnt_info_t *)cntbuf; in wl_iw_get_wireless_stats()
3973 cntinfo->version = dtoh16(cntinfo->version); in wl_iw_get_wireless_stats()
3974 cntinfo->datalen = dtoh16(cntinfo->datalen); in wl_iw_get_wireless_stats()
3975 ver = cntinfo->version; in wl_iw_get_wireless_stats()
3995 res = wl_cntbuf_to_xtlv_format(NULL, cntinfo, MAX_WLIW_IOCTL_LEN, corerev); in wl_iw_get_wireless_stats()
4001 if ((res = bcm_unpack_xtlv_buf(wstats, cntinfo->data, cntinfo->datalen, in wl_iw_get_wireless_stats()
H A Dwl_iapsta.c5123 wl_cnt_info_t *cntinfo; in wl_ext_counters_update() local
5134 cntinfo = (wl_cnt_info_t *)iovar_buf; in wl_ext_counters_update()
5135 cntinfo->version = dtoh16(cntinfo->version); in wl_ext_counters_update()
5136 cntinfo->datalen = dtoh16(cntinfo->datalen); in wl_ext_counters_update()
5137 ver = cntinfo->version; in wl_ext_counters_update()
5156 ret = wl_cntbuf_to_xtlv_format(NULL, cntinfo, WLC_IOCTL_MEDLEN, corerev); in wl_ext_counters_update()
5163 if ((ret = bcm_unpack_xtlv_buf(cur_if, cntinfo->data, cntinfo->datalen, in wl_ext_counters_update()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/sgi/
H A Dhpc3.h21 u32 cntinfo; /* counter and info bits */ member
/OK3568_Linux_fs/kernel/sound/mips/
H A Dhal2.c469 desc->desc.cntinfo = HPCDMA_XIE | H2_BLOCK_SIZE; in hal2_alloc_dmabuf()