/drivers/nvdimm/ |
D | pmem.c | 33 static struct device *to_dev(struct pmem_device *pmem) in to_dev() argument 39 return pmem->bb.dev; in to_dev() 42 static struct nd_region *to_region(struct pmem_device *pmem) in to_region() argument 44 return to_nd_region(to_dev(pmem)->parent); in to_region() 47 static void hwpoison_clear(struct pmem_device *pmem, in hwpoison_clear() argument 53 if (is_vmalloc_addr(pmem->virt_addr)) in hwpoison_clear() 71 static blk_status_t pmem_clear_poison(struct pmem_device *pmem, in pmem_clear_poison() argument 74 struct device *dev = to_dev(pmem); in pmem_clear_poison() 79 sector = (offset - pmem->data_offset) / 512; in pmem_clear_poison() 81 cleared = nvdimm_clear_poison(dev, pmem->phys_addr + offset, len); in pmem_clear_poison() [all …]
|
D | pmem.h | 29 long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff,
|
D | Makefile | 10 nd_pmem-y := pmem.o
|
/drivers/staging/rtl8712/ |
D | rtl8712_io.c | 67 void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_mem() argument 74 hdl->io_ops._read_mem(hdl, addr, cnt, pmem); in r8712_read_mem() 77 void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_mem() argument 81 hdl->io_ops._write_mem(hdl, addr, cnt, pmem); in r8712_write_mem() 84 void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_port() argument 91 hdl->io_ops._read_port(hdl, addr, cnt, pmem); in r8712_read_port() 94 void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_port() argument 98 hdl->io_ops._write_port(hdl, addr, cnt, pmem); in r8712_write_port()
|
D | rtl871x_io.h | 91 u8 *pmem); 93 u8 *pmem); 96 u8 *pmem); 98 u8 *pmem); 226 void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 227 void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 231 void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 232 void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
|
D | rtl8712_xmit.c | 27 static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz); 397 static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz) in update_txdesc() argument 405 struct tx_desc *ptxdesc = (struct tx_desc *)pmem; in update_txdesc() 446 if ((u8 *)pmem != (u8 *)pxmitframe->pxmitbuf->pbuf) { in update_txdesc()
|
/drivers/firmware/ |
D | stratix10-svc.c | 177 struct stratix10_svc_data_mem *pmem; in svc_pa_to_va() local 180 list_for_each_entry(pmem, &svc_data_mem, node) in svc_pa_to_va() 181 if (pmem->paddr == addr) in svc_pa_to_va() 182 return pmem->vaddr; in svc_pa_to_va() 906 struct stratix10_svc_data_mem *pmem; in stratix10_svc_allocate_memory() local 912 pmem = devm_kzalloc(chan->ctrl->dev, sizeof(*pmem), GFP_KERNEL); in stratix10_svc_allocate_memory() 913 if (!pmem) in stratix10_svc_allocate_memory() 923 pmem->vaddr = (void *)va; in stratix10_svc_allocate_memory() 924 pmem->paddr = pa; in stratix10_svc_allocate_memory() 925 pmem->size = s; in stratix10_svc_allocate_memory() [all …]
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_io.h | 93 void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 94 void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 100 u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 101 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 103 u32 (*_write_scsi)(struct intf_hdl *pintfhdl, u32 cnt, u8 *pmem); 281 extern void _rtw_attrib_read(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 282 extern void _rtw_attrib_write(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 294 extern u32 _rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 308 extern void rtw_write_scsi(struct adapter *adapter, u32 cnt, u8 *pmem); 326 extern void async_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); [all …]
|
D | rtl8723b_xmit.h | 434 void rtl8723b_update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem);
|
/drivers/char/ |
D | applicom.c | 703 void __iomem *pmem; in ac_ioctl() local 730 pmem = apbs[IndexCard].RamIO; in ac_ioctl() 732 ((unsigned char *)adgl)[i]=readb(pmem++); in ac_ioctl() 737 pmem = apbs[IndexCard].RamIO + CONF_END_TEST; in ac_ioctl() 739 adgl->conf_end_test[i] = readb(pmem++); in ac_ioctl() 741 adgl->error_code[i] = readb(pmem++); in ac_ioctl() 743 adgl->parameter_error[i] = readb(pmem++); in ac_ioctl() 744 pmem = apbs[IndexCard].RamIO + VERS; in ac_ioctl() 745 adgl->vers = readb(pmem); in ac_ioctl() 746 pmem = apbs[IndexCard].RamIO + TYPE_CARD; in ac_ioctl() [all …]
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_io.c | 138 u32 _rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in _rtw_write_port() argument 140 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); in _rtw_write_port() 146 return _write_port(pintfhdl, addr, cnt, pmem); in _rtw_write_port()
|
/drivers/dax/pmem/ |
D | Makefile | 6 dax_pmem-y := pmem.o
|
/drivers/dax/ |
D | Makefile | 10 obj-y += pmem/
|
/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | isp_local.h | 54 bool pmem; member
|
D | isp.c | 66 stall->pmem = in isp_get_state()
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 159 static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz, u8 bagg_pkt) in update_txdesc() argument 167 struct tx_desc *ptxdesc = (struct tx_desc *)pmem; in update_txdesc() 173 ptxdesc = (struct tx_desc *)(pmem + PACKET_OFFSET_SZ); in update_txdesc() 322 rtl88eu_dm_set_tx_ant_by_tx_info(odmpriv, pmem, pattrib->mac_id); in update_txdesc()
|
/drivers/staging/rtl8188eu/include/ |
D | usb_ops_linux.h | 55 u32 usb_write_port(struct adapter *adapter, u32 addr, u32 cnt, struct xmit_buf *pmem);
|
/drivers/virtio/ |
D | Kconfig | 66 tristate "Support for virtio pmem driver" 70 This driver provides access to virtio-pmem devices, storage devices
|
/drivers/net/can/softing/ |
D | softing_fw.c | 94 static int fw_parse(const uint8_t **pmem, uint16_t *ptype, uint32_t *paddr, in fw_parse() argument 116 mem = *pmem; in fw_parse() 129 *pmem += 10 + *plen; in fw_parse()
|
/drivers/message/fusion/ |
D | mptctl.c | 1366 char *pmem; in mptctl_gettargetinfo() local 1412 pmem = kzalloc(numBytes, GFP_KERNEL); in mptctl_gettargetinfo() 1413 if (!pmem) { in mptctl_gettargetinfo() 1418 pdata = (int *) pmem; in mptctl_gettargetinfo() 1449 kfree(pmem); in mptctl_gettargetinfo() 1455 if (copy_to_user(uarg->targetInfo, pmem, numBytes)) { in mptctl_gettargetinfo() 1459 kfree(pmem); in mptctl_gettargetinfo() 1463 kfree(pmem); in mptctl_gettargetinfo()
|
/drivers/pci/ |
D | probe.c | 350 u32 pmem, tmp; in pci_read_bridge_windows() local 369 pci_read_config_dword(bridge, PCI_PREF_MEMORY_BASE, &pmem); in pci_read_bridge_windows() 370 if (!pmem) { in pci_read_bridge_windows() 373 pci_read_config_dword(bridge, PCI_PREF_MEMORY_BASE, &pmem); in pci_read_bridge_windows() 376 if (!pmem) in pci_read_bridge_windows() 381 if ((pmem & PCI_PREF_RANGE_TYPE_MASK) == PCI_PREF_RANGE_TYPE_64) { in pci_read_bridge_windows() 388 pci_read_config_dword(bridge, PCI_PREF_BASE_UPPER32, &pmem); in pci_read_bridge_windows() 392 pci_write_config_dword(bridge, PCI_PREF_BASE_UPPER32, pmem); in pci_read_bridge_windows()
|
/drivers/mtd/nand/raw/ |
D | stm32_fmc2_nand.c | 284 u32 pmem, patt; in stm32_fmc2_nfc_timings_init() local 293 pmem = FIELD_PREP(FMC2_PMEM_MEMSET, timings->tset_mem); in stm32_fmc2_nfc_timings_init() 294 pmem |= FIELD_PREP(FMC2_PMEM_MEMWAIT, timings->twait); in stm32_fmc2_nfc_timings_init() 295 pmem |= FIELD_PREP(FMC2_PMEM_MEMHOLD, timings->thold_mem); in stm32_fmc2_nfc_timings_init() 296 pmem |= FIELD_PREP(FMC2_PMEM_MEMHIZ, timings->thiz); in stm32_fmc2_nfc_timings_init() 297 regmap_write(nfc->regmap, FMC2_PMEM, pmem); in stm32_fmc2_nfc_timings_init()
|
/drivers/vfio/ |
D | vfio_iommu_spapr_tce.c | 391 unsigned long *phpa, struct mm_iommu_table_group_mem_t **pmem) in tce_iommu_prereg_ua_to_hpa() argument 404 *pmem = mem; in tce_iommu_prereg_ua_to_hpa()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 808 struct be_pmem_stats pmem; member 2035 struct be_pmem_stats pmem; member 2058 struct be_pmem_stats pmem; member
|
/drivers/scsi/be2iscsi/ |
D | be_main.c | 2957 struct mem_array *pmem, struct be_dma_mem *sgl) in hwi_build_be_sgl_arr() argument 2962 be_sgl_create_contiguous(pmem->virtual_address, in hwi_build_be_sgl_arr() 2963 pmem->bus_address.u.a64.address, in hwi_build_be_sgl_arr() 2964 pmem->size, sgl); in hwi_build_be_sgl_arr() 2969 struct mem_array *pmem, struct be_dma_mem *sgl) in hwi_build_be_sgl_by_offset() argument 2974 be_sgl_create_contiguous((unsigned char *)pmem->virtual_address, in hwi_build_be_sgl_by_offset() 2975 pmem->bus_address.u.a64.address, in hwi_build_be_sgl_by_offset() 2976 pmem->size, sgl); in hwi_build_be_sgl_by_offset()
|