Home
last modified time | relevance | path

Searched refs:mptr (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/sound/core/
Dsound.c141 struct snd_minor *mptr = NULL; in snd_open() local
148 mptr = snd_minors[minor]; in snd_open()
149 if (mptr == NULL) { in snd_open()
150 mptr = autoload_device(minor); in snd_open()
151 if (!mptr) { in snd_open()
156 new_fops = fops_get(mptr->f_ops); in snd_open()
348 struct snd_minor *mptr; in snd_minor_info_read() local
352 if (!(mptr = snd_minors[minor])) in snd_minor_info_read()
354 if (mptr->card >= 0) { in snd_minor_info_read()
355 if (mptr->device >= 0) in snd_minor_info_read()
[all …]
Dsound_oss.c153 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 if (!(mptr = snd_oss_minors[minor])) in snd_minor_info_oss_read()
222 if (mptr->card >= 0) in snd_minor_info_oss_read()
224 mptr->card, mptr->device, in snd_minor_info_oss_read()
225 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read()
228 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read()
/Linux-v5.10/drivers/acpi/
Dpci_mcfg.c263 struct acpi_mcfg_allocation *mptr; in pci_mcfg_parse() local
273 mptr = (struct acpi_mcfg_allocation *) &mcfg[1]; in pci_mcfg_parse()
279 for (i = 0, e = arr; i < n; i++, mptr++, e++) { in pci_mcfg_parse()
280 e->segment = mptr->pci_segment; in pci_mcfg_parse()
281 e->addr = mptr->address; in pci_mcfg_parse()
282 e->bus_start = mptr->start_bus_number; in pci_mcfg_parse()
283 e->bus_end = mptr->end_bus_number; in pci_mcfg_parse()
/Linux-v5.10/drivers/scsi/
Ddpt_i2o.c316 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 …]
Dqla1280.c2427 uint16_t __iomem *mptr; in qla1280_mailbox_command() local
2442 mptr = (uint16_t __iomem *) &reg->mailbox0; in qla1280_mailbox_command()
2446 WRT_REG_WORD(mptr, (*iptr)); in qla1280_mailbox_command()
2450 mptr++; in qla1280_mailbox_command()
/Linux-v5.10/crypto/
Dvmac.c400 const __le64 *mptr, unsigned int blocks) in vhash_blocks() argument
411 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_blocks()
414 mptr += (VMAC_NHBYTES/sizeof(u64)); in vhash_blocks()
419 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_blocks()
422 mptr += (VMAC_NHBYTES/sizeof(u64)); in vhash_blocks()
/Linux-v5.10/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c3144 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 …]