/kernel/linux/linux-5.10/include/sound/ |
H A D | pcm-indirect.h | 28 struct snd_pcm_indirect *rec, size_t bytes); 35 struct snd_pcm_indirect *rec, in snd_pcm_indirect_playback_transfer() 40 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer() 48 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer() 49 rec->appl_ptr = appl_ptr; in snd_pcm_indirect_playback_transfer() 51 qsize = rec->hw_queue_size ? rec->hw_queue_size : rec->hw_buffer_size; in snd_pcm_indirect_playback_transfer() 52 while (rec->hw_ready < qsize && rec in snd_pcm_indirect_playback_transfer() 34 snd_pcm_indirect_playback_transfer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, snd_pcm_indirect_copy_t copy) snd_pcm_indirect_playback_transfer() argument 82 snd_pcm_indirect_playback_pointer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, unsigned int ptr) snd_pcm_indirect_playback_pointer() argument 103 snd_pcm_indirect_capture_transfer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, snd_pcm_indirect_copy_t copy) snd_pcm_indirect_capture_transfer() argument 150 snd_pcm_indirect_capture_pointer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, unsigned int ptr) snd_pcm_indirect_capture_pointer() argument [all...] |
/kernel/linux/linux-6.6/include/sound/ |
H A D | pcm-indirect.h | 28 struct snd_pcm_indirect *rec, size_t bytes); 35 struct snd_pcm_indirect *rec, in snd_pcm_indirect_playback_transfer() 40 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer() 48 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer() 49 rec->appl_ptr = appl_ptr; in snd_pcm_indirect_playback_transfer() 51 qsize = rec->hw_queue_size ? rec->hw_queue_size : rec->hw_buffer_size; in snd_pcm_indirect_playback_transfer() 52 while (rec->hw_ready < qsize && rec in snd_pcm_indirect_playback_transfer() 34 snd_pcm_indirect_playback_transfer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, snd_pcm_indirect_copy_t copy) snd_pcm_indirect_playback_transfer() argument 82 snd_pcm_indirect_playback_pointer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, unsigned int ptr) snd_pcm_indirect_playback_pointer() argument 108 snd_pcm_indirect_capture_transfer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, snd_pcm_indirect_copy_t copy) snd_pcm_indirect_capture_transfer() argument 155 snd_pcm_indirect_capture_pointer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, unsigned int ptr) snd_pcm_indirect_capture_pointer() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_api.c | 263 const struct aq_mss_ingress_prectlf_record *rec, in set_ingress_prectlf_record() 273 packed_record[0] = rec->sa_da[0] & 0xFFFF; in set_ingress_prectlf_record() 274 packed_record[1] = (rec->sa_da[0] >> 16) & 0xFFFF; in set_ingress_prectlf_record() 275 packed_record[2] = rec->sa_da[1] & 0xFFFF; in set_ingress_prectlf_record() 276 packed_record[3] = rec->eth_type & 0xFFFF; in set_ingress_prectlf_record() 277 packed_record[4] = rec->match_mask & 0xFFFF; in set_ingress_prectlf_record() 278 packed_record[5] = rec->match_type & 0xF; in set_ingress_prectlf_record() 279 packed_record[5] |= (rec->action & 0x1) << 4; in set_ingress_prectlf_record() 287 const struct aq_mss_ingress_prectlf_record *rec, in aq_mss_set_ingress_prectlf_record() 290 return AQ_API_CALL_SAFE(set_ingress_prectlf_record, hw, rec, in aq_mss_set_ingress_prectlf_record() 262 set_ingress_prectlf_record(struct aq_hw_s *hw, const struct aq_mss_ingress_prectlf_record *rec, u16 table_index) set_ingress_prectlf_record() argument 286 aq_mss_set_ingress_prectlf_record(struct aq_hw_s *hw, const struct aq_mss_ingress_prectlf_record *rec, u16 table_index) aq_mss_set_ingress_prectlf_record() argument 294 get_ingress_prectlf_record(struct aq_hw_s *hw, struct aq_mss_ingress_prectlf_record *rec, u16 table_index) get_ingress_prectlf_record() argument 340 aq_mss_get_ingress_prectlf_record(struct aq_hw_s *hw, struct aq_mss_ingress_prectlf_record *rec, u16 table_index) aq_mss_get_ingress_prectlf_record() argument 351 set_ingress_preclass_record(struct aq_hw_s *hw, const struct aq_mss_ingress_preclass_record *rec, u16 table_index) set_ingress_preclass_record() argument 436 aq_mss_set_ingress_preclass_record(struct aq_hw_s *hw, const struct aq_mss_ingress_preclass_record *rec, u16 table_index) aq_mss_set_ingress_preclass_record() argument 449 get_ingress_preclass_record(struct aq_hw_s *hw, struct aq_mss_ingress_preclass_record *rec, u16 table_index) get_ingress_preclass_record() argument 548 aq_mss_get_ingress_preclass_record(struct aq_hw_s *hw, struct aq_mss_ingress_preclass_record *rec, u16 table_index) aq_mss_get_ingress_preclass_record() argument 558 set_ingress_sc_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sc_record *rec, u16 table_index) set_ingress_sc_record() argument 598 aq_mss_set_ingress_sc_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sc_record *rec, u16 table_index) aq_mss_set_ingress_sc_record() argument 609 get_ingress_sc_record(struct aq_hw_s *hw, struct aq_mss_ingress_sc_record *rec, u16 table_index) get_ingress_sc_record() argument 652 aq_mss_get_ingress_sc_record(struct aq_hw_s *hw, struct aq_mss_ingress_sc_record *rec, u16 table_index) aq_mss_get_ingress_sc_record() argument 661 set_ingress_sa_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sa_record *rec, u16 table_index) set_ingress_sa_record() argument 696 aq_mss_set_ingress_sa_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sa_record *rec, u16 table_index) aq_mss_set_ingress_sa_record() argument 707 get_ingress_sa_record(struct aq_hw_s *hw, struct aq_mss_ingress_sa_record *rec, u16 table_index) get_ingress_sa_record() argument 745 aq_mss_get_ingress_sa_record(struct aq_hw_s *hw, struct aq_mss_ingress_sa_record *rec, u16 table_index) aq_mss_get_ingress_sa_record() argument 755 set_ingress_sakey_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sakey_record *rec, u16 table_index) set_ingress_sakey_record() argument 801 aq_mss_set_ingress_sakey_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sakey_record *rec, u16 table_index) aq_mss_set_ingress_sakey_record() argument 813 get_ingress_sakey_record(struct aq_hw_s *hw, struct aq_mss_ingress_sakey_record *rec, u16 table_index) get_ingress_sakey_record() argument 858 aq_mss_get_ingress_sakey_record(struct aq_hw_s *hw, struct aq_mss_ingress_sakey_record *rec, u16 table_index) aq_mss_get_ingress_sakey_record() argument 868 set_ingress_postclass_record(struct aq_hw_s *hw, const struct aq_mss_ingress_postclass_record *rec, u16 table_index) set_ingress_postclass_record() argument 947 aq_mss_set_ingress_postclass_record(struct aq_hw_s *hw, const struct aq_mss_ingress_postclass_record *rec, u16 table_index) aq_mss_set_ingress_postclass_record() argument 956 get_ingress_postclass_record(struct aq_hw_s *hw, struct aq_mss_ingress_postclass_record *rec, u16 table_index) get_ingress_postclass_record() argument 1049 aq_mss_get_ingress_postclass_record(struct aq_hw_s *hw, struct aq_mss_ingress_postclass_record *rec, u16 table_index) aq_mss_get_ingress_postclass_record() argument 1060 set_ingress_postctlf_record(struct aq_hw_s *hw, const struct aq_mss_ingress_postctlf_record *rec, u16 table_index) set_ingress_postctlf_record() argument 1089 aq_mss_set_ingress_postctlf_record(struct aq_hw_s *hw, const struct aq_mss_ingress_postctlf_record *rec, u16 table_index) aq_mss_set_ingress_postctlf_record() argument 1098 get_ingress_postctlf_record(struct aq_hw_s *hw, struct aq_mss_ingress_postctlf_record *rec, u16 table_index) get_ingress_postctlf_record() argument 1141 aq_mss_get_ingress_postctlf_record(struct aq_hw_s *hw, struct aq_mss_ingress_postctlf_record *rec, u16 table_index) aq_mss_get_ingress_postctlf_record() argument 1151 set_egress_ctlf_record(struct aq_hw_s *hw, const struct aq_mss_egress_ctlf_record *rec, u16 table_index) set_egress_ctlf_record() argument 1179 aq_mss_set_egress_ctlf_record(struct aq_hw_s *hw, const struct aq_mss_egress_ctlf_record *rec, u16 table_index) aq_mss_set_egress_ctlf_record() argument 1186 get_egress_ctlf_record(struct aq_hw_s *hw, struct aq_mss_egress_ctlf_record *rec, u16 table_index) get_egress_ctlf_record() argument 1228 aq_mss_get_egress_ctlf_record(struct aq_hw_s *hw, struct aq_mss_egress_ctlf_record *rec, u16 table_index) aq_mss_get_egress_ctlf_record() argument 1237 set_egress_class_record(struct aq_hw_s *hw, const struct aq_mss_egress_class_record *rec, u16 table_index) set_egress_class_record() argument 1366 aq_mss_set_egress_class_record(struct aq_hw_s *hw, const struct aq_mss_egress_class_record *rec, u16 table_index) aq_mss_set_egress_class_record() argument 1373 get_egress_class_record(struct aq_hw_s *hw, struct aq_mss_egress_class_record *rec, u16 table_index) get_egress_class_record() argument 1516 aq_mss_get_egress_class_record(struct aq_hw_s *hw, struct aq_mss_egress_class_record *rec, u16 table_index) aq_mss_get_egress_class_record() argument 1525 set_egress_sc_record(struct aq_hw_s *hw, const struct aq_mss_egress_sc_record *rec, u16 table_index) set_egress_sc_record() argument 1565 aq_mss_set_egress_sc_record(struct aq_hw_s *hw, const struct aq_mss_egress_sc_record *rec, u16 table_index) aq_mss_set_egress_sc_record() argument 1572 get_egress_sc_record(struct aq_hw_s *hw, struct aq_mss_egress_sc_record *rec, u16 table_index) get_egress_sc_record() argument 1615 aq_mss_get_egress_sc_record(struct aq_hw_s *hw, struct aq_mss_egress_sc_record *rec, u16 table_index) aq_mss_get_egress_sc_record() argument 1624 set_egress_sa_record(struct aq_hw_s *hw, const struct aq_mss_egress_sa_record *rec, u16 table_index) set_egress_sa_record() argument 1654 aq_mss_set_egress_sa_record(struct aq_hw_s *hw, const struct aq_mss_egress_sa_record *rec, u16 table_index) aq_mss_set_egress_sa_record() argument 1665 get_egress_sa_record(struct aq_hw_s *hw, struct aq_mss_egress_sa_record *rec, u16 table_index) get_egress_sa_record() argument 1698 aq_mss_get_egress_sa_record(struct aq_hw_s *hw, struct aq_mss_egress_sa_record *rec, u16 table_index) aq_mss_get_egress_sa_record() argument 1707 set_egress_sakey_record(struct aq_hw_s *hw, const struct aq_mss_egress_sakey_record *rec, u16 table_index) set_egress_sakey_record() argument 1756 aq_mss_set_egress_sakey_record(struct aq_hw_s *hw, const struct aq_mss_egress_sakey_record *rec, u16 table_index) aq_mss_set_egress_sakey_record() argument 1768 get_egress_sakey_record(struct aq_hw_s *hw, struct aq_mss_egress_sakey_record *rec, u16 table_index) get_egress_sakey_record() argument 1815 aq_mss_get_egress_sakey_record(struct aq_hw_s *hw, struct aq_mss_egress_sakey_record *rec, u16 table_index) aq_mss_get_egress_sakey_record() argument [all...] |
H A D | macsec_api.h | 49 * Filter table, and unpack it into the fields of rec. 50 * rec - [OUT] The raw table row data will be unpacked into the fields of rec. 54 struct aq_mss_egress_ctlf_record *rec, 57 /*! Pack the fields of rec, and write the packed data into the 59 * rec - [IN] The bitfield values to write to the table row. 63 const struct aq_mss_egress_ctlf_record *rec, 67 * Packet Classifier table, and unpack it into the fields of rec. 68 * rec - [OUT] The raw table row data will be unpacked into the fields of rec [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_api.c | 263 const struct aq_mss_ingress_prectlf_record *rec, in set_ingress_prectlf_record() 273 packed_record[0] = rec->sa_da[0] & 0xFFFF; in set_ingress_prectlf_record() 274 packed_record[1] = (rec->sa_da[0] >> 16) & 0xFFFF; in set_ingress_prectlf_record() 275 packed_record[2] = rec->sa_da[1] & 0xFFFF; in set_ingress_prectlf_record() 276 packed_record[3] = rec->eth_type & 0xFFFF; in set_ingress_prectlf_record() 277 packed_record[4] = rec->match_mask & 0xFFFF; in set_ingress_prectlf_record() 278 packed_record[5] = rec->match_type & 0xF; in set_ingress_prectlf_record() 279 packed_record[5] |= (rec->action & 0x1) << 4; in set_ingress_prectlf_record() 287 const struct aq_mss_ingress_prectlf_record *rec, in aq_mss_set_ingress_prectlf_record() 290 return AQ_API_CALL_SAFE(set_ingress_prectlf_record, hw, rec, in aq_mss_set_ingress_prectlf_record() 262 set_ingress_prectlf_record(struct aq_hw_s *hw, const struct aq_mss_ingress_prectlf_record *rec, u16 table_index) set_ingress_prectlf_record() argument 286 aq_mss_set_ingress_prectlf_record(struct aq_hw_s *hw, const struct aq_mss_ingress_prectlf_record *rec, u16 table_index) aq_mss_set_ingress_prectlf_record() argument 294 get_ingress_prectlf_record(struct aq_hw_s *hw, struct aq_mss_ingress_prectlf_record *rec, u16 table_index) get_ingress_prectlf_record() argument 340 aq_mss_get_ingress_prectlf_record(struct aq_hw_s *hw, struct aq_mss_ingress_prectlf_record *rec, u16 table_index) aq_mss_get_ingress_prectlf_record() argument 351 set_ingress_preclass_record(struct aq_hw_s *hw, const struct aq_mss_ingress_preclass_record *rec, u16 table_index) set_ingress_preclass_record() argument 436 aq_mss_set_ingress_preclass_record(struct aq_hw_s *hw, const struct aq_mss_ingress_preclass_record *rec, u16 table_index) aq_mss_set_ingress_preclass_record() argument 449 get_ingress_preclass_record(struct aq_hw_s *hw, struct aq_mss_ingress_preclass_record *rec, u16 table_index) get_ingress_preclass_record() argument 548 aq_mss_get_ingress_preclass_record(struct aq_hw_s *hw, struct aq_mss_ingress_preclass_record *rec, u16 table_index) aq_mss_get_ingress_preclass_record() argument 558 set_ingress_sc_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sc_record *rec, u16 table_index) set_ingress_sc_record() argument 598 aq_mss_set_ingress_sc_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sc_record *rec, u16 table_index) aq_mss_set_ingress_sc_record() argument 609 get_ingress_sc_record(struct aq_hw_s *hw, struct aq_mss_ingress_sc_record *rec, u16 table_index) get_ingress_sc_record() argument 652 aq_mss_get_ingress_sc_record(struct aq_hw_s *hw, struct aq_mss_ingress_sc_record *rec, u16 table_index) aq_mss_get_ingress_sc_record() argument 661 set_ingress_sa_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sa_record *rec, u16 table_index) set_ingress_sa_record() argument 696 aq_mss_set_ingress_sa_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sa_record *rec, u16 table_index) aq_mss_set_ingress_sa_record() argument 707 get_ingress_sa_record(struct aq_hw_s *hw, struct aq_mss_ingress_sa_record *rec, u16 table_index) get_ingress_sa_record() argument 745 aq_mss_get_ingress_sa_record(struct aq_hw_s *hw, struct aq_mss_ingress_sa_record *rec, u16 table_index) aq_mss_get_ingress_sa_record() argument 755 set_ingress_sakey_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sakey_record *rec, u16 table_index) set_ingress_sakey_record() argument 801 aq_mss_set_ingress_sakey_record(struct aq_hw_s *hw, const struct aq_mss_ingress_sakey_record *rec, u16 table_index) aq_mss_set_ingress_sakey_record() argument 813 get_ingress_sakey_record(struct aq_hw_s *hw, struct aq_mss_ingress_sakey_record *rec, u16 table_index) get_ingress_sakey_record() argument 858 aq_mss_get_ingress_sakey_record(struct aq_hw_s *hw, struct aq_mss_ingress_sakey_record *rec, u16 table_index) aq_mss_get_ingress_sakey_record() argument 868 set_ingress_postclass_record(struct aq_hw_s *hw, const struct aq_mss_ingress_postclass_record *rec, u16 table_index) set_ingress_postclass_record() argument 947 aq_mss_set_ingress_postclass_record(struct aq_hw_s *hw, const struct aq_mss_ingress_postclass_record *rec, u16 table_index) aq_mss_set_ingress_postclass_record() argument 956 get_ingress_postclass_record(struct aq_hw_s *hw, struct aq_mss_ingress_postclass_record *rec, u16 table_index) get_ingress_postclass_record() argument 1049 aq_mss_get_ingress_postclass_record(struct aq_hw_s *hw, struct aq_mss_ingress_postclass_record *rec, u16 table_index) aq_mss_get_ingress_postclass_record() argument 1060 set_ingress_postctlf_record(struct aq_hw_s *hw, const struct aq_mss_ingress_postctlf_record *rec, u16 table_index) set_ingress_postctlf_record() argument 1089 aq_mss_set_ingress_postctlf_record(struct aq_hw_s *hw, const struct aq_mss_ingress_postctlf_record *rec, u16 table_index) aq_mss_set_ingress_postctlf_record() argument 1098 get_ingress_postctlf_record(struct aq_hw_s *hw, struct aq_mss_ingress_postctlf_record *rec, u16 table_index) get_ingress_postctlf_record() argument 1141 aq_mss_get_ingress_postctlf_record(struct aq_hw_s *hw, struct aq_mss_ingress_postctlf_record *rec, u16 table_index) aq_mss_get_ingress_postctlf_record() argument 1151 set_egress_ctlf_record(struct aq_hw_s *hw, const struct aq_mss_egress_ctlf_record *rec, u16 table_index) set_egress_ctlf_record() argument 1179 aq_mss_set_egress_ctlf_record(struct aq_hw_s *hw, const struct aq_mss_egress_ctlf_record *rec, u16 table_index) aq_mss_set_egress_ctlf_record() argument 1186 get_egress_ctlf_record(struct aq_hw_s *hw, struct aq_mss_egress_ctlf_record *rec, u16 table_index) get_egress_ctlf_record() argument 1228 aq_mss_get_egress_ctlf_record(struct aq_hw_s *hw, struct aq_mss_egress_ctlf_record *rec, u16 table_index) aq_mss_get_egress_ctlf_record() argument 1237 set_egress_class_record(struct aq_hw_s *hw, const struct aq_mss_egress_class_record *rec, u16 table_index) set_egress_class_record() argument 1366 aq_mss_set_egress_class_record(struct aq_hw_s *hw, const struct aq_mss_egress_class_record *rec, u16 table_index) aq_mss_set_egress_class_record() argument 1373 get_egress_class_record(struct aq_hw_s *hw, struct aq_mss_egress_class_record *rec, u16 table_index) get_egress_class_record() argument 1516 aq_mss_get_egress_class_record(struct aq_hw_s *hw, struct aq_mss_egress_class_record *rec, u16 table_index) aq_mss_get_egress_class_record() argument 1525 set_egress_sc_record(struct aq_hw_s *hw, const struct aq_mss_egress_sc_record *rec, u16 table_index) set_egress_sc_record() argument 1565 aq_mss_set_egress_sc_record(struct aq_hw_s *hw, const struct aq_mss_egress_sc_record *rec, u16 table_index) aq_mss_set_egress_sc_record() argument 1572 get_egress_sc_record(struct aq_hw_s *hw, struct aq_mss_egress_sc_record *rec, u16 table_index) get_egress_sc_record() argument 1615 aq_mss_get_egress_sc_record(struct aq_hw_s *hw, struct aq_mss_egress_sc_record *rec, u16 table_index) aq_mss_get_egress_sc_record() argument 1624 set_egress_sa_record(struct aq_hw_s *hw, const struct aq_mss_egress_sa_record *rec, u16 table_index) set_egress_sa_record() argument 1654 aq_mss_set_egress_sa_record(struct aq_hw_s *hw, const struct aq_mss_egress_sa_record *rec, u16 table_index) aq_mss_set_egress_sa_record() argument 1665 get_egress_sa_record(struct aq_hw_s *hw, struct aq_mss_egress_sa_record *rec, u16 table_index) get_egress_sa_record() argument 1698 aq_mss_get_egress_sa_record(struct aq_hw_s *hw, struct aq_mss_egress_sa_record *rec, u16 table_index) aq_mss_get_egress_sa_record() argument 1707 set_egress_sakey_record(struct aq_hw_s *hw, const struct aq_mss_egress_sakey_record *rec, u16 table_index) set_egress_sakey_record() argument 1756 aq_mss_set_egress_sakey_record(struct aq_hw_s *hw, const struct aq_mss_egress_sakey_record *rec, u16 table_index) aq_mss_set_egress_sakey_record() argument 1768 get_egress_sakey_record(struct aq_hw_s *hw, struct aq_mss_egress_sakey_record *rec, u16 table_index) get_egress_sakey_record() argument 1815 aq_mss_get_egress_sakey_record(struct aq_hw_s *hw, struct aq_mss_egress_sakey_record *rec, u16 table_index) aq_mss_get_egress_sakey_record() argument [all...] |
H A D | macsec_api.h | 49 * Filter table, and unpack it into the fields of rec. 50 * rec - [OUT] The raw table row data will be unpacked into the fields of rec. 54 struct aq_mss_egress_ctlf_record *rec, 57 /*! Pack the fields of rec, and write the packed data into the 59 * rec - [IN] The bitfield values to write to the table row. 63 const struct aq_mss_egress_ctlf_record *rec, 67 * Packet Classifier table, and unpack it into the fields of rec. 68 * rec - [OUT] The raw table row data will be unpacked into the fields of rec [all...] |
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
H A D | zfcp_dbf.c | 75 struct zfcp_dbf_hba *rec = &dbf->hba_buf; in zfcp_dbf_hba_fsf_res() local 79 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_hba_fsf_res() 81 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_res() 82 rec->id = ZFCP_DBF_HBA_RES; in zfcp_dbf_hba_fsf_res() 83 rec->fsf_req_id = req->req_id; in zfcp_dbf_hba_fsf_res() 84 rec->fsf_req_status = req->status; in zfcp_dbf_hba_fsf_res() 85 rec->fsf_cmd = q_head->fsf_command; in zfcp_dbf_hba_fsf_res() 86 rec->fsf_seq_no = q_pref->req_seq_no; in zfcp_dbf_hba_fsf_res() 87 rec in zfcp_dbf_hba_fsf_res() 121 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_fsf_fces() local 157 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_fsf_uss() local 203 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_bit_err() local 274 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_basic() local 291 zfcp_dbf_set_common(struct zfcp_dbf_rec *rec, struct zfcp_adapter *adapter, struct zfcp_port *port, struct scsi_device *sdev) zfcp_dbf_set_common() argument 325 struct zfcp_dbf_rec *rec = &dbf->rec_buf; zfcp_dbf_rec_trig() local 386 struct zfcp_dbf_rec *rec = &dbf->rec_buf; zfcp_dbf_rec_run_lvl() local 436 struct zfcp_dbf_rec *rec = &dbf->rec_buf; zfcp_dbf_rec_run_wka() local 469 struct zfcp_dbf_san *rec = &dbf->san_buf; zfcp_dbf_san() local 660 struct zfcp_dbf_scsi *rec = &dbf->scsi_buf; zfcp_dbf_scsi_common() local 740 struct zfcp_dbf_scsi *rec = &dbf->scsi_buf; zfcp_dbf_scsi_eh() local [all...] |
/kernel/linux/linux-5.10/sound/isa/sb/ |
H A D | emu8000_pcm.c | 171 static inline int emu8k_get_curpos(struct snd_emu8k_pcm *rec, int ch) in emu8k_get_curpos() argument 173 int val = EMU8000_CCCA_READ(rec->emu, ch) & 0xfffffff; in emu8k_get_curpos() 174 val -= rec->loop_start[ch] - 1; in emu8k_get_curpos() 185 struct snd_emu8k_pcm *rec = from_timer(rec, t, timer); in emu8k_pcm_timer_func() local 188 spin_lock(&rec->timer_lock); in emu8k_pcm_timer_func() 190 ptr = emu8k_get_curpos(rec, 0); in emu8k_pcm_timer_func() 191 if (ptr < rec->last_ptr) in emu8k_pcm_timer_func() 192 delta = ptr + rec->buf_size - rec in emu8k_pcm_timer_func() 219 struct snd_emu8k_pcm *rec; emu8k_pcm_open() local 246 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_close() local 269 setup_voice(struct snd_emu8k_pcm *rec, int ch) setup_voice() argument 322 start_voice(struct snd_emu8k_pcm *rec, int ch) start_voice() argument 357 stop_voice(struct snd_emu8k_pcm *rec, int ch) stop_voice() argument 375 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_trigger() local 455 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_copy() local 468 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_copy_kernel() local 481 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_silence() local 523 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_copy() local 536 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_copy_kernel() local 548 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_silence() local 565 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_hw_params() local 589 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_hw_free() local 607 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_prepare() local 653 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_pointer() local [all...] |
/kernel/linux/linux-6.6/sound/isa/sb/ |
H A D | emu8000_pcm.c | 171 static inline int emu8k_get_curpos(struct snd_emu8k_pcm *rec, int ch) in emu8k_get_curpos() argument 173 int val = EMU8000_CCCA_READ(rec->emu, ch) & 0xfffffff; in emu8k_get_curpos() 174 val -= rec->loop_start[ch] - 1; in emu8k_get_curpos() 185 struct snd_emu8k_pcm *rec = from_timer(rec, t, timer); in emu8k_pcm_timer_func() local 188 spin_lock(&rec->timer_lock); in emu8k_pcm_timer_func() 190 ptr = emu8k_get_curpos(rec, 0); in emu8k_pcm_timer_func() 191 if (ptr < rec->last_ptr) in emu8k_pcm_timer_func() 192 delta = ptr + rec->buf_size - rec in emu8k_pcm_timer_func() 219 struct snd_emu8k_pcm *rec; emu8k_pcm_open() local 246 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_close() local 269 setup_voice(struct snd_emu8k_pcm *rec, int ch) setup_voice() argument 322 start_voice(struct snd_emu8k_pcm *rec, int ch) start_voice() argument 357 stop_voice(struct snd_emu8k_pcm *rec, int ch) stop_voice() argument 375 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_trigger() local 441 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_copy() local 454 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_silence() local 495 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_copy() local 507 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_silence() local 524 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_hw_params() local 548 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_hw_free() local 566 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_prepare() local 613 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_pointer() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-record.c | 113 struct record *rec; member 203 static int record__threads_enabled(struct record *rec) in record__threads_enabled() argument 205 return rec->opts.threads_spec; in record__threads_enabled() 208 static bool switch_output_signal(struct record *rec) in switch_output_signal() argument 210 return rec->switch_output.signal && in switch_output_signal() 214 static bool switch_output_size(struct record *rec) in switch_output_size() argument 216 return rec->switch_output.size && in switch_output_size() 218 (rec->bytes_written >= rec->switch_output.size); in switch_output_size() 221 static bool switch_output_time(struct record *rec) in switch_output_time() argument 227 record__bytes_written(struct record *rec) record__bytes_written() argument 232 record__output_max_size_exceeded(struct record *rec) record__output_max_size_exceeded() argument 238 record__write(struct record *rec, struct mmap *map __maybe_unused, void *bf, size_t size) record__write() argument 384 struct record *rec; global() member 434 record__aio_push(struct record *rec, struct mmap *map, off_t *off) record__aio_push() argument 481 record__aio_mmap_read_sync(struct record *rec) record__aio_mmap_read_sync() argument 541 record__aio_enabled(struct record *rec) record__aio_enabled() argument 602 record__comp_enabled(struct record *rec) record__comp_enabled() argument 612 struct record *rec = container_of(tool, struct record, tool); process_synthesized_event() local 633 struct record *rec = to; record__pushfn() local 702 struct record *rec = container_of(tool, struct record, tool); record__process_auxtrace() local 735 record__auxtrace_mmap_read(struct record *rec, struct mmap *map) record__auxtrace_mmap_read() argument 751 record__auxtrace_mmap_read_snapshot(struct record *rec, struct mmap *map) record__auxtrace_mmap_read_snapshot() argument 768 record__auxtrace_read_snapshot_all(struct record *rec) record__auxtrace_read_snapshot_all() argument 788 record__read_auxtrace_snapshot(struct record *rec, bool on_exit) record__read_auxtrace_snapshot() argument 801 record__auxtrace_snapshot_exit(struct record *rec) record__auxtrace_snapshot_exit() argument 817 record__auxtrace_init(struct record *rec) record__auxtrace_init() argument 904 record__config_off_cpu(struct record *rec) record__config_off_cpu() argument 1070 record__free_thread_data(struct record *rec) record__free_thread_data() argument 1088 record__map_thread_evlist_pollfd_indexes(struct record *rec, int evlist_pollfd_index, int thread_pollfd_index) record__map_thread_evlist_pollfd_indexes() argument 1102 record__update_evlist_pollfd_from_thread(struct record *rec, struct evlist *evlist, struct record_thread *thread_data) record__update_evlist_pollfd_from_thread() argument 1126 record__dup_non_perf_events(struct record *rec, struct evlist *evlist, struct record_thread *thread_data) record__dup_non_perf_events() argument 1152 record__alloc_thread_data(struct record *rec, struct evlist *evlist) record__alloc_thread_data() argument 1216 record__mmap_evlist(struct record *rec, struct evlist *evlist) record__mmap_evlist() argument 1275 record__mmap(struct record *rec) record__mmap() argument 1280 record__open(struct record *rec) record__open() argument 1370 set_timestamp_boundary(struct record *rec, u64 sample_time) set_timestamp_boundary() argument 1385 struct record *rec = container_of(tool, struct record, tool); process_sample_event() local 1396 process_buildids(struct record *rec) process_buildids() argument 1465 record__adjust_affinity(struct record *rec, struct mmap *map) record__adjust_affinity() argument 1522 record__mmap_read_evlist(struct record *rec, struct evlist *evlist, bool overwrite, bool synch) record__mmap_read_evlist() argument 1606 record__mmap_read_all(struct record *rec, bool synch) record__mmap_read_all() argument 1688 record__init_features(struct record *rec) record__init_features() argument 1726 record__finish_output(struct record *rec) record__finish_output() argument 1753 record__synthesize_workload(struct record *rec, bool tail) record__synthesize_workload() argument 1775 write_finished_init(struct record *rec, bool tail) write_finished_init() argument 1786 record__switch_output(struct record *rec, bool at_exit) record__switch_output() argument 1858 __record__save_lost_samples(struct record *rec, struct evsel *evsel, struct perf_record_lost_samples *lost, int cpu_idx, int thread_idx, u64 lost_count, u16 misc_flag) __record__save_lost_samples() argument 1880 record__read_lost_samples(struct record *rec) record__read_lost_samples() argument 1965 record__pick_pc(struct record *rec) record__pick_pc() argument 1973 record__synthesize(struct record *rec, bool tail) record__synthesize() argument 2097 struct record *rec = data; record__process_signal_event() local 2102 record__setup_sb_evlist(struct record *rec) record__setup_sb_evlist() argument 2140 record__init_clock(struct record *rec) record__init_clock() argument 2177 hit_auxtrace_snapshot_trigger(struct record *rec) hit_auxtrace_snapshot_trigger() argument 2205 record__start_threads(struct record *rec) record__start_threads() argument 2268 record__stop_threads(struct record *rec) record__stop_threads() argument 2294 record__waking(struct record *rec) record__waking() argument 2306 __cmd_record(struct record *rec, int argc, const char **argv) __cmd_record() argument 2892 struct record *rec = cb; perf_record_config() local 2930 struct record *rec = (struct record *)opt->value; record__parse_event_enable_time() local 3105 switch_output_size_warn(struct record *rec) switch_output_size_warn() argument 3122 switch_output_setup(struct record *rec) switch_output_setup() argument 3233 struct record *rec = container_of(tool, struct record, tool); process_timestamp_boundary() local 3559 record__free_thread_masks(struct record *rec, int nr_threads) record__free_thread_masks() argument 3570 record__alloc_thread_masks(struct record *rec, int nr_threads, int nr_bits) record__alloc_thread_masks() argument 3596 record__init_thread_cpu_masks(struct record *rec, struct perf_cpu_map *cpus) record__init_thread_cpu_masks() argument 3621 record__init_thread_masks_spec(struct record *rec, struct perf_cpu_map *cpus, const char **maps_spec, const char **affinity_spec, u32 nr_spec) record__init_thread_masks_spec() argument 3735 record__init_thread_core_masks(struct record *rec, struct perf_cpu_map *cpus) record__init_thread_core_masks() argument 3753 record__init_thread_package_masks(struct record *rec, struct perf_cpu_map *cpus) record__init_thread_package_masks() argument 3771 record__init_thread_numa_masks(struct record *rec, struct perf_cpu_map *cpus) record__init_thread_numa_masks() argument 3803 record__init_thread_user_masks(struct record *rec, struct perf_cpu_map *cpus) record__init_thread_user_masks() argument 3873 record__init_thread_default_masks(struct record *rec, struct perf_cpu_map *cpus) record__init_thread_default_masks() argument 3889 record__init_thread_masks(struct record *rec) record__init_thread_masks() argument 3928 struct record *rec = &record; cmd_record() local 4208 struct record *rec = &record; snapshot_sig_handler() local 4218 struct record *rec = &record; alarm_sig_handler() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-record.c | 123 static bool switch_output_signal(struct record *rec) in switch_output_signal() argument 125 return rec->switch_output.signal && in switch_output_signal() 129 static bool switch_output_size(struct record *rec) in switch_output_size() argument 131 return rec->switch_output.size && in switch_output_size() 133 (rec->bytes_written >= rec->switch_output.size); in switch_output_size() 136 static bool switch_output_time(struct record *rec) in switch_output_time() argument 138 return rec->switch_output.time && in switch_output_time() 142 static bool record__output_max_size_exceeded(struct record *rec) in record__output_max_size_exceeded() argument 144 return rec in record__output_max_size_exceeded() 148 record__write(struct record *rec, struct mmap *map __maybe_unused, void *bf, size_t size) record__write() argument 286 struct record *rec; global() member 336 record__aio_push(struct record *rec, struct mmap *map, off_t *off) record__aio_push() argument 383 record__aio_mmap_read_sync(struct record *rec) record__aio_mmap_read_sync() argument 443 record__aio_enabled(struct record *rec) record__aio_enabled() argument 504 record__comp_enabled(struct record *rec) record__comp_enabled() argument 514 struct record *rec = container_of(tool, struct record, tool); process_synthesized_event() local 534 struct record *rec = to; record__pushfn() local 598 struct record *rec = container_of(tool, struct record, tool); record__process_auxtrace() local 631 record__auxtrace_mmap_read(struct record *rec, struct mmap *map) record__auxtrace_mmap_read() argument 647 record__auxtrace_mmap_read_snapshot(struct record *rec, struct mmap *map) record__auxtrace_mmap_read_snapshot() argument 664 record__auxtrace_read_snapshot_all(struct record *rec) record__auxtrace_read_snapshot_all() argument 684 record__read_auxtrace_snapshot(struct record *rec, bool on_exit) record__read_auxtrace_snapshot() argument 697 record__auxtrace_snapshot_exit(struct record *rec) record__auxtrace_snapshot_exit() argument 713 record__auxtrace_init(struct record *rec) record__auxtrace_init() argument 838 record__mmap_evlist(struct record *rec, struct evlist *evlist) record__mmap_evlist() argument 874 record__mmap(struct record *rec) record__mmap() argument 879 record__open(struct record *rec) record__open() argument 973 struct record *rec = container_of(tool, struct record, tool); process_sample_event() local 987 process_buildids(struct record *rec) process_buildids() argument 1051 record__adjust_affinity(struct record *rec, struct mmap *map) record__adjust_affinity() argument 1097 record__mmap_read_evlist(struct record *rec, struct evlist *evlist, bool overwrite, bool synch) record__mmap_read_evlist() argument 1174 record__mmap_read_all(struct record *rec, bool synch) record__mmap_read_all() argument 1185 record__init_features(struct record *rec) record__init_features() argument 1219 record__finish_output(struct record *rec) record__finish_output() argument 1241 record__synthesize_workload(struct record *rec, bool tail) record__synthesize_workload() argument 1264 record__switch_output(struct record *rec, bool at_exit) record__switch_output() argument 1364 record__pick_pc(struct record *rec) record__pick_pc() argument 1374 record__synthesize(struct record *rec, bool tail) record__synthesize() argument 1516 struct record *rec = data; record__process_signal_event() local 1521 record__setup_sb_evlist(struct record *rec) record__setup_sb_evlist() argument 1559 record__init_clock(struct record *rec) record__init_clock() argument 1596 hit_auxtrace_snapshot_trigger(struct record *rec) hit_auxtrace_snapshot_trigger() argument 1606 __cmd_record(struct record *rec, int argc, const char **argv) __cmd_record() argument 2133 struct record *rec = cb; perf_record_config() local 2256 switch_output_size_warn(struct record *rec) switch_output_size_warn() argument 2273 switch_output_setup(struct record *rec) switch_output_setup() argument 2609 struct record *rec = &record; cmd_record() local 2848 struct record *rec = &record; snapshot_sig_handler() local 2858 struct record *rec = &record; alarm_sig_handler() local [all...] |
/kernel/linux/linux-6.6/drivers/s390/scsi/ |
H A D | zfcp_dbf.c | 75 struct zfcp_dbf_hba *rec = &dbf->hba_buf; in zfcp_dbf_hba_fsf_res() local 79 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_hba_fsf_res() 81 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_res() 82 rec->id = ZFCP_DBF_HBA_RES; in zfcp_dbf_hba_fsf_res() 83 rec->fsf_req_id = req->req_id; in zfcp_dbf_hba_fsf_res() 84 rec->fsf_req_status = req->status; in zfcp_dbf_hba_fsf_res() 85 rec->fsf_cmd = q_head->fsf_command; in zfcp_dbf_hba_fsf_res() 86 rec->fsf_seq_no = q_pref->req_seq_no; in zfcp_dbf_hba_fsf_res() 87 rec in zfcp_dbf_hba_fsf_res() 121 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_fsf_fces() local 160 struct zfcp_dbf_hba *const rec = &dbf->hba_buf; zfcp_dbf_hba_fsf_reqid() local 199 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_fsf_uss() local 245 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_bit_err() local 308 zfcp_dbf_set_common(struct zfcp_dbf_rec *rec, struct zfcp_adapter *adapter, struct zfcp_port *port, struct scsi_device *sdev) zfcp_dbf_set_common() argument 342 struct zfcp_dbf_rec *rec = &dbf->rec_buf; zfcp_dbf_rec_trig() local 403 struct zfcp_dbf_rec *rec = &dbf->rec_buf; zfcp_dbf_rec_run_lvl() local 453 struct zfcp_dbf_rec *rec = &dbf->rec_buf; zfcp_dbf_rec_run_wka() local 486 struct zfcp_dbf_san *rec = &dbf->san_buf; zfcp_dbf_san() local 677 struct zfcp_dbf_scsi *rec = &dbf->scsi_buf; zfcp_dbf_scsi_common() local 757 struct zfcp_dbf_scsi *rec = &dbf->scsi_buf; zfcp_dbf_scsi_eh() local [all...] |
/kernel/linux/linux-6.6/sound/core/seq/oss/ |
H A D | seq_oss_synth.c | 93 struct seq_oss_synth *rec; in snd_seq_oss_synth_probe() local 97 rec = kzalloc(sizeof(*rec), GFP_KERNEL); in snd_seq_oss_synth_probe() 98 if (!rec) in snd_seq_oss_synth_probe() 100 rec->seq_device = -1; in snd_seq_oss_synth_probe() 101 rec->synth_type = reg->type; in snd_seq_oss_synth_probe() 102 rec->synth_subtype = reg->subtype; in snd_seq_oss_synth_probe() 103 rec->nr_voices = reg->nvoices; in snd_seq_oss_synth_probe() 104 rec->oper = reg->oper; in snd_seq_oss_synth_probe() 105 rec in snd_seq_oss_synth_probe() 144 struct seq_oss_synth *rec = dev->driver_data; snd_seq_oss_synth_remove() local 183 struct seq_oss_synth *rec; get_sdev() local 203 struct seq_oss_synth *rec; snd_seq_oss_synth_setup() local 296 struct seq_oss_synth *rec; snd_seq_oss_synth_cleanup() local 345 struct seq_oss_synth *rec; get_synthdev() local 392 struct seq_oss_synth *rec; snd_seq_oss_synth_reset() local 444 struct seq_oss_synth *rec; snd_seq_oss_synth_load_patch() local 472 struct seq_oss_synth *rec; snd_seq_oss_synth_info() local 566 struct seq_oss_synth *rec; snd_seq_oss_synth_ioctl() local 608 struct seq_oss_synth *rec; snd_seq_oss_synth_make_info() local 646 struct seq_oss_synth *rec; snd_seq_oss_synth_info_read() local [all...] |
H A D | seq_oss_timer.c | 35 struct seq_oss_timer *rec; in snd_seq_oss_timer_new() local 37 rec = kzalloc(sizeof(*rec), GFP_KERNEL); in snd_seq_oss_timer_new() 38 if (rec == NULL) in snd_seq_oss_timer_new() 41 rec->dp = dp; in snd_seq_oss_timer_new() 42 rec->cur_tick = 0; in snd_seq_oss_timer_new() 43 rec->realtime = 0; in snd_seq_oss_timer_new() 44 rec->running = 0; in snd_seq_oss_timer_new() 45 rec->oss_tempo = 60; in snd_seq_oss_timer_new() 46 rec in snd_seq_oss_timer_new() 58 snd_seq_oss_timer_delete(struct seq_oss_timer *rec) snd_seq_oss_timer_delete() argument 73 snd_seq_oss_process_timer_event(struct seq_oss_timer *rec, union evrec *ev) snd_seq_oss_process_timer_event() argument [all...] |
/kernel/linux/linux-5.10/sound/core/seq/oss/ |
H A D | seq_oss_synth.c | 93 struct seq_oss_synth *rec; in snd_seq_oss_synth_probe() local 97 rec = kzalloc(sizeof(*rec), GFP_KERNEL); in snd_seq_oss_synth_probe() 98 if (!rec) in snd_seq_oss_synth_probe() 100 rec->seq_device = -1; in snd_seq_oss_synth_probe() 101 rec->synth_type = reg->type; in snd_seq_oss_synth_probe() 102 rec->synth_subtype = reg->subtype; in snd_seq_oss_synth_probe() 103 rec->nr_voices = reg->nvoices; in snd_seq_oss_synth_probe() 104 rec->oper = reg->oper; in snd_seq_oss_synth_probe() 105 rec in snd_seq_oss_synth_probe() 144 struct seq_oss_synth *rec = dev->driver_data; snd_seq_oss_synth_remove() local 183 struct seq_oss_synth *rec; get_sdev() local 203 struct seq_oss_synth *rec; snd_seq_oss_synth_setup() local 296 struct seq_oss_synth *rec; snd_seq_oss_synth_cleanup() local 345 struct seq_oss_synth *rec; get_synthdev() local 392 struct seq_oss_synth *rec; snd_seq_oss_synth_reset() local 444 struct seq_oss_synth *rec; snd_seq_oss_synth_load_patch() local 471 struct seq_oss_synth *rec; snd_seq_oss_synth_info() local 565 struct seq_oss_synth *rec; snd_seq_oss_synth_ioctl() local 606 struct seq_oss_synth *rec; snd_seq_oss_synth_make_info() local 643 struct seq_oss_synth *rec; snd_seq_oss_synth_info_read() local [all...] |
H A D | seq_oss_timer.c | 35 struct seq_oss_timer *rec; in snd_seq_oss_timer_new() local 37 rec = kzalloc(sizeof(*rec), GFP_KERNEL); in snd_seq_oss_timer_new() 38 if (rec == NULL) in snd_seq_oss_timer_new() 41 rec->dp = dp; in snd_seq_oss_timer_new() 42 rec->cur_tick = 0; in snd_seq_oss_timer_new() 43 rec->realtime = 0; in snd_seq_oss_timer_new() 44 rec->running = 0; in snd_seq_oss_timer_new() 45 rec->oss_tempo = 60; in snd_seq_oss_timer_new() 46 rec in snd_seq_oss_timer_new() 58 snd_seq_oss_timer_delete(struct seq_oss_timer *rec) snd_seq_oss_timer_delete() argument 73 snd_seq_oss_process_timer_event(struct seq_oss_timer *rec, union evrec *ev) snd_seq_oss_process_timer_event() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | emi62.c | 84 const struct ihex_binrec *rec; in emi62_load_firmware() local 115 rec = (const struct ihex_binrec *)loader_fw->data; in emi62_load_firmware() 118 while (rec) { in emi62_load_firmware() 119 err = emi62_writememory(dev, be32_to_cpu(rec->addr), in emi62_load_firmware() 120 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 124 rec = ihex_next_binrec(rec); in emi62_load_firmware() 136 rec = (const struct ihex_binrec *)bitstream_fw->data; in emi62_load_firmware() 139 addr = be32_to_cpu(rec in emi62_load_firmware() [all...] |
H A D | emi26.c | 76 const struct ihex_binrec *rec; in emi26_load_firmware() local 109 rec = (const struct ihex_binrec *)loader_fw->data; in emi26_load_firmware() 111 while (rec) { in emi26_load_firmware() 112 err = emi26_writememory(dev, be32_to_cpu(rec->addr), in emi26_load_firmware() 113 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 117 rec = ihex_next_binrec(rec); in emi26_load_firmware() 129 rec = (const struct ihex_binrec *)bitstream_fw->data; in emi26_load_firmware() 132 addr = be32_to_cpu(rec in emi26_load_firmware() [all...] |
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | emi62.c | 84 const struct ihex_binrec *rec; in emi62_load_firmware() local 115 rec = (const struct ihex_binrec *)loader_fw->data; in emi62_load_firmware() 118 while (rec) { in emi62_load_firmware() 119 err = emi62_writememory(dev, be32_to_cpu(rec->addr), in emi62_load_firmware() 120 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 124 rec = ihex_next_binrec(rec); in emi62_load_firmware() 136 rec = (const struct ihex_binrec *)bitstream_fw->data; in emi62_load_firmware() 139 addr = be32_to_cpu(rec in emi62_load_firmware() [all...] |
H A D | emi26.c | 76 const struct ihex_binrec *rec; in emi26_load_firmware() local 109 rec = (const struct ihex_binrec *)loader_fw->data; in emi26_load_firmware() 111 while (rec) { in emi26_load_firmware() 112 err = emi26_writememory(dev, be32_to_cpu(rec->addr), in emi26_load_firmware() 113 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 117 rec = ihex_next_binrec(rec); in emi26_load_firmware() 129 rec = (const struct ihex_binrec *)bitstream_fw->data; in emi26_load_firmware() 132 addr = be32_to_cpu(rec in emi26_load_firmware() [all...] |
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_sample.bpf.c | 70 struct datarec *rec; in xdp_redirect_collect_stat() local 79 rec = bpf_map_lookup_elem(&redir_err_cnt, &idx); in xdp_redirect_collect_stat() 80 if (!rec) in xdp_redirect_collect_stat() 83 NO_TEAR_INC(rec->dropped); in xdp_redirect_collect_stat() 85 NO_TEAR_INC(rec->processed); in xdp_redirect_collect_stat() 132 struct datarec *rec; in BPF_PROG() local 139 rec = bpf_map_lookup_elem(&cpumap_enqueue_cnt, &idx); in BPF_PROG() 140 if (!rec) in BPF_PROG() 142 NO_TEAR_ADD(rec->processed, processed); in BPF_PROG() 143 NO_TEAR_ADD(rec in BPF_PROG() 159 struct datarec *rec; BPF_PROG() local 185 struct datarec *rec; BPF_PROG() local 209 struct datarec *rec; BPF_PROG() local 241 struct datarec *rec; BPF_PROG() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_i2c.c | 44 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; in amdgpu_i2c_pre_xfer() local 50 if (rec->hw_capable) { in amdgpu_i2c_pre_xfer() 51 temp = RREG32(rec->mask_clk_reg); in amdgpu_i2c_pre_xfer() 53 WREG32(rec->mask_clk_reg, temp); in amdgpu_i2c_pre_xfer() 57 temp = RREG32(rec->a_clk_reg) & ~rec->a_clk_mask; in amdgpu_i2c_pre_xfer() 58 WREG32(rec->a_clk_reg, temp); in amdgpu_i2c_pre_xfer() 60 temp = RREG32(rec->a_data_reg) & ~rec in amdgpu_i2c_pre_xfer() 86 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_post_xfer() local 105 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_get_clock() local 120 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_get_data() local 134 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_set_clock() local 147 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_set_data() local 161 amdgpu_i2c_create(struct drm_device *dev, const struct amdgpu_i2c_bus_rec *rec, const char *name) amdgpu_i2c_create() argument 252 amdgpu_i2c_add(struct amdgpu_device *adev, const struct amdgpu_i2c_bus_rec *rec, const char *name) amdgpu_i2c_add() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_i2c.c | 44 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; in amdgpu_i2c_pre_xfer() local 50 if (rec->hw_capable) { in amdgpu_i2c_pre_xfer() 51 temp = RREG32(rec->mask_clk_reg); in amdgpu_i2c_pre_xfer() 53 WREG32(rec->mask_clk_reg, temp); in amdgpu_i2c_pre_xfer() 57 temp = RREG32(rec->a_clk_reg) & ~rec->a_clk_mask; in amdgpu_i2c_pre_xfer() 58 WREG32(rec->a_clk_reg, temp); in amdgpu_i2c_pre_xfer() 60 temp = RREG32(rec->a_data_reg) & ~rec in amdgpu_i2c_pre_xfer() 86 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_post_xfer() local 105 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_get_clock() local 120 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_get_data() local 134 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_set_clock() local 147 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; amdgpu_i2c_set_data() local 161 amdgpu_i2c_create(struct drm_device *dev, const struct amdgpu_i2c_bus_rec *rec, const char *name) amdgpu_i2c_create() argument 252 amdgpu_i2c_add(struct amdgpu_device *adev, const struct amdgpu_i2c_bus_rec *rec, const char *name) amdgpu_i2c_add() argument [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_redirect_cpu_kern.c | 208 struct datarec *rec; in xdp_prognum0_no_touch() local 220 rec = bpf_map_lookup_elem(&rx_cnt, &key); in xdp_prognum0_no_touch() 221 if (!rec) in xdp_prognum0_no_touch() 223 rec->processed++; in xdp_prognum0_no_touch() 226 rec->issue++; in xdp_prognum0_no_touch() 239 struct datarec *rec; in xdp_prognum1_touch_data() local 256 rec = bpf_map_lookup_elem(&rx_cnt, &key); in xdp_prognum1_touch_data() 257 if (!rec) in xdp_prognum1_touch_data() 259 rec->processed++; in xdp_prognum1_touch_data() 264 rec in xdp_prognum1_touch_data() 282 struct datarec *rec; xdp_prognum2_round_robin() local 331 struct datarec *rec; xdp_prognum3_proto_separate() local 399 struct datarec *rec; xdp_prognum4_ddos_filter_pktgen() local 519 struct datarec *rec; xdp_prognum5_lb_hash_ip_pairs() local 598 struct datarec *rec; xdp_redirect_collect_stat() local 643 struct datarec *rec; trace_xdp_exception() local 671 struct datarec *rec; trace_xdp_cpumap_enqueue() local 713 struct datarec *rec; trace_xdp_cpumap_kthread() local [all...] |
/kernel/linux/linux-5.10/include/rdma/ |
H A D | ib_sa.h | 192 sa_conv_pathrec_to_gid_type(struct sa_path_rec *rec) in sa_conv_pathrec_to_gid_type() argument 194 switch (rec->rec_type) { in sa_conv_pathrec_to_gid_type() 426 u8 port_num, struct sa_path_rec *rec, 435 struct ib_sa_service_rec *rec, 444 struct ib_sa_mcmember_rec rec; member 458 * @rec: SA multicast member record specifying group attributes. 459 * @comp_mask: Component mask indicating which group attributes of %rec are 481 struct ib_sa_mcmember_rec *rec, 507 * @rec: Location to copy SA multicast member record. 510 union ib_gid *mgid, struct ib_sa_mcmember_rec *rec); 554 sa_path_is_roce(struct sa_path_rec *rec) sa_path_is_roce() argument 560 sa_path_is_opa(struct sa_path_rec *rec) sa_path_is_opa() argument 565 sa_path_set_slid(struct sa_path_rec *rec, u32 slid) sa_path_set_slid() argument 573 sa_path_set_dlid(struct sa_path_rec *rec, u32 dlid) sa_path_set_dlid() argument 581 sa_path_set_raw_traffic(struct sa_path_rec *rec, u8 raw_traffic) sa_path_set_raw_traffic() argument 590 sa_path_get_slid(struct sa_path_rec *rec) sa_path_get_slid() argument 599 sa_path_get_dlid(struct sa_path_rec *rec) sa_path_get_dlid() argument 608 sa_path_get_raw_traffic(struct sa_path_rec *rec) sa_path_get_raw_traffic() argument 617 sa_path_set_dmac(struct sa_path_rec *rec, u8 *dmac) sa_path_set_dmac() argument 623 sa_path_set_dmac_zero(struct sa_path_rec *rec) sa_path_set_dmac_zero() argument 629 sa_path_get_dmac(struct sa_path_rec *rec) sa_path_get_dmac() argument [all...] |