Linux Audio

Check our new training course

Loading...
v6.2
 1/* SPDX-License-Identifier: GPL-2.0+ */
 2/*
 3 * bdc_cmd.h - header for the BDC debug functions
 4 *
 5 * Copyright (C) 2014 Broadcom Corporation
 6 *
 7 * Author: Ashwini Pahuja
 8 */
 9#ifndef __LINUX_BDC_CMD_H__
10#define __LINUX_BDC_CMD_H__
11
12/* Command operations */
13int bdc_address_device(struct bdc *bdc, u32 add);
14int bdc_config_ep(struct bdc *bdc, struct bdc_ep *ep);
15int bdc_dconfig_ep(struct bdc *bdc, struct bdc_ep *ep);
16int bdc_stop_ep(struct bdc *bdc, int epnum);
17int bdc_ep_set_stall(struct bdc *bdc, int epnum);
18int bdc_ep_clear_stall(struct bdc *bdc, int epnum);
19int bdc_ep_bla(struct bdc *bdc, struct bdc_ep *ep, dma_addr_t dma_addr);
20int bdc_function_wake(struct bdc *bdc, u8 intf);
21int bdc_function_wake_fh(struct bdc *bdc, u8 intf);
 
22
23#endif /* __LINUX_BDC_CMD_H__ */
v5.9
 1// SPDX-License-Identifier: GPL-2.0+
 2/*
 3 * bdc_cmd.h - header for the BDC debug functions
 4 *
 5 * Copyright (C) 2014 Broadcom Corporation
 6 *
 7 * Author: Ashwini Pahuja
 8 */
 9#ifndef __LINUX_BDC_CMD_H__
10#define __LINUX_BDC_CMD_H__
11
12/* Command operations */
13int bdc_address_device(struct bdc *, u32);
14int bdc_config_ep(struct bdc *, struct bdc_ep *);
15int bdc_dconfig_ep(struct bdc *, struct bdc_ep *);
16int bdc_stop_ep(struct bdc *, int);
17int bdc_ep_set_stall(struct bdc *, int);
18int bdc_ep_clear_stall(struct bdc *, int);
19int bdc_ep_set_halt(struct bdc_ep *, u32 , int);
20int bdc_ep_bla(struct bdc *, struct bdc_ep *, dma_addr_t);
21int bdc_function_wake(struct bdc*, u8);
22int bdc_function_wake_fh(struct bdc*, u8);
23
24#endif /* __LINUX_BDC_CMD_H__ */