Home
last modified time | relevance | path

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

12

/drivers/net/wireless/bcmdhd/
Ddhd_linux.c159 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen)
161 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen + 128)
268 dhd_pub_t pub; member
603 static void dhd_os_rxflock(dhd_pub_t *pub);
604 static void dhd_os_rxfunlock(dhd_pub_t *pub);
675 dhd_write_macaddr(&dhd->pub.mac); in dhd_process_cid_mac()
851 dhd_pub_t *dhdp = &dhd->pub; in dhd_suspend_resume_helper()
957 struct net_device * dhd_idx2net(void *pub, int ifidx) in dhd_idx2net() argument
959 struct dhd_pub *dhd_pub = (struct dhd_pub *)pub; in dhd_idx2net()
1067 if (!(bufp = buf = MALLOC(dhd->pub.osh, buflen))) { in _dhd_set_multicast_list()
[all …]
Ddhd_bta.c51 dhd_bta_docmd(dhd_pub_t *pub, void *cmd_buf, uint cmd_len) in dhd_bta_docmd() argument
75 return dhd_wl_ioctl(pub, &ioc, ioc.buf, ioc.len); in dhd_bta_docmd()
80 dhd_bta_flush_hcidata(dhd_pub_t *pub, uint16 llh) in dhd_bta_flush_hcidata() argument
86 q = dhd_bus_txq(pub->bus); in dhd_bta_flush_hcidata()
92 dhd_os_sdlock_txq(pub); in dhd_bta_flush_hcidata()
102 PKTPULL(pub->osh, pkt, dhd_bus_hdrlen(pub->bus)); in dhd_bta_flush_hcidata()
103 dhd_prot_hdrpull(pub, &ifidx, pkt, NULL, NULL); in dhd_bta_flush_hcidata()
105 if (PKTLEN(pub->osh, pkt) >= RFC1042_HDR_LEN) { in dhd_bta_flush_hcidata()
107 (struct ether_header *)PKTDATA(pub->osh, pkt); in dhd_bta_flush_hcidata()
121 PKTFREE(pub->osh, pkt, TRUE); in dhd_bta_flush_hcidata()
[all …]
Ddhd.h216 void dhd_onoff_tcpack_sup(void *pub, bool on);
409 unsigned long dhd_os_spin_lock(dhd_pub_t *pub);
410 void dhd_os_spin_unlock(dhd_pub_t *pub, unsigned long flags);
413 extern int dhd_os_wake_lock(dhd_pub_t *pub);
414 extern int dhd_os_wake_unlock(dhd_pub_t *pub);
415 extern int dhd_os_wake_lock_timeout(dhd_pub_t *pub);
416 extern int dhd_os_wake_lock_rx_timeout_enable(dhd_pub_t *pub, int val);
417 extern int dhd_os_wake_lock_ctrl_timeout_enable(dhd_pub_t *pub, int val);
418 extern int dhd_os_wake_lock_ctrl_timeout_cancel(dhd_pub_t *pub);
419 extern int dhd_os_wd_wake_lock(dhd_pub_t *pub);
[all …]
Dsiutils.c125 if (PMUCTL_ENAB(&ksii.pub)) { in si_kattach()
134 ksii.pub.ccrev, wd_msticks)); in si_kattach()
137 return &ksii.pub; in si_kattach()
193 cc = si_setcoreidx(&sii->pub, SI_CC_IDX); in si_buscore_setup()
197 sii->pub.ccrev = (int)si_corerev(&sii->pub); in si_buscore_setup()
200 if (sii->pub.ccrev >= 11) in si_buscore_setup()
201 sii->pub.chipst = R_REG(sii->osh, &cc->chipstatus); in si_buscore_setup()
204 sii->pub.cccaps = R_REG(sii->osh, &cc->capabilities); in si_buscore_setup()
207 if (sii->pub.ccrev >= 35) in si_buscore_setup()
208 sii->pub.cccaps_ext = R_REG(sii->osh, &cc->capabilities_ext); in si_buscore_setup()
[all …]
Dsiutils_priv.h56 struct si_pub pub; /* back plane public state (must be first field) */ member
106 #define PCI(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
107 ((si)->pub.buscoretype == PCI_CORE_ID))
109 #define PCIE_GEN1(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
110 ((si)->pub.buscoretype == PCIE_CORE_ID))
112 #define PCIE_GEN2(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
113 ((si)->pub.buscoretype == PCIE2_CORE_ID))
117 #define PCMCIA(si) ((BUSTYPE((si)->pub.bustype) == PCMCIA_BUS) && ((si)->memseg == TRUE))
122 #define SI_FAST(si) (PCIE(si) || (PCI(si) && ((si)->pub.buscorerev >= 13)))
151 (((PCIE_GEN1(si)) && (si->pub.chip == BCM4311_CHIP_ID) && ((si->pub.chiprev <= 1))) || \
[all …]
Dsbutils.c115 if (BUSTYPE(sii->pub.bustype) == PCMCIA_BUS) { in sb_write_sbreg()
214 switch (BUSTYPE(sii->pub.bustype)) { in _sb_coresba()
388 if (BUSTYPE(sii->pub.bustype) == SI_BUS) { in sb_corereg()
398 } else if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_corereg()
406 } else if (sii->pub.buscoreidx == coreidx) { in sb_corereg()
426 origidx = si_coreidx(&sii->pub); in sb_corereg()
429 r = (uint32*) ((uchar*)sb_setcoreidx(&sii->pub, coreidx) + regoff); in sb_corereg()
448 if ((CHIPID(sii->pub.chip) == BCM5354_CHIP_ID) && in sb_corereg()
459 sb_setcoreidx(&sii->pub, origidx); in sb_corereg()
495 if ((BUSTYPE(sii->pub.bustype) == SI_BUS) && (sii->coresba[next] == sba)) { in _sb_scan()
[all …]
Ddhd_bta.h31 extern int dhd_bta_docmd(struct dhd_pub *pub, void *cmd_buf, uint cmd_len);
33 extern void dhd_bta_doevt(struct dhd_pub *pub, void *data_buf, uint data_len);
35 extern int dhd_bta_tx_hcidata(struct dhd_pub *pub, void *data_buf, uint data_len);
Dlinux_osl.c97 osl_pubinfo_t pub; member
228 osh->pub.pkttag = pkttag; in osl_attach()
235 osh->pub.mmbus = TRUE; in osl_attach()
242 osh->pub.mmbus = FALSE; in osl_attach()
568 if (osh->pub.pkttag) in osl_pkt_tonative()
607 if (osh->pub.pkttag) in osl_pkt_frmnative()
719 if (send && osh->pub.tx_fn)
720 osh->pub.tx_fn(osh->pub.tx_ctx, p, 0);
1283 if (osh->pub.pkttag)
Ddhd_cfg80211.c81 dhd_pub_t *dhd = (dhd_pub_t *)(wl->pub); in dhd_cfg80211_set_p2p_info()
97 dhd_pub_t *dhd = (dhd_pub_t *)(wl->pub); in dhd_cfg80211_clean_p2p_info()
166 dhd = wl->pub; in dhd_cfg80211_testmode_cmd()
575 dhd_pub_t *dhd = (dhd_pub_t *)(wl->pub); in wl_cfg80211_set_btcoex_dhcp()
Ddhd_wlfc.h285 int dhd_os_wlfc_block(dhd_pub_t *pub);
286 int dhd_os_wlfc_unblock(dhd_pub_t *pub);
/drivers/net/wireless/brcm80211/brcmsmac/
Ddma.h84 void dma_rxinit(struct dma_pub *pub);
85 int dma_rx(struct dma_pub *pub, struct sk_buff_head *skb_list);
86 bool dma_rxfill(struct dma_pub *pub);
87 bool dma_rxreset(struct dma_pub *pub);
88 bool dma_txreset(struct dma_pub *pub);
89 void dma_txinit(struct dma_pub *pub);
90 int dma_txfast(struct dma_pub *pub, struct sk_buff *p0, bool commit);
91 void dma_txsuspend(struct dma_pub *pub);
92 bool dma_txsuspended(struct dma_pub *pub);
93 void dma_txresume(struct dma_pub *pub);
[all …]
Ddma.c757 void dma_detach(struct dma_pub *pub) in dma_detach() argument
759 struct dma_info *di = (struct dma_info *)pub; in dma_detach()
853 void dma_rxinit(struct dma_pub *pub) in dma_rxinit() argument
855 struct dma_info *di = (struct dma_info *)pub; in dma_rxinit()
935 int dma_rx(struct dma_pub *pub, struct sk_buff_head *skb_list) in dma_rx() argument
937 struct dma_info *di = (struct dma_info *)pub; in dma_rx()
1021 bool dma_rxfill(struct dma_pub *pub) in dma_rxfill() argument
1023 struct dma_info *di = (struct dma_info *)pub; in dma_rxfill()
1103 void dma_rxreclaim(struct dma_pub *pub) in dma_rxreclaim() argument
1105 struct dma_info *di = (struct dma_info *)pub; in dma_rxreclaim()
[all …]
Daiutils.c475 ai_clkctl_xtal(&sii->pub, XTAL | PLL, ON); in ai_buscore_prep()
492 sii->pub.ccrev = cc->id.rev; in ai_buscore_setup()
495 if (ai_get_ccrev(&sii->pub) >= 11) in ai_buscore_setup()
499 sii->pub.cccaps = bcma_read32(cc, CHIPCREGOFFS(capabilities)); in ai_buscore_setup()
502 if (ai_get_cccaps(&sii->pub) & CC_CAP_PMU) { in ai_buscore_setup()
503 sii->pub.pmucaps = bcma_read32(cc, in ai_buscore_setup()
505 sii->pub.pmurev = sii->pub.pmucaps & PCAP_REV_MASK; in ai_buscore_setup()
536 sii->pch = pcicore_init(&sii->pub, sii->icbus->drv_pci.core); in ai_buscore_setup()
540 if (ai_pci_fixcfg(&sii->pub)) in ai_buscore_setup()
556 sii->pub.boardvendor = w & 0xffff; in ai_nvram_process()
[all …]
Dmac80211_if.c273 if (!wl->pub->up) { in brcms_ops_tx()
294 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_ops_start()
300 if (!wl->pub->up) in brcms_ops_start()
614 wl->pub->global_ampdu = &(scb->scb_ampdu); in brcms_ops_sta_add()
615 wl->pub->global_ampdu->scb = scb; in brcms_ops_sta_add()
616 wl->pub->global_ampdu->max_pdu = 16; in brcms_ops_sta_add()
692 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_ops_rfkill_poll()
730 return regulatory_hint(wl->pub->ieee_hw->wiphy, abbrev); in brcms_set_hint()
742 if (wl->pub->up) { in brcms_dpc()
755 if (!wl->pub->up) in brcms_dpc()
[all …]
Dmain.c411 return wlc->pub->_nbands > 1 && !wlc->bandlocked; in brcms_is_mband_unlocked()
439 kfree(wlc->pub); in brcms_c_detach_mfree()
486 wlc->pub = kzalloc(sizeof(struct brcms_pub), GFP_ATOMIC); in brcms_c_attach_malloc()
487 if (wlc->pub == NULL) { in brcms_c_attach_malloc()
491 wlc->pub->wlc = wlc; in brcms_c_attach_malloc()
615 wlc->pub->unit); in brcms_c_calc_frame_time()
620 wlc->pub->unit, ratespec, preamble_type, mac_len); in brcms_c_calc_frame_time()
976 ieee80211_tx_status_irqsafe(wlc->pub->ieee_hw, p); in brcms_c_dotxstatus()
3053 if (!wlc->pub->associated) in brcms_c_ps_allowed()
3085 if (!wlc->pub->up) in brcms_c_statsupd()
[all …]
Dchannel.c156 struct brcms_pub *pub; member
671 "match\n", wlc->pub->unit, __func__, ccode); in brcms_c_countrycode_map()
740 for (i = 0; i < wlc->pub->_nbands; in brcms_c_quiet_channels_reset()
896 mboolset(wlc->pub->radio_disabled, WL_RADIO_COUNTRY_DISABLE); in brcms_c_channels_commit()
898 "nbands %d bandlocked %d\n", wlc->pub->unit, in brcms_c_channels_commit()
899 __func__, wlc_cm->country_abbrev, wlc->pub->_nbands, in brcms_c_channels_commit()
901 } else if (mboolisset(wlc->pub->radio_disabled, in brcms_c_channels_commit()
907 mboolclr(wlc->pub->radio_disabled, WL_RADIO_COUNTRY_DISABLE); in brcms_c_channels_commit()
914 if (wlc->pub->_nbands > 1 || wlc->band->bandtype == BRCM_BAND_2G) in brcms_c_channels_commit()
919 if (wlc->pub->up && chan != INVCHANNEL) { in brcms_c_channels_commit()
[all …]
Dantsel.c118 asi->pub = wlc->pub; in brcms_c_antsel_attach()
123 if ((asi->pub->sromrev >= 4) && (asi->antsel_antswitch != 0)) { in brcms_c_antsel_attach()
148 } else if ((asi->pub->sromrev == 4) && in brcms_c_antsel_attach()
154 } else if (asi->pub->boardflags2 & BFL2_2X4_DIV) { in brcms_c_antsel_attach()
Dampdu.c187 wlc->pub->_ampdu = false; in brcms_c_ampdu_set()
190 if (!(wlc->pub->_n_enab & SUPPORT_11N)) { in brcms_c_ampdu_set()
192 "nmode enabled\n", wlc->pub->unit); in brcms_c_ampdu_set()
197 "ampdu capable\n", wlc->pub->unit); in brcms_c_ampdu_set()
200 wlc->pub->_ampdu = on; in brcms_c_ampdu_set()
272 brcms_c_ampdu_set(ampdu, wlc->pub->_ampdu); in brcms_c_ampdu_attach()
579 wlc->pub->unit, seq); in brcms_c_sendampdu()
586 "rejected; seq 0x%x\n", wlc->pub->unit, seq); in brcms_c_sendampdu()
624 wlc->pub->unit, count, len); in brcms_c_sendampdu()
656 wlc->pub->unit, ampdu_len, seg_cnt, ndelim); in brcms_c_sendampdu()
[all …]
Dstf.c54 if (wlc->pub->up) { in brcms_c_stf_stbc_rx_ht_update()
95 if (!wlc->pub->up) { in brcms_c_stf_ss_algo_channel_get()
164 wlc->pub->unit, Nsts, core_mask); in brcms_c_stf_txcore_set()
197 BCMMSG(wlc->wiphy, "wl%d: val %x\n", wlc->pub->unit, val); in brcms_c_stf_spatial_policy_set()
Dmac80211_if.h62 struct brcms_pub *pub; /* pointer to public wlc state */ member
/drivers/media/dvb/dvb-core/
Ddvb_ca_en50221.c128 struct dvb_ca_en50221 *pub; member
211 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
263 int res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_wait_if_status()
313 if ((ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN | CMDREG_SR)) != 0) in dvb_ca_en50221_link_init()
319 if ((ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN)) != 0) in dvb_ca_en50221_link_init()
332 if ((ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN | CMDREG_SW)) != 0) in dvb_ca_en50221_link_init()
338 if ((ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN)) != 0) in dvb_ca_en50221_link_init()
366 if ((_tupleType = ca->pub->read_attribute_mem(ca->pub, slot, _address)) < 0) in dvb_ca_en50221_read_tuple()
375 if ((_tupleLength = ca->pub->read_attribute_mem(ca->pub, slot, _address + 2)) < 0) in dvb_ca_en50221_read_tuple()
383 tuple[i] = ca->pub->read_attribute_mem(ca->pub, slot, _address + (i * 2)); in dvb_ca_en50221_read_tuple()
[all …]
/drivers/s390/crypto/
Dzcrypt_cca_key.h291 struct cca_public_sec *pub; in zcrypt_type6_crt_key() local
300 size = sizeof(*key) + key_len + sizeof(*pub) + 3; in zcrypt_type6_crt_key()
338 pub = (struct cca_public_sec *)(key->key_parts + key_len); in zcrypt_type6_crt_key()
339 *pub = static_cca_pub_sec; in zcrypt_type6_crt_key()
340 pub->modulus_bit_len = 8 * crt->inputdatalength; in zcrypt_type6_crt_key()
346 memcpy((char *) (pub + 1), pk_exponent, 3); in zcrypt_type6_crt_key()
/drivers/staging/sbe-2t3e3/
DKconfig8 <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
/drivers/pci/pcie/aer/
DKconfig.debug18 http://www.kernel.org/pub/linux/utils/pci/aer-inject/
/drivers/net/slip/
DKconfig20 <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
53 <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which

12