Home
last modified time | relevance | path

Searched refs:channel_offset (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/ide/
Dtriflex.c42 u8 channel_offset = hwif->channel ? 0x74 : 0x70, unit = drive->dn & 1; in triflex_set_mode() local
44 pci_read_config_dword(dev, channel_offset, &triflex_timings); in triflex_set_mode()
81 pci_write_config_dword(dev, channel_offset, triflex_timings); in triflex_set_mode()
/Linux-v4.19/drivers/ata/
Dpata_triflex.c90 int channel_offset = ap->port_no ? 0x74: 0x70; in triflex_load_timing() local
94 pci_read_config_dword(pdev, channel_offset, &old_triflex_timing); in triflex_load_timing()
126 pci_write_config_dword(pdev, channel_offset, triflex_timing); in triflex_load_timing()
/Linux-v4.19/drivers/staging/unisys/visorhba/
Dvisorhba_main.c1066 int err, channel_offset; in visorhba_probe() local
1074 channel_offset = offsetof(struct visor_io_channel, vhba.max); in visorhba_probe()
1075 err = visorbus_read_channel(dev, channel_offset, &max, in visorhba_probe()
1118 channel_offset = offsetof(struct visor_io_channel, in visorhba_probe()
1120 err = visorbus_read_channel(dev, channel_offset, &features, 8); in visorhba_probe()
1124 err = visorbus_write_channel(dev, channel_offset, &features, 8); in visorhba_probe()
/Linux-v4.19/drivers/staging/unisys/visornic/
Dvisornic_main.c1788 int channel_offset = 0; in visornic_probe() local
1804 channel_offset = offsetof(struct visor_io_channel, vnic.macaddr); in visornic_probe()
1805 err = visorbus_read_channel(dev, channel_offset, netdev->dev_addr, in visornic_probe()
1833 channel_offset = offsetof(struct visor_io_channel, vnic.num_rcv_bufs); in visornic_probe()
1834 err = visorbus_read_channel(dev, channel_offset, in visornic_probe()
1881 channel_offset = offsetof(struct visor_io_channel, vnic.mtu); in visornic_probe()
1882 err = visorbus_read_channel(dev, channel_offset, &netdev->mtu, 4); in visornic_probe()
1901 channel_offset = offsetof(struct visor_io_channel, in visornic_probe()
1903 err = visorbus_read_channel(dev, channel_offset, &features, 8); in visornic_probe()
1913 err = visorbus_write_channel(dev, channel_offset, &features, 8); in visornic_probe()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_wlan_util.c319 unsigned char channel_offset) in SetBWMode() argument
323 rtw_set_oper_choffset(padapter, channel_offset); in SetBWMode()
325 rtw_hal_set_bwmode(padapter, (enum ht_channel_width)bwmode, channel_offset); in SetBWMode()
328 …wmode(struct adapter *padapter, unsigned char channel, unsigned char channel_offset, unsigned shor… in set_channel_bwmode() argument
333 (channel_offset == HAL_PRIME_CHNL_OFFSET_DONT_CARE)) { in set_channel_bwmode()
338 if (channel_offset == HAL_PRIME_CHNL_OFFSET_LOWER) { in set_channel_bwmode()
351 rtw_set_oper_choffset(padapter, channel_offset); in set_channel_bwmode()
354 SetBWMode(padapter, bwmode, channel_offset); in set_channel_bwmode()
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Drtw_mlme_ext.h477 unsigned char channel_offset, unsigned short bwmode);
480 unsigned char channel_offset);
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm.c1679 u32 channel_offset = 0; in phydm_calculate_fc() local
1720 channel_offset = CH_OFFSET_40M; in phydm_calculate_fc()
1724 channel_offset = CH_OFFSET_80M; in phydm_calculate_fc()
1729 channel = start_ch[i] + channel_offset; in phydm_calculate_fc()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c427 …wmode(struct adapter *padapter, unsigned char channel, unsigned char channel_offset, unsigned shor… in set_channel_bwmode() argument
432 DBG_871X("[%s] ch = %d, offset = %d, bwmode = %d\n", __func__, channel, channel_offset, bwmode); in set_channel_bwmode()
434 center_ch = rtw_get_center_ch(channel, bwmode, channel_offset); in set_channel_bwmode()
452 rtw_set_oper_choffset(padapter, channel_offset); in set_channel_bwmode()
454 …rtw_hal_set_chnl_bw(padapter, center_ch, bwmode, channel_offset, chnl_offset80); /* set center ch… in set_channel_bwmode()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h569 …wmode(struct adapter *padapter, unsigned char channel, unsigned char channel_offset, unsigned shor…