Searched defs:sc (Results 1 - 25 of 37) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/String/
H A Dstrsep.c62 register int c, sc; local
71 if ((sc = *spanp++) == c) {
79 } while (sc != 0);
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/
H A Dstrtok.c45 int c, sc; local
58 for( sepp = s2 ; (sc = *sepp) != 0 ; sepp++ )
60 if( c == sc )
63 if( sc == 0 )
77 for( sepp = s2; (sc = *sepp) != 0; sepp++ )
79 if( c == sc )
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/
H A Dath5k_rfkill.c42 static inline void ath5k_rfkill_disable(struct ath5k_softc *sc) argument
45 sc->rf_kill.gpio, sc->rf_kill.polarity);
46 ath5k_hw_set_gpio_output(sc->ah, sc->rf_kill.gpio);
47 ath5k_hw_set_gpio(sc->ah, sc->rf_kill.gpio, !sc->rf_kill.polarity);
51 static inline void ath5k_rfkill_enable(struct ath5k_softc *sc) argument
54 sc
59 ath5k_rfkill_set_intr(struct ath5k_softc *sc, int enable) argument
71 ath5k_is_rfkill_set(struct ath5k_softc *sc) argument
82 struct ath5k_softc *sc = ah->ah_sc; local
99 struct ath5k_softc *sc = ah->ah_sc; local
[all...]
H A Dath5k_attach.c103 * @sc: The &struct ath5k_softc we got from the driver's attach function
112 int ath5k_hw_attach(struct ath5k_softc *sc, u8 mac_version, argument
116 struct pci_device *pdev = sc->pdev;
127 ah->ah_sc = sc;
128 ah->ah_iobase = sc->iobase;
305 sc->pdev->device);
H A Dath5k_reset.c167 struct ath5k_softc *sc = ah->ah_sc; local
172 for (i = 0; i < sc->hwinfo->nr_rates[NET80211_BAND_2GHZ]; i++) {
176 rate = sc->hwinfo->rates[NET80211_BAND_2GHZ][i];
186 tx_time = net80211_duration(sc->dev, 14, rate);
H A Dath5k.c176 static int ath5k_reset(struct ath5k_softc *sc, struct net80211_channel *chan);
177 static int ath5k_reset_wake(struct ath5k_softc *sc);
205 static int ath5k_chan_set(struct ath5k_softc *sc,
207 static void ath5k_setcurmode(struct ath5k_softc *sc,
209 static void ath5k_mode_setup(struct ath5k_softc *sc);
212 static int ath5k_desc_alloc(struct ath5k_softc *sc);
213 static void ath5k_desc_free(struct ath5k_softc *sc);
215 static int ath5k_rxbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf);
216 static int ath5k_txbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf);
218 static inline void ath5k_txbuf_free(struct ath5k_softc *sc, argument
289 struct ath5k_softc *sc; local
446 struct ath5k_softc *sc = dev->priv; local
463 struct ath5k_softc *sc = dev->priv; local
534 struct ath5k_softc *sc = dev->priv; local
627 struct ath5k_softc *sc = dev->priv; local
695 ath5k_chan_set(struct ath5k_softc *sc, struct net80211_channel *chan) argument
714 ath5k_setcurmode(struct ath5k_softc *sc, unsigned int mode) argument
726 ath5k_mode_setup(struct ath5k_softc *sc) argument
776 ath5k_rx_iob_alloc(struct ath5k_softc *sc, u32 *iob_addr) argument
810 ath5k_rxbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf) argument
855 ath5k_txbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf) argument
910 ath5k_desc_alloc(struct ath5k_softc *sc) argument
965 ath5k_desc_free(struct ath5k_softc *sc) argument
990 ath5k_txq_setup(struct ath5k_softc *sc, int qtype, int subtype) argument
1033 ath5k_txq_drainq(struct ath5k_softc *sc, struct ath5k_txq *txq) argument
1051 ath5k_txq_cleanup(struct ath5k_softc *sc) argument
1071 ath5k_txq_release(struct ath5k_softc *sc) argument
1090 ath5k_rx_start(struct ath5k_softc *sc) argument
1122 ath5k_rx_stop(struct ath5k_softc *sc) argument
1134 ath5k_handle_rx(struct ath5k_softc *sc) argument
1267 ath5k_tx_processq(struct ath5k_softc *sc, struct ath5k_txq *txq) argument
1310 ath5k_handle_tx(struct ath5k_softc *sc) argument
1323 struct ath5k_softc *sc = dev->priv; local
1334 ath5k_init(struct ath5k_softc *sc) argument
1380 ath5k_stop_hw(struct ath5k_softc *sc) argument
1418 struct ath5k_softc *sc = dev->priv; local
1478 ath5k_calibrate(struct ath5k_softc *sc) argument
1503 struct ath5k_softc *sc = dev->priv; local
1537 ath5k_reset(struct ath5k_softc *sc, struct net80211_channel *chan) argument
1580 ath5k_reset_wake(struct ath5k_softc *sc) argument
1587 struct ath5k_softc *sc = dev->priv; local
1602 struct ath5k_softc *sc = dev->priv; local
1613 struct ath5k_softc *sc = dev->priv; local
1676 ath5k_configure_filter(struct ath5k_softc *sc) argument
[all...]
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestCOMPtrEq.cpp82 const nsCOMPtr<nsICOMPtrEqTestFoo> sc; local
101 (s == sc) &&
108 (r == sc) &&
113 (sc == s) &&
114 (sc == r) &&
115 (sc == sc) &&
116 (sc == rc) &&
117 (sc == rk) &&
118 (sc
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath9k/
H A Dath9k.c42 struct ath_softc *sc = (struct ath_softc *) common->priv; local
45 pci_read_config_byte(sc->pdev, PCI_CACHE_LINE_SIZE, &u8tmp);
81 struct ath_softc *sc = (struct ath_softc *) common->priv; local
82 struct pci_device *pdev = sc->pdev;
85 pci_read_config_byte(pdev, sc->sc_ah->caps.pcie_lcr_offset, &lnkctl);
87 pci_write_config_byte(pdev, sc->sc_ah->caps.pcie_lcr_offset, lnkctl);
100 struct ath_softc *sc; local
158 sc = dev->priv;
159 sc->dev = dev;
160 sc
192 struct ath_softc *sc = dev->priv; local
[all...]
H A Dath9k_init.c125 static void ath9k_deinit_softc(struct ath_softc *sc);
137 struct ath_softc *sc = (struct ath_softc *) common->priv; local
139 writel(val, sc->mem + reg_offset);
146 struct ath_softc *sc = (struct ath_softc *) common->priv; local
149 val = readl(sc->mem + reg_offset);
157 struct ath_softc *sc = (struct ath_softc *) common->priv; local
160 val = readl(sc->mem + reg_offset);
163 writel(val, sc->mem + reg_offset);
177 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, argument
194 desc_len = sc
272 ath9k_init_crypto(struct ath_softc *sc) argument
297 ath9k_init_queues(struct ath_softc *sc) argument
308 ath9k_init_channels_rates(struct ath_softc *sc) argument
336 ath9k_init_misc(struct ath_softc *sc) argument
353 ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid, const struct ath_bus_ops *bus_ops) argument
434 ath9k_init_band_txpower(struct ath_softc *sc, int band) argument
451 ath9k_init_txpower_limits(struct ath_softc *sc) argument
464 ath9k_set_hw_capab(struct ath_softc *sc, struct net80211_device *dev __unused) argument
483 ath9k_init_device(u16 devid, struct ath_softc *sc, u16 subsysid, const struct ath_bus_ops *bus_ops) argument
558 ath9k_deinit_softc(struct ath_softc *sc) argument
574 ath9k_deinit_device(struct ath_softc *sc) argument
[all...]
H A Dath9k_recv.c33 static void ath_rx_buf_link(struct ath_softc *sc, struct ath_buf *bf) argument
35 struct ath_hw *ah = sc->sc_ah;
59 if (sc->rx.rxlink == NULL)
62 *sc->rx.rxlink = bf->bf_daddr;
64 sc->rx.rxlink = &ds->ds_link;
67 static void ath_setdefantenna(struct ath_softc *sc, u32 antenna) argument
70 ath9k_hw_setantenna(sc->sc_ah, antenna);
71 sc->rx.defant = antenna;
72 sc->rx.rxotherant = 0;
75 static void ath_opmode_init(struct ath_softc *sc) argument
97 ath_rx_init(struct ath_softc *sc, int nbufs) argument
144 ath_rx_cleanup(struct ath_softc *sc) argument
181 ath_calcrxfilter(struct ath_softc *sc) argument
196 ath_startrecv(struct ath_softc *sc) argument
224 ath_stoprecv(struct ath_softc *sc) argument
244 ath_flushrecv(struct ath_softc *sc) argument
251 ath_get_next_rx_buf(struct ath_softc *sc, struct ath_rx_status *rs) argument
376 struct ath_softc *sc = (struct ath_softc *)dev->priv; local
432 ath_rx_tasklet(struct ath_softc *sc, int flush, int hp __unused) argument
[all...]
H A Dath9k_main.c26 int ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode) argument
30 ret = ath9k_hw_setpower(sc->sc_ah, mode);
39 struct ath_softc *sc = (struct ath_softc *) common->priv; local
41 if (!(sc->sc_flags & SC_OP_ANI_RUN))
44 if (sc->sc_flags & SC_OP_OFFCHANNEL)
54 static void ath_update_survey_nf(struct ath_softc *sc, int channel) argument
56 struct ath_hw *ah = sc->sc_ah;
58 struct survey_info *survey = &sc->survey[channel];
71 static int ath_update_survey_stats(struct ath_softc *sc) argument
73 struct ath_hw *ah = sc
116 ath_set_channel(struct ath_softc *sc, struct net80211_device *dev, struct ath9k_channel *hchan) argument
200 ath_ani_calibrate(struct ath_softc *sc) argument
287 ath_hw_check(struct ath_softc *sc) argument
308 ath_hw_pll_rx_hang_check(struct ath_softc *sc, u32 pll_sqsum) argument
325 ath_hw_pll_work(struct ath_softc *sc) argument
339 ath9k_tasklet(struct ath_softc *sc) argument
382 struct ath_softc *sc = dev->priv; local
471 ath_radio_disable(struct ath_softc *sc, struct net80211_device *dev) argument
511 ath_reset(struct ath_softc *sc, int retry_tx) argument
567 struct ath_softc *sc = dev->priv; local
644 struct ath_softc *sc = dev->priv; local
667 struct ath_softc *sc = dev->priv; local
710 struct ath_softc *sc = dev->priv; local
797 ath9k_bss_iter(struct ath_softc *sc) argument
825 ath9k_config_bss(struct ath_softc *sc) argument
857 struct ath_softc *sc = dev->priv; local
901 struct ath_softc *sc = dev->priv; local
[all...]
H A Dath9k_xmit.c42 static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq,
45 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf,
48 static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq,
50 static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf, int len);
83 static struct ath_buf *ath_tx_get_buffer(struct ath_softc *sc) argument
87 if (list_empty(&sc->tx.txbuf)) {
91 bf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list);
97 static void ath_tx_return_buffer(struct ath_softc *sc, struct ath_buf *bf) argument
99 list_add_tail(&bf->list, &sc->tx.txbuf);
106 struct ath_txq *ath_txq_setup(struct ath_softc *sc, in argument
181 ath_draintxq(struct ath_softc *sc, struct ath_txq *txq, int retry_tx __unused) argument
216 ath_drain_all_txq(struct ath_softc *sc, int retry_tx) argument
255 ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq) argument
323 ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, struct list_head *head) argument
363 ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid, struct list_head *bf_head) argument
409 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate) argument
421 ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf, int len) argument
502 struct ath_softc *sc = dev->priv; local
549 ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_control *txctl) argument
572 struct ath_softc *sc = dev->priv; local
601 ath_tx_complete(struct ath_softc *sc, struct io_buffer *iob, int tx_flags __unused, struct ath_tx_status *ts, struct ath_txq *txq) argument
623 ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, struct ath_txq *txq, struct list_head *bf_q, struct ath_tx_status *ts, int txok, int sendbar) argument
656 ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq) argument
741 ath_tx_complete_poll_work(struct ath_softc *sc) argument
771 ath_tx_tasklet(struct ath_softc *sc) argument
788 ath_tx_init(struct ath_softc *sc, int nbufs) argument
809 ath_tx_cleanup(struct ath_softc *sc) argument
[all...]
/vbox/src/VBox/Additions/x11/x11include/libdrm-2.4.13/
H A Dnouveau_pushbuf.h102 BIND_RING(struct nouveau_channel *chan, struct nouveau_grobj *gr, unsigned sc) argument
104 struct nouveau_subchannel *subc = &gr->channel->subc[sc];
112 subc->gr->subc = sc;
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dstring.c177 const char *sc; local
179 for (sc = s; *sc != '\0'; ++sc)
181 return sc - s;
193 const char *sc; local
195 for (sc = s; count-- && *sc != '\0'; ++sc)
197 return sc
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Dncr.c349 register int c, sc; local
362 for (spanp = (char *)delim; (sc = *spanp++) != 0;) {
363 if (c == sc)
381 if ((sc = *spanp++) == c) {
390 } while (sc != 0);
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dppp_oe.c146 struct pppoe_softc *sc; local
148 sc = (struct pppoe_softc *)memp_malloc(MEMP_PPPOE_IF);
149 if (sc == NULL) {
153 memset(sc, 0, sizeof(struct pppoe_softc));
156 MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest));
158 sc->sc_pd = pd;
159 sc->sc_linkStatusCB = linkStatusCB;
160 sc->sc_ethif = ethif;
163 sc
174 struct pppoe_softc *sc, *prev = NULL; local
217 struct pppoe_softc *sc; local
241 struct pppoe_softc *sc, *t; local
278 pppoe_linkstatus_up(struct pppoe_softc *sc) argument
289 struct pppoe_softc *sc; local
564 struct pppoe_softc *sc; local
637 pppoe_output(struct pppoe_softc *sc, struct pbuf *pb) argument
668 pppoe_send_padi(struct pppoe_softc *sc) argument
737 struct pppoe_softc *sc = (struct pppoe_softc*)arg; local
804 pppoe_connect(struct pppoe_softc *sc) argument
829 pppoe_disconnect(struct pppoe_softc *sc) argument
844 pppoe_do_disconnect(struct pppoe_softc *sc) argument
875 pppoe_abort_connect(struct pppoe_softc *sc) argument
889 pppoe_send_padr(struct pppoe_softc *sc) argument
977 pppoe_send_pado(struct pppoe_softc *sc) argument
1011 pppoe_send_pads(struct pppoe_softc *sc) argument
1053 pppoe_xmit(struct pppoe_softc *sc, struct pbuf *pb) argument
1111 pppoe_clear_softc(struct pppoe_softc *sc, const char *message) argument
[all...]
/vbox/src/VBox/Devices/PC/BIOS/
H A Data.c133 uint8_t channel, slave, sn, sc; local
162 // 8.2.1 (g) -- check for sc==sn==0x01
165 sc = inb(iobase1+ATA_CB_SC);
168 if ( (sc==0x01) && (sn==0x01) ) {
406 uint8_t sc, sn, cl, ch, st; local
427 sc = inb(iobase1+ATA_CB_SC);
430 if ( (sc == 0x55) && (sn == 0xaa) ) {
438 sc = inb(iobase1+ATA_CB_SC);
440 if ((sc==0x01) && (sn==0x01)) {
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/PosixLib/Glob/
H A Dglob.c726 u_char *sc; local
756 for (sc = (u_char *) dp->FileName, dc = pathend;
757 dc <= pathlim && (*dc++ = *sc++) != EOS;)
/vbox/src/recompiler/
H A Dcpu-exec.c1233 struct sigcontext *sc = puc; local
1234 uintptr_t pc = sc->sigc_regs.tpc;
1235 void *sigmask = (void *)sc->sigc_mask;
/vbox/src/recompiler/target-i386/
H A Dhelper.c191 const char *name, struct SegmentCache *sc)
199 sc->selector, sc->base, sc->limit, sc->flags);
203 cpu_fprintf(f, "%-3s=%04x %08x %08x %08x", name, sc->selector,
204 (uint32_t)sc->base, sc->limit, sc->flags);
207 if (!(env->hflags & HF_PE_MASK) || !(sc
189 cpu_x86_dump_seg_cache(CPUState *env, FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...), const char *name, struct SegmentCache *sc) argument
[all...]
/vbox/src/VBox/Main/src-server/
H A DMachineImplCloneVM.cpp118 void updateStorageLists(settings::StorageControllersList &sc, const Bstr &bstrOldId, const Bstr &bstrNewId) const;
611 void MachineCloneVMPrivate::updateStorageLists(settings::StorageControllersList &sc, argument
615 for (it3 = sc.begin();
616 it3 != sc.end();
H A DApplianceImplImport.cpp3801 settings::StorageController &sc = *sit; local
3804 switch (sc.storageBus)
3817 for (settings::AttachedDevicesList::iterator dit = sc.llAttachedDevices.begin();
3818 dit != sc.llAttachedDevices.end();
3916 } // for (settings::AttachedDevicesList::const_iterator dit = sc.llAttachedDevices.begin();
/vbox/src/VBox/Devices/Audio/
H A Daudio.c797 SWVoiceCap *sc = hw->cap_head.lh_first; local
799 while (sc) {
800 SWVoiceCap *sc1 = sc->entries.le_next;
801 SWVoiceOut *sw = &sc->sw;
802 CaptureVoiceOut *cap = sc->cap;
811 LIST_REMOVE (sc, entries);
812 qemu_free (sc);
819 sc = sc1;
829 SWVoiceCap *sc; local
833 sc
1180 SWVoiceCap *sc; local
1304 SWVoiceCap *sc; local
1356 SWVoiceCap *sc; local
1619 SWVoiceCap *sc; local
1890 SWVoiceCap *sc = (SWVoiceCap *) sw; local
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Dxf86Pci.h441 } sc; member in union:pci_cfg_regs::__anon7575
680 #define pci_command cfgspc.regs.stat_cmd.sc.command
681 #define pci_status cfgspc.regs.stat_cmd.sc.status
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Dxf86Pci.h441 } sc; member in union:pci_cfg_regs::__anon7940
680 #define pci_command cfgspc.regs.stat_cmd.sc.command
681 #define pci_status cfgspc.regs.stat_cmd.sc.status

Completed in 3910 milliseconds

12