Name

hsi_get_channel_id_by_name — acquire channel id by channel name

Synopsis

int hsi_get_channel_id_by_name (struct hsi_client * cl,
 char * name);
 

Arguments

cl

HSI client, which uses the channel

name

name the channel is known under

Description

Clients can call this function to get the hsi channel ids similar to requesting IRQs or GPIOs by name. This function assumes the same channel configuration is used for RX and TX.

Returns -errno on error or channel id on success.