Home
last modified time | relevance | path

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

/Linux-v4.19/sound/core/
Dsound.c153 struct snd_minor *mptr = NULL; in snd_open() local
160 mptr = snd_minors[minor]; in snd_open()
161 if (mptr == NULL) { in snd_open()
162 mptr = autoload_device(minor); in snd_open()
163 if (!mptr) { in snd_open()
168 new_fops = fops_get(mptr->f_ops); in snd_open()
360 struct snd_minor *mptr; in snd_minor_info_read() local
364 if (!(mptr = snd_minors[minor])) in snd_minor_info_read()
366 if (mptr->card >= 0) { in snd_minor_info_read()
367 if (mptr->device >= 0) in snd_minor_info_read()
[all …]
Dsound_oss.c168 struct snd_minor *mptr; in snd_unregister_oss_device() local
175 mptr = snd_oss_minors[minor]; in snd_unregister_oss_device()
176 if (mptr == NULL) { in snd_unregister_oss_device()
198 kfree(mptr); in snd_unregister_oss_device()
231 struct snd_minor *mptr; in snd_minor_info_oss_read() local
235 if (!(mptr = snd_oss_minors[minor])) in snd_minor_info_oss_read()
237 if (mptr->card >= 0) in snd_minor_info_oss_read()
239 mptr->card, mptr->device, in snd_minor_info_oss_read()
240 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read()
243 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read()
/Linux-v4.19/drivers/acpi/
Dpci_mcfg.c242 struct acpi_mcfg_allocation *mptr; in pci_mcfg_parse() local
252 mptr = (struct acpi_mcfg_allocation *) &mcfg[1]; in pci_mcfg_parse()
258 for (i = 0, e = arr; i < n; i++, mptr++, e++) { in pci_mcfg_parse()
259 e->segment = mptr->pci_segment; in pci_mcfg_parse()
260 e->addr = mptr->address; in pci_mcfg_parse()
261 e->bus_start = mptr->start_bus_number; in pci_mcfg_parse()
262 e->bus_end = mptr->end_bus_number; in pci_mcfg_parse()
/Linux-v4.19/drivers/scsi/
Ddpt_i2o.c319 u32 *mptr; in adpt_inquiry() local
360 mptr=msg+7; in adpt_inquiry()
372 memcpy(mptr, scb, sizeof(scb)); in adpt_inquiry()
373 mptr+=4; in adpt_inquiry()
374 lenptr=mptr++; /* Remember me - fill in when we know */ in adpt_inquiry()
379 *mptr++ = (0x7C<<24)+(2<<16)+0x02; /* Enable 64 bit */ in adpt_inquiry()
380 *mptr++ = 1 << PAGE_SHIFT; in adpt_inquiry()
381 *mptr++ = 0xD0000000|direction|len; in adpt_inquiry()
382 *mptr++ = dma_low(addr); in adpt_inquiry()
383 *mptr++ = dma_high(addr); in adpt_inquiry()
[all …]
Dqla1280.c2465 uint16_t __iomem *mptr; in qla1280_mailbox_command() local
2481 mptr = (uint16_t __iomem *) &reg->mailbox0; in qla1280_mailbox_command()
2485 WRT_REG_WORD(mptr, (*iptr)); in qla1280_mailbox_command()
2489 mptr++; in qla1280_mailbox_command()
/Linux-v4.19/drivers/isdn/hardware/eicon/
Ddiva.c391 int length, void *mptr, in diva_xdi_open_adapter() argument
394 diva_xdi_um_cfg_cmd_t *msg = (diva_xdi_um_cfg_cmd_t *)mptr; in diva_xdi_open_adapter()
440 int length, void *mptr, in diva_xdi_write() argument
443 diva_xdi_um_cfg_cmd_t *msg = (diva_xdi_um_cfg_cmd_t *)mptr; in diva_xdi_write()
/Linux-v4.19/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-v4.19/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 …]