Home
last modified time | relevance | path

Searched refs:chan (Results 1 – 25 of 230) sorted by relevance

12345678910

/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/hal/
Dpwm_ll.h27 #define PWM_LL_GROUP(chan) ((chan) / SOC_PWM_CHAN_NUM_PER_GROUP) argument
28 #define PWM_LL_CHAN(chan) ((chan) % SOC_PWM_CHAN_NUM_PER_GROUP) argument
52 static inline void pwm_ll_set_enable(pwm_hw_t *hw, uint32_t group, uint32_t chan, uint32_t value) in pwm_ll_set_enable() argument
54 if (chan == GROUP_CHAN0) in pwm_ll_set_enable()
60 static inline void pwm_ll_enable(pwm_hw_t *hw, uint32_t chan) in pwm_ll_enable() argument
62 pwm_ll_set_enable(hw, PWM_LL_GROUP(chan), PWM_LL_CHAN(chan), 1); in pwm_ll_enable()
65 static inline void pwm_ll_disable(pwm_hw_t *hw, uint32_t chan) in pwm_ll_disable() argument
67 pwm_ll_set_enable(hw, PWM_LL_GROUP(chan), PWM_LL_CHAN(chan), 0); in pwm_ll_disable()
70 static inline bool pwm_ll_is_chan_started(pwm_hw_t *hw, uint32_t chan) in pwm_ll_is_chan_started() argument
72 if (PWM_LL_CHAN(chan) == GROUP_CHAN0) in pwm_ll_is_chan_started()
[all …]
Dtimer_ll.h27 #define TIMER_LL_GROUP(chan) ((chan) / SOC_TIMER_CHAN_NUM_PER_GROUP) argument
28 #define TIMER_LL_CHAN(chan) ((chan) % SOC_TIMER_CHAN_NUM_PER_GROUP) argument
36 static inline void timer_ll_init(timer_hw_t *hw, uint32_t chan) in timer_ll_init() argument
39 if ((~CONFIG_TIMER_SUPPORT_ID_BITS) & BIT(chan)) { in timer_ll_init()
44 uint32_t group = TIMER_LL_GROUP(chan); in timer_ll_init()
45 uint32_t group_chan = TIMER_LL_CHAN(chan); in timer_ll_init()
62 static inline void timer_ll_set_enable(timer_hw_t *hw, uint32_t group, uint32_t chan, uint32_t valu… in timer_ll_set_enable() argument
64 if (chan == TIMER_GROUP_CHAN0) in timer_ll_set_enable()
66 else if (chan == TIMER_GROUP_CHAN1) in timer_ll_set_enable()
72 static inline void timer_ll_enable(timer_hw_t *hw, uint32_t chan) in timer_ll_enable() argument
[all …]
Dpwm_hal_debug.c54 for (int chan = 0; chan < SOC_PWM_CHAN_NUM_PER_GROUP; chan++) { in pwm_struct_dump() local
55 SOC_LOGI(" chan(%x) duty t1=%x t2=%x t3=%x period=%x\n", chan, in pwm_struct_dump()
56 hw->group[group].duty_cycle[chan].t1, hw->group[group].duty_cycle[chan].t2, in pwm_struct_dump()
57 hw->group[group].duty_cycle[chan].t3, hw->group[group].duty_cycle[chan].t4); in pwm_struct_dump()
66 for (int chan = 0; chan < SOC_PWM_CHAN_NUM_PER_GROUP; chan++) { in pwm_struct_dump() local
67 SOC_LOGI(" chan(%x) cnt_or_capture_rdata=%x\n", chan, in pwm_struct_dump()
68 hw->group[group].cnt_or_capture_rdata[chan]); in pwm_struct_dump()
/device/soc/rockchip/common/sdk_linux/net/bluetooth/
Dl2cap_sock.c85 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_bind() local
135 bacpy(&chan->src, &la.l2_bdaddr); in l2cap_sock_bind()
136 chan->src_type = la.l2_bdaddr_type; in l2cap_sock_bind()
139 err = l2cap_add_scid(chan, __le16_to_cpu(la.l2_cid)); in l2cap_sock_bind()
141 err = l2cap_add_psm(chan, &la.l2_bdaddr, la.l2_psm); in l2cap_sock_bind()
148 switch (chan->chan_type) { in l2cap_sock_bind()
151 chan->sec_level = BT_SECURITY_SDP; in l2cap_sock_bind()
156 chan->sec_level = BT_SECURITY_SDP; in l2cap_sock_bind()
160 chan->sec_level = BT_SECURITY_SDP; in l2cap_sock_bind()
168 set_bit(FLAG_HOLD_HCI_CONN, &chan->flags); in l2cap_sock_bind()
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/pwm/
Dpwm_driver.c56 #define PWM_RETURN_ON_INVALID_CHAN(chan) do {\ argument
57 if ((chan) >= SOC_PWM_CHAN_NUM_PER_UNIT) {\
74 #define PWM_RETURN_ON_CHAN_NOT_INIT(chan) do {\ argument
75 if (!(s_pwm.chan_init_bits & BIT((chan)))) {\
80 #define PWM_RETURN_ON_INVALID_GROUP(chan) do {\ argument
81 if (chan >= PWM_GROUP_NUM) {\
86 #define PWM_RETURN_ON_INVALID_GPIO_MODE(chan) do {\ argument
87 if (chan >= PWM_GPIO_MODE_MAX) {\
93 #define PWM_RETURN_ON_CHAN_NOT_STOP(chan) do {\ argument
148 static void pwm_set_gpio(pwm_chan_t chan) in pwm_set_gpio() argument
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_l2cap_coc.c138 static void ble_l2cap_event_coc_received_data(struct ble_l2cap_chan *chan, in ble_l2cap_event_coc_received_data() argument
143 event.receive.conn_handle = chan->conn_handle; in ble_l2cap_event_coc_received_data()
144 event.receive.chan = chan; in ble_l2cap_event_coc_received_data()
146 chan->cb(&event, chan->cb_arg); in ble_l2cap_event_coc_received_data()
149 static int ble_l2cap_coc_rx_fn(struct ble_l2cap_chan *chan) in ble_l2cap_coc_rx_fn() argument
156 om = &chan->rx_buf; in ble_l2cap_coc_rx_fn()
159 rx = &chan->coc_rx; in ble_l2cap_coc_rx_fn()
176 ble_l2cap_disconnect(chan); in ble_l2cap_coc_rx_fn()
216 ble_l2cap_event_coc_received_data(chan, sdu_rx); in ble_l2cap_coc_rx_fn()
230 ble_l2cap_sig_le_credits(chan->conn_handle, chan->scid, rx->credits); in ble_l2cap_coc_rx_fn()
[all …]
Dble_l2cap.c57 struct ble_l2cap_chan *chan; in STATS_NAME() local
58 chan = os_memblock_get(&ble_l2cap_chan_pool); in STATS_NAME()
59 if (chan == NULL) { in STATS_NAME()
63 memset_s(chan, sizeof * chan, 0, sizeof * chan); in STATS_NAME()
64 chan->conn_handle = conn_handle; in STATS_NAME()
66 return chan; in STATS_NAME()
69 void ble_l2cap_chan_free(struct ble_hs_conn *conn, struct ble_l2cap_chan *chan) in ble_l2cap_chan_free() argument
73 if (chan == NULL) { in ble_l2cap_chan_free()
77 os_mbuf_free_chain(chan->rx_buf); in ble_l2cap_chan_free()
78 ble_l2cap_coc_cleanup_chan(conn, chan); in ble_l2cap_chan_free()
[all …]
Dble_l2cap_sig.c88 struct ble_l2cap_chan *chan[BLE_L2CAP_MAX_COC_CONN_REQ]; member
91 struct ble_l2cap_chan *chan; member
473 struct ble_l2cap_chan *chan; in ble_l2cap_sig_update() local
481 &conn, &chan); in ble_l2cap_sig_update()
596 static void ble_l2cap_event_coc_connected(struct ble_l2cap_chan *chan, uint16_t status) in ble_l2cap_event_coc_connected() argument
600 event.connect.conn_handle = chan->conn_handle; in ble_l2cap_event_coc_connected()
601 event.connect.chan = chan; in ble_l2cap_event_coc_connected()
603 chan->cb(&event, chan->cb_arg); in ble_l2cap_event_coc_connected()
606 static int ble_l2cap_event_coc_accept(struct ble_l2cap_chan *chan, uint16_t peer_sdu_size) in ble_l2cap_event_coc_accept() argument
610 event.accept.chan = chan; in ble_l2cap_event_coc_accept()
[all …]
Dble_hs_conn.c55 struct ble_l2cap_chan *chan; in ble_hs_conn_chan_find_by_scid() local
56 SLIST_FOREACH(chan, &conn->bhc_channels, next) { in ble_hs_conn_chan_find_by_scid()
57 if (chan->scid == cid) { in ble_hs_conn_chan_find_by_scid()
58 return chan; in ble_hs_conn_chan_find_by_scid()
61 if (chan->scid > cid) { in ble_hs_conn_chan_find_by_scid()
73 struct ble_l2cap_chan *chan; in ble_hs_conn_chan_find_by_dcid() local
74 SLIST_FOREACH(chan, &conn->bhc_channels, next) { in ble_hs_conn_chan_find_by_dcid()
75 if (chan->dcid == cid) { in ble_hs_conn_chan_find_by_dcid()
76 return chan; in ble_hs_conn_chan_find_by_dcid()
82 bool ble_hs_conn_chan_exist(struct ble_hs_conn *conn, struct ble_l2cap_chan *chan) in ble_hs_conn_chan_exist() argument
[all …]
Dble_att.c395 struct ble_l2cap_chan *chan; in ble_att_mtu() local
400 rc = ble_att_conn_chan_find(conn_handle, &conn, &chan); in ble_att_mtu()
402 mtu = ble_att_chan_mtu(chan); in ble_att_mtu()
411 void ble_att_set_peer_mtu(struct ble_l2cap_chan *chan, uint16_t peer_mtu) in ble_att_set_peer_mtu() argument
417 chan->peer_mtu = peer_mtu; in ble_att_set_peer_mtu()
420 uint16_t ble_att_chan_mtu(const struct ble_l2cap_chan *chan) in ble_att_chan_mtu() argument
427 if (!(ble_l2cap_is_mtu_req_sent(chan)) || in ble_att_chan_mtu()
428 chan->peer_mtu == 0) { in ble_att_chan_mtu()
431 mtu = min(chan->my_mtu, chan->peer_mtu); in ble_att_chan_mtu()
452 static int ble_att_rx(struct ble_l2cap_chan *chan) in ble_att_rx() argument
[all …]
Dble_l2cap_coc_priv.h61 struct ble_l2cap_chan **chan);
67 void ble_l2cap_coc_cleanup_chan(struct ble_hs_conn *conn, struct ble_l2cap_chan *chan);
70 int ble_l2cap_coc_recv_ready(struct ble_l2cap_chan *chan,
72 int ble_l2cap_coc_send(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_tx);
73 void ble_l2cap_coc_set_new_mtu_mps(struct ble_l2cap_chan *chan, uint16_t mtu, uint16_t mps);
85 static inline int ble_l2cap_coc_recv_ready(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_rx) in ble_l2cap_coc_recv_ready() argument
90 static inline void ble_l2cap_coc_cleanup_chan(struct ble_hs_conn *conn, struct ble_l2cap_chan *chan) in ble_l2cap_coc_cleanup_chan() argument
94 static inline int ble_l2cap_coc_send(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_tx) in ble_l2cap_coc_send() argument
Dble_hs_misc.c31 struct ble_l2cap_chan *chan; in ble_hs_misc_conn_chan_find() local
36 chan = NULL; in ble_hs_misc_conn_chan_find()
39 chan = ble_hs_conn_chan_find_by_scid(conn, cid); in ble_hs_misc_conn_chan_find()
40 if (chan == NULL) { in ble_hs_misc_conn_chan_find()
52 *out_chan = chan; in ble_hs_misc_conn_chan_find()
62 struct ble_l2cap_chan *chan; in ble_hs_misc_conn_chan_find_reqd() local
65 rc = ble_hs_misc_conn_chan_find(conn_handle, cid, &conn, &chan); in ble_hs_misc_conn_chan_find_reqd()
73 *out_chan = chan; in ble_hs_misc_conn_chan_find_reqd()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/sw_demux/
Dswdmx_descrambler.c40 SWDMX_DescChannel *chan; in swdmx_descrambler_alloc_channel() local
44 chan = swdmx_malloc(sizeof(SWDMX_DescChannel)); in swdmx_descrambler_alloc_channel()
45 SWDMX_ASSERT(chan); in swdmx_descrambler_alloc_channel()
47 chan->algo = NULL; in swdmx_descrambler_alloc_channel()
48 chan->pid = 0xffff; in swdmx_descrambler_alloc_channel()
49 chan->enable = SWDMX_FALSE; in swdmx_descrambler_alloc_channel()
51 swdmx_list_append(&desc->chan_list, &chan->ln); in swdmx_descrambler_alloc_channel()
53 return chan; in swdmx_descrambler_alloc_channel()
121 SWDMX_DescChannel *chan; in swdmx_descrambler_free() local
123 chan = SWDMX_CONTAINEROF(desc->chan_list.next, in swdmx_descrambler_free()
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/common/hal/include/
Dpwm_hal.h50 bk_err_t pwm_hal_init_pwm(pwm_hal_t *hal, pwm_chan_t chan, const pwm_hal_config_t *config);
52 bk_err_t pwm_hal_start_common(pwm_hal_t *hal, pwm_chan_t chan);
53 bk_err_t pwm_hal_stop_common(pwm_hal_t *hal, pwm_chan_t chan);
55 bk_err_t pwm_hal_init_capture(pwm_hal_t *hal, pwm_chan_t chan, const pwm_hal_capture_config_t *conf…
56 #define pwm_hal_get_capture_value(hal, chan) pwm_ll_get_capture_value((hal)->hw, chan) argument
58 bk_err_t pwm_hal_timer_set_config(pwm_hal_t *hal, pwm_chan_t chan, const pwm_hal_timer_config_t *co…
59 bk_err_t pwm_hal_timer_start(pwm_hal_t *hal, pwm_chan_t chan);
60 bk_err_t pwm_hal_timer_stop(pwm_hal_t *hal, pwm_chan_t chan);
62 #define pwm_hal_set_mode_timer(hal, chan) pwm_ll_set_mode_timer((hal)->hw, chan) argument
63 #define pwm_hal_enable_interrupt(hal, chan) pwm_ll_enable_interrupt((hal)->hw, chan) argument
[all …]
Dtimer_hal.h31 #define timer_hal_enable(hal, chan) timer_ll_enable((hal)->hw, chan) argument
32 #define timer_hal_disable(hal, chan) timer_ll_disable((hal)->hw, chan) argument
34 #define timer_hal_enable_interrupt(hal, chan) timer_ll_enable_interrupt((hal)->hw, chan) argument
35 #define timer_hal_disable_interrupt(hal, chan) timer_ll_disable_interrupt((hal)->hw, chan) argument
38 …ine timer_hal_clear_chan_interrupt_status(hal, chan) timer_ll_clear_chan_interrupt_status((hal)->h… argument
39 …define timer_hal_is_interrupt_triggered(hal, chan, status) timer_ll_is_interrupt_triggered((hal)->… argument
40 #define timer_hal_reset_config_to_default(hal, chan) timer_ll_reset_config_to_default((hal)->hw, (c… argument
41 #define timer_hal_get_end_count(hal, chan) timer_ll_get_end_count((hal)->hw, chan) argument
44 bk_err_t timer_hal_init_timer(timer_hal_t *hal, timer_id_t chan, uint64_t time, timer_value_unit_t …
45 bk_err_t timer_hal_set_period(timer_hal_t *hal, timer_id_t chan, uint32_t time_ms);
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/
Ddmaengine.h363 struct dma_chan *chan; member
517 static inline const char *dma_chan_name(struct dma_chan *chan) in dma_chan_name() argument
519 return dev_name(&chan->dev->device); in dma_chan_name()
535 typedef bool (*dma_filter_fn)(struct dma_chan *chan, void *filter_param);
604 struct dma_chan *chan; member
875 int (*device_alloc_chan_resources)(struct dma_chan *chan);
876 void (*device_free_chan_resources)(struct dma_chan *chan);
878 …struct dma_async_tx_descriptor *(*device_prep_dma_memcpy)(struct dma_chan *chan, dma_addr_t dst, d…
880 …struct dma_async_tx_descriptor *(*device_prep_dma_xor)(struct dma_chan *chan, dma_addr_t dst, dma_…
882 … struct dma_async_tx_descriptor *(*device_prep_dma_xor_val)(struct dma_chan *chan, dma_addr_t *src,
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/common/hal/
Dtimer_hal.c24 uint32_t timer_hal_cal_end_count(timer_id_t chan, uint64_t time, uint32_t div, timer_value_unit_t u… in timer_hal_cal_end_count() argument
38 group_index = chan / SOC_TIMER_CHAN_NUM_PER_GROUP; in timer_hal_cal_end_count()
58 if (chan < SOC_TIMER_CHAN_NUM_PER_GROUP) { in timer_hal_cal_end_count()
74 for (int chan = 0; chan < SOC_TIMER_CHAN_NUM_PER_UNIT; chan++) { in timer_hal_init() local
75 timer_ll_init(hal->hw, chan); in timer_hal_init()
81 bk_err_t timer_hal_init_timer(timer_hal_t *hal, timer_id_t chan, uint64_t time, timer_value_unit_t … in timer_hal_init_timer() argument
83 uint32_t end_count = timer_hal_cal_end_count(chan, time, 1, unit_type); in timer_hal_init_timer()
84 timer_ll_set_end_count(hal->hw, chan, end_count); in timer_hal_init_timer()
85 timer_ll_set_clk_div(hal->hw, chan, 0); in timer_hal_init_timer()
86 timer_ll_clear_chan_interrupt_status(hal->hw, chan); in timer_hal_init_timer()
[all …]
Dpwm_hal.c27 bk_err_t pwm_hal_init_pwm(pwm_hal_t *hal, pwm_chan_t chan, const pwm_hal_config_t *config) in pwm_hal_init_pwm() argument
37 pwm_ll_disable_interrupt(hal->hw, chan); in pwm_hal_init_pwm()
38 pwm_ll_clear_chan_interrupt_status(hal->hw, chan); in pwm_hal_init_pwm()
39 pwm_ll_set_mode_pwm(hal->hw, chan); in pwm_hal_init_pwm()
41 pwm_ll_set_t1(hal->hw, chan, config->t1); in pwm_hal_init_pwm()
42 pwm_ll_set_t2(hal->hw, chan, config->t2); in pwm_hal_init_pwm()
43 pwm_ll_set_t3(hal->hw, chan, config->t3); in pwm_hal_init_pwm()
44 pwm_ll_set_t4(hal->hw, chan, config->t4); in pwm_hal_init_pwm()
48 bk_err_t pwm_hal_start_common(pwm_hal_t *hal, pwm_chan_t chan) in pwm_hal_start_common() argument
50 pwm_ll_enable(hal->hw, chan); in pwm_hal_start_common()
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/driver/
Dpwm.h78 bk_err_t bk_pwm_init(pwm_chan_t chan, const pwm_init_config_t *config);
92 bk_err_t bk_pwm_deinit(pwm_chan_t chan);
105 bk_err_t bk_pwm_start(pwm_chan_t chan);
118 bk_err_t bk_pwm_stop(pwm_chan_t chan);
222 bk_err_t bk_pwm_set_period_duty(pwm_chan_t chan, pwm_period_duty_config_t *config);
238 bk_err_t bk_pwm_set_init_signal_low(pwm_chan_t chan);
254 bk_err_t bk_pwm_set_init_signal_high(pwm_chan_t chan);
268 bk_err_t bk_pwm_register_isr(pwm_chan_t chan, pwm_isr_t isr);
294 bk_err_t bk_pwm_enable_interrupt(pwm_chan_t chan);
314 bk_err_t bk_pwm_disable_interrupt(pwm_chan_t chan);
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/arch/hi3516cv500/include/
Dvou_hal.h41 hi_bool hal_disp_set_intf_enable(hal_disp_outputchannel chan, hi_bool intf);
42 hi_bool hal_disp_get_intf_enable(hal_disp_outputchannel chan, hi_bool *intf_en);
44 hi_bool hal_disp_get_int_state(hal_disp_outputchannel chan, hi_bool *bottom);
45 hi_bool hal_disp_get_int_state_vcnt(hal_disp_outputchannel chan, hi_u32 *vcnt);
46 hi_bool hal_disp_set_intf_sync(hal_disp_outputchannel chan,
51 hi_bool hal_disp_set_intf_mux_sel(hal_disp_outputchannel chan, hal_disp_intf intf);
52 hi_bool hal_disp_set_intf_clip(hal_disp_intf chan, hi_bool clip, hal_disp_clip *clip_data);
53 hi_bool hal_disp_set_vt_thd_mode(hal_disp_outputchannel chan, hi_u32 u_field_mode);
54 hi_bool hal_disp_get_vtthd_mode(hal_disp_outputchannel chan, hi_bool *field_mode);
55 hi_bool hal_disp_set_vt_thd(hal_disp_outputchannel chan, hi_u32 vtthd, hi_u32 vtthd2);
[all …]
/device/soc/esp/esp32/components/hal/
Dspi_slave_hal.c24 #define spi_dma_ll_rx_enable_burst_data(dev, chan, enable) gdma_ll_rx_enable_data_burst(&GD… argument
25 #define spi_dma_ll_tx_enable_burst_data(dev, chan, enable) gdma_ll_tx_enable_data_burst(&GD… argument
26 …fine spi_dma_ll_rx_enable_burst_desc(dev, chan, enable) gdma_ll_rx_enable_descriptor_burst… argument
27 …fine spi_dma_ll_tx_enable_burst_desc(dev, chan, enable) gdma_ll_tx_enable_descriptor_burst… argument
28 …ne spi_dma_ll_enable_out_auto_wrback(dev, chan, enable) gdma_ll_tx_enable_auto_write_back… argument
29 #define spi_dma_ll_set_out_eof_generation(dev, chan, enable) gdma_ll_tx_set_eof_mode(&GDMA… argument
Dspi_hal.c25 #define spi_dma_ll_rx_enable_burst_data(dev, chan, enable) gdma_ll_rx_enable_data_burst(&GD… argument
26 #define spi_dma_ll_tx_enable_burst_data(dev, chan, enable) gdma_ll_tx_enable_data_burst(&GD… argument
27 …fine spi_dma_ll_rx_enable_burst_desc(dev, chan, enable) gdma_ll_rx_enable_descriptor_burst… argument
28 …fine spi_dma_ll_tx_enable_burst_desc(dev, chan, enable) gdma_ll_tx_enable_descriptor_burst… argument
29 …ne spi_dma_ll_enable_out_auto_wrback(dev, chan, enable) gdma_ll_tx_enable_auto_write_back… argument
30 #define spi_dma_ll_set_out_eof_generation(dev, chan, enable) gdma_ll_tx_set_eof_mode(&GDMA… argument
Dspi_slave_hal_iram.c24 #define spi_dma_ll_rx_reset(dev, chan) gdma_ll_rx_reset_channel(&GDMA, argument
25 #define spi_dma_ll_tx_reset(dev, chan) gdma_ll_tx_reset_channel(&GDMA, argument
26 #define spi_dma_ll_rx_start(dev, chan, addr) do {\ argument
27 gdma_ll_rx_set_desc_addr(&GDMA, chan, (uint32_t)addr);\
28 gdma_ll_rx_start(&GDMA, chan);\
30 #define spi_dma_ll_tx_start(dev, chan, addr) do {\ argument
31 gdma_ll_tx_set_desc_addr(&GDMA, chan, (uint32_t)addr);\
32 gdma_ll_tx_start(&GDMA, chan);\
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/timer/
Dtimer_driver.c202 for (int chan = 0; chan < SOC_TIMER_CHAN_NUM_PER_UNIT; chan++) { in bk_timer_driver_deinit() local
203 timer_chan_deinit_common(chan); in bk_timer_driver_deinit()
341 for(int chan = 0; chan < SOC_TIMER_CHAN_NUM_PER_GROUP; chan++) { local
343 for(int chan = 0; chan < SOC_TIMER_CHAN_NUM_PER_UNIT; chan++) {
345 if(timer_hal_is_interrupt_triggered(hal, chan, int_status)) {
346 if(s_timer_isr[chan]) {
347 s_timer_isr[chan](chan);
361 for(int chan = SOC_TIMER_CHAN_NUM_PER_GROUP; chan < SOC_TIMER_CHAN_NUM_PER_UNIT; chan++) { local
362 if(timer_hal_is_interrupt_triggered(hal, chan, int_status)) {
363 if(s_timer_isr[chan]) {
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/include/host/
Dble_l2cap.h143 struct ble_l2cap_chan *chan; member
156 struct ble_l2cap_chan *chan; member
172 struct ble_l2cap_chan *chan; member
185 struct ble_l2cap_chan *chan; member
201 struct ble_l2cap_chan *chan; member
232 struct ble_l2cap_chan *chan; member
249 uint16_t ble_l2cap_get_conn_handle(struct ble_l2cap_chan *chan);
256 int ble_l2cap_disconnect(struct ble_l2cap_chan *chan);
257 int ble_l2cap_send(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_tx);
258 int ble_l2cap_recv_ready(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_rx);
[all …]

12345678910