Home
last modified time | relevance | path

Searched refs:PTP_MAX_CHANNELS (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/ptp/
H A Dptp_chardev.c142 queue->mask = bitmap_alloc(PTP_MAX_CHANNELS, GFP_KERNEL); in ptp_open()
147 bitmap_set(queue->mask, 0, PTP_MAX_CHANNELS); in ptp_open()
159 DIV_ROUND_UP(PTP_MAX_CHANNELS, BITS_PER_BYTE * sizeof(u32)); in ptp_open()
484 bitmap_clear(tsevq->mask, 0, PTP_MAX_CHANNELS); in ptp_mask_clear_all()
494 if (channel >= PTP_MAX_CHANNELS) in ptp_mask_en_single()
H A Dptp_private.h26 #define PTP_MAX_CHANNELS 2048 macro
H A Dptp_clock.c354 queue->mask = bitmap_alloc(PTP_MAX_CHANNELS, GFP_KERNEL); in ptp_clock_register()
359 bitmap_set(queue->mask, 0, PTP_MAX_CHANNELS); in ptp_clock_register()