/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | target.h | 8 struct target { struct 55 enum target_errno target__validate(struct target *target); 56 enum target_errno target__parse_uid(struct target *target); 58 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen); 60 static inline bool target__has_task(struct target *target) in target__has_task() argument 62 return target in target__has_task() 65 target__has_cpu(struct target *target) target__has_cpu() argument 70 target__none(struct target *target) target__none() argument 75 target__enable_on_exec(struct target *target) target__enable_on_exec() argument 86 target__has_per_thread(struct target *target) target__has_per_thread() argument 91 target__uses_dummy_map(struct target *target) target__uses_dummy_map() argument [all...] |
H A D | target.c | 3 * Helper functions for handling target threads/cpus 8 #include "target.h" 17 enum target_errno target__validate(struct target *target) in target__validate() argument 21 if (target->pid) in target__validate() 22 target->tid = target->pid; in target__validate() 25 if (target->tid && target->cpu_list) { in target__validate() 26 target in target__validate() 97 target__parse_uid(struct target *target) target__parse_uid() argument 148 target__strerror(struct target *target, int errnum, char *buf, size_t buflen) target__strerror() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-tm.c | 52 * @target: The target task. 58 int tm_cgpr_active(struct task_struct *target, const struct user_regset *regset) in tm_cgpr_active() argument 63 if (!MSR_TM_ACTIVE(target->thread.regs->msr)) in tm_cgpr_active() 71 * @target: The target task. 86 int tm_cgpr_get(struct task_struct *target, const struct user_regset *regset, in tm_cgpr_get() argument 92 if (!MSR_TM_ACTIVE(target->thread.regs->msr)) in tm_cgpr_get() 95 flush_tmregs_to_thread(target); in tm_cgpr_get() 96 flush_fp_to_thread(target); in tm_cgpr_get() 133 tm_cgpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr_set() argument 199 tm_cfpr_active(struct task_struct *target, const struct user_regset *regset) tm_cfpr_active() argument 228 tm_cfpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cfpr_get() argument 272 tm_cfpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cfpr_set() argument 311 tm_cvmx_active(struct task_struct *target, const struct user_regset *regset) tm_cvmx_active() argument 341 tm_cvmx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cvmx_get() argument 392 tm_cvmx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvmx_set() argument 439 tm_cvsx_active(struct task_struct *target, const struct user_regset *regset) tm_cvsx_active() argument 468 tm_cvsx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cvsx_get() argument 511 tm_cvsx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvsx_set() argument 550 tm_spr_active(struct task_struct *target, const struct user_regset *regset) tm_spr_active() argument 573 tm_spr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_spr_get() argument 615 tm_spr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_spr_set() argument 652 tm_tar_active(struct task_struct *target, const struct user_regset *regset) tm_tar_active() argument 663 tm_tar_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_tar_get() argument 675 tm_tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_tar_set() argument 692 tm_ppr_active(struct task_struct *target, const struct user_regset *regset) tm_ppr_active() argument 704 tm_ppr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_ppr_get() argument 716 tm_ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_ppr_set() argument 733 tm_dscr_active(struct task_struct *target, const struct user_regset *regset) tm_dscr_active() argument 744 tm_dscr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_dscr_get() argument 756 tm_dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_dscr_set() argument 773 tm_cgpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cgpr32_get() argument 781 tm_cgpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr32_set() argument [all...] |
H A D | ptrace-vsx.c | 21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument 27 flush_fp_to_thread(target); in fpr_get() 31 buf[i] = target->thread.TS_FPR(i); in fpr_get() 32 buf[32] = target->thread.fp_state.fpscr; in fpr_get() 49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument 56 flush_fp_to_thread(target); in fpr_set() 59 buf[i] = target->thread.TS_FPR(i); in fpr_set() 60 buf[32] = target->thread.fp_state.fpscr; in fpr_set() 68 target->thread.TS_FPR(i) = buf[i]; in fpr_set() 69 target in fpr_set() 79 vsr_active(struct task_struct *target, const struct user_regset *regset) vsr_active() argument 97 vsr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) vsr_get() argument 126 vsr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) vsr_set() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-tm.c | 52 * @target: The target task. 58 int tm_cgpr_active(struct task_struct *target, const struct user_regset *regset) in tm_cgpr_active() argument 63 if (!MSR_TM_ACTIVE(target->thread.regs->msr)) in tm_cgpr_active() 71 * @target: The target task. 86 int tm_cgpr_get(struct task_struct *target, const struct user_regset *regset, in tm_cgpr_get() argument 97 if (!MSR_TM_ACTIVE(target->thread.regs->msr)) in tm_cgpr_get() 100 flush_tmregs_to_thread(target); in tm_cgpr_get() 101 flush_fp_to_thread(target); in tm_cgpr_get() 134 tm_cgpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr_set() argument 200 tm_cfpr_active(struct task_struct *target, const struct user_regset *regset) tm_cfpr_active() argument 229 tm_cfpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cfpr_get() argument 273 tm_cfpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cfpr_set() argument 312 tm_cvmx_active(struct task_struct *target, const struct user_regset *regset) tm_cvmx_active() argument 342 tm_cvmx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cvmx_get() argument 393 tm_cvmx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvmx_set() argument 440 tm_cvsx_active(struct task_struct *target, const struct user_regset *regset) tm_cvsx_active() argument 469 tm_cvsx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cvsx_get() argument 512 tm_cvsx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvsx_set() argument 551 tm_spr_active(struct task_struct *target, const struct user_regset *regset) tm_spr_active() argument 574 tm_spr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_spr_get() argument 616 tm_spr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_spr_set() argument 653 tm_tar_active(struct task_struct *target, const struct user_regset *regset) tm_tar_active() argument 664 tm_tar_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_tar_get() argument 676 tm_tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_tar_set() argument 693 tm_ppr_active(struct task_struct *target, const struct user_regset *regset) tm_ppr_active() argument 705 tm_ppr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_ppr_get() argument 717 tm_ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_ppr_set() argument 734 tm_dscr_active(struct task_struct *target, const struct user_regset *regset) tm_dscr_active() argument 745 tm_dscr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_dscr_get() argument 757 tm_dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_dscr_set() argument 774 tm_cgpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cgpr32_get() argument 782 tm_cgpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr32_set() argument [all...] |
H A D | ptrace-vsx.c | 21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument 27 flush_fp_to_thread(target); in fpr_get() 31 buf[i] = target->thread.TS_FPR(i); in fpr_get() 32 buf[32] = target->thread.fp_state.fpscr; in fpr_get() 49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument 56 flush_fp_to_thread(target); in fpr_set() 59 buf[i] = target->thread.TS_FPR(i); in fpr_set() 60 buf[32] = target->thread.fp_state.fpscr; in fpr_set() 68 target->thread.TS_FPR(i) = buf[i]; in fpr_set() 69 target in fpr_set() 79 vsr_active(struct task_struct *target, const struct user_regset *regset) vsr_active() argument 97 vsr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) vsr_get() argument 126 vsr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) vsr_set() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | target.h | 8 struct target { struct 47 enum target_errno target__validate(struct target *target); 48 enum target_errno target__parse_uid(struct target *target); 50 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen); 52 static inline bool target__has_task(struct target *target) in target__has_task() argument 54 return target in target__has_task() 57 target__has_cpu(struct target *target) target__has_cpu() argument 62 target__none(struct target *target) target__none() argument 67 target__has_per_thread(struct target *target) target__has_per_thread() argument 72 target__uses_dummy_map(struct target *target) target__uses_dummy_map() argument [all...] |
H A D | target.c | 3 * Helper functions for handling target threads/cpus 8 #include "target.h" 17 enum target_errno target__validate(struct target *target) in target__validate() argument 21 if (target->pid) in target__validate() 22 target->tid = target->pid; in target__validate() 25 if (target->tid && target->cpu_list) { in target__validate() 26 target in target__validate() 69 target__parse_uid(struct target *target) target__parse_uid() argument 116 target__strerror(struct target *target, int errnum, char *buf, size_t buflen) target__strerror() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | htc-ops.h | 28 static inline int ath6kl_htc_wait_target(struct htc_target *target) in ath6kl_htc_wait_target() argument 30 return target->dev->ar->htc_ops->wait_target(target); in ath6kl_htc_wait_target() 33 static inline int ath6kl_htc_start(struct htc_target *target) in ath6kl_htc_start() argument 35 return target->dev->ar->htc_ops->start(target); in ath6kl_htc_start() 38 static inline int ath6kl_htc_conn_service(struct htc_target *target, in ath6kl_htc_conn_service() argument 42 return target->dev->ar->htc_ops->conn_service(target, req, resp); in ath6kl_htc_conn_service() 45 static inline int ath6kl_htc_tx(struct htc_target *target, in ath6kl_htc_tx() argument 51 ath6kl_htc_stop(struct htc_target *target) ath6kl_htc_stop() argument 56 ath6kl_htc_cleanup(struct htc_target *target) ath6kl_htc_cleanup() argument 61 ath6kl_htc_flush_txep(struct htc_target *target, enum htc_endpoint_id endpoint, u16 tag) ath6kl_htc_flush_txep() argument 68 ath6kl_htc_flush_rx_buf(struct htc_target *target) ath6kl_htc_flush_rx_buf() argument 73 ath6kl_htc_activity_changed(struct htc_target *target, enum htc_endpoint_id endpoint, bool active) ath6kl_htc_activity_changed() argument 81 ath6kl_htc_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) ath6kl_htc_get_rxbuf_num() argument 87 ath6kl_htc_add_rxbuf_multiple(struct htc_target *target, struct list_head *pktq) ath6kl_htc_add_rxbuf_multiple() argument 93 ath6kl_htc_credit_setup(struct htc_target *target, struct ath6kl_htc_credit_info *info) ath6kl_htc_credit_setup() argument [all...] |
H A D | htc_pipe.c | 56 ep->ep_cb.tx_comp_multi(ep->target, queue_to_indicate); in do_send_completion() 72 ep->ep_cb.tx_complete(ep->target, packet); in do_send_completion() 77 static void send_packet_completion(struct htc_target *target, in send_packet_completion() argument 80 struct htc_endpoint *ep = &target->endpoint[packet->endpoint]; in send_packet_completion() 91 static void get_htc_packet_credit_based(struct htc_target *target, in get_htc_packet_credit_based() argument 118 if (transfer_len <= target->tgt_cred_sz) { in get_htc_packet_credit_based() 122 credits_required = transfer_len / target->tgt_cred_sz; in get_htc_packet_credit_based() 123 remainder = transfer_len % target->tgt_cred_sz; in get_htc_packet_credit_based() 146 /* check if we need credits back from the target */ in get_htc_packet_credit_based() 149 /* tell the target w in get_htc_packet_credit_based() 173 get_htc_packet(struct htc_target *target, struct htc_endpoint *ep, struct list_head *queue, int resources) get_htc_packet() argument 203 htc_issue_packets(struct htc_target *target, struct htc_endpoint *ep, struct list_head *pkt_queue) htc_issue_packets() argument 300 htc_try_send(struct htc_target *target, struct htc_endpoint *ep, struct list_head *txq) htc_try_send() argument 529 htc_free_txctrl_packet(struct htc_target *target, struct htc_packet *packet) htc_free_txctrl_packet() argument 535 htc_alloc_txctrl_packet(struct htc_target *target) htc_alloc_txctrl_packet() argument 540 htc_txctrl_complete(struct htc_target *target, struct htc_packet *packet) htc_txctrl_complete() argument 548 htc_setup_target_buffer_assignments(struct htc_target *target) htc_setup_target_buffer_assignments() argument 654 htc_process_credit_report(struct htc_target *target, struct htc_credit_report *rpt, int num_entries, enum htc_endpoint_id from_ep) htc_process_credit_report() argument 691 htc_flush_tx_endpoint(struct htc_target *target, struct htc_endpoint *ep, u16 tag) htc_flush_tx_endpoint() argument 713 htc_lookup_tx_packet(struct htc_target *target, struct htc_endpoint *ep, struct sk_buff *skb) htc_lookup_tx_packet() argument 744 struct htc_target *target = ar->htc_target; ath6kl_htc_pipe_tx_complete() local 780 htc_send_packets_multiple(struct htc_target *target, struct list_head *pkt_queue) htc_send_packets_multiple() argument 813 alloc_htc_packet_container(struct htc_target *target) alloc_htc_packet_container() argument 832 free_htc_packet_container(struct htc_target *target, struct htc_packet *packet) free_htc_packet_container() argument 851 htc_process_trailer(struct htc_target *target, u8 *buffer, int len, enum htc_endpoint_id from_ep) htc_process_trailer() argument 930 recv_packet_completion(struct htc_target *target, struct htc_endpoint *ep, struct htc_packet *packet) recv_packet_completion() argument 945 struct htc_target *target = ar->htc_target; ath6kl_htc_pipe_rx_complete() local 1095 htc_flush_rx_queue(struct htc_target *target, struct htc_endpoint *ep) htc_flush_rx_queue() argument 1132 htc_wait_recv_ctrl_message(struct htc_target *target) htc_wait_recv_ctrl_message() argument 1172 reset_endpoint_states(struct htc_target *target) reset_endpoint_states() argument 1192 htc_config_target_hif_pipe(struct htc_target *target) htc_config_target_hif_pipe() argument 1198 htc_get_credit_alloc(struct htc_target *target, u16 service_id) htc_get_credit_alloc() argument 1218 ath6kl_htc_pipe_conn_service(struct htc_target *target, struct htc_service_connect_req *conn_req, struct htc_service_connect_resp *conn_resp) ath6kl_htc_pipe_conn_service() argument 1409 struct htc_target *target = NULL; ath6kl_htc_pipe_create() local 1461 ath6kl_htc_pipe_cleanup(struct htc_target *target) ath6kl_htc_pipe_cleanup() argument 1478 ath6kl_htc_pipe_start(struct htc_target *target) ath6kl_htc_pipe_start() argument 1511 ath6kl_htc_pipe_stop(struct htc_target *target) ath6kl_htc_pipe_stop() argument 1527 ath6kl_htc_pipe_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) ath6kl_htc_pipe_get_rxbuf_num() argument 1539 ath6kl_htc_pipe_tx(struct htc_target *target, struct htc_packet *packet) ath6kl_htc_pipe_tx() argument 1555 ath6kl_htc_pipe_wait_target(struct htc_target *target) ath6kl_htc_pipe_wait_target() argument 1608 ath6kl_htc_pipe_flush_txep(struct htc_target *target, enum htc_endpoint_id endpoint, u16 tag) ath6kl_htc_pipe_flush_txep() argument 1622 ath6kl_htc_pipe_add_rxbuf_multiple(struct htc_target *target, struct list_head *pkt_queue) ath6kl_htc_pipe_add_rxbuf_multiple() argument 1664 ath6kl_htc_pipe_activity_changed(struct htc_target *target, enum htc_endpoint_id ep, bool active) ath6kl_htc_pipe_activity_changed() argument 1671 ath6kl_htc_pipe_flush_rx_buf(struct htc_target *target) ath6kl_htc_pipe_flush_rx_buf() argument 1698 ath6kl_htc_pipe_credit_setup(struct htc_target *target, struct ath6kl_htc_credit_info *info) ath6kl_htc_pipe_credit_setup() argument [all...] |
H A D | htc_mbox.c | 28 static void ath6kl_htc_mbox_cleanup(struct htc_target *target); 29 static void ath6kl_htc_mbox_stop(struct htc_target *target); 30 static int ath6kl_htc_mbox_add_rxbuf_multiple(struct htc_target *target, 32 static void ath6kl_htc_set_credit_dist(struct htc_target *target, 375 static void htc_reclaim_txctrl_buf(struct htc_target *target, in htc_reclaim_txctrl_buf() argument 378 spin_lock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 379 list_add_tail(&pkt->list, &target->free_ctrl_txbuf); in htc_reclaim_txctrl_buf() 380 spin_unlock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 383 static struct htc_packet *htc_get_control_buf(struct htc_target *target, in htc_get_control_buf() argument 389 buf_list = tx ? &target in htc_get_control_buf() 408 htc_tx_comp_update(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *packet) htc_tx_comp_update() argument 451 htc_tx_comp_handler(struct htc_target *target, struct htc_packet *packet) htc_tx_comp_handler() argument 467 htc_async_tx_scat_complete(struct htc_target *target, struct hif_scatter_req *scat_req) htc_async_tx_scat_complete() argument 507 ath6kl_htc_tx_issue(struct htc_target *target, struct htc_packet *packet) ath6kl_htc_tx_issue() argument 546 htc_check_credits(struct htc_target *target, struct htc_endpoint *ep, u8 *flags, enum htc_endpoint_id eid, unsigned int len, int *req_cred) htc_check_credits() argument 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 759 struct htc_target *target = endpoint->target; ath6kl_htc_tx_bundle() local 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 1005 htc_chk_ep_txq(struct htc_target *target) htc_chk_ep_txq() argument 1041 htc_setup_tx_complete(struct htc_target *target) htc_setup_tx_complete() argument 1093 ath6kl_htc_set_credit_dist(struct htc_target *target, struct ath6kl_htc_credit_info *credit_info, u16 srvc_pri_order[], int list_len) ath6kl_htc_set_credit_dist() argument 1121 ath6kl_htc_mbox_tx(struct htc_target *target, struct htc_packet *packet) ath6kl_htc_mbox_tx() argument 1150 ath6kl_htc_mbox_flush_txep(struct htc_target *target, enum htc_endpoint_id eid, u16 tag) ath6kl_htc_mbox_flush_txep() argument 1189 ath6kl_htc_flush_txep_all(struct htc_target *target) ath6kl_htc_flush_txep_all() argument 1205 ath6kl_htc_mbox_activity_changed(struct htc_target *target, enum htc_endpoint_id eid, bool active) ath6kl_htc_mbox_activity_changed() argument 1262 htc_valid_rx_frame_len(struct htc_target *target, enum htc_endpoint_id eid, int len) htc_valid_rx_frame_len() argument 1269 htc_add_rxbuf(struct htc_target *target, struct htc_packet *packet) htc_add_rxbuf() argument 1278 htc_reclaim_rxbuf(struct htc_target *target, struct htc_packet *packet, struct htc_endpoint *ep) htc_reclaim_rxbuf() argument 1292 reclaim_rx_ctrl_buf(struct htc_target *target, struct htc_packet *packet) reclaim_rx_ctrl_buf() argument 1300 ath6kl_htc_rx_packet(struct htc_target *target, struct htc_packet *packet, u32 rx_len) ath6kl_htc_rx_packet() argument 1366 ath6kl_htc_rx_setup(struct htc_target *target, struct htc_endpoint *ep, u32 *lk_ahds, struct list_head *queue, int n_msg) ath6kl_htc_rx_setup() 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 1592 htc_proc_cred_rpt(struct htc_target *target, struct htc_credit_report *rpt, int n_entries, enum htc_endpoint_id from_ep) htc_proc_cred_rpt() argument 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 1803 ath6kl_htc_rx_process_hdr(struct htc_target *target, struct htc_packet *packet, u32 *next_lkahds, int *n_lkahds) ath6kl_htc_rx_process_hdr() argument 1910 ath6kl_htc_rx_bundle(struct htc_target *target, struct list_head *rxq, struct list_head *sync_compq, int *n_pkt_fetched, bool part_bundle) ath6kl_htc_rx_bundle() argument 2003 ath6kl_htc_rx_process_packets(struct htc_target *target, struct list_head *comp_pktq, u32 lk_ahds[], int *n_lk_ahd) ath6kl_htc_rx_process_packets() argument 2053 ath6kl_htc_rx_fetch(struct htc_target *target, struct list_head *rx_pktq, struct list_head *comp_pktq) ath6kl_htc_rx_fetch() argument 2141 ath6kl_htc_rxmsg_pending_handler(struct htc_target *target, u32 msg_look_ahead, int *num_pkts) ath6kl_htc_rxmsg_pending_handler() argument 2260 htc_wait_for_ctrl_msg(struct htc_target *target) htc_wait_for_ctrl_msg() argument 2317 ath6kl_htc_mbox_add_rxbuf_multiple(struct htc_target *target, struct list_head *pkt_queue) ath6kl_htc_mbox_add_rxbuf_multiple() argument 2379 ath6kl_htc_mbox_flush_rx_buf(struct htc_target *target) ath6kl_htc_mbox_flush_rx_buf() argument 2421 ath6kl_htc_mbox_conn_service(struct htc_target *target, struct htc_service_connect_req *conn_req, struct htc_service_connect_resp *conn_resp) ath6kl_htc_mbox_conn_service() argument 2571 reset_ep_state(struct htc_target *target) reset_ep_state() argument 2594 ath6kl_htc_mbox_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) ath6kl_htc_mbox_get_rxbuf_num() argument 2605 htc_setup_msg_bndl(struct htc_target *target) htc_setup_msg_bndl() argument 2654 ath6kl_htc_mbox_wait_target(struct htc_target *target) ath6kl_htc_mbox_wait_target() argument 2739 ath6kl_htc_mbox_start(struct htc_target *target) ath6kl_htc_mbox_start() argument 2781 ath6kl_htc_reset(struct htc_target *target) ath6kl_htc_reset() argument 2821 ath6kl_htc_mbox_stop(struct htc_target *target) ath6kl_htc_mbox_stop() argument 2843 struct htc_target *target = NULL; ath6kl_htc_mbox_create() local 2888 ath6kl_htc_mbox_cleanup(struct htc_target *target) ath6kl_htc_mbox_cleanup() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | htc-ops.h | 28 static inline int ath6kl_htc_wait_target(struct htc_target *target) in ath6kl_htc_wait_target() argument 30 return target->dev->ar->htc_ops->wait_target(target); in ath6kl_htc_wait_target() 33 static inline int ath6kl_htc_start(struct htc_target *target) in ath6kl_htc_start() argument 35 return target->dev->ar->htc_ops->start(target); in ath6kl_htc_start() 38 static inline int ath6kl_htc_conn_service(struct htc_target *target, in ath6kl_htc_conn_service() argument 42 return target->dev->ar->htc_ops->conn_service(target, req, resp); in ath6kl_htc_conn_service() 45 static inline int ath6kl_htc_tx(struct htc_target *target, in ath6kl_htc_tx() argument 51 ath6kl_htc_stop(struct htc_target *target) ath6kl_htc_stop() argument 56 ath6kl_htc_cleanup(struct htc_target *target) ath6kl_htc_cleanup() argument 61 ath6kl_htc_flush_txep(struct htc_target *target, enum htc_endpoint_id endpoint, u16 tag) ath6kl_htc_flush_txep() argument 68 ath6kl_htc_flush_rx_buf(struct htc_target *target) ath6kl_htc_flush_rx_buf() argument 73 ath6kl_htc_activity_changed(struct htc_target *target, enum htc_endpoint_id endpoint, bool active) ath6kl_htc_activity_changed() argument 81 ath6kl_htc_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) ath6kl_htc_get_rxbuf_num() argument 87 ath6kl_htc_add_rxbuf_multiple(struct htc_target *target, struct list_head *pktq) ath6kl_htc_add_rxbuf_multiple() argument 93 ath6kl_htc_credit_setup(struct htc_target *target, struct ath6kl_htc_credit_info *info) ath6kl_htc_credit_setup() argument [all...] |
H A D | htc_pipe.c | 56 ep->ep_cb.tx_comp_multi(ep->target, queue_to_indicate); in do_send_completion() 72 ep->ep_cb.tx_complete(ep->target, packet); in do_send_completion() 77 static void send_packet_completion(struct htc_target *target, in send_packet_completion() argument 80 struct htc_endpoint *ep = &target->endpoint[packet->endpoint]; in send_packet_completion() 91 static void get_htc_packet_credit_based(struct htc_target *target, in get_htc_packet_credit_based() argument 118 if (transfer_len <= target->tgt_cred_sz) { in get_htc_packet_credit_based() 122 credits_required = transfer_len / target->tgt_cred_sz; in get_htc_packet_credit_based() 123 remainder = transfer_len % target->tgt_cred_sz; in get_htc_packet_credit_based() 146 /* check if we need credits back from the target */ in get_htc_packet_credit_based() 149 /* tell the target w in get_htc_packet_credit_based() 173 get_htc_packet(struct htc_target *target, struct htc_endpoint *ep, struct list_head *queue, int resources) get_htc_packet() argument 203 htc_issue_packets(struct htc_target *target, struct htc_endpoint *ep, struct list_head *pkt_queue) htc_issue_packets() argument 300 htc_try_send(struct htc_target *target, struct htc_endpoint *ep, struct list_head *txq) htc_try_send() argument 529 htc_free_txctrl_packet(struct htc_target *target, struct htc_packet *packet) htc_free_txctrl_packet() argument 535 htc_alloc_txctrl_packet(struct htc_target *target) htc_alloc_txctrl_packet() argument 540 htc_txctrl_complete(struct htc_target *target, struct htc_packet *packet) htc_txctrl_complete() argument 548 htc_setup_target_buffer_assignments(struct htc_target *target) htc_setup_target_buffer_assignments() argument 654 htc_process_credit_report(struct htc_target *target, struct htc_credit_report *rpt, int num_entries, enum htc_endpoint_id from_ep) htc_process_credit_report() argument 691 htc_flush_tx_endpoint(struct htc_target *target, struct htc_endpoint *ep, u16 tag) htc_flush_tx_endpoint() argument 713 htc_lookup_tx_packet(struct htc_target *target, struct htc_endpoint *ep, struct sk_buff *skb) htc_lookup_tx_packet() argument 744 struct htc_target *target = ar->htc_target; ath6kl_htc_pipe_tx_complete() local 780 htc_send_packets_multiple(struct htc_target *target, struct list_head *pkt_queue) htc_send_packets_multiple() argument 813 alloc_htc_packet_container(struct htc_target *target) alloc_htc_packet_container() argument 832 free_htc_packet_container(struct htc_target *target, struct htc_packet *packet) free_htc_packet_container() argument 851 htc_process_trailer(struct htc_target *target, u8 *buffer, int len, enum htc_endpoint_id from_ep) htc_process_trailer() argument 930 recv_packet_completion(struct htc_target *target, struct htc_endpoint *ep, struct htc_packet *packet) recv_packet_completion() argument 945 struct htc_target *target = ar->htc_target; ath6kl_htc_pipe_rx_complete() local 1095 htc_flush_rx_queue(struct htc_target *target, struct htc_endpoint *ep) htc_flush_rx_queue() argument 1132 htc_wait_recv_ctrl_message(struct htc_target *target) htc_wait_recv_ctrl_message() argument 1172 reset_endpoint_states(struct htc_target *target) reset_endpoint_states() argument 1192 htc_config_target_hif_pipe(struct htc_target *target) htc_config_target_hif_pipe() argument 1198 htc_get_credit_alloc(struct htc_target *target, u16 service_id) htc_get_credit_alloc() argument 1218 ath6kl_htc_pipe_conn_service(struct htc_target *target, struct htc_service_connect_req *conn_req, struct htc_service_connect_resp *conn_resp) ath6kl_htc_pipe_conn_service() argument 1409 struct htc_target *target = NULL; ath6kl_htc_pipe_create() local 1461 ath6kl_htc_pipe_cleanup(struct htc_target *target) ath6kl_htc_pipe_cleanup() argument 1478 ath6kl_htc_pipe_start(struct htc_target *target) ath6kl_htc_pipe_start() argument 1511 ath6kl_htc_pipe_stop(struct htc_target *target) ath6kl_htc_pipe_stop() argument 1527 ath6kl_htc_pipe_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) ath6kl_htc_pipe_get_rxbuf_num() argument 1539 ath6kl_htc_pipe_tx(struct htc_target *target, struct htc_packet *packet) ath6kl_htc_pipe_tx() argument 1555 ath6kl_htc_pipe_wait_target(struct htc_target *target) ath6kl_htc_pipe_wait_target() argument 1608 ath6kl_htc_pipe_flush_txep(struct htc_target *target, enum htc_endpoint_id endpoint, u16 tag) ath6kl_htc_pipe_flush_txep() argument 1622 ath6kl_htc_pipe_add_rxbuf_multiple(struct htc_target *target, struct list_head *pkt_queue) ath6kl_htc_pipe_add_rxbuf_multiple() argument 1664 ath6kl_htc_pipe_activity_changed(struct htc_target *target, enum htc_endpoint_id ep, bool active) ath6kl_htc_pipe_activity_changed() argument 1671 ath6kl_htc_pipe_flush_rx_buf(struct htc_target *target) ath6kl_htc_pipe_flush_rx_buf() argument 1698 ath6kl_htc_pipe_credit_setup(struct htc_target *target, struct ath6kl_htc_credit_info *info) ath6kl_htc_pipe_credit_setup() argument [all...] |
H A D | htc_mbox.c | 28 static void ath6kl_htc_mbox_cleanup(struct htc_target *target); 29 static void ath6kl_htc_mbox_stop(struct htc_target *target); 30 static int ath6kl_htc_mbox_add_rxbuf_multiple(struct htc_target *target, 32 static void ath6kl_htc_set_credit_dist(struct htc_target *target, 375 static void htc_reclaim_txctrl_buf(struct htc_target *target, in htc_reclaim_txctrl_buf() argument 378 spin_lock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 379 list_add_tail(&pkt->list, &target->free_ctrl_txbuf); in htc_reclaim_txctrl_buf() 380 spin_unlock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 383 static struct htc_packet *htc_get_control_buf(struct htc_target *target, in htc_get_control_buf() argument 389 buf_list = tx ? &target in htc_get_control_buf() 408 htc_tx_comp_update(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *packet) htc_tx_comp_update() argument 451 htc_tx_comp_handler(struct htc_target *target, struct htc_packet *packet) htc_tx_comp_handler() argument 467 htc_async_tx_scat_complete(struct htc_target *target, struct hif_scatter_req *scat_req) htc_async_tx_scat_complete() argument 507 ath6kl_htc_tx_issue(struct htc_target *target, struct htc_packet *packet) ath6kl_htc_tx_issue() argument 546 htc_check_credits(struct htc_target *target, struct htc_endpoint *ep, u8 *flags, enum htc_endpoint_id eid, unsigned int len, int *req_cred) htc_check_credits() argument 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 759 struct htc_target *target = endpoint->target; ath6kl_htc_tx_bundle() local 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 1005 htc_chk_ep_txq(struct htc_target *target) htc_chk_ep_txq() argument 1041 htc_setup_tx_complete(struct htc_target *target) htc_setup_tx_complete() argument 1093 ath6kl_htc_set_credit_dist(struct htc_target *target, struct ath6kl_htc_credit_info *credit_info, u16 srvc_pri_order[], int list_len) ath6kl_htc_set_credit_dist() argument 1121 ath6kl_htc_mbox_tx(struct htc_target *target, struct htc_packet *packet) ath6kl_htc_mbox_tx() argument 1150 ath6kl_htc_mbox_flush_txep(struct htc_target *target, enum htc_endpoint_id eid, u16 tag) ath6kl_htc_mbox_flush_txep() argument 1189 ath6kl_htc_flush_txep_all(struct htc_target *target) ath6kl_htc_flush_txep_all() argument 1205 ath6kl_htc_mbox_activity_changed(struct htc_target *target, enum htc_endpoint_id eid, bool active) ath6kl_htc_mbox_activity_changed() argument 1262 htc_valid_rx_frame_len(struct htc_target *target, enum htc_endpoint_id eid, int len) htc_valid_rx_frame_len() argument 1269 htc_add_rxbuf(struct htc_target *target, struct htc_packet *packet) htc_add_rxbuf() argument 1278 htc_reclaim_rxbuf(struct htc_target *target, struct htc_packet *packet, struct htc_endpoint *ep) htc_reclaim_rxbuf() argument 1292 reclaim_rx_ctrl_buf(struct htc_target *target, struct htc_packet *packet) reclaim_rx_ctrl_buf() argument 1300 ath6kl_htc_rx_packet(struct htc_target *target, struct htc_packet *packet, u32 rx_len) ath6kl_htc_rx_packet() argument 1366 ath6kl_htc_rx_setup(struct htc_target *target, struct htc_endpoint *ep, u32 *lk_ahds, struct list_head *queue, int n_msg) ath6kl_htc_rx_setup() 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 1592 htc_proc_cred_rpt(struct htc_target *target, struct htc_credit_report *rpt, int n_entries, enum htc_endpoint_id from_ep) htc_proc_cred_rpt() argument 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 1803 ath6kl_htc_rx_process_hdr(struct htc_target *target, struct htc_packet *packet, u32 *next_lkahds, int *n_lkahds) ath6kl_htc_rx_process_hdr() argument 1910 ath6kl_htc_rx_bundle(struct htc_target *target, struct list_head *rxq, struct list_head *sync_compq, int *n_pkt_fetched, bool part_bundle) ath6kl_htc_rx_bundle() argument 2003 ath6kl_htc_rx_process_packets(struct htc_target *target, struct list_head *comp_pktq, u32 lk_ahds[], int *n_lk_ahd) ath6kl_htc_rx_process_packets() argument 2053 ath6kl_htc_rx_fetch(struct htc_target *target, struct list_head *rx_pktq, struct list_head *comp_pktq) ath6kl_htc_rx_fetch() argument 2141 ath6kl_htc_rxmsg_pending_handler(struct htc_target *target, u32 msg_look_ahead, int *num_pkts) ath6kl_htc_rxmsg_pending_handler() argument 2260 htc_wait_for_ctrl_msg(struct htc_target *target) htc_wait_for_ctrl_msg() argument 2317 ath6kl_htc_mbox_add_rxbuf_multiple(struct htc_target *target, struct list_head *pkt_queue) ath6kl_htc_mbox_add_rxbuf_multiple() argument 2379 ath6kl_htc_mbox_flush_rx_buf(struct htc_target *target) ath6kl_htc_mbox_flush_rx_buf() argument 2421 ath6kl_htc_mbox_conn_service(struct htc_target *target, struct htc_service_connect_req *conn_req, struct htc_service_connect_resp *conn_resp) ath6kl_htc_mbox_conn_service() argument 2571 reset_ep_state(struct htc_target *target) reset_ep_state() argument 2594 ath6kl_htc_mbox_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) ath6kl_htc_mbox_get_rxbuf_num() argument 2605 htc_setup_msg_bndl(struct htc_target *target) htc_setup_msg_bndl() argument 2654 ath6kl_htc_mbox_wait_target(struct htc_target *target) ath6kl_htc_mbox_wait_target() argument 2739 ath6kl_htc_mbox_start(struct htc_target *target) ath6kl_htc_mbox_start() argument 2781 ath6kl_htc_reset(struct htc_target *target) ath6kl_htc_reset() argument 2821 ath6kl_htc_mbox_stop(struct htc_target *target) ath6kl_htc_mbox_stop() argument 2843 struct htc_target *target = NULL; ath6kl_htc_mbox_create() local 2888 ath6kl_htc_mbox_cleanup(struct htc_target *target) ath6kl_htc_mbox_cleanup() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/loongarch/annotate/ |
H A D | instructions.c | 12 struct addr_map_symbol target = { in loongarch_call__parse() local 20 ops->target.addr = strtoull(c, &endptr, 16); in loongarch_call__parse() 34 ops->target.name = strdup(name); in loongarch_call__parse() 37 if (ops->target.name == NULL) in loongarch_call__parse() 40 target.addr = map__objdump_2mem(map, ops->target.addr); in loongarch_call__parse() 42 if (maps__find_ams(ms->maps, &target) == 0 && in loongarch_call__parse() 43 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target in loongarch_call__parse() 58 struct addr_map_symbol target = { loongarch_jump__parse() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | htc_hst.c | 21 static int htc_issue_send(struct htc_target *target, struct sk_buff* skb, in htc_issue_send() argument 26 struct htc_endpoint *endpoint = &target->endpoint[epid]; in htc_issue_send() 35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send() 88 static void htc_process_target_rdy(struct htc_target *target, in htc_process_target_rdy() argument 94 target->credit_size = be16_to_cpu(htc_ready_msg->credit_size); in htc_process_target_rdy() 96 endpoint = &target->endpoint[ENDPOINT0]; in htc_process_target_rdy() 99 atomic_inc(&target->tgt_ready); in htc_process_target_rdy() 100 complete(&target->target_wait); in htc_process_target_rdy() 103 static void htc_process_conn_rsp(struct htc_target *target, in htc_process_conn_rsp() argument 154 htc_config_pipe_credits(struct htc_target *target) htc_config_pipe_credits() argument 192 htc_setup_complete(struct htc_target *target) htc_setup_complete() argument 230 htc_init(struct htc_target *target) htc_init() argument 241 htc_connect_service(struct htc_target *target, struct htc_service_connreq *service_connreq, enum htc_endpoint_id *conn_rsp_epid) htc_connect_service() argument 304 htc_send(struct htc_target *target, struct sk_buff *skb) htc_send() argument 312 htc_send_epid(struct htc_target *target, struct sk_buff *skb, enum htc_endpoint_id epid) htc_send_epid() argument 318 htc_stop(struct htc_target *target) htc_stop() argument 323 htc_start(struct htc_target *target) htc_start() argument 328 htc_sta_drain(struct htc_target *target, u8 idx) htc_sta_drain() argument 497 struct htc_target *target; ath9k_htc_hw_alloc() local 525 ath9k_htc_hw_init(struct htc_target *target, struct device *dev, u16 devid, char *product, u32 drv_info) ath9k_htc_hw_init() argument 537 ath9k_htc_hw_deinit(struct htc_target *target, bool hot_unplug) ath9k_htc_hw_deinit() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | htc_hst.c | 21 static int htc_issue_send(struct htc_target *target, struct sk_buff* skb, in htc_issue_send() argument 26 struct htc_endpoint *endpoint = &target->endpoint[epid]; in htc_issue_send() 35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send() 88 static void htc_process_target_rdy(struct htc_target *target, in htc_process_target_rdy() argument 94 target->credit_size = be16_to_cpu(htc_ready_msg->credit_size); in htc_process_target_rdy() 96 endpoint = &target->endpoint[ENDPOINT0]; in htc_process_target_rdy() 99 atomic_inc(&target->tgt_ready); in htc_process_target_rdy() 100 complete(&target->target_wait); in htc_process_target_rdy() 103 static void htc_process_conn_rsp(struct htc_target *target, in htc_process_conn_rsp() argument 154 htc_config_pipe_credits(struct htc_target *target) htc_config_pipe_credits() argument 192 htc_setup_complete(struct htc_target *target) htc_setup_complete() argument 230 htc_init(struct htc_target *target) htc_init() argument 241 htc_connect_service(struct htc_target *target, struct htc_service_connreq *service_connreq, enum htc_endpoint_id *conn_rsp_epid) htc_connect_service() argument 304 htc_send(struct htc_target *target, struct sk_buff *skb) htc_send() argument 312 htc_send_epid(struct htc_target *target, struct sk_buff *skb, enum htc_endpoint_id epid) htc_send_epid() argument 318 htc_stop(struct htc_target *target) htc_stop() argument 323 htc_start(struct htc_target *target) htc_start() argument 328 htc_sta_drain(struct htc_target *target, u8 idx) htc_sta_drain() argument 497 struct htc_target *target; ath9k_htc_hw_alloc() local 525 ath9k_htc_hw_init(struct htc_target *target, struct device *dev, u16 devid, char *product, u32 drv_info) ath9k_htc_hw_init() argument 537 ath9k_htc_hw_deinit(struct htc_target *target, bool hot_unplug) ath9k_htc_hw_deinit() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/numa/ |
H A D | hmat.c | 95 struct memory_target *target; in find_mem_target() local 97 list_for_each_entry(target, &targets, node) in find_mem_target() 98 if (target->memory_pxm == mem_pxm) in find_mem_target() 99 return target; in find_mem_target() 126 struct memory_target *target; in alloc_memory_target() local 128 target = find_mem_target(mem_pxm); in alloc_memory_target() 129 if (!target) { in alloc_memory_target() 130 target = kzalloc(sizeof(*target), GFP_KERNEL); in alloc_memory_target() 131 if (!target) in alloc_memory_target() 226 hmat_update_target_access(struct memory_target *target, u8 type, u32 value, int access) hmat_update_target_access() argument 298 struct memory_target *target; hmat_parse_locality() local 361 struct memory_target *target; hmat_parse_cache() local 424 struct memory_target *target = NULL; hmat_parse_proximity_domain() local 494 hmat_initiator_perf(struct memory_target *target, struct memory_initiator *initiator, struct acpi_hmat_locality *hmat_loc) hmat_initiator_perf() argument 586 hmat_register_target_initiators(struct memory_target *target) hmat_register_target_initiators() argument 693 hmat_register_target_cache(struct memory_target *target) hmat_register_target_cache() argument 702 hmat_register_target_perf(struct memory_target *target, int access) hmat_register_target_perf() argument 708 hmat_register_target_devices(struct memory_target *target) hmat_register_target_devices() argument 726 hmat_register_target(struct memory_target *target) hmat_register_target() argument 759 struct memory_target *target; hmat_register_targets() local 768 struct memory_target *target; hmat_callback() local 791 struct memory_target *target, *tnext; hmat_free_structures() local [all...] |
/kernel/linux/linux-6.6/drivers/acpi/numa/ |
H A D | hmat.c | 94 struct memory_target *target; in find_mem_target() local 96 list_for_each_entry(target, &targets, node) in find_mem_target() 97 if (target->memory_pxm == mem_pxm) in find_mem_target() 98 return target; in find_mem_target() 125 struct memory_target *target; in alloc_memory_target() local 127 target = find_mem_target(mem_pxm); in alloc_memory_target() 128 if (!target) { in alloc_memory_target() 129 target = kzalloc(sizeof(*target), GFP_KERNEL); in alloc_memory_target() 130 if (!target) in alloc_memory_target() 225 hmat_update_target_access(struct memory_target *target, u8 type, u32 value, int access) hmat_update_target_access() argument 297 struct memory_target *target; hmat_parse_locality() local 360 struct memory_target *target; hmat_parse_cache() local 423 struct memory_target *target = NULL; hmat_parse_proximity_domain() local 493 hmat_initiator_perf(struct memory_target *target, struct memory_initiator *initiator, struct acpi_hmat_locality *hmat_loc) hmat_initiator_perf() argument 585 hmat_register_target_initiators(struct memory_target *target) hmat_register_target_initiators() argument 692 hmat_register_target_cache(struct memory_target *target) hmat_register_target_cache() argument 701 hmat_register_target_perf(struct memory_target *target, int access) hmat_register_target_perf() argument 707 hmat_register_target_devices(struct memory_target *target) hmat_register_target_devices() argument 725 hmat_register_target(struct memory_target *target) hmat_register_target() argument 758 struct memory_target *target; hmat_register_targets() local 767 struct memory_target *target; hmat_callback() local 785 struct memory_target *target, *tnext; hmat_free_structures() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
H A D | ocelot_io.c | 15 u16 target = reg >> TARGET_OFFSET; in __ocelot_read_ix() local 18 WARN_ON(!target); in __ocelot_read_ix() 20 regmap_read(ocelot->targets[target], in __ocelot_read_ix() 21 ocelot->map[target][reg & REG_MASK] + offset, &val); in __ocelot_read_ix() 28 u16 target = reg >> TARGET_OFFSET; in __ocelot_write_ix() local 30 WARN_ON(!target); in __ocelot_write_ix() 32 regmap_write(ocelot->targets[target], in __ocelot_write_ix() 33 ocelot->map[target][reg & REG_MASK] + offset, val); in __ocelot_write_ix() 40 u16 target = reg >> TARGET_OFFSET; in __ocelot_rmw_ix() local 42 WARN_ON(!target); in __ocelot_rmw_ix() 53 u16 target = reg >> TARGET_OFFSET; ocelot_port_readl() local 66 u16 target = reg >> TARGET_OFFSET; ocelot_port_writel() local 82 __ocelot_target_read_ix(struct ocelot *ocelot, enum ocelot_target target, u32 reg, u32 offset) __ocelot_target_read_ix() argument 92 __ocelot_target_write_ix(struct ocelot *ocelot, enum ocelot_target target, u32 val, u32 reg, u32 offset) __ocelot_target_write_ix() argument 103 u16 target; ocelot_regfields_init() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_opts.c | 111 static void test_tc_opts_before_target(int target) in test_tc_opts_before_target() argument 139 assert_mprog_count(target, 0); in test_tc_opts_before_target() 141 err = bpf_prog_attach_opts(fd1, loopback, target, &opta); in test_tc_opts_before_target() 145 assert_mprog_count(target, 1); in test_tc_opts_before_target() 147 err = bpf_prog_attach_opts(fd2, loopback, target, &opta); in test_tc_opts_before_target() 151 assert_mprog_count(target, 2); in test_tc_opts_before_target() 158 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target() 181 err = bpf_prog_attach_opts(fd3, loopback, target, &opta); in test_tc_opts_before_target() 188 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target() 204 err = bpf_prog_attach_opts(fd4, loopback, target, in test_tc_opts_before_target() 263 test_tc_opts_after_target(int target) test_tc_opts_after_target() argument 454 test_tc_opts_revision_target(int target) test_tc_opts_revision_target() argument 563 test_tc_chain_classic(int target, bool chain_tc_old) test_tc_chain_classic() argument 666 test_tc_opts_replace_target(int target) test_tc_opts_replace_target() argument 873 test_tc_opts_invalid_target(int target) test_tc_opts_invalid_target() argument 1026 test_tc_opts_prepend_target(int target) test_tc_opts_prepend_target() argument 1166 test_tc_opts_append_target(int target) test_tc_opts_append_target() argument 1306 test_tc_opts_dev_cleanup_target(int target) test_tc_opts_dev_cleanup_target() argument 1396 test_tc_opts_mixed_target(int target) test_tc_opts_mixed_target() argument 1572 test_tc_opts_demixed_target(int target) test_tc_opts_demixed_target() argument 1651 test_tc_opts_detach_target(int target) test_tc_opts_detach_target() argument 1822 test_tc_opts_detach_before_target(int target) test_tc_opts_detach_before_target() argument 2029 test_tc_opts_detach_after_target(int target) test_tc_opts_detach_after_target() argument 2245 test_tc_opts_delete_empty(int target, bool chain_tc_old) test_tc_opts_delete_empty() argument 2276 test_tc_chain_mixed(int target) test_tc_chain_mixed() argument 2405 test_tc_opts_max_target(int target, int flags, bool relative) test_tc_opts_max_target() argument 2461 test_tc_opts_query_target(int target) test_tc_opts_query_target() argument 2628 test_tc_opts_query_attach_target(int target) test_tc_opts_query_attach_target() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
H A D | ocelot_io.c | 16 enum ocelot_target target; in __ocelot_bulk_read_ix() local 19 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_bulk_read_ix() 20 WARN_ON(!target); in __ocelot_bulk_read_ix() 22 return regmap_bulk_read(ocelot->targets[target], addr + offset, in __ocelot_bulk_read_ix() 29 enum ocelot_target target; in __ocelot_read_ix() local 32 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_read_ix() 33 WARN_ON(!target); in __ocelot_read_ix() 35 regmap_read(ocelot->targets[target], addr + offset, &val); in __ocelot_read_ix() 43 enum ocelot_target target; in __ocelot_write_ix() local 46 ocelot_reg_to_target_addr(ocelot, reg, &target, in __ocelot_write_ix() 56 enum ocelot_target target; __ocelot_rmw_ix() local 69 u16 target = reg >> TARGET_OFFSET; ocelot_port_readl() local 82 u16 target = reg >> TARGET_OFFSET; ocelot_port_writel() local 99 __ocelot_target_read_ix(struct ocelot *ocelot, enum ocelot_target target, u32 reg, u32 offset) __ocelot_target_read_ix() argument 109 __ocelot_target_write_ix(struct ocelot *ocelot, enum ocelot_target target, u32 val, u32 reg, u32 offset) __ocelot_target_write_ix() argument 120 u16 target; ocelot_regfields_init() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 95 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0"); 142 "Number of RDMA channels to use for communication with an SRP target. Using more than one channel improves performance if the HCA supports multiple completion vectors. The default value is the minimum of four times the number of online CPU sockets and the number of completion vectors supported by the HCA."); 216 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument 222 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin() 223 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin() 275 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp() argument 285 ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev, in srp_init_ib_qp() 286 target->srp_host->port, in srp_init_ib_qp() 287 be16_to_cpu(target->ib_cm.pkey), in srp_init_ib_qp() 295 attr->port_num = target in srp_init_ib_qp() 310 struct srp_target_port *target = ch->target; srp_new_ib_cm_id() local 336 struct srp_target_port *target = ch->target; srp_new_rdma_cm_id() local 380 struct srp_target_port *target = ch->target; srp_new_cm_id() local 502 srp_alloc_fr_pool(struct srp_target_port *target) srp_alloc_fr_pool() argument 530 struct srp_target_port *target = ch->target; srp_create_ch_ib() local 641 srp_free_ch_ib(struct srp_target_port *target, struct srp_rdma_ch *ch) srp_free_ch_ib() argument 705 struct srp_target_port *target = ch->target; srp_path_rec_completion() local 718 struct srp_target_port *target = ch->target; srp_ib_lookup_path() local 757 struct srp_target_port *target = ch->target; srp_rdma_lookup_path() local 777 struct srp_target_port *target = ch->target; srp_lookup_path() local 803 struct srp_target_port *target = ch->target; srp_send_req() local 925 srp_queue_remove_work(struct srp_target_port *target) srp_queue_remove_work() argument 942 srp_disconnect_target(struct srp_target_port *target) srp_disconnect_target() argument 970 struct srp_target_port *target = host_to_target(shost); srp_exit_cmd_priv() local 988 struct srp_target_port *target = host_to_target(shost); srp_init_cmd_priv() local 1035 srp_remove_target(struct srp_target_port *target) srp_remove_target() argument 1067 struct srp_target_port *target = srp_remove_work() local 1077 struct srp_target_port *target = rport->lld_data; srp_rport_delete() local 1086 srp_connected_ch(struct srp_target_port *target) srp_connected_ch() argument 1099 struct srp_target_port *target = ch->target; srp_connect_ch() local 1178 struct srp_target_port *target = ch->target; srp_unmap_data() local 1282 struct srp_target_port *target = context->srp_target; srp_terminate_cmd() local 1294 struct srp_target_port *target = rport->lld_data; srp_terminate_io() local 1332 struct srp_target_port *target = rport->lld_data; srp_rport_reconnect() local 1424 struct srp_target_port *target = ch->target; srp_map_finish_fr() local 1530 struct srp_target_port *target = ch->target; srp_map_sg_dma() local 1553 struct srp_target_port *target = ch->target; srp_map_idb() local 1622 struct srp_target_port *target = ch->target; srp_map_data() local 1836 struct srp_target_port *target = ch->target; __srp_get_tx_iu() local 1890 struct srp_target_port *target = ch->target; srp_post_send() local 1914 struct srp_target_port *target = ch->target; srp_post_recv() local 1934 struct srp_target_port *target = ch->target; srp_process_rsp() local 1994 struct srp_target_port *target = ch->target; srp_response_common() local 2043 struct srp_target_port *target = ch->target; srp_process_aer_req() local 2062 struct srp_target_port *target = ch->target; srp_recv_done() local 2127 struct srp_target_port *target; srp_tl_err_work() local 2138 struct srp_target_port *target = ch->target; srp_handle_qp_err() local 2152 struct srp_target_port *target = host_to_target(shost); srp_queuecommand() local 2253 struct srp_target_port *target = ch->target; srp_alloc_iu_bufs() local 2332 struct srp_target_port *target = ch->target; srp_cm_rep_handler() local 2424 struct srp_target_port *target = ch->target; srp_ib_cm_rej_handler() local 2510 struct srp_target_port *target = ch->target; srp_ib_cm_handler() local 2571 struct srp_target_port *target = ch->target; srp_rdma_cm_rej_handler() local 2622 struct srp_target_port *target = ch->target; srp_rdma_cm_handler() local 2715 struct srp_target_port *target = ch->target; srp_send_tsk_mgmt() local 2780 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_abort() local 2810 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_device() local 2828 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_host() local 2838 struct srp_target_port *target = host_to_target(shost); srp_target_alloc() local 2848 struct srp_target_port *target = host_to_target(shost); srp_slave_configure() local 2863 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_id_ext() local 2871 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_ioc_guid() local 2879 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_service_id() local 2890 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_pkey() local 2900 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_sgid() local 2908 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_dgid() local 2919 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_orig_dgid() local 2929 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_req_lim() local 2943 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_zero_req_lim() local 2951 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_local_ib_port() local 2959 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_local_ib_device() local 2968 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_ch_count() local 2976 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_comp_vector() local 2984 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_tl_retry_count() local 2992 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_cmd_sg_entries() local 3000 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_allow_ext_sg() local 3085 srp_add_target(struct srp_host *host, struct srp_target_port *target) srp_add_target() argument 3155 srp_conn_unique(struct srp_host *host, struct srp_target_port *target) srp_conn_unique() argument 3293 srp_parse_options(struct net *net, const char *buf, struct srp_target_port *target) srp_parse_options() argument 3660 struct srp_target_port *target; srp_create_target() local 4057 struct srp_target_port *target; srp_remove_one() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 90 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0"); 137 "Number of RDMA channels to use for communication with an SRP target. Using more than one channel improves performance if the HCA supports multiple completion vectors. The default value is the minimum of four times the number of online CPU sockets and the number of completion vectors supported by the HCA."); 211 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument 217 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin() 218 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin() 270 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp() argument 280 ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev, in srp_init_ib_qp() 281 target->srp_host->port, in srp_init_ib_qp() 282 be16_to_cpu(target->ib_cm.pkey), in srp_init_ib_qp() 290 attr->port_num = target in srp_init_ib_qp() 305 struct srp_target_port *target = ch->target; srp_new_ib_cm_id() local 331 struct srp_target_port *target = ch->target; srp_new_rdma_cm_id() local 375 struct srp_target_port *target = ch->target; srp_new_cm_id() local 497 srp_alloc_fr_pool(struct srp_target_port *target) srp_alloc_fr_pool() argument 525 struct srp_target_port *target = ch->target; srp_create_ch_ib() local 636 srp_free_ch_ib(struct srp_target_port *target, struct srp_rdma_ch *ch) srp_free_ch_ib() argument 700 struct srp_target_port *target = ch->target; srp_path_rec_completion() local 713 struct srp_target_port *target = ch->target; srp_ib_lookup_path() local 752 struct srp_target_port *target = ch->target; srp_rdma_lookup_path() local 772 struct srp_target_port *target = ch->target; srp_lookup_path() local 798 struct srp_target_port *target = ch->target; srp_send_req() local 920 srp_queue_remove_work(struct srp_target_port *target) srp_queue_remove_work() argument 937 srp_disconnect_target(struct srp_target_port *target) srp_disconnect_target() argument 965 struct srp_target_port *target = host_to_target(shost); srp_exit_cmd_priv() local 983 struct srp_target_port *target = host_to_target(shost); srp_init_cmd_priv() local 1037 srp_remove_target(struct srp_target_port *target) srp_remove_target() argument 1069 struct srp_target_port *target = srp_remove_work() local 1079 struct srp_target_port *target = rport->lld_data; srp_rport_delete() local 1088 srp_connected_ch(struct srp_target_port *target) srp_connected_ch() argument 1101 struct srp_target_port *target = ch->target; srp_connect_ch() local 1180 struct srp_target_port *target = ch->target; srp_unmap_data() local 1283 struct srp_target_port *target = context->srp_target; srp_terminate_cmd() local 1295 struct srp_target_port *target = rport->lld_data; srp_terminate_io() local 1333 struct srp_target_port *target = rport->lld_data; srp_rport_reconnect() local 1425 struct srp_target_port *target = ch->target; srp_map_finish_fr() local 1531 struct srp_target_port *target = ch->target; srp_map_sg_dma() local 1554 struct srp_target_port *target = ch->target; srp_map_idb() local 1623 struct srp_target_port *target = ch->target; srp_map_data() local 1837 struct srp_target_port *target = ch->target; __srp_get_tx_iu() local 1891 struct srp_target_port *target = ch->target; srp_post_send() local 1915 struct srp_target_port *target = ch->target; srp_post_recv() local 1935 struct srp_target_port *target = ch->target; srp_process_rsp() local 1995 struct srp_target_port *target = ch->target; srp_response_common() local 2044 struct srp_target_port *target = ch->target; srp_process_aer_req() local 2063 struct srp_target_port *target = ch->target; srp_recv_done() local 2128 struct srp_target_port *target; srp_tl_err_work() local 2139 struct srp_target_port *target = ch->target; srp_handle_qp_err() local 2154 struct srp_target_port *target = host_to_target(shost); srp_queuecommand() local 2255 struct srp_target_port *target = ch->target; srp_alloc_iu_bufs() local 2334 struct srp_target_port *target = ch->target; srp_cm_rep_handler() local 2426 struct srp_target_port *target = ch->target; srp_ib_cm_rej_handler() local 2512 struct srp_target_port *target = ch->target; srp_ib_cm_handler() local 2573 struct srp_target_port *target = ch->target; srp_rdma_cm_rej_handler() local 2624 struct srp_target_port *target = ch->target; srp_rdma_cm_handler() local 2717 struct srp_target_port *target = ch->target; srp_send_tsk_mgmt() local 2782 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_abort() local 2812 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_device() local 2830 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_host() local 2840 struct srp_target_port *target = host_to_target(shost); srp_target_alloc() local 2850 struct srp_target_port *target = host_to_target(shost); srp_slave_configure() local 2865 struct srp_target_port *target = host_to_target(class_to_shost(dev)); id_ext_show() local 2875 struct srp_target_port *target = host_to_target(class_to_shost(dev)); ioc_guid_show() local 2885 struct srp_target_port *target = host_to_target(class_to_shost(dev)); service_id_show() local 2898 struct srp_target_port *target = host_to_target(class_to_shost(dev)); pkey_show() local 2911 struct srp_target_port *target = host_to_target(class_to_shost(dev)); sgid_show() local 2921 struct srp_target_port *target = host_to_target(class_to_shost(dev)); dgid_show() local 2935 struct srp_target_port *target = host_to_target(class_to_shost(dev)); orig_dgid_show() local 2948 struct srp_target_port *target = host_to_target(class_to_shost(dev)); req_lim_show() local 2965 struct srp_target_port *target = host_to_target(class_to_shost(dev)); zero_req_lim_show() local 2975 struct srp_target_port *target = host_to_target(class_to_shost(dev)); local_ib_port_show() local 2985 struct srp_target_port *target = host_to_target(class_to_shost(dev)); local_ib_device_show() local 2996 struct srp_target_port *target = host_to_target(class_to_shost(dev)); ch_count_show() local 3006 struct srp_target_port *target = host_to_target(class_to_shost(dev)); comp_vector_show() local 3016 struct srp_target_port *target = host_to_target(class_to_shost(dev)); tl_retry_count_show() local 3026 struct srp_target_port *target = host_to_target(class_to_shost(dev)); cmd_sg_entries_show() local 3036 struct srp_target_port *target = host_to_target(class_to_shost(dev)); allow_ext_sg_show() local 3108 srp_add_target(struct srp_host *host, struct srp_target_port *target) srp_add_target() argument 3183 srp_conn_unique(struct srp_host *host, struct srp_target_port *target) srp_conn_unique() argument 3321 srp_parse_options(struct net *net, const char *buf, struct srp_target_port *target) srp_parse_options() argument 3688 struct srp_target_port *target; add_target_store() local 4083 struct srp_target_port *target; srp_remove_one() local [all...] |
/kernel/linux/linux-6.6/arch/parisc/net/ |
H A D | bpf_jit.h | 99 #define hppa_ldo(im14, reg, target) \ 100 hppa_t1_insn(0x0d, reg, target, im14) /* ldo val14(reg),target */ 103 #define hppa_or(reg1, reg2, target) \ 104 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x09, target) /* or reg1,reg2,target */ 105 #define hppa_or_cond(reg1, reg2, cond, f, target) \ 106 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x09, target) 107 #define hppa_and(reg1, reg2, target) \ 108 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x08, target) /* an [all...] |