Home
last modified time | relevance | path

Searched refs:gi (Results 1 – 25 of 196) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/drivers/usb/gadget/
H A Dconfigfs.c262 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show() local
266 mutex_lock(&gi->lock); in gadget_dev_desc_UDC_show()
267 udc_name = gi->composite.gadget_driver.udc_name; in gadget_dev_desc_UDC_show()
269 mutex_unlock(&gi->lock); in gadget_dev_desc_UDC_show()
274 static int unregister_gadget(struct gadget_info *gi) in unregister_gadget() argument
278 if (!gi->composite.gadget_driver.udc_name) in unregister_gadget()
281 ret = usb_gadget_unregister_driver(&gi->composite.gadget_driver); in unregister_gadget()
284 kfree(gi->composite.gadget_driver.udc_name); in unregister_gadget()
285 gi->composite.gadget_driver.udc_name = NULL; in unregister_gadget()
292 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmwifi_rspec.h78 #define HE_GI_TO_RSPEC(gi) (((ratespec_t)(gi) << WL_RSPEC_HE_GI_SHIFT) & WL_RSPEC_HE_GI_MASK) argument
79 #define HE_GI_TO_RSPEC_SET(rspec, gi) ((rspec & (~WL_RSPEC_HE_GI_MASK)) | \ argument
80 HE_GI_TO_RSPEC(gi))
83 #define HE_IS_1X_LTF(gi) ((gi) == WL_RSPEC_HE_1x_LTF_GI_0_8us) argument
84 #define HE_IS_2X_LTF(gi) (((gi) == WL_RSPEC_HE_2x_LTF_GI_0_8us) || \ argument
85 ((gi) == WL_RSPEC_HE_2x_LTF_GI_1_6us))
86 #define HE_IS_4X_LTF(gi) ((gi) == WL_RSPEC_HE_4x_LTF_GI_3_2us) argument
88 #define HE_IS_GI_0_8us(gi) (((gi) == WL_RSPEC_HE_1x_LTF_GI_0_8us) || \ argument
89 ((gi) == WL_RSPEC_HE_2x_LTF_GI_0_8us))
90 #define HE_IS_GI_1_6us(gi) ((gi) == WL_RSPEC_HE_2x_LTF_GI_1_6us) argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmwifi_rspec.h78 #define HE_GI_TO_RSPEC(gi) (((ratespec_t)(gi) << WL_RSPEC_HE_GI_SHIFT) & WL_RSPEC_HE_GI_MASK) argument
79 #define HE_GI_TO_RSPEC_SET(rspec, gi) ((rspec & (~WL_RSPEC_HE_GI_MASK)) | \ argument
80 HE_GI_TO_RSPEC(gi))
83 #define HE_IS_1X_LTF(gi) ((gi) == WL_RSPEC_HE_1x_LTF_GI_0_8us) argument
84 #define HE_IS_2X_LTF(gi) (((gi) == WL_RSPEC_HE_2x_LTF_GI_0_8us) || \ argument
85 ((gi) == WL_RSPEC_HE_2x_LTF_GI_1_6us))
86 #define HE_IS_4X_LTF(gi) ((gi) == WL_RSPEC_HE_4x_LTF_GI_3_2us) argument
88 #define HE_IS_GI_0_8us(gi) (((gi) == WL_RSPEC_HE_1x_LTF_GI_0_8us) || \ argument
89 ((gi) == WL_RSPEC_HE_2x_LTF_GI_0_8us))
90 #define HE_IS_GI_1_6us(gi) ((gi) == WL_RSPEC_HE_2x_LTF_GI_1_6us) argument
[all …]
/OK3568_Linux_fs/kernel/fs/nfsd/
H A Dauth.c24 struct group_info *gi; in nfsd_setuser() local
45 gi = groups_alloc(0); in nfsd_setuser()
46 if (!gi) in nfsd_setuser()
54 gi = groups_alloc(rqgi->ngroups); in nfsd_setuser()
55 if (!gi) in nfsd_setuser()
60 gi->gid[i] = exp->ex_anon_gid; in nfsd_setuser()
62 gi->gid[i] = rqgi->gid[i]; in nfsd_setuser()
66 groups_sort(gi); in nfsd_setuser()
68 gi = get_group_info(rqgi); in nfsd_setuser()
76 set_groups(new, gi); in nfsd_setuser()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dgi-docgen.bbclass1 # gi-docgen is a new gnome documentation generator, which
3 # https://gitlab.gnome.org/GNOME/gi-docgen
8 # When building native recipes, disable gi-docgen, as it is not necessary,
13 # meson: default option name to enable/disable gi-docgen. This matches most
23 DEPENDS:append = "${@' gi-docgen-native gi-docgen' if d.getVar('GIDOCGEN_ENABLED') == 'True' else '…
/OK3568_Linux_fs/kernel/include/soc/mscc/
H A Docelot.h665 #define ocelot_read_ix(ocelot, reg, gi, ri) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_… argument
666 #define ocelot_read_gix(ocelot, reg, gi) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi)) argument
670 #define ocelot_write_ix(ocelot, val, reg, gi, ri) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * ( argument
671 #define ocelot_write_gix(ocelot, val, reg, gi) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi)) argument
675 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ *… argument
676 #define ocelot_rmw_gix(ocelot, val, m, reg, gi) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (g… argument
685 #define ocelot_target_read_ix(ocelot, target, reg, gi, ri) \ argument
686 __ocelot_target_read_ix(ocelot, target, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
687 #define ocelot_target_read_gix(ocelot, target, reg, gi) \ argument
688 __ocelot_target_read_ix(ocelot, target, reg, reg##_GSZ * (gi))
[all …]
/OK3568_Linux_fs/kernel/kernel/
H A Dgroups.c17 struct group_info *gi; in groups_alloc() local
21 gi = kmalloc(len, GFP_KERNEL_ACCOUNT|__GFP_NOWARN|__GFP_NORETRY); in groups_alloc()
22 if (!gi) in groups_alloc()
23 gi = __vmalloc(len, GFP_KERNEL_ACCOUNT); in groups_alloc()
24 if (!gi) in groups_alloc()
27 atomic_set(&gi->usage, 1); in groups_alloc()
28 gi->ngroups = gidsetsize; in groups_alloc()
29 return gi; in groups_alloc()
/OK3568_Linux_fs/kernel/arch/s390/kvm/
H A Dinterrupt.c283 static inline u8 gisa_get_ipm_or_restore_iam(struct kvm_s390_gisa_interrupt *gi) in gisa_get_ipm_or_restore_iam() argument
289 word = READ_ONCE(gi->origin->u64.word[0]); in gisa_get_ipm_or_restore_iam()
290 alert_mask = READ_ONCE(gi->alert.mask); in gisa_get_ipm_or_restore_iam()
295 } while (cmpxchg(&gi->origin->u64.word[0], word, _word) != word); in gisa_get_ipm_or_restore_iam()
336 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in pending_irqs() local
340 if (gi->origin) in pending_irqs()
341 pending_mask |= gisa_get_ipm(gi->origin) << IRQ_PEND_IO_ISC_7; in pending_irqs()
1170 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in __deliver_io() local
1213 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io()
1303 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in kvm_s390_handle_wait() local
[all …]
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dsvcauth_unix.c418 struct group_info *gi; member
433 put_group_info(ug->gi); in unix_gid_put()
454 get_group_info(item->gi); in unix_gid_update()
455 new->gi = item->gi; in unix_gid_update()
516 ug.gi = groups_alloc(gids); in unix_gid_parse()
517 if (!ug.gi) in unix_gid_parse()
530 ug.gi->gid[i] = kgid; in unix_gid_parse()
533 groups_sort(ug.gi); in unix_gid_parse()
551 if (ug.gi) in unix_gid_parse()
552 put_group_info(ug.gi); in unix_gid_parse()
[all …]
H A Dauth_unix.c109 struct group_info *gi = cred->cr_cred->group_info; in unx_marshal() local
131 if (gi) in unx_marshal()
132 for (i = 0; i < UNX_NGROUPS && i < gi->ngroups; i++) in unx_marshal()
133 *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); in unx_marshal()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c21 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local
27 gi = FIELD_GET(RATE_INFO_FLAGS_SHORT_GI, arsta->txrate.flags); in ath11k_debugfs_sta_add_tx_stats()
89 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath11k_debugfs_sta_add_tx_stats()
95 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath11k_debugfs_sta_add_tx_stats()
103 STATS_OP_FMT(SUCC).gi[0][gi] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats()
107 STATS_OP_FMT(SUCC).gi[1][gi] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats()
111 STATS_OP_FMT(FAIL).gi[0][gi] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats()
115 STATS_OP_FMT(FAIL).gi[1][gi] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats()
119 STATS_OP_FMT(RETRY).gi[0][gi] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats()
123 STATS_OP_FMT(RETRY).gi[1][gi] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmwifi_rspec.c43 uint gi = RSPEC_HE_LTF_GI(rspec); in wf_he_rspec_to_rate() local
53 return wf_he_mcs_to_rate(mcs, nss, bw, gi, dcm); in wf_he_rspec_to_rate()
160 uint8 gi; in wf_he_plcp_to_rspec() local
179 gi = (plcp0 & HE_SU_RE_SIGA_GI_LTF_MASK) >> HE_SU_RE_SIGA_GI_LTF_SHIFT; in wf_he_plcp_to_rspec()
180 rspec |= HE_GI_TO_RSPEC(gi); in wf_he_plcp_to_rspec()
/OK3568_Linux_fs/buildroot/support/testing/tests/package/
H A Dsample_gst1_python.py6 import gi
7 gi.require_version('Gst', '1.0')
8 from gi.repository import Gst, GLib # noqa: E402
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dgadget_configfs.h51 struct struct_member *gi; \
67 gi = container_of(group, struct struct_member, strings_group); \
69 list_for_each_entry(gs, &gi->string_list, list) { \
78 list_add_tail(&new->list, &gi->string_list); \
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Dlgs8gxx.c358 static int lgs8gxx_autolock_gi(struct lgs8gxx_state *priv, u8 gi, u8 cpn, in lgs8gxx_autolock_gi() argument
365 if (gi == GI_945) in lgs8gxx_autolock_gi()
367 else if (gi == GI_595) in lgs8gxx_autolock_gi()
369 else if (gi == GI_420) in lgs8gxx_autolock_gi()
375 t1 |= gi; in lgs8gxx_autolock_gi()
381 lgs8gxx_write_reg(priv, 0x04, gi); in lgs8gxx_autolock_gi()
399 u8 *detected_param, u8 *gi) in lgs8gxx_auto_detect() argument
459 *gi = tmp_gi; in lgs8gxx_auto_detect()
471 u8 gi = 0x2; in lgs8gxx_auto_lock() local
474 err = lgs8gxx_auto_detect(priv, &detected_param, &gi); in lgs8gxx_auto_lock()
[all …]
/OK3568_Linux_fs/kernel/arch/ia64/mm/
H A Dcontig.c106 struct pcpu_group_info *gi; in setup_per_cpu_areas() local
113 gi = &ai->groups[0]; in setup_per_cpu_areas()
117 gi->cpu_map[gi->nr_units++] = cpu; in setup_per_cpu_areas()
H A Ddiscontig.c182 struct pcpu_group_info *gi; in setup_per_cpu_areas() local
236 gi->nr_units++; in setup_per_cpu_areas()
241 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
242 gi->nr_units = 1; in setup_per_cpu_areas()
243 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
244 gi->cpu_map = &cpu_map[unit]; in setup_per_cpu_areas()
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c202 u8 gi = 0; in mwifiex_index_to_acs_data_rate() local
211 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
214 rate = ac_mcs_rate_nss2[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
216 rate = ac_mcs_rate_nss1[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
222 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
225 if (gi == 1) in mwifiex_index_to_acs_data_rate()
231 rate = mcs_rate[2 * (1 - bw) + gi][index]; in mwifiex_index_to_acs_data_rate()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dglock.c2323 static void gfs2_glock_iter_next(struct gfs2_glock_iter *gi, loff_t n) in gfs2_glock_iter_next() argument
2325 struct gfs2_glock *gl = gi->gl; in gfs2_glock_iter_next()
2334 gl = rhashtable_walk_next(&gi->hti); in gfs2_glock_iter_next()
2343 if (gl->gl_name.ln_sbd != gi->sdp) in gfs2_glock_iter_next()
2355 gi->gl = gl; in gfs2_glock_iter_next()
2361 struct gfs2_glock_iter *gi = seq->private; in gfs2_glock_seq_start() local
2368 if (*pos < gi->last_pos) { in gfs2_glock_seq_start()
2369 rhashtable_walk_exit(&gi->hti); in gfs2_glock_seq_start()
2370 rhashtable_walk_enter(&gl_hash_table, &gi->hti); in gfs2_glock_seq_start()
2373 n = *pos - gi->last_pos; in gfs2_glock_seq_start()
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dxt_owner.c97 struct group_info *gi = filp->f_cred->group_info; in owner_mt() local
103 if (!match && (info->match & XT_OWNER_SUPPL_GROUPS) && gi) { in owner_mt()
104 for (i = 0; i < gi->ngroups; ++i) { in owner_mt()
105 kgid_t group = gi->gid[i]; in owner_mt()
/OK3568_Linux_fs/yocto/poky/meta/recipes-gnome/gi-docgen/
H A Dgi-docgen_git.bb6 HOMEPAGE = "https://gnome.pages.gitlab.gnome.org/gi-docgen/"
9 LIC_FILES_CHKSUM = "file://gi-docgen.py;beginline=1;endline=5;md5=2dc0f1f01202478cfe813c0e7f80b326"
11 SRC_URI = "git://gitlab.gnome.org/GNOME/gi-docgen.git;protocol=https;branch=main"
/OK3568_Linux_fs/kernel/mm/
H A Dpercpu.c2325 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_dump_alloc_info() local
2328 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info()
2329 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info()
2338 if (gi->cpu_map[unit] != NR_CPUS) in pcpu_dump_alloc_info()
2340 cpu_width, gi->cpu_map[unit]); in pcpu_dump_alloc_info()
2480 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_setup_first_chunk() local
2482 group_offsets[group] = gi->base_offset; in pcpu_setup_first_chunk()
2483 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk()
2485 for (i = 0; i < gi->nr_units; i++) { in pcpu_setup_first_chunk()
2486 cpu = gi->cpu_map[i]; in pcpu_setup_first_chunk()
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/
H A Dgui.py16 import gi
17 gi.require_version('Gtk', '3.0')
18 from gi.repository import Gtk as gtk
19 from gi.repository import Gtk
20 from gi.repository import Gdk
21 from gi.repository import GObject as gobject
22 from gi.repository import GObject
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_cfp.c1461 t_u8 gi = 0; in wlan_adjust_data_rate() local
1484 gi = (rate_info & 0x10) >> 4 | (rate_info & 0x80) >> 6; in wlan_adjust_data_rate()
1488 MAX_MCS_NUM_AC * 12 + MAX_MCS_NUM_AX * 6 * gi + in wlan_adjust_data_rate()
1628 t_u8 gi = 0; in wlan_index_to_data_rate() local
1645 gi = (tx_rate_info & 0x10) >> 4; in wlan_index_to_data_rate()
1648 rate = ac_mcs_rate_nss2[2 * (3 - bw) + gi][mcs_index]; in wlan_index_to_data_rate()
1651 rate = ac_mcs_rate_nss1[2 * (3 - bw) + gi][mcs_index]; in wlan_index_to_data_rate()
1667 gi = (tx_rate_info & MBIT(4)) >> 4 | in wlan_index_to_data_rate()
1672 if (gi > 3) { in wlan_index_to_data_rate()
1677 if ((gi == 3) && stbc && he_dcm) { in wlan_index_to_data_rate()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb_plcp_gen.h77 u8 gi : 2; member
137 u8 gi : 2; //0.4,0.8,1.6,3.2 member
190 u32 gi : 2; member

12345678