Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/staging/most/dim2/
Dhal.h70 u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address,
73 u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address,
76 u8 dim_init_isoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
79 u8 dim_init_sync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
Dhal.c436 static inline bool check_channel_address(u32 ch_address) in check_channel_address() argument
438 return ch_address > 0 && (ch_address % 2) == 0 && in check_channel_address()
439 (ch_address / 2) <= (u32)CAT_CL_MASK; in check_channel_address()
752 u16 ch_address, u16 hw_buffer_size) in init_ctrl_async() argument
757 if (!check_channel_address(ch_address)) in init_ctrl_async()
766 channel_init(ch, ch_address / 2); in init_ctrl_async()
808 u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_control() argument
811 return init_ctrl_async(ch, CAT_CT_VAL_CONTROL, is_tx, ch_address, in dim_init_control()
815 u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_async() argument
818 u8 ret = init_ctrl_async(ch, CAT_CT_VAL_ASYNC, is_tx, ch_address, in dim_init_async()
[all …]