Home
last modified time | relevance | path

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

/drivers/staging/most/dim2/
Dhal.c459 static inline bool check_bytes_per_frame(u32 bytes_per_frame) in check_bytes_per_frame() argument
464 if (bytes_per_frame <= 0) in check_bytes_per_frame()
467 if (bytes_per_frame > max_size) in check_bytes_per_frame()
499 static inline u16 norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame) in norm_sync_buffer_size() argument
503 u32 const unit = bytes_per_frame << g.fcnt; in norm_sync_buffer_size()
606 ch->bytes_per_frame = 0; in isoc_init()
610 static void sync_init(struct dim_channel *ch, u8 ch_addr, u16 bytes_per_frame) in sync_init() argument
617 ch->bytes_per_frame = bytes_per_frame; in sync_init()
628 ch->bytes_per_frame = 0; in channel_init()
652 if (ch->packet_length == 0 && ch->bytes_per_frame == 0 && in channel_start()
[all …]
Dhal.h53 u16 bytes_per_frame; /*< Synchronous bytes per frame. */ member
68 u16 dim_norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame);
80 u16 bytes_per_frame);