Searched refs:fmi (Results 1 – 2 of 2) sorted by relevance
47 struct fmi struct58 static struct fmi fmi_card; argument73 struct fmi *fmi = handle; in fmi_set_pins() local76 if (!fmi->mute) in fmi_set_pins()86 mutex_lock(&fmi->lock); in fmi_set_pins()87 outb_p(bits, fmi->io); in fmi_set_pins()88 mutex_unlock(&fmi->lock); in fmi_set_pins()91 static inline void fmi_mute(struct fmi *fmi) in fmi_mute() argument93 mutex_lock(&fmi->lock); in fmi_mute()94 outb(0x00, fmi->io); in fmi_mute()[all …]
861 struct enetc_psfp_meter *fmi, in enetc_flowmeter_hw_set() argument868 cbd.index = cpu_to_le16((u16)fmi->index); in enetc_flowmeter_hw_set()878 if (fmi->cir) { in enetc_flowmeter_hw_set()879 temp = (u64)8000 * fmi->cir; in enetc_flowmeter_hw_set()884 fmi_config->cbs = cpu_to_le32(fmi->cbs); in enetc_flowmeter_hw_set()1006 struct enetc_psfp_meter *fmi; in flow_meter_unref() local1009 fmi = enetc_get_meter_by_index(index); in flow_meter_unref()1010 WARN_ON(!fmi); in flow_meter_unref()1011 z = refcount_dec_and_test(&fmi->refcount); in flow_meter_unref()1013 enetc_flowmeter_hw_set(priv, fmi, false); in flow_meter_unref()[all …]