/kernel/linux/linux-5.10/sound/pci/echoaudio/ |
H A D | midi.c | 206 int bytes, sent, time; in snd_echo_midi_output_write() local 211 sent = bytes = 0; in snd_echo_midi_output_write() 218 sent = write_midi(chip, buf, bytes); in snd_echo_midi_output_write() 219 if (sent < 0) { in snd_echo_midi_output_write() 221 "write_midi() error %d\n", sent); in snd_echo_midi_output_write() 223 sent = 9000; in snd_echo_midi_output_write() 225 } else if (sent > 0) { in snd_echo_midi_output_write() 226 dev_dbg(chip->card->dev, "%d bytes sent\n", sent); in snd_echo_midi_output_write() 227 snd_rawmidi_transmit_ack(chip->midi_out, sent); in snd_echo_midi_output_write() [all...] |
/kernel/linux/linux-6.6/sound/pci/echoaudio/ |
H A D | midi.c | 205 int bytes, sent, time; in snd_echo_midi_output_write() local 210 sent = 0; in snd_echo_midi_output_write() 217 sent = write_midi(chip, buf, bytes); in snd_echo_midi_output_write() 218 if (sent < 0) { in snd_echo_midi_output_write() 220 "write_midi() error %d\n", sent); in snd_echo_midi_output_write() 222 sent = 9000; in snd_echo_midi_output_write() 224 } else if (sent > 0) { in snd_echo_midi_output_write() 225 dev_dbg(chip->card->dev, "%d bytes sent\n", sent); in snd_echo_midi_output_write() 226 snd_rawmidi_transmit_ack(chip->midi_out, sent); in snd_echo_midi_output_write() [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | exynos-iommu.c | 43 #define lv1ent_fault(sent) ((*(sent) == ZERO_LV2LINK) || \ 44 ((*(sent) & 3) == 0) || ((*(sent) & 3) == 3)) 45 #define lv1ent_zero(sent) (*(sent) == ZERO_LV2LINK) 46 #define lv1ent_page_zero(sent) ((*(sent) & 3) == 1) 47 #define lv1ent_page(sent) ((*(sent) ! 188 page_entry(sysmmu_pte_t *sent, sysmmu_iova_t iova) page_entry() argument 922 alloc_lv2entry(struct exynos_iommu_domain *domain, sysmmu_pte_t *sent, sysmmu_iova_t iova, short *pgcounter) alloc_lv2entry() argument 980 lv1set_section(struct exynos_iommu_domain *domain, sysmmu_pte_t *sent, sysmmu_iova_t iova, phys_addr_t paddr, int prot, short *pgcnt) lv1set_section() argument [all...] |
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | exynos-iommu.c | 41 #define lv1ent_fault(sent) ((*(sent) == ZERO_LV2LINK) || \ 42 ((*(sent) & 3) == 0) || ((*(sent) & 3) == 3)) 43 #define lv1ent_zero(sent) (*(sent) == ZERO_LV2LINK) 44 #define lv1ent_page_zero(sent) ((*(sent) & 3) == 1) 45 #define lv1ent_page(sent) ((*(sent) ! 182 page_entry(sysmmu_pte_t *sent, sysmmu_iova_t iova) page_entry() argument 1064 alloc_lv2entry(struct exynos_iommu_domain *domain, sysmmu_pte_t *sent, sysmmu_iova_t iova, short *pgcounter) alloc_lv2entry() argument 1122 lv1set_section(struct exynos_iommu_domain *domain, sysmmu_pte_t *sent, sysmmu_iova_t iova, phys_addr_t paddr, int prot, short *pgcnt) lv1set_section() argument [all...] |
/kernel/linux/linux-5.10/net/x25/ |
H A D | x25_out.c | 44 * Returns the amount of user data bytes sent on success 52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output() local 73 return sent; in x25_output() 77 "sent\n", err, sent); in x25_output() 101 sent += len; in x25_output() 107 sent = skb->len - header_len; in x25_output() 109 return sent; in x25_output()
|
/kernel/linux/linux-6.6/net/x25/ |
H A D | x25_out.c | 44 * Returns the amount of user data bytes sent on success 52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output() local 73 return sent; in x25_output() 77 "sent\n", err, sent); in x25_output() 101 sent += len; in x25_output() 107 sent = skb->len - header_len; in x25_output() 109 return sent; in x25_output()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_event.c | 161 void *sent; in hci_cc_write_link_policy() local 168 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY); in hci_cc_write_link_policy() 169 if (!sent) in hci_cc_write_link_policy() 176 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy() 198 void *sent; in hci_cc_write_def_link_policy() local 205 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY); in hci_cc_write_def_link_policy() 206 if (!sent) in hci_cc_write_def_link_policy() 209 hdev->link_policy = get_unaligned_le16(sent); in hci_cc_write_def_link_policy() 249 struct hci_cp_read_stored_link_key *sent; in hci_cc_read_stored_link_key() local 253 sent in hci_cc_read_stored_link_key() 282 void *sent; hci_cc_write_local_name() local 317 void *sent; hci_cc_write_auth_enable() local 346 void *sent; hci_cc_write_encrypt_mode() local 369 void *sent; hci_cc_write_scan_enable() local 418 void *sent; hci_cc_write_class_of_dev() local 465 void *sent; hci_cc_write_voice_setting() local 507 struct hci_cp_write_ssp_mode *sent; hci_cc_write_ssp_mode() local 539 struct hci_cp_write_sc_support *sent; hci_cc_write_sc_support() local 625 void *sent; hci_cc_write_auth_payload_timeout() local 804 struct hci_cp_write_page_scan_activity *sent; hci_cc_write_page_scan_activity() local 1138 bdaddr_t *sent; hci_cc_le_set_random_addr() local 1209 __u8 *sent, status = *((__u8 *) skb->data); hci_cc_le_set_adv_enable() local 1490 struct hci_cp_le_add_to_accept_list *sent; hci_cc_le_add_to_accept_list() local 1509 struct hci_cp_le_del_from_accept_list *sent; hci_cc_le_del_from_accept_list() local 1555 struct hci_cp_le_write_def_data_len *sent; hci_cc_le_write_def_data_len() local 1574 struct hci_cp_le_add_to_resolv_list *sent; hci_cc_le_add_to_resolv_list() local 1594 struct hci_cp_le_del_from_resolv_list *sent; hci_cc_le_del_from_resolv_list() local 1639 __u8 *sent, status = *((__u8 *) skb->data); hci_cc_le_set_addr_resolution_enable() local 1679 struct hci_cp_write_le_host_supported *sent; hci_cc_write_le_host_supported() local 1781 struct hci_cp_read_tx_power *sent; hci_cc_read_tx_power() local [all...] |
/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_tx.h | 23 union smc_host_cursor sent, prep; in smc_tx_prepared_sends() local 25 smc_curs_copy(&sent, &conn->tx_curs_sent, conn); in smc_tx_prepared_sends() 27 return smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_prepared_sends()
|
H A D | smc_tx.c | 293 union smc_host_cursor *sent, in smc_tx_advance_cursors() 303 smc_curs_add(conn->sndbuf_desc->len, sent, len); in smc_tx_advance_cursors() 406 union smc_host_cursor sent, prep, prod, cons; in smc_tx_rdma_writes() local 412 smc_curs_copy(&sent, &conn->tx_curs_sent, conn); in smc_tx_rdma_writes() 415 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes() 451 if (sent.count + dst_len <= conn->sndbuf_desc->len) { in smc_tx_rdma_writes() 456 src_len = conn->sndbuf_desc->len - sent.count; in smc_tx_rdma_writes() 460 rc = smcd_tx_rdma_writes(conn, len, sent.count, src_len, in smc_tx_rdma_writes() 463 rc = smcr_tx_rdma_writes(conn, len, sent.count, src_len, in smc_tx_rdma_writes() 470 smc_tx_advance_cursors(conn, &prod, &sent, le in smc_tx_rdma_writes() 291 smc_tx_advance_cursors(struct smc_connection *conn, union smc_host_cursor *prod, union smc_host_cursor *sent, size_t len) smc_tx_advance_cursors() argument [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | xdp.h | 56 int sent, int drops, int err), 58 TP_ARGS(dev, sent, drops, err), 64 __field(int, sent) 72 __entry->sent = sent; 76 TP_printk("ifindex=%d action=%s sent=%d drops=%d err=%d", 79 __entry->sent, __entry->drops, __entry->err) 259 int sent, int drops, int err), 261 TP_ARGS(from_dev, to_dev, sent, drops, err), 268 __field(int, sent) [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | xdp.h | 57 int sent, int drops, int err), 59 TP_ARGS(dev, sent, drops, err), 65 __field(int, sent) 73 __entry->sent = sent; 77 TP_printk("ifindex=%d action=%s sent=%d drops=%d err=%d", 80 __entry->sent, __entry->drops, __entry->err) 272 int sent, int drops, int err), 274 TP_ARGS(from_dev, to_dev, sent, drops, err), 281 __field(int, sent) [all...] |
/kernel/linux/linux-6.6/net/smc/ |
H A D | smc_tx.h | 23 union smc_host_cursor sent, prep; in smc_tx_prepared_sends() local 25 smc_curs_copy(&sent, &conn->tx_curs_sent, conn); in smc_tx_prepared_sends() 27 return smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_prepared_sends()
|
H A D | smc_tx.c | 342 union smc_host_cursor *sent, in smc_tx_advance_cursors() 352 smc_curs_add(conn->sndbuf_desc->len, sent, len); in smc_tx_advance_cursors() 467 union smc_host_cursor sent, prep, prod, cons; in smc_tx_rdma_writes() local 473 smc_curs_copy(&sent, &conn->tx_curs_sent, conn); in smc_tx_rdma_writes() 476 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes() 516 if (sent.count + dst_len <= conn->sndbuf_desc->len) { in smc_tx_rdma_writes() 521 src_len = conn->sndbuf_desc->len - sent.count; in smc_tx_rdma_writes() 525 rc = smcd_tx_rdma_writes(conn, len, sent.count, src_len, in smc_tx_rdma_writes() 528 rc = smcr_tx_rdma_writes(conn, len, sent.count, src_len, in smc_tx_rdma_writes() 535 smc_tx_advance_cursors(conn, &prod, &sent, le in smc_tx_rdma_writes() 340 smc_tx_advance_cursors(struct smc_connection *conn, union smc_host_cursor *prod, union smc_host_cursor *sent, size_t len) smc_tx_advance_cursors() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
H A D | if_cs.c | 562 int sent = 0; in if_cs_prog_helper() local 595 int remain = fw->size - sent; in if_cs_prog_helper() 601 * "write the number of bytes to be sent to the I/O Command in if_cs_prog_helper() 609 &fw->data[sent], in if_cs_prog_helper() 632 sent, ret); in if_cs_prog_helper() 639 sent += count; in if_cs_prog_helper() 652 int sent; in if_cs_prog_real() local 663 for (sent = 0; sent < fw->size; sent in if_cs_prog_real() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/ |
H A D | if_cs.c | 562 int sent = 0; in if_cs_prog_helper() local 595 int remain = fw->size - sent; in if_cs_prog_helper() 601 * "write the number of bytes to be sent to the I/O Command in if_cs_prog_helper() 609 &fw->data[sent], in if_cs_prog_helper() 632 sent, ret); in if_cs_prog_helper() 639 sent += count; in if_cs_prog_helper() 652 int sent; in if_cs_prog_real() local 663 for (sent = 0; sent < fw->size; sent in if_cs_prog_real() [all...] |
/kernel/linux/linux-5.10/drivers/perf/ |
H A D | xgene_pmu.c | 341 XGENE_PMU_EVENT_ATTR(act-cmd-sent, 0x02), 342 XGENE_PMU_EVENT_ATTR(pre-cmd-sent, 0x03), 343 XGENE_PMU_EVENT_ATTR(rd-cmd-sent, 0x04), 344 XGENE_PMU_EVENT_ATTR(rda-cmd-sent, 0x05), 345 XGENE_PMU_EVENT_ATTR(wr-cmd-sent, 0x06), 346 XGENE_PMU_EVENT_ATTR(wra-cmd-sent, 0x07), 347 XGENE_PMU_EVENT_ATTR(pde-cmd-sent, 0x08), 348 XGENE_PMU_EVENT_ATTR(sre-cmd-sent, 0x09), 349 XGENE_PMU_EVENT_ATTR(prea-cmd-sent, 0x0a), 350 XGENE_PMU_EVENT_ATTR(ref-cmd-sent, [all...] |
/kernel/linux/linux-6.6/drivers/perf/ |
H A D | xgene_pmu.c | 338 XGENE_PMU_EVENT_ATTR(act-cmd-sent, 0x02), 339 XGENE_PMU_EVENT_ATTR(pre-cmd-sent, 0x03), 340 XGENE_PMU_EVENT_ATTR(rd-cmd-sent, 0x04), 341 XGENE_PMU_EVENT_ATTR(rda-cmd-sent, 0x05), 342 XGENE_PMU_EVENT_ATTR(wr-cmd-sent, 0x06), 343 XGENE_PMU_EVENT_ATTR(wra-cmd-sent, 0x07), 344 XGENE_PMU_EVENT_ATTR(pde-cmd-sent, 0x08), 345 XGENE_PMU_EVENT_ATTR(sre-cmd-sent, 0x09), 346 XGENE_PMU_EVENT_ATTR(prea-cmd-sent, 0x0a), 347 XGENE_PMU_EVENT_ATTR(ref-cmd-sent, [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | hci_event.c | 217 void *sent; in hci_cc_write_link_policy() local 224 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY); in hci_cc_write_link_policy() 225 if (!sent) in hci_cc_write_link_policy() 232 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy() 258 void *sent; in hci_cc_write_def_link_policy() local 265 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY); in hci_cc_write_def_link_policy() 266 if (!sent) in hci_cc_write_def_link_policy() 269 hdev->link_policy = get_unaligned_le16(sent); in hci_cc_write_def_link_policy() 313 struct hci_cp_read_stored_link_key *sent; in hci_cc_read_stored_link_key() local 317 sent in hci_cc_read_stored_link_key() 354 void *sent; hci_cc_write_local_name() local 395 void *sent; hci_cc_write_auth_enable() local 427 void *sent; hci_cc_write_encrypt_mode() local 453 void *sent; hci_cc_write_scan_enable() local 491 void *sent; hci_cc_set_event_filter() local 537 void *sent; hci_cc_write_class_of_dev() local 589 void *sent; hci_cc_write_voice_setting() local 636 struct hci_cp_write_ssp_mode *sent; hci_cc_write_ssp_mode() local 669 struct hci_cp_write_sc_support *sent; hci_cc_write_sc_support() local 819 void *sent; hci_cc_write_auth_payload_timeout() local 1024 struct hci_cp_write_page_scan_activity *sent; hci_cc_write_page_scan_activity() local 1399 bdaddr_t *sent; hci_cc_le_set_random_addr() local 1594 __u8 *sent; hci_cc_le_set_adv_enable() local 1924 struct hci_cp_le_add_to_accept_list *sent; hci_cc_le_add_to_accept_list() local 1947 struct hci_cp_le_del_from_accept_list *sent; hci_cc_le_del_from_accept_list() local 2001 struct hci_cp_le_write_def_data_len *sent; hci_cc_le_write_def_data_len() local 2022 struct hci_cp_le_add_to_resolv_list *sent; hci_cc_le_add_to_resolv_list() local 2046 struct hci_cp_le_del_from_resolv_list *sent; hci_cc_le_del_from_resolv_list() local 2102 __u8 *sent; hci_cc_le_set_addr_resolution_enable() local 2146 struct hci_cp_write_le_host_supported *sent; hci_cc_write_le_host_supported() local 2260 struct hci_cp_read_tx_power *sent; hci_cc_read_tx_power() local [all...] |
H A D | hci_codec.c | 10 struct hci_op_read_local_codec_caps *sent, in hci_codec_list_add() 21 entry->id = sent->id; in hci_codec_list_add() 22 if (sent->id == 0xFF) { in hci_codec_list_add() 23 entry->cid = __le16_to_cpu(sent->cid); in hci_codec_list_add() 24 entry->vid = __le16_to_cpu(sent->vid); in hci_codec_list_add() 26 entry->transport = sent->transport; in hci_codec_list_add() 9 hci_codec_list_add(struct list_head *list, struct hci_op_read_local_codec_caps *sent, struct hci_rp_read_local_codec_caps *rp, void *caps, __u32 len) hci_codec_list_add() argument
|
/kernel/linux/linux-5.10/drivers/tty/hvc/ |
H A D | hvc_xen.c | 91 int sent = 0; in __write_console() local 102 while ((sent < len) && ((prod - cons) < sizeof(intf->out))) in __write_console() 103 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++]; in __write_console() 108 if (sent) in __write_console() 110 return sent; in __write_console() 127 int sent = __write_console(cons, data, len); in domU_write_console() local 129 if (sent < 0) in domU_write_console() 130 return sent; in domU_write_console() 132 data += sent; in domU_write_console() 133 len -= sent; in domU_write_console() [all...] |
/kernel/linux/linux-6.6/drivers/tty/hvc/ |
H A D | hvc_xen.c | 92 int sent = 0; in __write_console() local 106 while ((sent < len) && ((prod - cons) < sizeof(intf->out))) in __write_console() 107 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++]; in __write_console() 113 if (sent) in __write_console() 115 return sent; in __write_console() 132 int sent = __write_console(cons, data, len); in domU_write_console() local 134 if (sent < 0) in domU_write_console() 135 return sent; in domU_write_console() 137 data += sent; in domU_write_console() 138 len -= sent; in domU_write_console() [all...] |
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | ath3k.c | 210 int err, pipe, size, sent = 0; in ath3k_load_firmware() local 228 sent += FW_HDR_SIZE; in ath3k_load_firmware() 238 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_firmware() 248 sent += size; in ath3k_load_firmware() 279 int err, pipe, size, count, sent = 0; in ath3k_load_fwfile() local 301 sent += size; in ath3k_load_fwfile() 311 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_fwfile() 320 sent += size; in ath3k_load_fwfile()
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
H A D | vmci_transport_notify.c | 121 bool sent; in vmci_transport_handle_waiting_read() local 124 sent = vmci_transport_send_wrote_bh(dst, src) > 0; in vmci_transport_handle_waiting_read() 126 sent = vmci_transport_send_wrote(sk) > 0; in vmci_transport_handle_waiting_read() 128 if (sent) in vmci_transport_handle_waiting_read() 151 bool sent; in vmci_transport_handle_waiting_write() local 154 sent = vmci_transport_send_read_bh(dst, src) > 0; in vmci_transport_handle_waiting_write() 156 sent = vmci_transport_send_read(sk) > 0; in vmci_transport_handle_waiting_write() 158 if (sent) in vmci_transport_handle_waiting_write()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | ath3k.c | 209 int err, pipe, size, sent = 0; in ath3k_load_firmware() local 227 sent += FW_HDR_SIZE; in ath3k_load_firmware() 237 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_firmware() 247 sent += size; in ath3k_load_firmware() 278 int err, pipe, size, count, sent = 0; in ath3k_load_fwfile() local 300 sent += size; in ath3k_load_fwfile() 310 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_fwfile() 319 sent += size; in ath3k_load_fwfile()
|
/kernel/linux/linux-6.6/net/vmw_vsock/ |
H A D | vmci_transport_notify.c | 121 bool sent; in vmci_transport_handle_waiting_read() local 124 sent = vmci_transport_send_wrote_bh(dst, src) > 0; in vmci_transport_handle_waiting_read() 126 sent = vmci_transport_send_wrote(sk) > 0; in vmci_transport_handle_waiting_read() 128 if (sent) in vmci_transport_handle_waiting_read() 151 bool sent; in vmci_transport_handle_waiting_write() local 154 sent = vmci_transport_send_read_bh(dst, src) > 0; in vmci_transport_handle_waiting_write() 156 sent = vmci_transport_send_read(sk) > 0; in vmci_transport_handle_waiting_write() 158 if (sent) in vmci_transport_handle_waiting_write()
|