/kernel/linux/linux-5.10/drivers/net/ipa/ |
H A D | ipa_endpoint.c | 114 if (data->endpoint.filter_support) { in ipa_endpoint_data_valid_one() 116 "RX endpoint %u\n", in ipa_endpoint_data_valid_one() 124 if (data->endpoint.config.status_enable) { in ipa_endpoint_data_valid_one() 125 other_name = data->endpoint.config.tx.status_endpoint; in ipa_endpoint_data_valid_one() 127 dev_err(dev, "status endpoint name %u out of range " in ipa_endpoint_data_valid_one() 128 "for endpoint %u\n", in ipa_endpoint_data_valid_one() 133 /* Status endpoint must be defined... */ in ipa_endpoint_data_valid_one() 136 dev_err(dev, "DMA endpoint name %u undefined " in ipa_endpoint_data_valid_one() 137 "for endpoint %u\n", in ipa_endpoint_data_valid_one() 142 /* ...and has to be an RX endpoint in ipa_endpoint_data_valid_one() 234 ipa_endpoint_trans_alloc(struct ipa_endpoint *endpoint, u32 tre_count) ipa_endpoint_trans_alloc() argument 250 ipa_endpoint_init_ctrl(struct ipa_endpoint *endpoint, bool suspend_delay) ipa_endpoint_init_ctrl() argument 281 ipa_endpoint_program_delay(struct ipa_endpoint *endpoint, bool enable) ipa_endpoint_program_delay() argument 290 ipa_endpoint_aggr_active(struct ipa_endpoint *endpoint) ipa_endpoint_aggr_active() argument 304 ipa_endpoint_force_close(struct ipa_endpoint *endpoint) ipa_endpoint_force_close() argument 322 ipa_endpoint_suspend_aggr(struct ipa_endpoint *endpoint) ipa_endpoint_suspend_aggr() argument 341 ipa_endpoint_program_suspend(struct ipa_endpoint *endpoint, bool enable) ipa_endpoint_program_suspend() argument 372 struct ipa_endpoint *endpoint = &ipa->endpoint[endpoint_id]; ipa_endpoint_modem_pause_all() local 407 struct ipa_endpoint *endpoint; ipa_endpoint_modem_exception_reset_all() local 434 ipa_endpoint_init_cfg(struct ipa_endpoint *endpoint) ipa_endpoint_init_cfg() argument 485 ipa_endpoint_init_hdr(struct ipa_endpoint *endpoint) ipa_endpoint_init_hdr() argument 523 ipa_endpoint_init_hdr_ext(struct ipa_endpoint *endpoint) ipa_endpoint_init_hdr_ext() argument 552 ipa_endpoint_init_hdr_metadata_mask(struct ipa_endpoint *endpoint) ipa_endpoint_init_hdr_metadata_mask() argument 570 ipa_endpoint_init_mode(struct ipa_endpoint *endpoint) ipa_endpoint_init_mode() argument 606 ipa_endpoint_init_aggr(struct ipa_endpoint *endpoint) ipa_endpoint_init_aggr() argument 700 ipa_endpoint_init_hol_block_timer(struct ipa_endpoint *endpoint, u32 microseconds) ipa_endpoint_init_hol_block_timer() argument 715 ipa_endpoint_init_hol_block_enable(struct ipa_endpoint *endpoint, bool enable) ipa_endpoint_init_hol_block_enable() argument 731 struct ipa_endpoint *endpoint = &ipa->endpoint[i]; ipa_endpoint_modem_hol_block_clear_all() local 742 ipa_endpoint_init_deaggr(struct ipa_endpoint *endpoint) ipa_endpoint_init_deaggr() argument 758 ipa_endpoint_init_seq(struct ipa_endpoint *endpoint) ipa_endpoint_init_seq() argument 784 ipa_endpoint_skb_tx(struct ipa_endpoint *endpoint, struct sk_buff *skb) ipa_endpoint_skb_tx() argument 820 ipa_endpoint_status(struct ipa_endpoint *endpoint) ipa_endpoint_status() argument 849 ipa_endpoint_replenish_one(struct ipa_endpoint *endpoint) ipa_endpoint_replenish_one() argument 901 ipa_endpoint_replenish(struct ipa_endpoint *endpoint, u32 count) ipa_endpoint_replenish() argument 948 ipa_endpoint_replenish_enable(struct ipa_endpoint *endpoint) ipa_endpoint_replenish_enable() argument 964 ipa_endpoint_replenish_disable(struct ipa_endpoint *endpoint) ipa_endpoint_replenish_disable() argument 976 struct ipa_endpoint *endpoint; ipa_endpoint_replenish_work() local 983 ipa_endpoint_skb_copy(struct ipa_endpoint *endpoint, void *data, u32 len, u32 extra) ipa_endpoint_skb_copy() argument 1002 ipa_endpoint_skb_build(struct ipa_endpoint *endpoint, struct page *page, u32 len) ipa_endpoint_skb_build() argument 1041 ipa_endpoint_status_skip(struct ipa_endpoint *endpoint, const struct ipa_status *status) ipa_endpoint_status_skip() argument 1073 ipa_endpoint_status_parse(struct ipa_endpoint *endpoint, struct page *page, u32 total_len) ipa_endpoint_status_parse() argument 1132 ipa_endpoint_tx_complete(struct ipa_endpoint *endpoint, struct gsi_trans *trans) ipa_endpoint_tx_complete() argument 1138 ipa_endpoint_rx_complete(struct ipa_endpoint *endpoint, struct gsi_trans *trans) ipa_endpoint_rx_complete() argument 1156 ipa_endpoint_trans_complete(struct ipa_endpoint *endpoint, struct gsi_trans *trans) ipa_endpoint_trans_complete() argument 1165 ipa_endpoint_trans_release(struct ipa_endpoint *endpoint, struct gsi_trans *trans) ipa_endpoint_trans_release() argument 1215 ipa_endpoint_reset_rx_aggr(struct ipa_endpoint *endpoint) ipa_endpoint_reset_rx_aggr() argument 1303 ipa_endpoint_reset(struct ipa_endpoint *endpoint) ipa_endpoint_reset() argument 1330 ipa_endpoint_program(struct ipa_endpoint *endpoint) ipa_endpoint_program() argument 1347 ipa_endpoint_enable_one(struct ipa_endpoint *endpoint) ipa_endpoint_enable_one() argument 1373 ipa_endpoint_disable_one(struct ipa_endpoint *endpoint) ipa_endpoint_disable_one() argument 1399 ipa_endpoint_suspend_one(struct ipa_endpoint *endpoint) ipa_endpoint_suspend_one() argument 1422 ipa_endpoint_resume_one(struct ipa_endpoint *endpoint) ipa_endpoint_resume_one() argument 1471 ipa_endpoint_setup_one(struct ipa_endpoint *endpoint) ipa_endpoint_setup_one() argument 1499 ipa_endpoint_teardown_one(struct ipa_endpoint *endpoint) ipa_endpoint_teardown_one() argument 1579 struct ipa_endpoint *endpoint; ipa_endpoint_config() local 1603 struct ipa_endpoint *endpoint; ipa_endpoint_init_one() local 1622 ipa_endpoint_exit_one(struct ipa_endpoint *endpoint) ipa_endpoint_exit_one() argument [all...] |
H A D | ipa_gsi.c | 33 struct ipa_endpoint *endpoint; in ipa_gsi_channel_tx_queued() local 35 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_queued() 36 if (endpoint->netdev) in ipa_gsi_channel_tx_queued() 37 netdev_sent_queue(endpoint->netdev, byte_count); in ipa_gsi_channel_tx_queued() 44 struct ipa_endpoint *endpoint; in ipa_gsi_channel_tx_completed() local 46 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_completed() 47 if (endpoint->netdev) in ipa_gsi_channel_tx_completed() 48 netdev_completed_queue(endpoint->netdev, count, byte_count); in ipa_gsi_channel_tx_completed() 51 /* Indicate whether an endpoint config data entry is "empty" */
|
H A D | ipa_endpoint.h | 56 * struct ipa_endpoint - IPA endpoint information 72 /* Net device this endpoint is associated with, if any */ 89 int ipa_endpoint_skb_tx(struct ipa_endpoint *endpoint, struct sk_buff *skb); 91 void ipa_endpoint_exit_one(struct ipa_endpoint *endpoint); 93 int ipa_endpoint_enable_one(struct ipa_endpoint *endpoint); 94 void ipa_endpoint_disable_one(struct ipa_endpoint *endpoint); 96 void ipa_endpoint_suspend_one(struct ipa_endpoint *endpoint); 97 void ipa_endpoint_resume_one(struct ipa_endpoint *endpoint);
|
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | ipa_endpoint.c | 249 if (data->endpoint.filter_support) { in ipa_endpoint_data_valid_one() 251 "RX endpoint %u\n", in ipa_endpoint_data_valid_one() 260 rx_config = &data->endpoint.config.rx; in ipa_endpoint_data_valid_one() 266 dev_err(dev, "RX buffer size too small for RX endpoint %u (%u < %u)\n", in ipa_endpoint_data_valid_one() 271 if (!data->endpoint.config.aggregation) { in ipa_endpoint_data_valid_one() 277 "time limit with no aggregation for RX endpoint %u\n", in ipa_endpoint_data_valid_one() 283 dev_err(dev, "hard limit with no aggregation for RX endpoint %u\n", in ipa_endpoint_data_valid_one() 289 dev_err(dev, "close EOF with no aggregation for RX endpoint %u\n", in ipa_endpoint_data_valid_one() 297 /* For an endpoint supporting receive aggregation, the byte in ipa_endpoint_data_valid_one() 309 dev_err(dev, "aggregated size too large for RX endpoint in ipa_endpoint_data_valid_one() 430 ipa_endpoint_trans_alloc(struct ipa_endpoint *endpoint, u32 tre_count) ipa_endpoint_trans_alloc() argument 447 ipa_endpoint_init_ctrl(struct ipa_endpoint *endpoint, bool suspend_delay) ipa_endpoint_init_ctrl() argument 482 ipa_endpoint_program_delay(struct ipa_endpoint *endpoint, bool enable) ipa_endpoint_program_delay() argument 491 ipa_endpoint_aggr_active(struct ipa_endpoint *endpoint) ipa_endpoint_aggr_active() argument 507 ipa_endpoint_force_close(struct ipa_endpoint *endpoint) ipa_endpoint_force_close() argument 530 ipa_endpoint_suspend_aggr(struct ipa_endpoint *endpoint) ipa_endpoint_suspend_aggr() argument 549 ipa_endpoint_program_suspend(struct ipa_endpoint *endpoint, bool enable) ipa_endpoint_program_suspend() argument 580 struct ipa_endpoint *endpoint = &ipa->endpoint[endpoint_id++]; ipa_endpoint_modem_pause_all() local 615 struct ipa_endpoint *endpoint; ipa_endpoint_modem_exception_reset_all() local 643 ipa_endpoint_init_cfg(struct ipa_endpoint *endpoint) ipa_endpoint_init_cfg() argument 680 ipa_endpoint_init_nat(struct ipa_endpoint *endpoint) ipa_endpoint_init_nat() argument 697 ipa_qmap_header_size(enum ipa_version version, struct ipa_endpoint *endpoint) ipa_qmap_header_size() argument 782 ipa_endpoint_init_hdr(struct ipa_endpoint *endpoint) ipa_endpoint_init_hdr() argument 826 ipa_endpoint_init_hdr_ext(struct ipa_endpoint *endpoint) ipa_endpoint_init_hdr_ext() argument 878 ipa_endpoint_init_hdr_metadata_mask(struct ipa_endpoint *endpoint) ipa_endpoint_init_hdr_metadata_mask() argument 899 ipa_endpoint_init_mode(struct ipa_endpoint *endpoint) ipa_endpoint_init_mode() argument 993 ipa_endpoint_init_aggr(struct ipa_endpoint *endpoint) ipa_endpoint_init_aggr() argument 1107 ipa_endpoint_init_hol_block_timer(struct ipa_endpoint *endpoint, u32 microseconds) ipa_endpoint_init_hol_block_timer() argument 1123 ipa_endpoint_init_hol_block_en(struct ipa_endpoint *endpoint, bool enable) ipa_endpoint_init_hol_block_en() argument 1143 ipa_endpoint_init_hol_block_enable(struct ipa_endpoint *endpoint, u32 microseconds) ipa_endpoint_init_hol_block_enable() argument 1150 ipa_endpoint_init_hol_block_disable(struct ipa_endpoint *endpoint) ipa_endpoint_init_hol_block_disable() argument 1160 struct ipa_endpoint *endpoint = &ipa->endpoint[endpoint_id++]; ipa_endpoint_modem_hol_block_clear_all() local 1170 ipa_endpoint_init_deaggr(struct ipa_endpoint *endpoint) ipa_endpoint_init_deaggr() argument 1189 ipa_endpoint_init_rsrc_grp(struct ipa_endpoint *endpoint) ipa_endpoint_init_rsrc_grp() argument 1203 ipa_endpoint_init_seq(struct ipa_endpoint *endpoint) ipa_endpoint_init_seq() argument 1233 ipa_endpoint_skb_tx(struct ipa_endpoint *endpoint, struct sk_buff *skb) ipa_endpoint_skb_tx() argument 1269 ipa_endpoint_status(struct ipa_endpoint *endpoint) ipa_endpoint_status() argument 1297 ipa_endpoint_replenish_one(struct ipa_endpoint *endpoint, struct gsi_trans *trans) ipa_endpoint_replenish_one() argument 1335 ipa_endpoint_replenish(struct ipa_endpoint *endpoint) ipa_endpoint_replenish() argument 1377 ipa_endpoint_replenish_enable(struct ipa_endpoint *endpoint) ipa_endpoint_replenish_enable() argument 1386 ipa_endpoint_replenish_disable(struct ipa_endpoint *endpoint) ipa_endpoint_replenish_disable() argument 1394 struct ipa_endpoint *endpoint; ipa_endpoint_replenish_work() local 1401 ipa_endpoint_skb_copy(struct ipa_endpoint *endpoint, void *data, u32 len, u32 extra) ipa_endpoint_skb_copy() argument 1420 ipa_endpoint_skb_build(struct ipa_endpoint *endpoint, struct page *page, u32 len) ipa_endpoint_skb_build() argument 1462 ipa_endpoint_status_skip(struct ipa_endpoint *endpoint, const void *data) ipa_endpoint_status_skip() argument 1480 ipa_endpoint_status_tag_valid(struct ipa_endpoint *endpoint, const void *data) ipa_endpoint_status_tag_valid() argument 1511 ipa_endpoint_status_drop(struct ipa_endpoint *endpoint, const void *data) ipa_endpoint_status_drop() argument 1532 ipa_endpoint_status_parse(struct ipa_endpoint *endpoint, struct page *page, u32 total_len) ipa_endpoint_status_parse() argument 1594 ipa_endpoint_trans_complete(struct ipa_endpoint *endpoint, struct gsi_trans *trans) ipa_endpoint_trans_complete() argument 1615 ipa_endpoint_trans_release(struct ipa_endpoint *endpoint, struct gsi_trans *trans) ipa_endpoint_trans_release() argument 1667 ipa_endpoint_reset_rx_aggr(struct ipa_endpoint *endpoint) ipa_endpoint_reset_rx_aggr() argument 1753 ipa_endpoint_reset(struct ipa_endpoint *endpoint) ipa_endpoint_reset() argument 1777 ipa_endpoint_program(struct ipa_endpoint *endpoint) ipa_endpoint_program() argument 1811 ipa_endpoint_enable_one(struct ipa_endpoint *endpoint) ipa_endpoint_enable_one() argument 1837 ipa_endpoint_disable_one(struct ipa_endpoint *endpoint) ipa_endpoint_disable_one() argument 1862 ipa_endpoint_suspend_one(struct ipa_endpoint *endpoint) ipa_endpoint_suspend_one() argument 1882 ipa_endpoint_resume_one(struct ipa_endpoint *endpoint) ipa_endpoint_resume_one() argument 1926 ipa_endpoint_setup_one(struct ipa_endpoint *endpoint) ipa_endpoint_setup_one() argument 1951 ipa_endpoint_teardown_one(struct ipa_endpoint *endpoint) ipa_endpoint_teardown_one() argument 2054 struct ipa_endpoint *endpoint; ipa_endpoint_config() local 2092 struct ipa_endpoint *endpoint; ipa_endpoint_init_one() local 2110 ipa_endpoint_exit_one(struct ipa_endpoint *endpoint) ipa_endpoint_exit_one() argument [all...] |
H A D | ipa_gsi.c | 33 struct ipa_endpoint *endpoint; in ipa_gsi_channel_tx_queued() local 35 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_queued() 36 if (endpoint->netdev) in ipa_gsi_channel_tx_queued() 37 netdev_sent_queue(endpoint->netdev, byte_count); in ipa_gsi_channel_tx_queued() 44 struct ipa_endpoint *endpoint; in ipa_gsi_channel_tx_completed() local 46 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_completed() 47 if (endpoint->netdev) in ipa_gsi_channel_tx_completed() 48 netdev_completed_queue(endpoint->netdev, count, byte_count); in ipa_gsi_channel_tx_completed() 51 /* Indicate whether an endpoint config data entry is "empty" */
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | socket.c | 21 struct endpoint *endpoint, u8 ds, struct dst_cache *cache) in send4() 24 .saddr = endpoint->src4.s_addr, in send4() 25 .daddr = endpoint->addr4.sin_addr.s_addr, in send4() 26 .fl4_dport = endpoint->addr4.sin_port, in send4() 55 endpoint->src4.s_addr = 0; in send4() 56 *(__force __be32 *)&endpoint->src_if4 = 0; in send4() 62 if (unlikely(endpoint->src_if4 && ((IS_ERR(rt) && in send4() 64 rt->dst.dev->ifindex != endpoint->src_if4)))) { in send4() 65 endpoint in send4() 20 send4(struct wg_device *wg, struct sk_buff *skb, struct endpoint *endpoint, u8 ds, struct dst_cache *cache) send4() argument 97 send6(struct wg_device *wg, struct sk_buff *skb, struct endpoint *endpoint, u8 ds, struct dst_cache *cache) send6() argument 209 struct endpoint endpoint; wg_socket_send_buffer_as_reply_to_skb() local 235 wg_socket_endpoint_from_skb(struct endpoint *endpoint, const struct sk_buff *skb) wg_socket_endpoint_from_skb() argument 273 wg_socket_set_peer_endpoint(struct wg_peer *peer, const struct endpoint *endpoint) wg_socket_set_peer_endpoint() argument 302 struct endpoint endpoint; wg_socket_set_peer_endpoint_from_skb() local [all...] |
H A D | socket.h | 25 int wg_socket_endpoint_from_skb(struct endpoint *endpoint, 28 const struct endpoint *endpoint); 35 struct endpoint __endpoint; \
|
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | socket.c | 21 struct endpoint *endpoint, u8 ds, struct dst_cache *cache) in send4() 24 .saddr = endpoint->src4.s_addr, in send4() 25 .daddr = endpoint->addr4.sin_addr.s_addr, in send4() 26 .fl4_dport = endpoint->addr4.sin_port, in send4() 55 endpoint->src4.s_addr = 0; in send4() 56 endpoint->src_if4 = 0; in send4() 62 if (unlikely(endpoint->src_if4 && ((IS_ERR(rt) && in send4() 64 rt->dst.dev->ifindex != endpoint->src_if4)))) { in send4() 65 endpoint in send4() 20 send4(struct wg_device *wg, struct sk_buff *skb, struct endpoint *endpoint, u8 ds, struct dst_cache *cache) send4() argument 97 send6(struct wg_device *wg, struct sk_buff *skb, struct endpoint *endpoint, u8 ds, struct dst_cache *cache) send6() argument 209 struct endpoint endpoint; wg_socket_send_buffer_as_reply_to_skb() local 235 wg_socket_endpoint_from_skb(struct endpoint *endpoint, const struct sk_buff *skb) wg_socket_endpoint_from_skb() argument 273 wg_socket_set_peer_endpoint(struct wg_peer *peer, const struct endpoint *endpoint) wg_socket_set_peer_endpoint() argument 302 struct endpoint endpoint; wg_socket_set_peer_endpoint_from_skb() local [all...] |
H A D | socket.h | 25 int wg_socket_endpoint_from_skb(struct endpoint *endpoint, 28 const struct endpoint *endpoint); 35 struct endpoint __endpoint; \
|
/kernel/linux/linux-6.6/drivers/char/xillybus/ |
H A D | xillybus_pcie.c | 38 struct xilly_endpoint *endpoint; in xilly_probe() local 41 endpoint = xillybus_init_endpoint(&pdev->dev); in xilly_probe() 43 if (!endpoint) in xilly_probe() 46 pci_set_drvdata(pdev, endpoint); in xilly_probe() 48 endpoint->owner = THIS_MODULE; in xilly_probe() 52 dev_err(endpoint->dev, in xilly_probe() 62 dev_err(endpoint->dev, in xilly_probe() 69 dev_err(endpoint->dev, in xilly_probe() 74 endpoint->registers = pcim_iomap_table(pdev)[0]; in xilly_probe() 80 dev_err(endpoint in xilly_probe() 113 struct xilly_endpoint *endpoint = pci_get_drvdata(pdev); xilly_remove() local [all...] |
H A D | xillybus_core.c | 75 * register_mutex is endpoint-specific, and is held when non-atomic 90 static void malformed_message(struct xilly_endpoint *endpoint, u32 *buf) in malformed_message() argument 101 dev_warn(endpoint->dev, in malformed_message() 499 channel->endpoint = ep; in xilly_setupchannels() 589 static int xilly_scan_idt(struct xilly_endpoint *endpoint, in xilly_scan_idt() argument 593 unsigned char *idt = endpoint->channels[1]->wr_buffers[0]->addr; in xilly_scan_idt() 594 unsigned char *end_of_idt = idt + endpoint->idtlen - 4; in xilly_scan_idt() 612 dev_err(endpoint->dev, in xilly_scan_idt() 618 len = endpoint->idtlen - (3 + ((int) (scan - idt))); in xilly_scan_idt() 621 dev_err(endpoint in xilly_scan_idt() 632 xilly_obtain_idt(struct xilly_endpoint *endpoint) xilly_obtain_idt() argument 1431 struct xilly_endpoint *endpoint; xillybus_open() local 1807 struct xilly_endpoint *endpoint; xillybus_init_endpoint() local 1825 xilly_quiesce(struct xilly_endpoint *endpoint) xilly_quiesce() argument 1845 xillybus_endpoint_discovery(struct xilly_endpoint *endpoint) xillybus_endpoint_discovery() argument 1961 xillybus_endpoint_remove(struct xilly_endpoint *endpoint) xillybus_endpoint_remove() argument [all...] |
H A D | xillybus_of.c | 37 struct xilly_endpoint *endpoint; in xilly_drv_probe() local 41 endpoint = xillybus_init_endpoint(dev); in xilly_drv_probe() 43 if (!endpoint) in xilly_drv_probe() 46 dev_set_drvdata(dev, endpoint); in xilly_drv_probe() 48 endpoint->owner = THIS_MODULE; in xilly_drv_probe() 50 endpoint->registers = devm_platform_ioremap_resource(op, 0); in xilly_drv_probe() 51 if (IS_ERR(endpoint->registers)) in xilly_drv_probe() 52 return PTR_ERR(endpoint->registers); in xilly_drv_probe() 56 rc = devm_request_irq(dev, irq, xillybus_isr, 0, xillyname, endpoint); in xilly_drv_probe() 59 dev_err(endpoint in xilly_drv_probe() 70 struct xilly_endpoint *endpoint = dev_get_drvdata(dev); xilly_drv_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_mbox.c | 45 ep_dist->endpoint, credits); in ath6kl_credit_deposit() 65 if (cur_ep_dist->endpoint == ENDPOINT_0) in ath6kl_credit_init() 112 if (cur_ep_dist->endpoint == ENDPOINT_0) in ath6kl_credit_init() 123 * cover and then set each endpoint's normal value in ath6kl_credit_init() 136 cur_ep_dist->endpoint, in ath6kl_credit_init() 173 ep_dist->endpoint, limit); in ath6kl_credit_reduce() 191 if (cur_list->endpoint == ENDPOINT_0) in ath6kl_credit_update() 217 * HTC has an endpoint that needs credits, ep_dist is the endpoint in 253 * starve an endpoint completel in ath6kl_credit_seek() 408 htc_tx_comp_update(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *packet) htc_tx_comp_update() argument 438 htc_tx_complete(struct htc_endpoint *endpoint, struct list_head *txq) htc_tx_complete() argument 454 struct htc_endpoint *endpoint = &target->endpoint[packet->endpoint]; htc_tx_comp_handler() local 470 struct htc_endpoint *endpoint; htc_async_tx_scat_complete() local 599 ath6kl_htc_tx_pkts_get(struct htc_target *target, struct htc_endpoint *endpoint, struct list_head *queue) ath6kl_htc_tx_pkts_get() argument 679 ath6kl_htc_tx_setup_scat_list(struct htc_target *target, struct htc_endpoint *endpoint, struct hif_scatter_req *scat_req, int n_scat, struct list_head *queue) ath6kl_htc_tx_setup_scat_list() argument 755 ath6kl_htc_tx_bundle(struct htc_endpoint *endpoint, struct list_head *queue, int *sent_bundle, int *n_bundle_pkts) ath6kl_htc_tx_bundle() argument 858 ath6kl_htc_tx_from_queue(struct htc_target *target, struct htc_endpoint *endpoint) ath6kl_htc_tx_from_queue() argument 965 ath6kl_htc_tx_try(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *tx_pkt) ath6kl_htc_tx_try() argument 1007 struct htc_endpoint *endpoint; htc_chk_ep_txq() local 1097 struct htc_endpoint *endpoint; ath6kl_htc_set_credit_dist() local 1124 struct htc_endpoint *endpoint; ath6kl_htc_mbox_tx() local 1155 struct htc_endpoint *endpoint = &target->endpoint[eid]; ath6kl_htc_mbox_flush_txep() local 1191 struct htc_endpoint *endpoint; ath6kl_htc_flush_txep_all() local 1209 struct htc_endpoint *endpoint = &target->endpoint[eid]; ath6kl_htc_mbox_activity_changed() local 1252 ath6kl_htc_rx_update_stats(struct htc_endpoint *endpoint, int n_look_ahds) ath6kl_htc_rx_update_stats() argument 1336 ath6kl_htc_rx_set_indicate(u32 lk_ahd, struct htc_endpoint *endpoint, struct htc_packet *packet) ath6kl_htc_rx_set_indicate() argument 1349 ath6kl_htc_rx_chk_water_mark(struct htc_endpoint *endpoint) ath6kl_htc_rx_chk_water_mark() argument 1469 ath6kl_htc_rx_alloc(struct htc_target *target, u32 lk_ahds[], int msg, struct htc_endpoint *endpoint, struct list_head *queue) ath6kl_htc_rx_alloc() argument 1597 struct htc_endpoint *endpoint; htc_proc_cred_rpt() local 1670 htc_parse_trailer(struct htc_target *target, struct htc_record_hdr *record, u8 *record_buf, u32 *next_lk_ahds, enum htc_endpoint_id endpoint, int *n_lk_ahds) htc_parse_trailer() argument 1750 htc_proc_trailer(struct htc_target *target, u8 *buf, int len, u32 *next_lk_ahds, int *n_lk_ahds, enum htc_endpoint_id endpoint) htc_proc_trailer() argument 1900 ath6kl_htc_rx_complete(struct htc_endpoint *endpoint, struct htc_packet *packet) ath6kl_htc_rx_complete() argument 2145 struct htc_endpoint *endpoint; ath6kl_htc_rxmsg_pending_handler() local 2320 struct htc_endpoint *endpoint; ath6kl_htc_mbox_add_rxbuf_multiple() local 2381 struct htc_endpoint *endpoint; ath6kl_htc_mbox_flush_rx_buf() local 2429 struct htc_endpoint *endpoint; ath6kl_htc_mbox_conn_service() local 2573 struct htc_endpoint *endpoint; reset_ep_state() local 2594 ath6kl_htc_mbox_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) ath6kl_htc_mbox_get_rxbuf_num() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_mbox.c | 45 ep_dist->endpoint, credits); in ath6kl_credit_deposit() 65 if (cur_ep_dist->endpoint == ENDPOINT_0) in ath6kl_credit_init() 112 if (cur_ep_dist->endpoint == ENDPOINT_0) in ath6kl_credit_init() 123 * cover and then set each endpoint's normal value in ath6kl_credit_init() 136 cur_ep_dist->endpoint, in ath6kl_credit_init() 173 ep_dist->endpoint, limit); in ath6kl_credit_reduce() 191 if (cur_list->endpoint == ENDPOINT_0) in ath6kl_credit_update() 217 * HTC has an endpoint that needs credits, ep_dist is the endpoint in 253 * starve an endpoint completel in ath6kl_credit_seek() 408 htc_tx_comp_update(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *packet) htc_tx_comp_update() argument 438 htc_tx_complete(struct htc_endpoint *endpoint, struct list_head *txq) htc_tx_complete() argument 454 struct htc_endpoint *endpoint = &target->endpoint[packet->endpoint]; htc_tx_comp_handler() local 470 struct htc_endpoint *endpoint; htc_async_tx_scat_complete() local 599 ath6kl_htc_tx_pkts_get(struct htc_target *target, struct htc_endpoint *endpoint, struct list_head *queue) ath6kl_htc_tx_pkts_get() argument 679 ath6kl_htc_tx_setup_scat_list(struct htc_target *target, struct htc_endpoint *endpoint, struct hif_scatter_req *scat_req, int n_scat, struct list_head *queue) ath6kl_htc_tx_setup_scat_list() argument 755 ath6kl_htc_tx_bundle(struct htc_endpoint *endpoint, struct list_head *queue, int *sent_bundle, int *n_bundle_pkts) ath6kl_htc_tx_bundle() argument 858 ath6kl_htc_tx_from_queue(struct htc_target *target, struct htc_endpoint *endpoint) ath6kl_htc_tx_from_queue() argument 965 ath6kl_htc_tx_try(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *tx_pkt) ath6kl_htc_tx_try() argument 1007 struct htc_endpoint *endpoint; htc_chk_ep_txq() local 1097 struct htc_endpoint *endpoint; ath6kl_htc_set_credit_dist() local 1124 struct htc_endpoint *endpoint; ath6kl_htc_mbox_tx() local 1155 struct htc_endpoint *endpoint = &target->endpoint[eid]; ath6kl_htc_mbox_flush_txep() local 1191 struct htc_endpoint *endpoint; ath6kl_htc_flush_txep_all() local 1209 struct htc_endpoint *endpoint = &target->endpoint[eid]; ath6kl_htc_mbox_activity_changed() local 1252 ath6kl_htc_rx_update_stats(struct htc_endpoint *endpoint, int n_look_ahds) ath6kl_htc_rx_update_stats() argument 1336 ath6kl_htc_rx_set_indicate(u32 lk_ahd, struct htc_endpoint *endpoint, struct htc_packet *packet) ath6kl_htc_rx_set_indicate() argument 1349 ath6kl_htc_rx_chk_water_mark(struct htc_endpoint *endpoint) ath6kl_htc_rx_chk_water_mark() argument 1469 ath6kl_htc_rx_alloc(struct htc_target *target, u32 lk_ahds[], int msg, struct htc_endpoint *endpoint, struct list_head *queue) ath6kl_htc_rx_alloc() argument 1597 struct htc_endpoint *endpoint; htc_proc_cred_rpt() local 1670 htc_parse_trailer(struct htc_target *target, struct htc_record_hdr *record, u8 *record_buf, u32 *next_lk_ahds, enum htc_endpoint_id endpoint, int *n_lk_ahds) htc_parse_trailer() argument 1750 htc_proc_trailer(struct htc_target *target, u8 *buf, int len, u32 *next_lk_ahds, int *n_lk_ahds, enum htc_endpoint_id endpoint) htc_proc_trailer() argument 1900 ath6kl_htc_rx_complete(struct htc_endpoint *endpoint, struct htc_packet *packet) ath6kl_htc_rx_complete() argument 2145 struct htc_endpoint *endpoint; ath6kl_htc_rxmsg_pending_handler() local 2320 struct htc_endpoint *endpoint; ath6kl_htc_mbox_add_rxbuf_multiple() local 2381 struct htc_endpoint *endpoint; ath6kl_htc_mbox_flush_rx_buf() local 2429 struct htc_endpoint *endpoint; ath6kl_htc_mbox_conn_service() local 2573 struct htc_endpoint *endpoint; reset_ep_state() local 2594 ath6kl_htc_mbox_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) ath6kl_htc_mbox_get_rxbuf_num() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | htc_hst.c | 26 struct htc_endpoint *endpoint = &target->endpoint[epid]; in htc_issue_send() local 35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send() 40 static struct htc_endpoint *get_next_avail_ep(struct htc_endpoint *endpoint) in get_next_avail_ep() argument 45 if (endpoint[avail_epid].service_id == 0) in get_next_avail_ep() 46 return &endpoint[avail_epid]; in get_next_avail_ep() 91 struct htc_endpoint *endpoint; in htc_process_target_rdy() local 96 endpoint = &target->endpoint[ENDPOINT0]; in htc_process_target_rdy() 97 endpoint in htc_process_target_rdy() 107 struct htc_endpoint *endpoint, *tmp_endpoint = NULL; htc_process_conn_rsp() local 246 struct htc_endpoint *endpoint; htc_connect_service() local 336 struct htc_endpoint *endpoint; ath9k_htc_txcompletion_cb() local 408 struct htc_endpoint *endpoint; ath9k_htc_rx_msg() local 496 struct htc_endpoint *endpoint; ath9k_htc_hw_alloc() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | htc_hst.c | 26 struct htc_endpoint *endpoint = &target->endpoint[epid]; in htc_issue_send() local 35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send() 40 static struct htc_endpoint *get_next_avail_ep(struct htc_endpoint *endpoint) in get_next_avail_ep() argument 45 if (endpoint[avail_epid].service_id == 0) in get_next_avail_ep() 46 return &endpoint[avail_epid]; in get_next_avail_ep() 91 struct htc_endpoint *endpoint; in htc_process_target_rdy() local 96 endpoint = &target->endpoint[ENDPOINT0]; in htc_process_target_rdy() 97 endpoint in htc_process_target_rdy() 107 struct htc_endpoint *endpoint, *tmp_endpoint = NULL; htc_process_conn_rsp() local 246 struct htc_endpoint *endpoint; htc_connect_service() local 336 struct htc_endpoint *endpoint; ath9k_htc_txcompletion_cb() local 408 struct htc_endpoint *endpoint; ath9k_htc_rx_msg() local 496 struct htc_endpoint *endpoint; ath9k_htc_hw_alloc() local [all...] |
/kernel/linux/linux-5.10/drivers/char/xillybus/ |
H A D | xillybus_core.c | 86 * register_mutex is endpoint-specific, and is held when non-atomic 101 static void malformed_message(struct xilly_endpoint *endpoint, u32 *buf) in malformed_message() argument 112 dev_warn(endpoint->dev, in malformed_message() 474 channel->endpoint = ep; in xilly_setupchannels() 564 static int xilly_scan_idt(struct xilly_endpoint *endpoint, in xilly_scan_idt() argument 568 unsigned char *idt = endpoint->channels[1]->wr_buffers[0]->addr; in xilly_scan_idt() 569 unsigned char *end_of_idt = idt + endpoint->idtlen - 4; in xilly_scan_idt() 587 dev_err(endpoint->dev, in xilly_scan_idt() 593 len = endpoint->idtlen - (3 + ((int) (scan - idt))); in xilly_scan_idt() 596 dev_err(endpoint in xilly_scan_idt() 607 xilly_obtain_idt(struct xilly_endpoint *endpoint) xilly_obtain_idt() argument 1414 struct xilly_endpoint *ep_iter, *endpoint = NULL; xillybus_open() local 1802 xillybus_init_chrdev(struct xilly_endpoint *endpoint, const unsigned char *idt) xillybus_init_chrdev() argument 1874 xillybus_cleanup_chrdev(struct xilly_endpoint *endpoint) xillybus_cleanup_chrdev() argument 1896 struct xilly_endpoint *endpoint; xillybus_init_endpoint() local 1916 xilly_quiesce(struct xilly_endpoint *endpoint) xilly_quiesce() argument 1936 xillybus_endpoint_discovery(struct xilly_endpoint *endpoint) xillybus_endpoint_discovery() argument 2060 xillybus_endpoint_remove(struct xilly_endpoint *endpoint) xillybus_endpoint_remove() argument [all...] |
H A D | xillybus_pcie.c | 130 struct xilly_endpoint *endpoint; in xilly_probe() local 133 endpoint = xillybus_init_endpoint(pdev, &pdev->dev, &pci_hw); in xilly_probe() 135 if (!endpoint) in xilly_probe() 138 pci_set_drvdata(pdev, endpoint); in xilly_probe() 142 dev_err(endpoint->dev, in xilly_probe() 152 dev_err(endpoint->dev, in xilly_probe() 159 dev_err(endpoint->dev, in xilly_probe() 164 endpoint->registers = pcim_iomap_table(pdev)[0]; in xilly_probe() 170 dev_err(endpoint->dev, in xilly_probe() 175 xillyname, endpoint); in xilly_probe() 203 struct xilly_endpoint *endpoint = pci_get_drvdata(pdev); xilly_remove() local [all...] |
H A D | xillybus_of.c | 116 struct xilly_endpoint *endpoint; in xilly_drv_probe() local 124 endpoint = xillybus_init_endpoint(NULL, dev, ephw); in xilly_drv_probe() 126 if (!endpoint) in xilly_drv_probe() 129 dev_set_drvdata(dev, endpoint); in xilly_drv_probe() 131 endpoint->registers = devm_platform_ioremap_resource(op, 0); in xilly_drv_probe() 132 if (IS_ERR(endpoint->registers)) in xilly_drv_probe() 133 return PTR_ERR(endpoint->registers); in xilly_drv_probe() 137 rc = devm_request_irq(dev, irq, xillybus_isr, 0, xillyname, endpoint); in xilly_drv_probe() 140 dev_err(endpoint->dev, in xilly_drv_probe() 145 return xillybus_endpoint_discovery(endpoint); in xilly_drv_probe() 151 struct xilly_endpoint *endpoint = dev_get_drvdata(dev); xilly_drv_remove() local [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_of.h | 47 struct of_endpoint *endpoint); 49 int port, int endpoint, 55 int drm_of_get_data_lanes_count(const struct device_node *endpoint, 92 struct of_endpoint *endpoint) in drm_of_encoder_active_endpoint() 97 int port, int endpoint, in drm_of_find_panel_or_bridge() 118 drm_of_get_data_lanes_count(const struct device_node *endpoint, in drm_of_get_data_lanes_count() argument 148 * Remove the panel bridge of a given DT node's port and endpoint number 153 int port, int endpoint) in drm_of_panel_bridge_remove() 159 remote = of_graph_get_remote_node(np, port, endpoint); in drm_of_panel_bridge_remove() 175 struct of_endpoint endpoint; in drm_of_encoder_active_endpoint_id() local 90 drm_of_encoder_active_endpoint(struct device_node *node, struct drm_encoder *encoder, struct of_endpoint *endpoint) drm_of_encoder_active_endpoint() argument 96 drm_of_find_panel_or_bridge(const struct device_node *np, int port, int endpoint, struct drm_panel **panel, struct drm_bridge **bridge) drm_of_find_panel_or_bridge() argument 152 drm_of_panel_bridge_remove(const struct device_node *np, int port, int endpoint) drm_of_panel_bridge_remove() argument 185 struct of_endpoint endpoint; drm_of_encoder_active_port_id() local [all...] |
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_of.h | 45 struct of_endpoint *endpoint); 47 int port, int endpoint, 83 struct of_endpoint *endpoint) in drm_of_encoder_active_endpoint() 88 int port, int endpoint, in drm_of_find_panel_or_bridge() 107 * Remove the panel bridge of a given DT node's port and endpoint number 112 int port, int endpoint) in drm_of_panel_bridge_remove() 118 remote = of_graph_get_remote_node(np, port, endpoint); in drm_of_panel_bridge_remove() 134 struct of_endpoint endpoint; in drm_of_encoder_active_endpoint_id() local 136 &endpoint); in drm_of_encoder_active_endpoint_id() 138 return ret ?: endpoint in drm_of_encoder_active_endpoint_id() 81 drm_of_encoder_active_endpoint(struct device_node *node, struct drm_encoder *encoder, struct of_endpoint *endpoint) drm_of_encoder_active_endpoint() argument 87 drm_of_find_panel_or_bridge(const struct device_node *np, int port, int endpoint, struct drm_panel **panel, struct drm_bridge **bridge) drm_of_find_panel_or_bridge() argument 111 drm_of_panel_bridge_remove(const struct device_node *np, int port, int endpoint) drm_of_panel_bridge_remove() argument 144 struct of_endpoint endpoint; drm_of_encoder_active_port_id() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_of.c | 151 * For bound crtcs, bind the encoders attached to their remote endpoint in drm_of_component_probe() 187 * drm_of_encoder_active_endpoint - return the active encoder endpoint 192 * parse the encoder endpoint connecting to the crtc port. 196 struct of_endpoint *endpoint) in drm_of_encoder_active_endpoint() 210 ret = of_graph_parse_endpoint(ep, endpoint); in drm_of_encoder_active_endpoint() 224 * @endpoint: endpoint in the device tree node 228 * Given a DT node's port and endpoint number, find the connected node and 238 int port, int endpoint, in drm_of_find_panel_or_bridge() 259 remote = of_graph_get_remote_node(np, port, endpoint); in drm_of_find_panel_or_bridge() 194 drm_of_encoder_active_endpoint(struct device_node *node, struct drm_encoder *encoder, struct of_endpoint *endpoint) drm_of_encoder_active_endpoint() argument 237 drm_of_find_panel_or_bridge(const struct device_node *np, int port, int endpoint, struct drm_panel **panel, struct drm_bridge **bridge) drm_of_find_panel_or_bridge() argument 307 struct device_node *endpoint = NULL; drm_of_lvds_get_remote_pixels_type() local 450 drm_of_get_data_lanes_count(const struct device_node *endpoint, const unsigned int min, const unsigned int max) drm_of_get_data_lanes_count() argument 487 struct device_node *endpoint; drm_of_get_data_lanes_count_ep() local 514 struct device_node *endpoint, *dsi_host_node; drm_of_get_dsi_bus() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_output.c | 66 static int atmel_hlcdc_attach_endpoint(struct drm_device *dev, int endpoint) in atmel_hlcdc_attach_endpoint() argument 74 ep = of_graph_get_endpoint_by_regs(dev->dev->of_node, 0, endpoint); in atmel_hlcdc_attach_endpoint() 78 ret = drm_of_find_panel_or_bridge(dev->dev->of_node, 0, endpoint, in atmel_hlcdc_attach_endpoint() 94 dev_err(dev->dev, "endpoint %d: invalid bus width\n", endpoint); in atmel_hlcdc_attach_endpoint() 128 int endpoint, ret = 0; in atmel_hlcdc_create_outputs() local 135 for (endpoint = 0; !ret || endpoint < 4; endpoint++) { in atmel_hlcdc_create_outputs() 136 ret = atmel_hlcdc_attach_endpoint(dev, endpoint); in atmel_hlcdc_create_outputs() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_output.c | 67 static int atmel_hlcdc_attach_endpoint(struct drm_device *dev, int endpoint) in atmel_hlcdc_attach_endpoint() argument 75 ep = of_graph_get_endpoint_by_regs(dev->dev->of_node, 0, endpoint); in atmel_hlcdc_attach_endpoint() 79 ret = drm_of_find_panel_or_bridge(dev->dev->of_node, 0, endpoint, in atmel_hlcdc_attach_endpoint() 95 dev_err(dev->dev, "endpoint %d: invalid bus width\n", endpoint); in atmel_hlcdc_attach_endpoint() 129 int endpoint, ret = 0; in atmel_hlcdc_create_outputs() local 136 for (endpoint = 0; !ret || endpoint < 4; endpoint++) { in atmel_hlcdc_create_outputs() 137 ret = atmel_hlcdc_attach_endpoint(dev, endpoint); in atmel_hlcdc_create_outputs() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_of.c | 153 * For bound crtcs, bind the encoders attached to their remote endpoint in drm_of_component_probe() 189 * drm_of_encoder_active_endpoint - return the active encoder endpoint 194 * parse the encoder endpoint connecting to the crtc port. 198 struct of_endpoint *endpoint) in drm_of_encoder_active_endpoint() 212 ret = of_graph_parse_endpoint(ep, endpoint); in drm_of_encoder_active_endpoint() 226 * @endpoint: endpoint in the device tree node 230 * Given a DT node's port and endpoint number, find the connected node and 237 int port, int endpoint, in drm_of_find_panel_or_bridge() 258 remote = of_graph_get_remote_node(np, port, endpoint); in drm_of_find_panel_or_bridge() 196 drm_of_encoder_active_endpoint(struct device_node *node, struct drm_encoder *encoder, struct of_endpoint *endpoint) drm_of_encoder_active_endpoint() argument 236 drm_of_find_panel_or_bridge(const struct device_node *np, int port, int endpoint, struct drm_panel **panel, struct drm_bridge **bridge) drm_of_find_panel_or_bridge() argument 306 struct device_node *endpoint = NULL; drm_of_lvds_get_remote_pixels_type() local [all...] |