---
name: "hsi_get_channel_id_by_name"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/hsi_get_channel_id_by_name"
---

# hsi\_get\_channel\_id\_by\_name(9)

acquire channel id by channel name

## 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.

## COPYRIGHT
