/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/sw_demux/ |
D | swdmx_cb_list.c | 26 SWDMX_CbEntry *ent; in swdmx_cb_list_add() local 30 ent = swdmx_malloc(sizeof(SWDMX_CbEntry)); in swdmx_cb_list_add() 31 SWDMX_ASSERT(ent); in swdmx_cb_list_add() 33 ent->cb = cb; in swdmx_cb_list_add() 34 ent->data = data; in swdmx_cb_list_add() 36 swdmx_list_append(l, &ent->ln); in swdmx_cb_list_add() 42 SWDMX_CbEntry *ent, *nent; in swdmx_cb_list_remove() local 44 SWDMX_LIST_FOR_EACH_SAFE(ent, nent, l, ln) { in swdmx_cb_list_remove() 45 if ((ent->cb == cb) && (ent->data == data)) { in swdmx_cb_list_remove() 46 swdmx_list_remove(&ent->ln); in swdmx_cb_list_remove() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_rf.c | 1771 struct regd_exc_ent *ent; in _dump_regd_exc_list() local 1787 ent = LIST_CONTAINOR(cur, struct regd_exc_ent, list); in _dump_regd_exc_list() 1789 has_country = (ent->country[0] == '\0' && ent->country[1] == '\0') ? 0 : 1; in _dump_regd_exc_list() 1792 , has_country ? ent->country[0] : '0' in _dump_regd_exc_list() 1793 , has_country ? ent->country[1] : '0' in _dump_regd_exc_list() 1794 , ent->domain in _dump_regd_exc_list() 1795 , ent->lmt_name in _dump_regd_exc_list() 1814 struct regd_exc_ent *ent; in rtw_regd_exc_add_with_nlen() local 1822 ent = (struct regd_exc_ent *)rtw_zmalloc(sizeof(struct regd_exc_ent) + nlen + 1); in rtw_regd_exc_add_with_nlen() 1823 if (!ent) in rtw_regd_exc_add_with_nlen() [all …]
|
D | rtw_chplan.c | 2950 void rtw_get_chplan_worldwide(struct country_chplan *ent) in rtw_get_chplan_worldwide() argument 2952 _rtw_memcpy(ent, &world_wide_chplan, sizeof(*ent)); in rtw_get_chplan_worldwide() 2962 bool rtw_get_chplan_from_country(const char *country_code, struct country_chplan *ent) in rtw_get_chplan_from_country() argument 2984 if (ent) in rtw_get_chplan_from_country() 2985 _rtw_memcpy(ent, &map[i], sizeof(*ent)); in rtw_get_chplan_from_country() 3033 u8 rtw_country_chplan_is_chbw_valid(struct country_chplan *ent, BAND_TYPE band, u8 ch, u8 bw, u8 of… in rtw_country_chplan_is_chbw_valid() argument 3039 if (bw >= CHANNEL_WIDTH_80 && !COUNTRY_CHPLAN_EN_11AC(ent)) in rtw_country_chplan_is_chbw_valid() 3043 chplan_6g = ent->chplan_6g; in rtw_country_chplan_is_chbw_valid() 3046 valid = rtw_chplan_is_chbw_valid(ent->chplan, chplan_6g, band, ch, bw, offset in rtw_country_chplan_is_chbw_valid() 3053 static void rtw_country_chplan_get_edcca_modes(const struct country_chplan *ent, u8 modes[]) in rtw_country_chplan_get_edcca_modes() argument [all …]
|
D | rtw_chplan.h | 218 void rtw_get_chplan_worldwide(struct country_chplan *ent); 219 bool rtw_get_chplan_from_country(const char *country_code, struct country_chplan *ent); 224 u8 rtw_country_chplan_is_chbw_valid(struct country_chplan *ent, BAND_TYPE band, u8 ch, u8 bw, u8 of… 250 , BAND_TYPE band, u8 opch, const u8 *country_ie, struct country_chplan *ent 254 , struct country_chplan *ent, const char *caller_msg); 257 void dump_country_chplan(void *sel, const struct country_chplan *ent, bool regd_info);
|
D | rtw_br_ext.c | 378 struct nat25_network_db_entry *ent, int hash) in __network_hash_link() argument 384 ent->next_hash = priv->nethash[hash]; in __network_hash_link() 385 if (ent->next_hash != NULL) in __network_hash_link() 386 ent->next_hash->pprev_hash = &ent->next_hash; in __network_hash_link() 387 priv->nethash[hash] = ent; in __network_hash_link() 388 ent->pprev_hash = &priv->nethash[hash]; in __network_hash_link() 394 static __inline__ void __network_hash_unlink(struct nat25_network_db_entry *ent) in __network_hash_unlink() argument 400 *(ent->pprev_hash) = ent->next_hash; in __network_hash_unlink() 401 if (ent->next_hash != NULL) in __network_hash_unlink() 402 ent->next_hash->pprev_hash = ent->pprev_hash; in __network_hash_unlink() [all …]
|
D | rtw_cmd.c | 993 …ie(_adapter *adapter, const WLAN_BSSID_EX *network, struct country_chplan *ent, WLAN_BSSID_EX *out… in rtw_joinbss_check_country_ie() argument 1024 , network->Configuration.DSConfig, country_ie, ent, NULL, __func__); in rtw_joinbss_check_country_ie() 2036 struct country_chplan ent; in rtw_set_country_cmd() local 2039 rtw_get_chplan_worldwide(&ent); in rtw_set_country_cmd() 2050 if (!rtw_get_chplan_from_country(country_code, &ent)) { in rtw_set_country_cmd() 2058 …return _rtw_set_chplan_cmd(adapter, flags, RTW_CHPLAN_UNSPECIFIED, RTW_CHPLAN_6G_UNSPECIFIED, &ent… in rtw_set_country_cmd() 2064 struct country_chplan ent; in rtw_sync_os_regd_cmd() local 2070 _rtw_memcpy(ent.alpha2, country_code, 2); in rtw_sync_os_regd_cmd() 2080 ent.chplan = rtk_ent_exist ? rtk_ent.chplan : RTW_CHPLAN_UNSPECIFIED; in rtw_sync_os_regd_cmd() 2082 ent.chplan_6g = rtk_ent_exist ? rtk_ent.chplan_6g : RTW_CHPLAN_6G_UNSPECIFIED; in rtw_sync_os_regd_cmd() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/mesh/ |
D | rtw_mesh.c | 659 struct blacklist_ent *ent = NULL; in rtw_mesh_cto_mgate_blacklist_chk() local 666 ent = LIST_CONTAINOR(list, struct blacklist_ent, list); in rtw_mesh_cto_mgate_blacklist_chk() 669 if (rtw_time_after(rtw_get_current_time(), ent->exp_time)) { in rtw_mesh_cto_mgate_blacklist_chk() 670 rtw_list_delete(&ent->list); in rtw_mesh_cto_mgate_blacklist_chk() 671 rtw_mfree(ent, sizeof(struct blacklist_ent)); in rtw_mesh_cto_mgate_blacklist_chk() 675 scanned = rtw_find_network(&adapter->mlmepriv.scanned_queue, ent->addr); in rtw_mesh_cto_mgate_blacklist_chk() 680 rtw_list_delete(&ent->list); in rtw_mesh_cto_mgate_blacklist_chk() 681 rtw_mfree(ent, sizeof(struct blacklist_ent)); in rtw_mesh_cto_mgate_blacklist_chk() 866 plink = &plink_ctl->ent[i]; in rtw_mesh_peer_status_chk() 2126 struct mesh_plink_ent *ent = NULL; in _rtw_mesh_plink_get() local [all …]
|
D | rtw_mesh.h | 235 #define MESH_PLINK_AEK_VALID(ent) ent->aek_valid argument 237 #define MESH_PLINK_AEK_VALID(ent) 0 argument 243 struct mesh_plink_ent ent[RTW_MESH_MAX_PEER_CANDIDATES]; member 481 void _rtw_mesh_plink_del_ent(_adapter *adapter, struct mesh_plink_ent *ent);
|
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/rga2/ |
D | rga2_debugger.c | 194 struct dentry *ent; in rga_debugfs_create_files() local 208 ent = debugfs_create_file(files[i].name, S_IFREG | S_IRUGO, in rga_debugfs_create_files() 210 if (!ent) { in rga_debugfs_create_files() 215 tmp->dent = ent; in rga_debugfs_create_files() 320 struct proc_dir_entry *ent; in rga_procfs_create_files() local 334 ent = proc_create_data(files[i].name, S_IFREG | S_IRUGO, in rga_procfs_create_files() 336 if (!ent) { in rga_procfs_create_files() 341 tmp->pent = ent; in rga_procfs_create_files()
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/ |
D | rga2_debugger.c | 195 struct dentry *ent; in rga_debugfs_create_files() local 208 ent = debugfs_create_file(files[i].name, S_IFREG | S_IRUGO, root, tmp, &rga_debugfs_fops); in rga_debugfs_create_files() 209 if (!ent) { in rga_debugfs_create_files() 214 tmp->dent = ent; in rga_debugfs_create_files() 320 struct proc_dir_entry *ent; in rga_procfs_create_files() local 333 ent = proc_create_data(files[i].name, S_IFREG | S_IRUGO, root, &rga_procfs_fops, tmp); in rga_procfs_create_files() 334 if (!ent) { in rga_procfs_create_files() 339 tmp->pent = ent; in rga_procfs_create_files()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/bluetooth/ |
D | bcm_btlpm.c | 892 struct proc_dir_entry *ent; in bluesleep_init() local 917 ent = create_proc_entry("btwake", 0, sleep_dir); in bluesleep_init() 918 if (ent == NULL) { in bluesleep_init() 923 ent->read_proc = bluepower_read_proc_btwake; in bluesleep_init() 924 ent->write_proc = bluepower_write_proc_btwake; in bluesleep_init() 935 ent = create_proc_entry("proto", 0666, sleep_dir); in bluesleep_init() 936 if (ent == NULL) { in bluesleep_init() 941 ent->read_proc = bluesleep_read_proc_proto; in bluesleep_init() 942 ent->write_proc = bluesleep_write_proc_proto; in bluesleep_init() 954 ent = proc_create("lpm", 0660, sleep_dir, &lpm_fops); in bluesleep_init() [all …]
|
D | xradio_btlpm.c | 829 struct proc_dir_entry *ent; in btsleep_init() local 855 ent = proc_create("state", 0220, power_dir, &pwr_fops); in btsleep_init() 856 if (ent == NULL) { in btsleep_init() 864 ent = proc_create("lpm", 0220, sleep_dir, &lpm_fops); in btsleep_init() 865 if (ent == NULL) { in btsleep_init() 870 ent = proc_create("btwrite", 0220, sleep_dir, &btwrite_fops); in btsleep_init() 871 if (ent == NULL) { in btsleep_init() 876 ent = proc_create("btwake", 0220, sleep_dir, &btwake_fops); in btsleep_init() 877 if (ent == NULL) { in btsleep_init()
|
D | rtl_btlpm.c | 587 struct proc_dir_entry *ent; in bluesleep_init() local 607 ent = proc_create("lpm", 0660, sleep_dir, &lpm_fops); in bluesleep_init() 608 if (ent == NULL) { in bluesleep_init()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/ |
D | osdep_service.c | 3467 struct blacklist_ent *ent; in rtw_blacklist_add() local 3476 ent = LIST_CONTAINOR(list, struct blacklist_ent, list); in rtw_blacklist_add() 3479 if (_rtw_memcmp(ent->addr, addr, ETH_ALEN) == _TRUE) { in rtw_blacklist_add() 3481 if (rtw_time_after(rtw_get_current_time(), ent->exp_time)) in rtw_blacklist_add() 3483 ent->exp_time = rtw_get_current_time() in rtw_blacklist_add() 3488 if (rtw_time_after(rtw_get_current_time(), ent->exp_time)) { in rtw_blacklist_add() 3489 rtw_list_delete(&ent->list); in rtw_blacklist_add() 3490 rtw_mfree(ent, sizeof(struct blacklist_ent)); in rtw_blacklist_add() 3495 ent = rtw_malloc(sizeof(struct blacklist_ent)); in rtw_blacklist_add() 3496 if (ent) { in rtw_blacklist_add() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/iommu/ |
D | sunxi-iommu.h | 254 #define IOPTE_BASE(ent) ((ent) & IOPTE_BASE_MASK) argument 256 #define IOPTE_TO_PFN(ent) ((*ent) & IOMMU_PT_MASK) argument
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/ |
D | rga_debugger.c | 317 struct dentry *ent; in rga_debugfs_create_files() local 331 ent = debugfs_create_file(files[i].name, S_IFREG | S_IRUGO, in rga_debugfs_create_files() 333 if (!ent) { in rga_debugfs_create_files() 339 tmp->dent = ent; in rga_debugfs_create_files() 447 struct proc_dir_entry *ent; in rga_procfs_create_files() local 461 ent = proc_create_data(files[i].name, S_IFREG | S_IRUGO, in rga_procfs_create_files() 463 if (!ent) { in rga_procfs_create_files() 469 tmp->pent = ent; in rga_procfs_create_files()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_debugfs.c | 197 struct dentry *ent; in rockchip_drm_add_dump_buffer() local 205 ent = debugfs_create_file("dump", 0x1a4, vop_dump_root, crtc, &rockchip_drm_dump_buffer_fops); in rockchip_drm_add_dump_buffer() 206 if (!ent) { in rockchip_drm_add_dump_buffer()
|
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/ |
D | rockchip_drm_debugfs.c | 201 struct dentry *ent; in rockchip_drm_add_dump_buffer() local 209 ent = debugfs_create_file("dump", 0644, vop_dump_root, in rockchip_drm_add_dump_buffer() 211 if (!ent) { in rockchip_drm_add_dump_buffer()
|
/device/soc/rockchip/rk3588/kernel/net/rfkill/ |
D | rfkill-bt.c | 603 struct proc_dir_entry *ent; in rfkill_rk_probe() local 649 ent = proc_create("lpm", 0444, sleep_dir, &bluesleep_lpm); in rfkill_rk_probe() 650 if (!ent) { in rfkill_rk_probe() 657 ent = proc_create("btwrite", 0444, sleep_dir, &bluesleep_btwrite); in rfkill_rk_probe() 658 if (!ent) { in rfkill_rk_probe()
|
/device/board/isoftstone/yangfan/kernel/src/_net/ |
D | rfkill-bt.c | 606 struct proc_dir_entry *ent; in rfkill_rk_probe() local 652 ent = proc_create("lpm", 0, sleep_dir, (struct proc_ops*)&bluesleep_lpm); in rfkill_rk_probe() 653 if (!ent) { in rfkill_rk_probe() 660 ent = proc_create("btwrite", 0, sleep_dir, (struct proc_ops*)&bluesleep_btwrite); in rfkill_rk_probe() 661 if (!ent) { in rfkill_rk_probe()
|
/device/soc/rockchip/common/vendor/drivers/net/ |
D | rfkill-bt.c | 584 struct proc_dir_entry *ent; in rfkill_rk_probe() local 630 ent = proc_create("lpm", 0, sleep_dir, &bluesleep_lpm); in rfkill_rk_probe() 631 if (!ent) { in rfkill_rk_probe() 638 ent = proc_create("btwrite", 0, sleep_dir, &bluesleep_btwrite); in rfkill_rk_probe() 639 if (!ent) { in rfkill_rk_probe()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/ |
D | hal_com_phycfg.c | 2891 struct txpwr_lmt_ent *ent = NULL; in phy_get_txpwr_lmt() local 2935 ent = _rtw_txpwr_lmt_get_by_name(rfctl, lmt_name); in phy_get_txpwr_lmt() 2936 if (!ent) in phy_get_txpwr_lmt() 2946 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt() 2956 ent = LIST_CONTAINOR(cur, struct txpwr_lmt_ent, list); in phy_get_txpwr_lmt() 2958 if (ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx] != ww_lmt_val) in phy_get_txpwr_lmt() 2959 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt() 2965 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt() 2975 ent = LIST_CONTAINOR(cur, struct txpwr_lmt_ent, list); in phy_get_txpwr_lmt() 2977 if (ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx] != ww_lmt_val) in phy_get_txpwr_lmt() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | aiutils.c | 56 uint32 ent; in get_erom_ent() local 61 ent = R_REG(si_osh(sih), *eromptr); in get_erom_ent() 67 if ((ent & ER_VALID) == 0) { in get_erom_ent() 72 if (ent == (ER_END | ER_VALID)) in get_erom_ent() 75 if ((ent & mask) == match) in get_erom_ent() 88 SI_VMSG(("%s: Returning ent 0x%08x\n", __FUNCTION__, ent)); in get_erom_ent() 92 return ent; in get_erom_ent()
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | aiutils.c | 62 uint32 ent; in get_erom_ent() local 67 ent = R_REG(si_osh(sih), *eromptr); in get_erom_ent() 74 if ((ent & ER_VALID) == 0) { in get_erom_ent() 79 if (ent == (ER_END | ER_VALID)) { in get_erom_ent() 83 if ((ent & mask) == match) { in get_erom_ent() 97 SI_VMSG(("%s: Returning ent 0x%08x\n", __FUNCTION__, ent)); in get_erom_ent() 101 return ent; in get_erom_ent()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | aiutils.c | 62 uint32 ent; in get_erom_ent() local 67 ent = R_REG(si_osh(sih), *eromptr); in get_erom_ent() 73 if ((ent & ER_VALID) == 0) { in get_erom_ent() 78 if (ent == (ER_END | ER_VALID)) in get_erom_ent() 81 if ((ent & mask) == match) in get_erom_ent() 94 SI_VMSG(("%s: Returning ent 0x%08x\n", __FUNCTION__, ent)); in get_erom_ent() 98 return ent; in get_erom_ent()
|