/drivers/isdn/sc/ |
H A D | Makefile | 1 # Makefile for the sc ISDN device driver 5 obj-$(CONFIG_ISDN_DRV_SC) += sc.o 9 sc-y := shmem.o init.o packet.o command.o event.o \
|
/drivers/net/wireless/ath/ath9k/ |
H A D | dfs.h | 25 * @sc: ath_softc 37 void ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, 41 ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, argument
|
H A D | dfs_debug.h | 58 #define DFS_STAT_INC(sc, c) (sc->debug.stats.dfs_stats.c++) 59 void ath9k_dfs_init_debug(struct ath_softc *sc); 65 #define DFS_STAT_INC(sc, c) do { } while (0) 66 static inline void ath9k_dfs_init_debug(struct ath_softc *sc) { } argument
|
H A D | ahb.c | 57 struct ath_softc *sc = (struct ath_softc *)common->priv; local 58 struct platform_device *pdev = to_platform_device(sc->dev); 82 struct ath_softc *sc; local 126 sc = hw->priv; 127 sc->hw = hw; 128 sc->dev = &pdev->dev; 129 sc->mem = mem; 130 sc->irq = irq; 132 ret = request_irq(irq, ath_isr, IRQF_SHARED, "ath9k", sc); 138 ret = ath9k_init_device(id->driver_data, sc, 163 struct ath_softc *sc = hw->priv; local [all...] |
H A D | dfs.c | 51 ath9k_postprocess_radar_event(struct ath_softc *sc, argument 68 DFS_STAT_INC(sc, pri_phy_errors); 78 DFS_STAT_INC(sc, ext_phy_errors); 97 DFS_STAT_INC(sc, dc_phy_errors); 107 DFS_STAT_INC(sc, bwinfo_discards); 112 DFS_STAT_INC(sc, rssi_discards); 123 pe->width = dur_to_usecs(sc->sc_ah, dur); 126 DFS_STAT_INC(sc, pulses_detected); 135 void ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, argument 142 struct ath_hw *ah = sc [all...] |
H A D | dfs_debug.c | 29 sc->debug.stats.dfs_stats.p); 37 struct ath_softc *sc = file->private_data; local 38 struct ath9k_hw_version *hw_ver = &sc->sc_ah->hw_version; 50 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_DFS) ? 53 if (!sc->dfs_detector) { 59 dfs_pool_stats = sc->dfs_detector->get_stats(sc->dfs_detector); 73 sc->dfs_detector->region); 100 struct ath_softc *sc = file->private_data; local 114 memset(&sc 123 struct ath_softc *sc = file->private_data; local 145 ath9k_dfs_init_debug(struct ath_softc *sc) argument [all...] |
H A D | wow.c | 26 static void ath9k_wow_map_triggers(struct ath_softc *sc, argument 39 sc->wow_enabled = *wow_triggers; 43 static void ath9k_wow_add_disassoc_deauth_pattern(struct ath_softc *sc) argument 45 struct ath_hw *ah = sc->sc_ah; 137 static void ath9k_wow_add_pattern(struct ath_softc *sc, argument 140 struct ath_hw *ah = sc->sc_ah; 190 struct ath_softc *sc = hw->priv; local 191 struct ath_hw *ah = sc->sc_ah; 196 ath9k_deinit_channel_context(sc); 198 mutex_lock(&sc 294 struct ath_softc *sc = hw->priv; local 343 struct ath_softc *sc = hw->priv; local 353 struct ath_softc *sc = hw->priv; local [all...] |
H A D | antenna.c | 721 void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs) argument 724 struct ath_ant_comb *antcomb = &sc->ant_comb; 781 ath9k_hw_antdiv_comb_conf_get(sc->sc_ah, &div_ant_conf); 840 ath9k_hw_antdiv_comb_conf_set(sc->sc_ah, &div_ant_conf); 841 ath9k_debug_stat_ant(sc, &div_ant_conf, main_rssi_avg, alt_rssi_avg);
|
H A D | debug_sta.c | 27 struct ath_softc *sc = an->sc; local 57 ath_txq_lock(sc, txq); 61 ath_txq_unlock(sc, txq); 72 ath_txq_lock(sc, txq); 85 ath_txq_unlock(sc, txq); 105 void ath_debug_rate_stats(struct ath_softc *sc, argument 110 struct ath_hw *ah = sc->sc_ah; 121 sta = ieee80211_find_sta_by_ifaddr(sc->hw, hdr->addr2, NULL); 186 struct ath_softc *sc local [all...] |
H A D | pci.c | 668 struct ath_softc *sc = (struct ath_softc *) common->priv; local 671 pci_read_config_byte(to_pci_dev(sc->dev), PCI_CACHE_LINE_SIZE, &u8tmp); 686 struct ath_softc *sc = (struct ath_softc *) common->priv; local 687 struct ath9k_platform_data *pdata = sc->dev->platform_data; 721 struct ath_softc *sc = (struct ath_softc *) common->priv; local 722 struct ath_hw *ah = sc->sc_ah; 723 struct pci_dev *pdev = to_pci_dev(sc->dev); 785 struct ath_softc *sc; local 856 sc = hw->priv; 857 sc 892 struct ath_softc *sc = hw->priv; local 907 struct ath_softc *sc = hw->priv; local 928 struct ath_softc *sc = hw->priv; local [all...] |
H A D | spectral.h | 126 void ath9k_spectral_init_debug(struct ath_softc *sc); 127 void ath9k_spectral_deinit_debug(struct ath_softc *sc); 134 int ath_process_fft(struct ath_softc *sc, struct ieee80211_hdr *hdr, 137 static inline int ath_process_fft(struct ath_softc *sc, argument
|
H A D | tx99.c | 19 static void ath9k_tx99_stop(struct ath_softc *sc) argument 21 struct ath_hw *ah = sc->sc_ah; 24 ath_drain_all_txq(sc); 25 ath_startrecv(sc); 30 ieee80211_wake_queues(sc->hw); 32 kfree_skb(sc->tx99_skb); 33 sc->tx99_skb = NULL; 34 sc->tx99_state = false; 36 ath9k_hw_tx99_stop(sc->sc_ah); 40 static struct sk_buff *ath9k_build_tx99_skb(struct ath_softc *sc) argument 100 ath9k_tx99_deinit(struct ath_softc *sc) argument 109 ath9k_tx99_init(struct ath_softc *sc) argument 165 struct ath_softc *sc = file->private_data; local 176 struct ath_softc *sc = file->private_data; local 224 struct ath_softc *sc = file->private_data; local 239 struct ath_softc *sc = file->private_data; local 267 ath9k_tx99_init_debug(struct ath_softc *sc) argument [all...] |
/drivers/media/usb/gspca/ |
H A D | jpeg.h | 155 int i, sc; local 158 sc = 5000; 160 sc = 5000 / quality; 162 sc = 200 - quality * 2; 165 (jpeg_head[JPEG_QT0_OFFSET + i] * sc + 50) / 100; 167 (jpeg_head[JPEG_QT1_OFFSET + i] * sc + 50) / 100;
|
/drivers/net/wan/lmc/ |
H A D | lmc_proto.c | 50 void lmc_proto_attach(lmc_softc_t *sc) /*FOLD00*/ argument 52 lmc_trace(sc->lmc_device, "lmc_proto_attach in"); 53 if (sc->if_type == LMC_NET) { 54 struct net_device *dev = sc->lmc_device; 62 lmc_trace(sc->lmc_device, "lmc_proto_attach out"); 65 int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd) argument 67 lmc_trace(sc->lmc_device, "lmc_proto_ioctl"); 68 if (sc->if_type == LMC_PPP) 69 return hdlc_ioctl(sc->lmc_device, ifr, cmd); 73 int lmc_proto_open(lmc_softc_t *sc) argument 90 lmc_proto_close(lmc_softc_t *sc) argument 100 lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb) argument 122 lmc_proto_netif(lmc_softc_t *sc, struct sk_buff *skb) argument [all...] |
/drivers/media/pci/cx18/ |
H A D | cx18-alsa-mixer.c | 164 struct snd_card *sc = cxsc->sc; local 167 strlcpy(sc->mixername, "CX23418 Mixer", sizeof(sc->mixername)); 169 ret = snd_ctl_add(sc, snd_ctl_new1(snd_cx18_mixer_tv_vol, cxsc));
|
H A D | cx18-alsa.h | 26 struct snd_card *sc; member in struct:snd_cx18_card
|
H A D | cx18-alsa-main.c | 89 static void snd_cx18_card_private_free(struct snd_card *sc) argument 91 if (sc == NULL) 93 snd_cx18_card_free(sc->private_data); 94 sc->private_data = NULL; 95 sc->private_free = NULL; 99 struct snd_card *sc, 107 (*cxsc)->sc = sc; 109 sc->private_data = *cxsc; 110 sc 98 snd_cx18_card_create(struct v4l2_device *v4l2_dev, struct snd_card *sc, struct snd_cx18_card **cxsc) argument 118 struct snd_card *sc = cxsc->sc; local 138 struct snd_card *sc = NULL; local [all...] |
/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-mixer.c | 164 struct snd_card *sc = itvsc->sc; local 167 strlcpy(sc->mixername, "CX2341[56] Mixer", sizeof(sc->mixername)); 169 ret = snd_ctl_add(sc, snd_ctl_new1(snd_ivtv_mixer_tv_vol, itvsc));
|
H A D | ivtv-alsa.h | 27 struct snd_card *sc; member in struct:snd_ivtv_card
|
H A D | ivtv-alsa-main.c | 89 static void snd_ivtv_card_private_free(struct snd_card *sc) argument 91 if (sc == NULL) 93 snd_ivtv_card_free(sc->private_data); 94 sc->private_data = NULL; 95 sc->private_free = NULL; 99 struct snd_card *sc, 107 (*itvsc)->sc = sc; 109 sc->private_data = *itvsc; 110 sc 98 snd_ivtv_card_create(struct v4l2_device *v4l2_dev, struct snd_card *sc, struct snd_ivtv_card **itvsc) argument 118 struct snd_card *sc = itvsc->sc; local 138 struct snd_card *sc = NULL; local [all...] |
/drivers/media/platform/exynos-gsc/ |
H A D | gsc-regs.c | 349 struct gsc_scaler *sc = &ctx->scaler; local 352 cfg = GSC_PRESC_SHFACTOR(sc->pre_shfactor); 353 cfg |= GSC_PRESC_H_RATIO(sc->pre_hratio); 354 cfg |= GSC_PRESC_V_RATIO(sc->pre_vratio); 361 struct gsc_scaler *sc = &ctx->scaler; local 364 cfg = GSC_MAIN_H_RATIO_VALUE(sc->main_hratio); 367 cfg = GSC_MAIN_V_RATIO_VALUE(sc->main_vratio);
|
/drivers/scsi/aic7xxx/ |
H A D | aic7770.c | 278 struct seeprom_config *sc; local 293 sc = ahc->seep_config; 297 have_seeprom = ahc_read_seeprom(&sd, (uint16_t *)sc, 298 /*start_addr*/0, sizeof(*sc)/2); 302 if (ahc_verify_cksum(sc) == 0) { 329 target_settings = (sc->device_flags[i] & CFXFER) << 4; 330 if (sc->device_flags[i] & CFSYNCH) 332 if (sc->device_flags[i] & CFWIDEB) 334 if (sc->device_flags[i] & CFDISC) 341 ahc->our_id = sc [all...] |
H A D | aic7xxx_93cx6.c | 305 ahc_verify_cksum(struct seeprom_config *sc) argument 312 maxaddr = (sizeof(*sc)/2) - 1; 314 scarray = (uint16_t *)sc; 319 || (checksum & 0xFFFF) != sc->checksum) {
|
/drivers/target/loopback/ |
H A D | tcm_loop.h | 16 struct scsi_cmnd *sc; member in struct:tcm_loop_cmd
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_release.c | 63 int count = 0, sc = 0; local 72 sc++; 90 if (have_drawable_releases || sc < 4) { 91 if (sc > 2) 98 if (have_drawable_releases && sc > 300) { 101 fence->context & ~0xf0000000, sc);
|