Home
last modified time | relevance | path

Searched refs:ads (Results 1 – 8 of 8) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dar9002_mac.c214 struct ar5416_desc *ads = AR5416DESC(ds); in ar9002_set_txdesc() local
217 ads->ds_txstatus0 = ads->ds_txstatus1 = 0; in ar9002_set_txdesc()
218 ads->ds_txstatus2 = ads->ds_txstatus3 = 0; in ar9002_set_txdesc()
219 ads->ds_txstatus4 = ads->ds_txstatus5 = 0; in ar9002_set_txdesc()
220 ads->ds_txstatus6 = ads->ds_txstatus7 = 0; in ar9002_set_txdesc()
221 ads->ds_txstatus8 = ads->ds_txstatus9 = 0; in ar9002_set_txdesc()
223 ACCESS_ONCE(ads->ds_link) = i->link; in ar9002_set_txdesc()
224 ACCESS_ONCE(ads->ds_data) = i->buf_addr[0]; in ar9002_set_txdesc()
230 ads->ds_ctl8 = 0; in ar9002_set_txdesc()
231 ads->ds_ctl9 = 0; in ar9002_set_txdesc()
[all …]
Dar9003_mac.c29 struct ar9003_txc *ads = ds; in ar9003_set_txdesc() local
42 ACCESS_ONCE(ads->info) = val; in ar9003_set_txdesc()
45 ACCESS_ONCE(ads->link) = i->link; in ar9003_set_txdesc()
48 ACCESS_ONCE(ads->data0) = i->buf_addr[0]; in ar9003_set_txdesc()
50 ACCESS_ONCE(ads->data1) = i->buf_addr[1]; in ar9003_set_txdesc()
52 ACCESS_ONCE(ads->data2) = i->buf_addr[2]; in ar9003_set_txdesc()
54 ACCESS_ONCE(ads->data3) = i->buf_addr[3]; in ar9003_set_txdesc()
57 ACCESS_ONCE(ads->ctl3) = val; in ar9003_set_txdesc()
59 ACCESS_ONCE(ads->ctl5) = val; in ar9003_set_txdesc()
61 ACCESS_ONCE(ads->ctl7) = val; in ar9003_set_txdesc()
[all …]
Dmac.c527 struct ar5416_desc ads; in ath9k_hw_rxprocdesc() local
534 ads.u.rx = adsp->u.rx; in ath9k_hw_rxprocdesc()
540 rs->rs_datalen = ads.ds_rxstatus1 & AR_DataLen; in ath9k_hw_rxprocdesc()
541 rs->rs_tstamp = ads.AR_RcvTimestamp; in ath9k_hw_rxprocdesc()
543 if (ads.ds_rxstatus8 & AR_PostDelimCRCErr) { in ath9k_hw_rxprocdesc()
552 rs->rs_rssi = MS(ads.ds_rxstatus4, AR_RxRSSICombined); in ath9k_hw_rxprocdesc()
553 rs->rs_rssi_ctl[0] = MS(ads.ds_rxstatus0, in ath9k_hw_rxprocdesc()
555 rs->rs_rssi_ctl[1] = MS(ads.ds_rxstatus0, in ath9k_hw_rxprocdesc()
557 rs->rs_rssi_ctl[2] = MS(ads.ds_rxstatus0, in ath9k_hw_rxprocdesc()
559 rs->rs_rssi_ext[0] = MS(ads.ds_rxstatus4, in ath9k_hw_rxprocdesc()
[all …]
/drivers/macintosh/
Dwindfarm_smu_sensors.c61 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_ads_release() local
63 kfree(ads); in smu_ads_release()
90 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_cputemp_get() local
95 rc = smu_read_adc(ads->reg, &val); in smu_cputemp_get()
113 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_cpuamp_get() local
117 rc = smu_read_adc(ads->reg, &val); in smu_cpuamp_get()
134 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_cpuvolt_get() local
138 rc = smu_read_adc(ads->reg, &val); in smu_cpuvolt_get()
155 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_slotspow_get() local
159 rc = smu_read_adc(ads->reg, &val); in smu_slotspow_get()
[all …]
/drivers/media/usb/gspca/
Dstk014.c102 int ads) in rcv_val() argument
107 reg_w(gspca_dev, 0x634, (ads >> 16) & 0xff); in rcv_val()
108 reg_w(gspca_dev, 0x635, (ads >> 8) & 0xff); in rcv_val()
109 reg_w(gspca_dev, 0x636, ads & 0xff); in rcv_val()
132 int ads, in snd_val() argument
139 if (ads == 0x003f08) { in snd_val()
145 reg_w(gspca_dev, 0x654, (ads >> 16) & 0xff); in snd_val()
147 reg_w(gspca_dev, 0x655, (ads >> 8) & 0xff); in snd_val()
148 reg_w(gspca_dev, 0x656, ads & 0xff); in snd_val()
171 if (ads == 0x003f08) { in snd_val()
/drivers/gpu/drm/i915/
Di915_guc_submission.c916 struct guc_ads *ads; in guc_addon_create() local
938 ads = kmap(page); in guc_addon_create()
948 ads->golden_context_lrca = engine->status_page.ggtt_offset; in guc_addon_create()
951 ads->eng_state_size[engine->guc_id] = intel_lr_context_size(engine); in guc_addon_create()
954 policies = (void *)ads + sizeof(struct guc_ads); in guc_addon_create()
957 ads->scheduler_policies = in guc_addon_create()
971 ads->reg_state_addr = ads->scheduler_policies + in guc_addon_create()
974 ads->reg_state_buffer = ads->reg_state_addr + in guc_addon_create()
Dintel_guc_loader.c219 u32 ads = i915_ggtt_offset(guc->ads_vma) >> PAGE_SHIFT; in guc_params_init() local
220 params[GUC_CTL_DEBUG] |= ads << GUC_ADS_ADDR_SHIFT; in guc_params_init()
/drivers/input/touchscreen/
Dads7846.c620 static int ads7846_debounce_filter(void *ads, int data_idx, int *val) in ads7846_debounce_filter() argument
622 struct ads7846 *ts = ads; in ads7846_debounce_filter()
662 static int ads7846_no_filter(void *ads, int data_idx, int *val) in ads7846_no_filter() argument