Home
last modified time | relevance | path

Searched refs:pub (Results 1 – 25 of 203) sorted by relevance

123456789

/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dchip.c220 struct brcmf_core pub; member
227 struct brcmf_chip pub; member
257 address = CORE_SB(core->pub.base, sbtmstatelow); in brcmf_chip_sb_iscoreup()
287 base = core->pub.base; in brcmf_chip_sb_coredisable()
392 base = core->pub.base; in brcmf_chip_sb_resetcore()
445 if (core->pub.id == BCMA_CORE_80211) { in brcmf_chip_ai_resetcore()
446 d11core2 = brcmf_chip_get_d11core(&ci->pub, 1); in brcmf_chip_ai_resetcore()
450 struct brcmf_core_priv, pub); in brcmf_chip_ai_resetcore()
514 core->pub.id = coreid; in brcmf_chip_add_core()
515 core->pub.base = base; in brcmf_chip_add_core()
[all …]
H A Dchip.h74 int brcmf_chip_get_raminfo(struct brcmf_chip *pub);
79 struct brcmf_core *brcmf_chip_get_d11core(struct brcmf_chip *pub, u8 unit);
81 struct brcmf_core *brcmf_chip_get_pmu(struct brcmf_chip *pub);
88 bool brcmf_chip_sr_capable(struct brcmf_chip *pub);
/linux/crypto/asymmetric_keys/
H A Dpkcs8_parser.c21 struct public_key *pub; member
76 ctx->pub->pkey_algo = "rsa"; in pkcs8_note_algo()
100 struct public_key *pub; in pkcs8_parse() local
106 ctx.pub = kzalloc_obj(struct public_key); in pkcs8_parse()
107 if (!ctx.pub) in pkcs8_parse()
118 pub = ctx.pub; in pkcs8_parse()
119 pub->key = kmemdup(ctx.key, ctx.key_size, GFP_KERNEL); in pkcs8_parse()
120 if (!pub->key) in pkcs8_parse()
123 pub->keylen = ctx.key_size; in pkcs8_parse()
124 pub->key_is_private = true; in pkcs8_parse()
[all …]
H A Dx509_cert_parser.c47 public_key_free(cert->pub); in x509_free_certificate()
71 cert->pub = kzalloc_obj(struct public_key); in x509_cert_parse()
72 if (!cert->pub) in x509_cert_parse()
101 cert->pub->key = kmemdup(ctx->key, ctx->key_size, GFP_KERNEL); in x509_cert_parse()
102 if (!cert->pub->key) in x509_cert_parse()
105 cert->pub->keylen = ctx->key_size; in x509_cert_parse()
107 cert->pub->params = kmemdup(ctx->params, ctx->params_size, GFP_KERNEL); in x509_cert_parse()
108 if (!cert->pub->params) in x509_cert_parse()
111 cert->pub->paramlen = ctx->params_size; in x509_cert_parse()
112 cert->pub->algo = ctx->key_algo; in x509_cert_parse()
[all …]
H A Dx509_public_key.c138 ret = public_key_verify_signature(cert->pub, cert->sig); in x509_check_for_self_signed()
176 pr_devel("Cert Key Algo: %s\n", cert->pub->pkey_algo); in x509_key_preparse()
179 cert->pub->id_type = "X509"; in x509_key_preparse()
228 prep->payload.data[asym_crypto] = cert->pub; in x509_key_preparse()
234 cert->pub = NULL; in x509_key_preparse()
/linux/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c117 struct dvb_ca_en50221 *pub; member
240 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
293 res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_wait_if_status()
345 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, in dvb_ca_en50221_link_init()
355 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN); in dvb_ca_en50221_link_init()
372 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, in dvb_ca_en50221_link_init()
382 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN); in dvb_ca_en50221_link_init()
412 _tuple_type = ca->pub->read_attribute_mem(ca->pub, slot, _address); in dvb_ca_en50221_read_tuple()
422 _tuple_length = ca->pub->read_attribute_mem(ca->pub, slot, in dvb_ca_en50221_read_tuple()
432 tuple[i] = ca->pub->read_attribute_mem(ca->pub, slot, in dvb_ca_en50221_read_tuple()
[all …]
/linux/drivers/clk/renesas/
H A Drenesas-cpg-mssr.c197 struct cpg_mssr_pub pub; member
243 RZT2H_MSTPCR_BLOCK(offset) ? priv->pub.base1 : priv->pub.base0; in cpg_rzt2h_mstp_read()
251 RZT2H_MSTPCR_BLOCK(offset) ? priv->pub.base1 : priv->pub.base0; in cpg_rzt2h_mstp_write()
270 spin_lock_irqsave(&priv->pub.rmw_lock, flags); in cpg_mstp_clock_endisable()
273 value = readb(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
278 writeb(value, priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
281 readb(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
282 barrier_data(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
294 value = readl(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
299 writel(value, priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
[all …]
/linux/net/mac80211/
H A Dvht.c122 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap()
130 if (!link_sta->pub->ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap()
320 link_sta->pub->bandwidth = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_vht_cap_ie_to_sta_vht_cap()
338 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454; in ieee80211_vht_cap_ie_to_sta_vht_cap()
341 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_7991; in ieee80211_vht_cap_ie_to_sta_vht_cap()
345 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_3895; in ieee80211_vht_cap_ie_to_sta_vht_cap()
359 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in __ieee80211_sta_cap_rx_bw()
360 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in __ieee80211_sta_cap_rx_bw()
361 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in __ieee80211_sta_cap_rx_bw()
405 return link_sta->pub->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in __ieee80211_sta_cap_rx_bw()
[all …]
H A Dht.c244 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_7935; in ieee80211_ht_cap_ie_to_sta_ht_cap()
246 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_3839; in ieee80211_ht_cap_ie_to_sta_ht_cap()
251 changed = memcmp(&link_sta->pub->ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
253 memcpy(&link_sta->pub->ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
281 link_sta->pub->bandwidth = bw; in ieee80211_ht_cap_ie_to_sta_ht_cap()
305 if (smps_mode != link_sta->pub->smps_mode) in ieee80211_ht_cap_ie_to_sta_ht_cap()
307 link_sta->pub->smps_mode = smps_mode; in ieee80211_ht_cap_ie_to_sta_ht_cap()
309 link_sta->pub->smps_mode = IEEE80211_SMPS_OFF; in ieee80211_ht_cap_ie_to_sta_ht_cap()
628 if (link_sta->pub->bandwidth == new_bw) in ieee80211_ht_handle_chanwidth_notif()
631 link_sta->pub->bandwidth = new_bw; in ieee80211_ht_handle_chanwidth_notif()
H A Deht.c19 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in ieee80211_eht_cap_ie_to_sta_eht_cap()
78 link_sta->pub->bandwidth = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_eht_cap_ie_to_sta_eht_cap()
90 link_sta->pub->agg.max_amsdu_len = in ieee80211_eht_cap_ie_to_sta_eht_cap()
94 link_sta->pub->agg.max_amsdu_len = in ieee80211_eht_cap_ie_to_sta_eht_cap()
99 link_sta->pub->agg.max_amsdu_len = in ieee80211_eht_cap_ie_to_sta_eht_cap()
/linux/net/wireless/
H A Dscan.c87 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
88 if (ies && !bss->pub.hidden_beacon_bss) in bss_free()
90 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
111 if (bss->pub.hidden_beacon_bss) in bss_ref_get()
112 bss_from_pub(bss->pub.hidden_beacon_bss)->refcount++; in bss_ref_get()
114 if (bss->pub.transmitted_bss) in bss_ref_get()
115 bss_from_pub(bss->pub.transmitted_bss)->refcount++; in bss_ref_get()
123 if (bss->pub.hidden_beacon_bss) { in bss_ref_put()
126 hbss = bss_from_pub(bss->pub.hidden_beacon_bss); in bss_ref_put()
132 if (bss->pub.transmitted_bss) { in bss_ref_put()
[all …]
H A Dcore.h209 struct cfg80211_bss pub; member
212 static inline struct cfg80211_internal_bss *bss_from_pub(struct cfg80211_bss *pub) in bss_from_pub() argument
214 return container_of(pub, struct cfg80211_internal_bss, pub); in bss_from_pub()
220 if (bss->pub.transmitted_bss) { in cfg80211_hold_bss()
221 bss = container_of(bss->pub.transmitted_bss, in cfg80211_hold_bss()
222 struct cfg80211_internal_bss, pub); in cfg80211_hold_bss()
231 if (bss->pub.transmitted_bss) { in cfg80211_unhold_bss()
232 bss = container_of(bss->pub.transmitted_bss, in cfg80211_unhold_bss()
233 struct cfg80211_internal_bss, pub); in cfg80211_unhold_bss()
[all...]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddma.c558 struct si_info *sii = container_of(sih, struct si_info, pub); in dma_attach()
746 void dma_detach(struct dma_pub *pub) in dma_detach() argument
748 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_detach()
842 void dma_rxinit(struct dma_pub *pub) in dma_rxinit() argument
844 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxinit()
924 int dma_rx(struct dma_pub *pub, struct sk_buff_head *skb_list) in dma_rx() argument
926 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rx()
1022 bool dma_rxfill(struct dma_pub *pub) in dma_rxfill() argument
1024 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxfill()
1108 void dma_rxreclaim(struct dma_pub *pub) in dma_rxreclaim() argument
[all …]
H A Daiutils.c451 sii->pub.ccrev = cc->id.rev; in ai_buscore_setup()
457 sii->pub.cccaps = bcma_read32(cc, CHIPCREGOFFS(capabilities)); in ai_buscore_setup()
460 if (ai_get_cccaps(&sii->pub) & CC_CAP_PMU) { in ai_buscore_setup()
461 sii->pub.pmucaps = bcma_read32(cc, in ai_buscore_setup()
463 sii->pub.pmurev = sii->pub.pmucaps & PCAP_REV_MASK; in ai_buscore_setup()
472 struct si_pub *sih = &sii->pub; in ai_doattach()
532 sii = container_of(sih, struct si_info, pub); in ai_detach()
546 sii = container_of(sih, struct si_info, pub); in ai_cc_reg()
612 struct si_info *sii = container_of(sih, struct si_info, pub); in ai_clkctl_init()
640 sii = container_of(sih, struct si_info, pub); in ai_clkctl_fast_pwrup_delay()
[all …]
H A Dmain.c408 return wlc->pub->_nbands > 1 && !wlc->bandlocked; in brcms_is_mband_unlocked()
436 kfree(wlc->pub); in brcms_c_detach_mfree()
487 wlc->pub = kzalloc_obj(*wlc->pub, GFP_ATOMIC); in brcms_c_attach_malloc()
488 if (wlc->pub == NULL) { in brcms_c_attach_malloc()
492 wlc->pub->wlc = wlc; in brcms_c_attach_malloc()
615 wlc->pub->unit); in brcms_c_calc_frame_time()
982 ieee80211_tx_status_irqsafe(wlc->pub->ieee_hw, p); in brcms_c_dotxstatus()
1002 ieee80211_queue_stopped(wlc->pub->ieee_hw, ac_queue)) in brcms_c_dotxstatus()
1003 ieee80211_wake_queue(wlc->pub->ieee_hw, ac_queue); in brcms_c_dotxstatus()
2153 memcpy(wlc->pub->cur_etheraddr, addr, sizeof(wlc->pub->cur_etheraddr)); in brcms_c_start_station()
[all …]
H A Dmac80211_if.c299 if (wl->pub) { in brcms_free()
300 brcms_debugfs_detach(wl->pub); in brcms_free()
301 brcms_c_module_unregister(wl->pub, "linux", wl); in brcms_free()
308 wl->pub = NULL; in brcms_free()
338 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, false); in brcms_remove()
339 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_remove()
410 if (!wl->pub->up) { in brcms_ops_tx()
438 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_ops_start()
444 if (!wl->pub->up) in brcms_ops_start()
814 wl->pub->global_ampdu = &(scb->scb_ampdu); in brcms_ops_sta_add()
[all …]
H A Dchannel.c111 struct brcms_pub *pub; member
314 if ((wlc->pub->_n_enab & SUPPORT_11N) != in brcms_c_set_country()
329 struct brcms_pub *pub = wlc->pub; in brcms_c_channel_mgr_attach() local
337 wlc_cm->pub = pub; in brcms_c_channel_mgr_attach()
344 memcpy(wlc->pub->srom_ccode, ccode, ccode_len); in brcms_c_channel_mgr_attach()
377 struct ieee80211_channel *ch = wlc->pub->ieee_hw->conf.chandef.chan; in brcms_c_channel_set_chanspec()
402 struct ieee80211_channel *ch = wlc->pub->ieee_hw->conf.chandef.chan; in brcms_c_channel_reg_limits()
610 wlc->pub->unit, chspec); in brcms_c_valid_chanspec_ext()
724 mboolclr(wlc->pub->radio_disabled, WL_RADIO_COUNTRY_DISABLE); in brcms_reg_notifier()
726 mboolset(wlc->pub->radio_disabled, WL_RADIO_COUNTRY_DISABLE); in brcms_reg_notifier()
[all …]
H A Dantsel.c119 asi->pub = wlc->pub; in brcms_c_antsel_attach()
124 if ((asi->pub->sromrev >= 4) && (asi->antsel_antswitch != 0)) { in brcms_c_antsel_attach()
150 } else if ((asi->pub->sromrev == 4) && in brcms_c_antsel_attach()
156 } else if (asi->pub->boardflags2 & BFL2_2X4_DIV) { in brcms_c_antsel_attach()
/linux/lib/crypto/
H A Dcurve25519.c32 static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE], in curve25519_base_arch()
35 curve25519_generic(pub, secret, curve25519_base_point); in curve25519_base_arch()
51 curve25519_generate_public(u8 pub[CURVE25519_KEY_SIZE], in curve25519_generate_public()
57 curve25519_base_arch(pub, secret); in curve25519_generate_public()
58 return crypto_memneq(pub, curve25519_null_point, CURVE25519_KEY_SIZE); in curve25519_generate_public()
/linux/net/atm/
H A Daddr.c20 if (!*addr->sas_addr.pub) in check_addr()
23 if (!addr->sas_addr.pub[i]) in check_addr()
33 if (!*a->sas_addr.pub) in identical()
34 return !*b->sas_addr.pub; in identical()
35 if (!*b->sas_addr.pub) in identical()
37 return !strcmp(a->sas_addr.pub, b->sas_addr.pub); in identical()
/linux/drivers/s390/crypto/
H A Dzcrypt_cca_key.h173 struct cca_public_sec *pub; in zcrypt_type6_crt_key() local
191 size = sizeof(*key) + key_len + sizeof(*pub) + 3; in zcrypt_type6_crt_key()
224 pub = (struct cca_public_sec *)(key->key_parts + key_len); in zcrypt_type6_crt_key()
225 *pub = static_cca_pub_sec; in zcrypt_type6_crt_key()
226 pub->modulus_bit_len = 8 * crt->inputdatalength; in zcrypt_type6_crt_key()
232 memcpy((char *)(pub + 1), pk_exponent, 3); in zcrypt_type6_crt_key()
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c31 u8 *priv, *pub; in tpm2_key_encode() local
41 pub = src; in tpm2_key_encode()
73 work = asn1_encode_octet_string(work, end_work, pub, pub_len); in tpm2_key_encode()
95 const u8 *pub; member
129 memcpy(blob, ctx.pub, ctx.pub_len); in tpm2_key_decode()
175 ctx->pub = value; in tpm2_key_pub()
380 u8 *blob, *pub; in tpm2_load_cmd() local
412 pub = blob + 2 + private_len + 2; in tpm2_load_cmd()
414 attrs = get_unaligned_be32(pub + 4); in tpm2_load_cmd()
/linux/Documentation/translations/zh_CN/rust/
H A Dcoding-guidelines.rst76 pub fn f(x: i32) -> Foo {
123 pub unsafe fn unwrap_unchecked(self) -> T {
196 pub mod gpio {
197 pub enum LineDirection {
/linux/lib/crypto/arm/
H A Dcurve25519.h35 static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE], in curve25519_base_arch()
38 curve25519_arch(pub, secret, curve25519_base_point); in curve25519_base_arch()
/linux/Documentation/
H A DChanges214 (https://www.kernel.org/pub/linux/utils/kernel/hotplug/)
442 - <https://www.kernel.org/pub/linux/devel/binutils/>
465 - <https://www.kernel.org/pub/linux/utils/util-linux/>
470 - <https://www.kernel.org/pub/linux/utils/kernel/kmod/>
471 - <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git>
476 - <https://www.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/>
486 - <https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/>
487 - <https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/>
497 - <https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git>
498 - <https://www.kernel.org/pub/linu
[all...]

123456789