Home
last modified time | relevance | path

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

/freebsd/sys/dev/ata/chipsets/
H A Data-serverworks.c175 int ch_offset; in ata_serverworks_ch_attach() local
178 ch_offset = ch->unit * 0x100; in ata_serverworks_ch_attach()
184 ch->r_io[ATA_DATA].offset = ch_offset + 0x00; in ata_serverworks_ch_attach()
185 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x04; in ata_serverworks_ch_attach()
186 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08; in ata_serverworks_ch_attach()
187 ch->r_io[ATA_SECTOR].offset = ch_offset + 0x0c; in ata_serverworks_ch_attach()
188 ch->r_io[ATA_CYL_LSB].offset = ch_offset + 0x10; in ata_serverworks_ch_attach()
189 ch->r_io[ATA_CYL_MSB].offset = ch_offset + 0x14; in ata_serverworks_ch_attach()
190 ch->r_io[ATA_DRIVE].offset = ch_offset + 0x18; in ata_serverworks_ch_attach()
191 ch->r_io[ATA_COMMAND].offset = ch_offset + 0x1c; in ata_serverworks_ch_attach()
[all …]
H A Data-intel.c825 int ch_offset; in ata_intel_31244_ch_attach() local
829 ch_offset = 0x200 + ch->unit * 0x200; in ata_intel_31244_ch_attach()
835 ch->r_io[ATA_DATA].offset = ch_offset + 0x00; in ata_intel_31244_ch_attach()
836 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x06; in ata_intel_31244_ch_attach()
837 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08; in ata_intel_31244_ch_attach()
838 ch->r_io[ATA_SECTOR].offset = ch_offset + 0x0c; in ata_intel_31244_ch_attach()
839 ch->r_io[ATA_CYL_LSB].offset = ch_offset + 0x10; in ata_intel_31244_ch_attach()
840 ch->r_io[ATA_CYL_MSB].offset = ch_offset + 0x14; in ata_intel_31244_ch_attach()
841 ch->r_io[ATA_DRIVE].offset = ch_offset + 0x18; in ata_intel_31244_ch_attach()
842 ch->r_io[ATA_COMMAND].offset = ch_offset + 0x1d; in ata_intel_31244_ch_attach()
[all …]
/freebsd/contrib/less/
H A Dch.c68 #define ch_offset thisfile->offset macro
164 if (ch_block == bp->block && ch_offset < bp->datasize) in ch_get()
165 return bp->data[ch_offset]; in ch_get()
178 if (ch_offset >= bp->datasize) in ch_get()
368 if (ch_offset < bp->datasize) in ch_get()
375 return (bp->data[ch_offset]); in ch_get()
517 ch_offset = (size_t) (pos % LBUFSIZE); in ch_seek()
601 ch_offset = 0; in ch_beg_seek()
642 return ch_position(ch_block, ch_offset); in ch_tell()
657 if (ch_offset < LBUFSIZE-1) in ch_forw_get()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dscan.c1502 u32 ch_offset; in iwl_mvm_scan_ch_and_band_to_idx() local
1509 ch_offset = (channel_id - ch_segment->first_channel_id) >> in iwl_mvm_scan_ch_and_band_to_idx()
1512 index = scan_channel_segments[i].start_idx + ch_offset; in iwl_mvm_scan_ch_and_band_to_idx()
/freebsd/contrib/wpa/wpa_supplicant/
H A Devents.c6307 data->ch_switch.ch_offset, in wpa_supplicant_event()
6337 data->ch_switch.ch_offset, in wpa_supplicant_event()
6354 switch (data->ch_switch.ch_offset) { in wpa_supplicant_event()
6375 data->ch_switch.ch_offset, in wpa_supplicant_event()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver.h6601 int ch_offset; member
H A Ddriver_nl80211_event.c1253 data.ch_switch.ch_offset = chan_offset; in mlme_event_ch_switch()
/freebsd/contrib/wpa/src/ap/
H A Ddrv_callbacks.c2622 data->ch_switch.ch_offset, in wpa_supplicant_event()