Home
last modified time | relevance | path

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

1234567

/openbmc/linux/drivers/usb/gadget/
H A Dconfigfs.c244 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show() local
248 mutex_lock(&gi->lock); in gadget_dev_desc_UDC_show()
249 udc_name = gi->composite.gadget_driver.udc_name; in gadget_dev_desc_UDC_show()
251 mutex_unlock(&gi->lock); in gadget_dev_desc_UDC_show()
256 static int unregister_gadget(struct gadget_info *gi) in unregister_gadget() argument
260 if (!gi->composite.gadget_driver.udc_name) in unregister_gadget()
263 ret = usb_gadget_unregister_driver(&gi->composite.gadget_driver); in unregister_gadget()
266 kfree(gi->composite.gadget_driver.udc_name); in unregister_gadget()
267 gi->composite.gadget_driver.udc_name = NULL; in unregister_gadget()
274 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store() local
[all …]
/openbmc/linux/fs/nfsd/
H A Dauth.c24 struct group_info *gi; in nfsd_setuser() local
43 gi = groups_alloc(0); in nfsd_setuser()
44 if (!gi) in nfsd_setuser()
52 gi = groups_alloc(rqgi->ngroups); in nfsd_setuser()
53 if (!gi) in nfsd_setuser()
58 gi->gid[i] = exp->ex_anon_gid; in nfsd_setuser()
60 gi->gid[i] = rqgi->gid[i]; in nfsd_setuser()
64 groups_sort(gi); in nfsd_setuser()
66 gi = get_group_info(rqgi); in nfsd_setuser()
74 set_groups(new, gi); in nfsd_setuser()
[all …]
/openbmc/qemu/hw/acpi/
H A Dpci.c93 AcpiGenericInitiator *gi = ACPI_GENERIC_INITIATOR(obj); in OBJECT_DECLARE_SIMPLE_TYPE() local
95 gi->node = MAX_NODES; in OBJECT_DECLARE_SIMPLE_TYPE()
96 gi->pci_dev = NULL; in OBJECT_DECLARE_SIMPLE_TYPE()
101 AcpiGenericInitiator *gi = ACPI_GENERIC_INITIATOR(obj); in acpi_generic_initiator_finalize() local
103 g_free(gi->pci_dev); in acpi_generic_initiator_finalize()
109 AcpiGenericInitiator *gi = ACPI_GENERIC_INITIATOR(obj); in acpi_generic_initiator_set_pci_device() local
111 gi->pci_dev = g_strdup(val); in acpi_generic_initiator_set_pci_device()
118 AcpiGenericInitiator *gi = ACPI_GENERIC_INITIATOR(obj); in acpi_generic_initiator_set_node() local
132 gi->node = value; in acpi_generic_initiator_set_node()
133 ms->numa_state->nodes[gi->node].has_gi = true; in acpi_generic_initiator_set_node()
[all …]
/openbmc/u-boot/arch/mips/mach-mscc/include/mach/luton/
H A Dluton_devcpu_gcb_miim_regs.h11 #define MIIM_MII_STATUS(gi) (0xa0 + (gi * 36)) argument
12 #define MIIM_MII_CMD(gi) (0xa8 + (gi * 36)) argument
13 #define MIIM_MII_DATA(gi) (0xac + (gi * 36)) argument
/openbmc/u-boot/arch/mips/mach-mscc/include/mach/ocelot/
H A Docelot_devcpu_gcb_miim_regs.h9 #define MIIM_MII_STATUS(gi) (0x9c + (gi * 36)) argument
10 #define MIIM_MII_CMD(gi) (0xa4 + (gi * 36)) argument
11 #define MIIM_MII_DATA(gi) (0xa8 + (gi * 36)) argument
/openbmc/u-boot/arch/mips/mach-mscc/include/mach/jr2/
H A Djr2_devcpu_gcb_miim_regs.h9 #define MIIM_MII_STATUS(gi) (0xc8 + (gi * 36)) argument
10 #define MIIM_MII_CMD(gi) (0xd0 + (gi * 36)) argument
11 #define MIIM_MII_DATA(gi) (0xd4 + (gi * 36)) argument
/openbmc/u-boot/arch/mips/mach-mscc/include/mach/servalt/
H A Dservalt_devcpu_gcb_miim_regs.h9 #define MIIM_MII_STATUS(gi) (0xc4 + (gi * 36)) argument
10 #define MIIM_MII_CMD(gi) (0xcc + (gi * 36)) argument
11 #define MIIM_MII_DATA(gi) (0xd0 + (gi * 36)) argument
/openbmc/u-boot/arch/mips/mach-mscc/include/mach/serval/
H A Dserval_devcpu_gcb_miim_regs.h9 #define MIIM_MII_STATUS(gi) (0x5c + (gi * 36)) argument
10 #define MIIM_MII_CMD(gi) (0x64 + (gi * 36)) argument
11 #define MIIM_MII_DATA(gi) (0x68 + (gi * 36)) argument
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dgi-docgen.bbclass7 # gi-docgen is a new gnome documentation generator, which
9 # https://gitlab.gnome.org/GNOME/gi-docgen
16 # When building native recipes, disable gi-docgen, as it is not necessary,
21 # meson: default option name to enable/disable gi-docgen. This matches most
31 DEPENDS:append = "${@' gi-docgen-native gi-docgen' if d.getVar('GIDOCGEN_ENABLED') == 'True' else '…
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/libblockdev/files/
H A D0001-fix-pythondir-for-multilib-when-cross-compiling.patch16 src/python/gi/overrides/Makefile.am | 2 +-
19 diff --git a/src/python/gi/overrides/Makefile.am b/src/python/gi/overrides/Makefile.am
21 --- a/src/python/gi/overrides/Makefile.am
22 +++ b/src/python/gi/overrides/Makefile.am
27 py3overridesdir = $(py3libdir)/gi/overrides
/openbmc/linux/arch/s390/kvm/
H A Dinterrupt.c289 static inline u8 gisa_get_ipm_or_restore_iam(struct kvm_s390_gisa_interrupt *gi) in gisa_get_ipm_or_restore_iam() argument
295 word = READ_ONCE(gi->origin->u64.word[0]); in gisa_get_ipm_or_restore_iam()
296 alert_mask = READ_ONCE(gi->alert.mask); in gisa_get_ipm_or_restore_iam()
301 } while (cmpxchg(&gi->origin->u64.word[0], word, _word) != word); in gisa_get_ipm_or_restore_iam()
332 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in pending_irqs() local
336 if (gi->origin) in pending_irqs()
337 pending_mask |= gisa_get_ipm(gi->origin) << IRQ_PEND_IO_ISC_7; in pending_irqs()
1166 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in __deliver_io() local
1209 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io()
1299 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in kvm_s390_handle_wait() local
[all …]
/openbmc/linux/kernel/
H A Dgroups.c17 struct group_info *gi; in groups_alloc() local
18 gi = kvmalloc(struct_size(gi, gid, gidsetsize), GFP_KERNEL_ACCOUNT); in groups_alloc()
19 if (!gi) in groups_alloc()
22 atomic_set(&gi->usage, 1); in groups_alloc()
23 gi->ngroups = gidsetsize; in groups_alloc()
24 return gi; in groups_alloc()
/openbmc/linux/net/sunrpc/
H A Dsvcauth_unix.c411 struct group_info *gi; member
427 put_group_info(ug->gi); in unix_gid_free()
456 get_group_info(item->gi); in unix_gid_update()
457 new->gi = item->gi; in unix_gid_update()
518 ug.gi = groups_alloc(gids); in unix_gid_parse()
519 if (!ug.gi) in unix_gid_parse()
532 ug.gi->gid[i] = kgid; in unix_gid_parse()
535 groups_sort(ug.gi); in unix_gid_parse()
553 if (ug.gi) in unix_gid_parse()
554 put_group_info(ug.gi); in unix_gid_parse()
[all …]
H A Dauth_unix.c117 struct group_info *gi = cred->cr_cred->group_info; in unx_marshal() local
139 if (gi) in unx_marshal()
140 for (i = 0; i < UNX_NGROUPS && i < gi->ngroups; i++) in unx_marshal()
141 *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); in unx_marshal()
/openbmc/qemu/target/i386/hvf/
H A Dvmx.h202 uint32_t gi = (uint32_t) rvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY); in vmx_clear_nmi_blocking() local
203 gi &= ~VMCS_INTERRUPTIBILITY_NMI_BLOCKING; in vmx_clear_nmi_blocking()
204 wvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY, gi); in vmx_clear_nmi_blocking()
213 uint32_t gi = (uint32_t)rvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY); in vmx_set_nmi_blocking() local
214 gi |= VMCS_INTERRUPTIBILITY_NMI_BLOCKING; in vmx_set_nmi_blocking()
215 wvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY, gi); in vmx_set_nmi_blocking()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c22 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local
28 gi = FIELD_GET(RATE_INFO_FLAGS_SHORT_GI, arsta->txrate.flags); in ath11k_debugfs_sta_add_tx_stats()
90 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath11k_debugfs_sta_add_tx_stats()
96 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath11k_debugfs_sta_add_tx_stats()
104 STATS_OP_FMT(SUCC).gi[0][gi] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats()
108 STATS_OP_FMT(SUCC).gi[1][gi] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats()
112 STATS_OP_FMT(FAIL).gi[0][gi] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats()
116 STATS_OP_FMT(FAIL).gi[1][gi] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats()
120 STATS_OP_FMT(RETRY).gi[0][gi] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats()
124 STATS_OP_FMT(RETRY).gi[1][gi] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats()
[all …]
/openbmc/linux/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); \
/openbmc/linux/include/soc/mscc/
H A Docelot.h900 #define ocelot_read_ix(ocelot, reg, gi, ri) \ argument
901 __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
902 #define ocelot_read_gix(ocelot, reg, gi) \ argument
903 __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi))
909 #define ocelot_write_ix(ocelot, val, reg, gi, ri) \ argument
910 __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
911 #define ocelot_write_gix(ocelot, val, reg, gi) \ argument
912 __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi))
917 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) \ argument
918 __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
[all …]
/openbmc/linux/arch/ia64/mm/
H A Dcontig.c104 struct pcpu_group_info *gi; in setup_per_cpu_areas() local
111 gi = &ai->groups[0]; in setup_per_cpu_areas()
115 gi->cpu_map[gi->nr_units++] = cpu; in setup_per_cpu_areas()
H A Ddiscontig.c183 struct pcpu_group_info *gi; in setup_per_cpu_areas() local
237 gi->nr_units++; in setup_per_cpu_areas()
242 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
243 gi->nr_units = 1; in setup_per_cpu_areas()
244 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
245 gi->cpu_map = &cpu_map[unit]; in setup_per_cpu_areas()
/openbmc/openbmc/poky/meta/recipes-gnome/gi-docgen/
H A Dgi-docgen_2024.1.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"
/openbmc/linux/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 …]
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c190 u8 gi = 0; in mwifiex_index_to_acs_data_rate() local
199 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
202 rate = ac_mcs_rate_nss2[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
204 rate = ac_mcs_rate_nss1[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
210 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
213 if (gi == 1) in mwifiex_index_to_acs_data_rate()
219 rate = mcs_rate[2 * (1 - bw) + gi][index]; in mwifiex_index_to_acs_data_rate()
/openbmc/linux/net/netfilter/
H A Dxt_owner.c102 struct group_info *gi = filp->f_cred->group_info; in owner_mt() local
108 if (!match && (info->match & XT_OWNER_SUPPL_GROUPS) && gi) { in owner_mt()
109 for (i = 0; i < gi->ngroups; ++i) { in owner_mt()
110 kgid_t group = gi->gid[i]; in owner_mt()
/openbmc/linux/fs/gfs2/
H A Dglock.c2532 static void gfs2_glock_iter_next(struct gfs2_glock_iter *gi, loff_t n) in gfs2_glock_iter_next() argument
2534 struct gfs2_glock *gl = gi->gl; in gfs2_glock_iter_next()
2542 gl = rhashtable_walk_next(&gi->hti); in gfs2_glock_iter_next()
2551 if (gl->gl_name.ln_sbd != gi->sdp) in gfs2_glock_iter_next()
2563 gi->gl = gl; in gfs2_glock_iter_next()
2569 struct gfs2_glock_iter *gi = seq->private; in gfs2_glock_seq_start() local
2576 if (*pos < gi->last_pos) { in gfs2_glock_seq_start()
2577 rhashtable_walk_exit(&gi->hti); in gfs2_glock_seq_start()
2578 rhashtable_walk_enter(&gl_hash_table, &gi->hti); in gfs2_glock_seq_start()
2581 n = *pos - gi->last_pos; in gfs2_glock_seq_start()
[all …]

1234567