Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/radio/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A 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 …]
/openbmc/qemu/hw/net/
H A Dxilinx_axienet.c367 uint32_t fmi; member
510 r = s->fmi; in enet_read()
515 r = s->maddr[s->fmi & 3][addr & 1]; in enet_read()
615 s->fmi = value; in enet_write()
620 s->maddr[s->fmi & 3][addr & 1] = value; in enet_write()
705 int promisc = s->fmi & (1 << 31); in eth_rx()