Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/host/
Dxhci-mtk-sch.c50 int bw_index; in get_bw_index() local
56 bw_index = (virt_dev->real_port - 1) * 2; in get_bw_index()
58 bw_index = (virt_dev->real_port - 1) * 2 + 1; in get_bw_index()
61 bw_index = virt_dev->real_port + xhci->usb3_rhub.num_ports - 1; in get_bw_index()
64 return bw_index; in get_bw_index()
320 int bw_index; in xhci_mtk_add_ep_quirk() local
347 bw_index = get_bw_index(xhci, udev, ep); in xhci_mtk_add_ep_quirk()
348 sch_bw = &sch_array[bw_index]; in xhci_mtk_add_ep_quirk()
389 int bw_index; in xhci_mtk_drop_ep_quirk() local
404 bw_index = get_bw_index(xhci, udev, ep); in xhci_mtk_drop_ep_quirk()
[all …]
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2u_phy.c192 u8 channel = chan->hw_value, bw, bw_index; in mt76x2u_phy_set_channel() local
203 bw_index = 1; in mt76x2u_phy_set_channel()
206 bw_index = 3; in mt76x2u_phy_set_channel()
216 bw_index = ch_group_index; in mt76x2u_phy_set_channel()
221 bw_index = 0; in mt76x2u_phy_set_channel()
242 ret = mt76x2u_mcu_set_channel(dev, channel, bw, bw_index, scan); in mt76x2u_phy_set_channel()
Dmt76x2_phy.c298 u8 bw, bw_index; in mt76x2_phy_set_channel() local
311 bw_index = 1; in mt76x2_phy_set_channel()
314 bw_index = 3; in mt76x2_phy_set_channel()
324 bw_index = ch_group_index; in mt76x2_phy_set_channel()
329 bw_index = 0; in mt76x2_phy_set_channel()
350 ret = mt76x2_mcu_set_channel(dev, channel, bw, bw_index, scan); in mt76x2_phy_set_channel()
Dmt76x2u.h54 u8 bw_index, bool scan);
Dmt76x2_mcu.c290 u8 bw_index, bool scan) in mt76x2_mcu_set_channel() argument
316 msg.ext_chan = 0xe0 + bw_index; in mt76x2_mcu_set_channel()
Dmt76x2u_mcu.c101 u8 bw_index, bool scan) in mt76x2u_mcu_set_channel() argument
130 msg.ext_chan = 0xe0 + bw_index; in mt76x2u_mcu_set_channel()
Dmt76x2.h250 u8 bw_index, bool scan);
/Linux-v4.19/drivers/media/dvb-frontends/
Dsp887x.c309 int bw_index; in sp887x_correct_offsets() local
319 bw_index = 0; in sp887x_correct_offsets()
322 bw_index = 1; in sp887x_correct_offsets()
325 bw_index = 2; in sp887x_correct_offsets()
340 sp887x_writereg(state, 0x319, srate_correction[bw_index] >> 12); in sp887x_correct_offsets()
341 sp887x_writereg(state, 0x31a, srate_correction[bw_index] & 0xfff); in sp887x_correct_offsets()