Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/ata/chipsets/
H A Data-serverworks.c178 int ch_offset; in ata_serverworks_ch_attach() local
181 ch_offset = ch->unit * 0x100; in ata_serverworks_ch_attach()
187 ch->r_io[ATA_DATA].offset = ch_offset + 0x00; in ata_serverworks_ch_attach()
188 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x04; in ata_serverworks_ch_attach()
189 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08; in ata_serverworks_ch_attach()
190 ch->r_io[ATA_SECTOR].offset = ch_offset + 0x0c; in ata_serverworks_ch_attach()
191 ch->r_io[ATA_CYL_LSB].offset = ch_offset + 0x10; in ata_serverworks_ch_attach()
193 ch->r_io[ATA_DRIVE].offset = ch_offset + 0x18; in ata_serverworks_ch_attach()
205 ch->r_io[ATA_SERROR].offset = ch_offset + 0x44; in ata_serverworks_ch_attach()
219 ATA_OUTL(ctlr->r_res2, ch_offset + 0x80, in ata_serverworks_ch_attach()
[all …]
H A Data-intel.c826 int ch_offset; in ata_intel_31244_ch_attach() local
830 ch_offset = 0x200 + ch->unit * 0x200; in ata_intel_31244_ch_attach()
836 ch->r_io[ATA_DATA].offset = ch_offset + 0x00; in ata_intel_31244_ch_attach()
837 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x06; in ata_intel_31244_ch_attach()
838 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08; in ata_intel_31244_ch_attach()
839 ch->r_io[ATA_SECTOR].offset = ch_offset + 0x0c; in ata_intel_31244_ch_attach()
840 ch->r_io[ATA_CYL_LSB].offset = ch_offset + 0x10; in ata_intel_31244_ch_attach()
841 ch->r_io[ATA_CYL_MSB].offset = ch_offset + 0x14; in ata_intel_31244_ch_attach()
842 ch->r_io[ATA_DRIVE].offset = ch_offset + 0x18; in ata_intel_31244_ch_attach()
844 ch->r_io[ATA_ERROR].offset = ch_offset + 0x04; in ata_intel_31244_ch_attach()
[all …]
/freebsd-13.1/contrib/less/
H A Dch.c168 return bp->data[ch_offset]; in ch_get()
360 if (ch_offset >= bp->datasize) in ch_get()
367 return (bp->data[ch_offset]); in ch_get()
505 ch_offset = pos % LBUFSIZE;
592 ch_offset = 0; in ch_beg_seek()
637 if (ch_offset < LBUFSIZE-1) in ch_forw_get()
638 ch_offset++; in ch_forw_get()
642 ch_offset = 0; in ch_forw_get()
655 if (ch_offset > 0) in ch_back_get()
656 ch_offset --; in ch_back_get()
[all …]
/freebsd-13.1/sys/contrib/dev/iwlwifi/mvm/
H A Dscan.c1483 u32 ch_offset; in iwl_mvm_scan_ch_and_band_to_idx() local
1490 ch_offset = (channel_id - ch_segment->first_channel_id) >> in iwl_mvm_scan_ch_and_band_to_idx()
1493 index = scan_channel_segments[i].start_idx + ch_offset; in iwl_mvm_scan_ch_and_band_to_idx()
/freebsd-13.1/contrib/wpa/wpa_supplicant/
H A Devents.c5205 data->ch_switch.ch_offset, in wpa_supplicant_event()
5222 switch (data->ch_switch.ch_offset) { in wpa_supplicant_event()
5243 data->ch_switch.ch_offset, in wpa_supplicant_event()
/freebsd-13.1/contrib/wpa/src/drivers/
H A Ddriver.h5850 int ch_offset; member
H A Ddriver_nl80211_event.c741 data.ch_switch.ch_offset = chan_offset; in mlme_event_ch_switch()
/freebsd-13.1/contrib/wpa/src/ap/
H A Ddrv_callbacks.c1981 data->ch_switch.ch_offset, in wpa_supplicant_event()