Searched defs:fid (Results 1 - 25 of 35) sorted by relevance

12

/drivers/w1/
H A Dw1_family.c44 if (f->fid == newf->fid) {
71 if (f->fid == fent->fid) {
83 fent->fid, atomic_read(&fent->refcnt));
93 struct w1_family * w1_family_registered(u8 fid) argument
102 if (f->fid == fid) {
H A Dw1_family.h57 u8 fid; member in struct:w1_family
/drivers/cpufreq/
H A Dcpufreq-nforce2.c37 /* fid:
40 static int fid; variable
52 module_param(fid, int, 0444);
55 MODULE_PARM_DESC(fid, "CPU multiplier to use (11.5 = 115)");
240 return nforce2_fsb_read(0) * fid * 100;
262 target_fsb = target_freq / (fid * 100);
265 freqs.new = target_fsb * fid * 100;
302 fsb_pol_max = policy->max / (fid * 100);
304 if (policy->min < (fsb_pol_max * fid * 100))
305 policy->max = (fsb_pol_max + 1) * fid * 10
[all...]
H A Dpowernow-k7.c62 unsigned long fid:5, member in struct:powernow_acpi_control_t::__anon415
178 u8 fid, vid; local
186 fid = *pst++;
188 powernow_table[j].frequency = (fsb * fid_codes[fid]) / 10;
189 powernow_table[j].index = fid; /* lower 8 bits */
193 if ((fid_codes[fid] % 10) == 5) {
209 "VID: 0x%x (%d.%03dV)\n", fid, fid_codes[fid] / 10,
210 fid_codes[fid] % 10, speed/1000, vid,
221 static void change_FID(int fid) argument
253 u8 fid, vid; local
360 u8 fid, vid; local
[all...]
H A Dpowernow-k8.c77 /* Return a frequency in MHz, given an input fid */
78 static u32 find_freq_from_fid(u32 fid) argument
80 return 800 + (fid * 100);
83 /* Return a frequency in KHz, given an input fid */
84 static u32 find_khz_freq_from_fid(u32 fid) argument
86 return 1000 * find_freq_from_fid(fid);
95 /* Return the vco fid for an input fid
97 * Each "low" fid has corresponding "high" fid, an
101 convert_fid_to_vco_fid(u32 fid) argument
179 u8 fid, vid; local
191 write_new_fid(struct powernow_k8_data *data, u32 fid) argument
655 freq_from_fid_did(u32 fid, u32 did) argument
970 u32 fid; local
1059 u32 fid = 0; local
[all...]
H A Dpowernow-k8.h28 * vid/fid pairings, but are modified during the ->target() call
37 /* keep track of the current fid / vid or pstate */
42 /* the powernow_table includes all frequency and vid/fid pairings:
43 * fid are the lower 8 bits of the index, vid are the upper 8 bits.
48 * used to determine valid frequency/vid/fid states */
119 * - only 1 entry in the low fid table ( <=1.4GHz )
120 * - lowest entry in the high fid table must be >= 2 * the entry in the
121 * low fid table
122 * - lowest entry in the high fid table must be a <= 200MHz + 2 * the entry
123 * in the low fid tabl
210 u8 fid; member in struct:pst_s
[all...]
/drivers/isdn/act2000/
H A Dact2000_isa.c360 act2000_fwid fid; local
361 u_char *p = (u_char *)&fid;
376 fid.revlen[0] = '\0';
377 if (strcmp(fid.isdn, "ISDN")) {
381 if ((p = strchr(fid.revision, '\n')))
383 printk(KERN_INFO "act2000: Firmware-ID: %s\n", fid.revision);
/drivers/w1/slaves/
H A Dw1_therm.c75 .fid = W1_THERM_DS18S20,
80 .fid = W1_THERM_DS18B20,
85 .fid = W1_THERM_DS1822,
90 .fid = W1_THERM_DS28EA00,
151 static inline int w1_convert_temp(u8 rom[9], u8 fid) argument
156 if (w1_therm_families[i].f->fid == fid)
260 w1_convert_temp(rom, sl->family->fid));
/drivers/usb/gadget/
H A Duvc.h137 unsigned int fid; member in struct:uvc_video
/drivers/media/video/uvc/
H A Duvc_video.c952 __u8 fid; local
964 fid = data[1] & UVC_STREAM_FID;
969 if (stream->last_fid != fid) {
982 stream->last_fid = fid;
1004 if (fid == stream->last_fid) {
1042 if (fid != stream->last_fid && buf->bytesused != 0) {
1049 stream->last_fid = fid;
/drivers/misc/
H A Dics932s401.c227 int fid = data->regs[ICS932S401_REG_CFG7] & ICS932S401_FS_MASK; local
228 freq = fs_speeds[fid];
/drivers/net/wireless/orinoco/
H A Dhermes.c317 static int hermes_allocate(struct hermes *hw, u16 size, u16 *fid) argument
352 *fid = hermes_read_regn(hw, ALLOCFID);
H A Dmain.c585 u16 fid = hermes_read_regn(hw, ALLOCFID); local
587 if (fid != priv->txfid) {
588 if (fid != DUMMY_FID)
589 printk(KERN_WARNING "%s: Allocate event on unexpected fid (%04X)\n",
590 dev->name, fid);
613 u16 fid = hermes_read_regn(hw, TXCOMPLFID); local
618 if (fid == DUMMY_FID)
624 fid, 0);
632 dev->name, fid, err);
637 err, fid);
[all...]
/drivers/s390/char/
H A Dtape_3590.h102 unsigned int fid:8; member in struct:tape_3590_sense::__anon3921::__anon3922
/drivers/acpi/
H A Dbattery.c832 static int acpi_battery_read(int fid, struct seq_file *seq) argument
836 return acpi_print_funcs[fid](seq, result);
/drivers/media/video/davinci/
H A Dvpbe_display.c125 int fid; local
173 fid = 0;
175 fid = 1;
181 if (fid != layer->field_id) {
183 layer->field_id = fid;
190 if (0 == fid)
H A Dvpfe_capture.c578 int fid; local
601 fid = ccdc_dev->hw_ops.getfid();
606 fid, vpfe_dev->field_id);
607 if (fid == vpfe_dev->field_id) {
609 if (fid == 0) {
637 } else if (fid == 0) {
642 vpfe_dev->field_id = fid;
H A Dvpif_capture.c341 int fid = -1, i; local
381 fid = vpif_channel_getfid(ch->channel_id);
382 if (fid != ch->field_id) {
387 if (0 == fid)
388 ch->field_id = fid;
393 if (0 == fid) {
400 } else if (1 == fid) {
H A Dvpif_display.c263 static void process_interlaced_mode(int fid, struct common_obj *common) argument
267 if (0 == fid) {
282 } else if (1 == fid) { /* odd field */
306 int fid = -1, i; local
347 fid = vpif_channel_getfid(ch->channel_id + 2);
348 /* If fid does not match with stored field id */
349 if (fid != ch->field_id) {
351 if (0 == fid)
352 ch->field_id = fid;
357 process_interlaced_mode(fid, commo
[all...]
/drivers/media/video/omap/
H A Domap_vout.c530 u32 fid; local
538 fid = 1;
540 fid = 0;
545 if (fid != vout->field_id) {
546 if (fid == 0)
547 vout->field_id = fid;
548 } else if (0 == fid) {
569 int ret, fid, mgr_id; local
606 fid = omapvid_handle_interlace_display(vout, irqstatus,
608 if (!fid)
[all...]
/drivers/net/ethernet/micrel/
H A Dks8851.c81 * @fid: Incrementing frame id tag.
113 u8 fid; member in struct:ks8851_net
721 unsigned fid = 0; local
727 fid = ks->fid++;
728 fid &= TXFR_TXFID_MASK;
731 fid |= TXFR_TXIC; /* irq on completion */
735 ks->txh.txw[1] = cpu_to_le16(fid);
/drivers/staging/wlags49_h2/
H A Dhcf.c129 HCF_STATIC int setup_bap( IFBP ifbp, hcf_16 fid, int offset, int type );
2531 *4: for the normal case (i.e. no HFS_TX_CNTL_TX_DELAY option active), a fid is acquired via the
2581 hcf_16 fid = 0; local
2601 * but moving it inside the "if fid" logic makes the merging with the
2607 fid = ifbp->IFB_TxFID;
2608 if (fid == 0 && ( fid = get_fid( ifbp ) ) != 0 ) /* 4 */
2611 - no fid available (which should never occur if the MSF adheres to the WCI)
2620 /*7*/ (void)setup_bap( ifbp, fid, HFS_TX_CNTL, IO_OUT );
2625 ifbp->IFB_TxFID = fid;
3787 hcf_16 fid = 0; local
4171 hcf_16 info[2], fid; local
4723 setup_bap( IFBP ifbp, hcf_16 fid, int offset, int type ) argument
[all...]
/drivers/block/
H A Dnvme.c837 static int nvme_get_features(struct nvme_dev *dev, unsigned fid, argument
845 c.features.fid = cpu_to_le32(fid);
851 static int nvme_set_features(struct nvme_dev *dev, unsigned fid, argument
859 c.features.fid = cpu_to_le32(fid);
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dampdu.c358 static int brcms_c_ffpld_check_txfunfl(struct brcms_c_info *wlc, int fid) argument
367 struct brcms_fifo_info *fifo = (ampdu->fifo_tb + fid);
374 offsetof(struct macstat, txfunfl[fid]));
386 if (brcms_b_xmtfifo_sz_get(wlc->hw, fid, &xmtfifo_sz))
467 brcms_c_ffpld_calc_mcs2ampdu_table(ampdu, fid);
/drivers/net/wireless/hostap/
H A Dhostap_hw.c972 u16 fid; local
979 printk(KERN_DEBUG "%s: cannot allocate fid, len=%d\n",
989 printk("%s: fid allocate, len=%d - timeout\n", dev->name, len);
993 fid = HFA384X_INW(HFA384X_ALLOCFID_OFF);
996 return fid;
1892 /* Some SMP systems have reported number of odd errors with hostap_pci. fid
1896 * and will try to get the correct fid eventually. */
1913 printk(KERN_DEBUG "%s: detected fid change (try=%d, reg=%04x):"
1921 printk(KERN_WARNING "%s: Uhhuh.. could not read good fid from reg "
2108 u16 fid; local
2223 u16 fid, len; local
2416 u16 fid; local
[all...]

Completed in 563 milliseconds

12