Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/most/dim2/
H A 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,
H A 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()
811 return init_ctrl_async(ch, CAT_CT_VAL_CONTROL, is_tx, ch_address, in dim_init_control()
836 if (!check_channel_address(ch_address)) in dim_init_isoc()
848 isoc_init(ch, ch_address / 2, packet_length); in dim_init_isoc()
864 if (!check_channel_address(ch_address)) in dim_init_sync()
[all …]