Searched refs:mptr (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/sound/core/ |
D | sound.c | 147 struct snd_minor *mptr = NULL; in snd_open() local 154 mptr = snd_minors[minor]; in snd_open() 155 if (mptr == NULL) { in snd_open() 156 mptr = autoload_device(minor); in snd_open() 157 if (!mptr) { in snd_open() 162 new_fops = fops_get(mptr->f_ops); in snd_open() 356 struct snd_minor *mptr; in snd_minor_info_read() local 360 mptr = snd_minors[minor]; in snd_minor_info_read() 361 if (!mptr) in snd_minor_info_read() 363 if (mptr->card >= 0) { in snd_minor_info_read() [all …]
|
D | sound_oss.c | 153 struct snd_minor *mptr; in snd_unregister_oss_device() local 160 mptr = snd_oss_minors[minor]; in snd_unregister_oss_device() 161 if (mptr == NULL) { in snd_unregister_oss_device() 183 kfree(mptr); in snd_unregister_oss_device() 216 struct snd_minor *mptr; in snd_minor_info_oss_read() local 220 mptr = snd_oss_minors[minor]; in snd_minor_info_oss_read() 221 if (!mptr) in snd_minor_info_oss_read() 223 if (mptr->card >= 0) in snd_minor_info_oss_read() 225 mptr->card, mptr->device, in snd_minor_info_oss_read() 226 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read() [all …]
|
/Linux-v5.15/drivers/acpi/ |
D | pci_mcfg.c | 270 struct acpi_mcfg_allocation *mptr; in pci_mcfg_parse() local 280 mptr = (struct acpi_mcfg_allocation *) &mcfg[1]; in pci_mcfg_parse() 286 for (i = 0, e = arr; i < n; i++, mptr++, e++) { in pci_mcfg_parse() 287 e->segment = mptr->pci_segment; in pci_mcfg_parse() 288 e->addr = mptr->address; in pci_mcfg_parse() 289 e->bus_start = mptr->start_bus_number; in pci_mcfg_parse() 290 e->bus_end = mptr->end_bus_number; in pci_mcfg_parse()
|
/Linux-v5.15/drivers/scsi/ |
D | dpt_i2o.c | 316 u32 *mptr; in adpt_inquiry() local 357 mptr=msg+7; in adpt_inquiry() 369 memcpy(mptr, scb, sizeof(scb)); in adpt_inquiry() 370 mptr+=4; in adpt_inquiry() 371 lenptr=mptr++; /* Remember me - fill in when we know */ in adpt_inquiry() 376 *mptr++ = (0x7C<<24)+(2<<16)+0x02; /* Enable 64 bit */ in adpt_inquiry() 377 *mptr++ = 1 << PAGE_SHIFT; in adpt_inquiry() 378 *mptr++ = 0xD0000000|direction|len; in adpt_inquiry() 379 *mptr++ = dma_low(addr); in adpt_inquiry() 380 *mptr++ = dma_high(addr); in adpt_inquiry() [all …]
|
D | qla1280.c | 2426 uint16_t __iomem *mptr; in qla1280_mailbox_command() local 2441 mptr = (uint16_t __iomem *) ®->mailbox0; in qla1280_mailbox_command() 2445 WRT_REG_WORD(mptr, (*iptr)); in qla1280_mailbox_command() 2449 mptr++; in qla1280_mailbox_command()
|
/Linux-v5.15/crypto/ |
D | vmac.c | 401 const __le64 *mptr, unsigned int blocks) in vhash_blocks() argument 412 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_blocks() 415 mptr += (VMAC_NHBYTES/sizeof(u64)); in vhash_blocks() 420 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_blocks() 423 mptr += (VMAC_NHBYTES/sizeof(u64)); in vhash_blocks()
|
/Linux-v5.15/drivers/net/wireless/ath/ath9k/ |
D | ar9003_eeprom.c | 3144 u8 *mptr, in ar9300_uncompress_block() argument 3168 memcpy(&mptr[spot], &block[it+2], length); in ar9300_uncompress_block() 3184 u8 *mptr, in ar9300_compress_decision() argument 3198 memcpy(mptr, word + COMP_HDR_LEN, length); in ar9300_compress_decision() 3212 memcpy(mptr, eep, mdata_size); in ar9300_compress_decision() 3217 ar9300_uncompress_block(ah, mptr, mdata_size, in ar9300_compress_decision() 3247 static int ar9300_eeprom_restore_flash(struct ath_hw *ah, u8 *mptr, in ar9300_eeprom_restore_flash() argument 3250 u16 *data = (u16 *) mptr; in ar9300_eeprom_restore_flash() 3267 u8 *mptr, int mdata_size) in ar9300_eeprom_restore_internal() argument 3285 if (ar9300_eeprom_restore_flash(ah, mptr, mdata_size)) in ar9300_eeprom_restore_internal() [all …]
|
/Linux-v5.15/drivers/scsi/lpfc/ |
D | lpfc_init.c | 5552 __le16 *mptr; in lpfc_cgn_save_evt_cnt() local 5656 mptr = &cp->cgn_bw_min[index]; in lpfc_cgn_save_evt_cnt() 5657 *mptr = cpu_to_le16(mvalue); in lpfc_cgn_save_evt_cnt() 5698 mptr = &cp->cgn_bw_hr[index]; in lpfc_cgn_save_evt_cnt() 5699 *mptr = cpu_to_le16(mvalue); in lpfc_cgn_save_evt_cnt() 5770 mptr = &cp->cgn_bw_day[index]; in lpfc_cgn_save_evt_cnt() 5771 *mptr = cpu_to_le16(mvalue); in lpfc_cgn_save_evt_cnt()
|