/openbmc/linux/sound/core/ |
H A 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 …]
|
H A 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() 188 kfree(mptr); in snd_unregister_oss_device() 221 struct snd_minor *mptr; in snd_minor_info_oss_read() local 225 mptr = snd_oss_minors[minor]; in snd_minor_info_oss_read() 226 if (!mptr) in snd_minor_info_oss_read() 228 if (mptr->card >= 0) in snd_minor_info_oss_read() 230 mptr->card, mptr->device, in snd_minor_info_oss_read() 231 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read() [all …]
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | irq.c | 58 struct acpi_mcfg_allocation *mptr; in early_pci_mcfg_parse() local 67 mptr = (struct acpi_mcfg_allocation *) &mcfg[1]; in early_pci_mcfg_parse() 69 for (i = 0; i < n; i++, mptr++) { in early_pci_mcfg_parse() 70 msi_group[i].pci_segment = mptr->pci_segment; in early_pci_mcfg_parse() 71 pch_group[i].node = msi_group[i].node = (mptr->address >> 44) & 0xf; in early_pci_mcfg_parse()
|
/openbmc/linux/drivers/acpi/ |
H A D | pci_mcfg.c | 283 struct acpi_mcfg_allocation *mptr; in pci_mcfg_parse() local 293 mptr = (struct acpi_mcfg_allocation *) &mcfg[1]; in pci_mcfg_parse() 299 for (i = 0, e = arr; i < n; i++, mptr++, e++) { in pci_mcfg_parse() 300 e->segment = mptr->pci_segment; in pci_mcfg_parse() 301 e->addr = mptr->address; in pci_mcfg_parse() 302 e->bus_start = mptr->start_bus_number; in pci_mcfg_parse() 303 e->bus_end = mptr->end_bus_number; in pci_mcfg_parse()
|
/openbmc/kcsbridge/src/ |
H A D | server.cpp | 36 int methodRsp(sd_bus_message* mptr, void* dataptr, sd_bus_error* error) noexcept in methodRsp() argument 38 sdbusplus::message_t m(mptr); in methodRsp()
|
/openbmc/linux/net/batman-adv/ |
H A D | tvlv.h | 38 int (*mptr)(struct batadv_priv *bat_priv,
|
H A D | tvlv.c | 545 int (*mptr)(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register() 568 tvlv_handler->mcast_handler = mptr; in batadv_tvlv_handler_register()
|
/openbmc/linux/crypto/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A 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 …]
|
/openbmc/linux/fs/erofs/ |
H A D | zdata.c | 885 void *mptr; in z_erofs_pcluster_begin() local 887 mptr = erofs_read_metabuf(&map->buf, sb, blknr, EROFS_NO_KMAP); in z_erofs_pcluster_begin() 888 if (IS_ERR(mptr)) { in z_erofs_pcluster_begin() 889 ret = PTR_ERR(mptr); in z_erofs_pcluster_begin()
|
/openbmc/linux/drivers/scsi/ |
H A D | qla1280.c | 2417 uint16_t __iomem *mptr; in qla1280_mailbox_command() local 2432 mptr = (uint16_t __iomem *) ®->mailbox0; in qla1280_mailbox_command() 2436 WRT_REG_WORD(mptr, (*iptr)); in qla1280_mailbox_command() 2440 mptr++; in qla1280_mailbox_command()
|
/openbmc/qemu/include/block/ |
H A D | nvme.h | 591 uint64_t mptr; member 726 uint64_t mptr; member
|
/openbmc/qemu/hw/nvme/ |
H A D | ctrl.c | 1207 hwaddr mptr = le64_to_cpu(cmd->mptr); in nvme_map_mptr() local 1213 if (nvme_addr_read(n, mptr, &sgl, sizeof(sgl))) { in nvme_map_mptr() 1225 nvme_sg_init(n, sg, nvme_addr_is_dma(n, mptr)); in nvme_map_mptr() 1226 status = nvme_map_addr(n, sg, mptr, len); in nvme_map_mptr() 2226 if (nvme_ns_ext(ns) || req->cmd.mptr) { in nvme_rw_cb()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_init.c | 5691 __le16 *mptr; in lpfc_cmf_stats_timer() local 5792 mptr = &cp->cgn_bw_min[index]; in lpfc_cmf_stats_timer() 5793 *mptr = cpu_to_le16(mvalue); in lpfc_cmf_stats_timer() 5834 mptr = &cp->cgn_bw_hr[index]; in lpfc_cmf_stats_timer() 5835 *mptr = cpu_to_le16(mvalue); in lpfc_cmf_stats_timer() 5881 mptr = &cp->cgn_bw_day[index]; in lpfc_cmf_stats_timer() 5882 *mptr = cpu_to_le16(mvalue); in lpfc_cmf_stats_timer()
|