Home
last modified time | relevance | path

Searched refs:extoff (Results 1 – 2 of 2) sorted by relevance

/drivers/ptp/
Dptp_chardev.c112 struct ptp_sys_offset_extended *extoff = NULL; in ptp_ioctl() local
254 extoff = memdup_user((void __user *)arg, sizeof(*extoff)); in ptp_ioctl()
255 if (IS_ERR(extoff)) { in ptp_ioctl()
256 err = PTR_ERR(extoff); in ptp_ioctl()
257 extoff = NULL; in ptp_ioctl()
260 if (extoff->n_samples > PTP_MAX_SAMPLES in ptp_ioctl()
261 || extoff->rsv[0] || extoff->rsv[1] || extoff->rsv[2]) { in ptp_ioctl()
265 for (i = 0; i < extoff->n_samples; i++) { in ptp_ioctl()
269 extoff->ts[i][0].sec = sts.pre_ts.tv_sec; in ptp_ioctl()
270 extoff->ts[i][0].nsec = sts.pre_ts.tv_nsec; in ptp_ioctl()
[all …]
/drivers/net/wireless/ath/ath9k/
Dhw.c226 int8_t extoff; in ath9k_hw_get_channel_centers() local
237 extoff = 1; in ath9k_hw_get_channel_centers()
241 extoff = -1; in ath9k_hw_get_channel_centers()
245 centers->synth_center - (extoff * HT40_CHANNEL_CENTER_SHIFT); in ath9k_hw_get_channel_centers()
248 centers->synth_center + (extoff * HT40_CHANNEL_CENTER_SHIFT); in ath9k_hw_get_channel_centers()