Home
last modified time | relevance | path

Searched refs:fmi (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/media/radio/
Dradio-sf16fmi.c47 struct fmi struct
58 static struct fmi fmi_card; argument
73 struct fmi *fmi = handle; in fmi_set_pins() local
76 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() argument
93 mutex_lock(&fmi->lock); in fmi_mute()
94 outb(0x00, fmi->io); in fmi_mute()
[all …]
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c861 struct enetc_psfp_meter *fmi, in enetc_flowmeter_hw_set() argument
868 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() local
1009 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 …]