Home
last modified time | relevance | path

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

/drivers/staging/comedi/drivers/
Dunioxx5.c113 int chan_a, chan_b, conf, channel_offset; in __unioxx5_analog_config() local
115 channel_offset = __unioxx5_define_chan_offset(channel); in __unioxx5_analog_config()
116 conf = usp->usp_prev_cn_val[channel_offset - 1]; in __unioxx5_analog_config()
132 outb(conf, usp->usp_iobase + channel_offset); in __unioxx5_analog_config()
135 usp->usp_prev_cn_val[channel_offset - 1] = conf; in __unioxx5_analog_config()
143 int channel_offset, mask = 1 << (channel & 0x07); in __unioxx5_digital_read() local
145 channel_offset = __unioxx5_define_chan_offset(channel); in __unioxx5_digital_read()
146 if (channel_offset < 0) { in __unioxx5_digital_read()
153 *data = inb(usp->usp_iobase + channel_offset); in __unioxx5_digital_read()
157 if (channel_offset > 1) in __unioxx5_digital_read()
[all …]
/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()
/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()
/drivers/staging/rtl8723au/core/
Drtw_wlan_util.c340 unsigned char channel_offset) in set_bwmode() argument
346 rtw_set_oper_ch23aoffset23a(padapter, channel_offset); in set_bwmode()
349 channel_offset); in set_bwmode()
355 unsigned char channel_offset, unsigned short bwmode) in set_channel_bwmode23a() argument
360 channel_offset == HAL_PRIME_CHNL_OFFSET_DONT_CARE) { in set_channel_bwmode23a()
365 if (channel_offset == HAL_PRIME_CHNL_OFFSET_LOWER) { in set_channel_bwmode23a()
380 rtw_set_oper_ch23aoffset23a(padapter, channel_offset); in set_channel_bwmode23a()
386 set_bwmode(padapter, bwmode, channel_offset); in set_channel_bwmode23a()
/drivers/staging/rtl8188eu/core/
Drtw_wlan_util.c357 unsigned char channel_offset) in SetBWMode() argument
361 rtw_set_oper_choffset(padapter, channel_offset); in SetBWMode()
363 rtw_hal_set_bwmode(padapter, (enum ht_channel_width)bwmode, channel_offset); in SetBWMode()
366 …wmode(struct adapter *padapter, unsigned char channel, unsigned char channel_offset, unsigned shor… in set_channel_bwmode() argument
371 DBG_88E("[%s] ch = %d, offset = %d, bwmode = %d\n", __func__, channel, channel_offset, bwmode); in set_channel_bwmode()
374 (channel_offset == HAL_PRIME_CHNL_OFFSET_DONT_CARE)) { in set_channel_bwmode()
379 if (channel_offset == HAL_PRIME_CHNL_OFFSET_LOWER) { in set_channel_bwmode()
392 rtw_set_oper_choffset(padapter, channel_offset); in set_channel_bwmode()
395 SetBWMode(padapter, bwmode, channel_offset); in set_channel_bwmode()
/drivers/staging/rtl8188eu/include/
Drtw_mlme_ext.h476 unsigned char channel_offset, unsigned short bwmode);
479 unsigned char channel_offset);
/drivers/staging/rtl8723au/include/
Drtw_mlme_ext.h472 unsigned char channel_offset, unsigned short bwmode);