Lines Matching refs:legacy_cbacks
199 struct spectral_legacy_cbacks *legacy_cbacks) in spectral_register_legacy_cb() argument
219 sc->legacy_cbacks.vdev_get_chan_freq = in spectral_register_legacy_cb()
220 legacy_cbacks->vdev_get_chan_freq; in spectral_register_legacy_cb()
221 sc->legacy_cbacks.vdev_get_chan_freq_seg2 = in spectral_register_legacy_cb()
222 legacy_cbacks->vdev_get_chan_freq_seg2; in spectral_register_legacy_cb()
223 sc->legacy_cbacks.vdev_get_ch_width = legacy_cbacks->vdev_get_ch_width; in spectral_register_legacy_cb()
224 sc->legacy_cbacks.vdev_get_sec20chan_freq_mhz = in spectral_register_legacy_cb()
225 legacy_cbacks->vdev_get_sec20chan_freq_mhz; in spectral_register_legacy_cb()
242 if (!sc->legacy_cbacks.vdev_get_chan_freq) { in spectral_vdev_get_chan_freq()
247 return sc->legacy_cbacks.vdev_get_chan_freq(vdev); in spectral_vdev_get_chan_freq()
262 if (!sc->legacy_cbacks.vdev_get_chan_freq_seg2) { in spectral_vdev_get_chan_freq_seg2()
270 return sc->legacy_cbacks.vdev_get_chan_freq_seg2(vdev); in spectral_vdev_get_chan_freq_seg2()
284 if (!sc->legacy_cbacks.vdev_get_ch_width) { in spectral_vdev_get_ch_width()
289 return sc->legacy_cbacks.vdev_get_ch_width(vdev); in spectral_vdev_get_ch_width()
304 if (!sc->legacy_cbacks.vdev_get_sec20chan_freq_mhz) { in spectral_vdev_get_sec20chan_freq_mhz()
309 return sc->legacy_cbacks.vdev_get_sec20chan_freq_mhz(vdev, in spectral_vdev_get_sec20chan_freq_mhz()