Home
last modified time | relevance | path

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

/linux-3.4.99/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()
169 file->f_op = fops_get(mptr->f_ops); in snd_open()
322 struct snd_minor *mptr; in find_snd_minor() local
326 if ((mptr = snd_minors[minor]) != NULL && in find_snd_minor()
327 mptr->type == type && in find_snd_minor()
328 mptr->card == cardnum && in find_snd_minor()
[all …]
Dsound_oss.c177 struct snd_minor *mptr; in snd_unregister_oss_device() local
184 mptr = snd_oss_minors[minor]; in snd_unregister_oss_device()
185 if (mptr == NULL) { in snd_unregister_oss_device()
207 kfree(mptr); in snd_unregister_oss_device()
244 struct snd_minor *mptr; in snd_minor_info_oss_read() local
248 if (!(mptr = snd_oss_minors[minor])) in snd_minor_info_oss_read()
250 if (mptr->card >= 0) in snd_minor_info_oss_read()
252 mptr->card, mptr->device, in snd_minor_info_oss_read()
253 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read()
256 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read()
/linux-3.4.99/drivers/message/i2o/
Dmemory.c77 u32 *mptr = *sg_ptr; in i2o_dma_map_single() local
95 *mptr++ = cpu_to_le32(0x7C020002); in i2o_dma_map_single()
96 *mptr++ = cpu_to_le32(PAGE_SIZE); in i2o_dma_map_single()
100 *mptr++ = cpu_to_le32(sg_flags | size); in i2o_dma_map_single()
101 *mptr++ = cpu_to_le32(i2o_dma_low(dma_addr)); in i2o_dma_map_single()
104 *mptr++ = cpu_to_le32(i2o_dma_high(dma_addr)); in i2o_dma_map_single()
106 *sg_ptr = mptr; in i2o_dma_map_single()
131 u32 *mptr = *sg_ptr; in i2o_dma_map_sg() local
150 *mptr++ = cpu_to_le32(0x7C020002); in i2o_dma_map_sg()
151 *mptr++ = cpu_to_le32(PAGE_SIZE); in i2o_dma_map_sg()
[all …]
Di2o_block.c318 u32 ** mptr) in i2o_block_sglist_alloc() argument
333 return i2o_dma_map_sg(c, ireq->sg_table, nents, direction, mptr); in i2o_block_sglist_alloc()
735 u32 *mptr; in i2o_block_transfer() local
767 mptr = &msg->body[0]; in i2o_block_transfer()
827 *mptr++ = cpu_to_le32(I2O_VENDOR_DPT << 16 | I2O_CMD_SCSI_EXEC); in i2o_block_transfer()
828 *mptr++ = cpu_to_le32(tid); in i2o_block_transfer()
843 *mptr++ = cpu_to_le32(scsi_flags); in i2o_block_transfer()
848 memcpy(mptr, cmd, 10); in i2o_block_transfer()
849 mptr += 4; in i2o_block_transfer()
850 *mptr++ = cpu_to_le32(blk_rq_bytes(req)); in i2o_block_transfer()
[all …]
Di2o_scsi.c522 u32 *mptr; in i2o_scsi_queuecommand_lck() local
584 mptr = &msg->body[0]; in i2o_scsi_queuecommand_lck()
620 *mptr++ = cpu_to_le32(I2O_VENDOR_DPT << 16 | I2O_CMD_SCSI_EXEC); in i2o_scsi_queuecommand_lck()
621 *mptr++ = cpu_to_le32(adpt_flags | tid); in i2o_scsi_queuecommand_lck()
653 *mptr++ = cpu_to_le32(scsi_flags | SCpnt->cmd_len); in i2o_scsi_queuecommand_lck()
656 memcpy(mptr, SCpnt->cmnd, 16); in i2o_scsi_queuecommand_lck()
657 mptr += 4; in i2o_scsi_queuecommand_lck()
661 *mptr++ = cpu_to_le32(scsi_bufflen(SCpnt)); in i2o_scsi_queuecommand_lck()
668 SCpnt->sc_data_direction, &mptr)) in i2o_scsi_queuecommand_lck()
675 cpu_to_le32(I2O_MESSAGE_SIZE(mptr - &msg->u.head[0]) | sgl_offset); in i2o_scsi_queuecommand_lck()
/linux-3.4.99/crypto/
Dvmac.c371 u64 rh, rl, *mptr; in vhash_update() local
378 mptr = (u64 *)m; in vhash_update()
386 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_update()
389 mptr += (VMAC_NHBYTES/sizeof(u64)); in vhash_update()
394 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_update()
397 mptr += (VMAC_NHBYTES/sizeof(u64)); in vhash_update()
407 u64 rh, rl, *mptr; in vhash() local
414 mptr = (u64 *)m; in vhash()
422 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, ch, cl); in vhash()
425 mptr += (VMAC_NHBYTES/sizeof(u64)); in vhash()
[all …]
/linux-3.4.99/drivers/scsi/
Ddpt_i2o.c318 u32 *mptr; in adpt_inquiry() local
359 mptr=msg+7; in adpt_inquiry()
371 memcpy(mptr, scb, sizeof(scb)); in adpt_inquiry()
372 mptr+=4; in adpt_inquiry()
373 lenptr=mptr++; /* Remember me - fill in when we know */ in adpt_inquiry()
378 *mptr++ = (0x7C<<24)+(2<<16)+0x02; /* Enable 64 bit */ in adpt_inquiry()
379 *mptr++ = 1 << PAGE_SHIFT; in adpt_inquiry()
380 *mptr++ = 0xD0000000|direction|len; in adpt_inquiry()
381 *mptr++ = dma_low(addr); in adpt_inquiry()
382 *mptr++ = dma_high(addr); in adpt_inquiry()
[all …]
Dqla1280.c2473 uint16_t __iomem *mptr; in qla1280_mailbox_command() local
2490 mptr = (uint16_t __iomem *) &reg->mailbox0; in qla1280_mailbox_command()
2494 WRT_REG_WORD(mptr, (*iptr)); in qla1280_mailbox_command()
2498 mptr++; in qla1280_mailbox_command()
/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c3141 u8 *mptr, in ar9300_uncompress_block() argument
3165 memcpy(&mptr[spot], &block[it+2], length); in ar9300_uncompress_block()
3181 u8 *mptr, in ar9300_compress_decision() argument
3195 memcpy(mptr, (u8 *) (word + COMP_HDR_LEN), length); in ar9300_compress_decision()
3210 memcpy(mptr, eep, mdata_size); in ar9300_compress_decision()
3215 ar9300_uncompress_block(ah, mptr, mdata_size, in ar9300_compress_decision()
3245 static int ar9300_eeprom_restore_flash(struct ath_hw *ah, u8 *mptr, in ar9300_eeprom_restore_flash() argument
3249 u16 *data = (u16 *) mptr; in ar9300_eeprom_restore_flash()
3265 u8 *mptr, int mdata_size) in ar9300_eeprom_restore_internal() argument
3280 return ar9300_eeprom_restore_flash(ah, mptr, mdata_size); in ar9300_eeprom_restore_internal()
[all …]