Home
last modified time | relevance | path

Searched defs:pd (Results 1 – 25 of 226) sorted by relevance

12345678910

/drivers/block/
Dpktcdvd.c75 #define pkt_err(pd, fmt, ...) \ argument
77 #define pkt_notice(pd, fmt, ...) \ argument
79 #define pkt_info(pd, fmt, ...) \ argument
82 #define pkt_dbg(level, pd, fmt, ...) \ argument
110 static sector_t get_zone(sector_t sector, struct pktcdvd_device *pd) in get_zone()
118 static struct pktcdvd_kobj* pkt_kobj_create(struct pktcdvd_device *pd, in pkt_kobj_create()
209 struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd; in kobj_pkt_show() local
269 struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd; in kobj_pkt_store() local
313 static void pkt_sysfs_dev_new(struct pktcdvd_device *pd) in pkt_sysfs_dev_new()
331 static void pkt_sysfs_dev_remove(struct pktcdvd_device *pd) in pkt_sysfs_dev_remove()
[all …]
/drivers/net/ethernet/smsc/
Dsmsc9420.c100 static inline u32 smsc9420_reg_read(struct smsc9420_pdata *pd, u32 offset) in smsc9420_reg_read()
106 smsc9420_reg_write(struct smsc9420_pdata *pd, u32 offset, u32 value) in smsc9420_reg_write()
111 static inline void smsc9420_pci_flush_write(struct smsc9420_pdata *pd) in smsc9420_pci_flush_write()
119 struct smsc9420_pdata *pd = (struct smsc9420_pdata *)bus->priv; in smsc9420_mii_read() local
157 struct smsc9420_pdata *pd = (struct smsc9420_pdata *)bus->priv; in smsc9420_mii_write() local
203 static int smsc9420_eeprom_reload(struct smsc9420_pdata *pd) in smsc9420_eeprom_reload()
230 struct smsc9420_pdata *pd = netdev_priv(dev); in smsc9420_do_ioctl() local
241 struct smsc9420_pdata *pd = netdev_priv(dev); in smsc9420_ethtool_get_settings() local
254 struct smsc9420_pdata *pd = netdev_priv(dev); in smsc9420_ethtool_set_settings() local
265 struct smsc9420_pdata *pd = netdev_priv(netdev); in smsc9420_ethtool_get_drvinfo() local
[all …]
/drivers/i2c/busses/
Di2c-sh_mobile.c197 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) in iic_wr()
205 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) in iic_rd()
210 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, in iic_set_clr()
250 static int sh_mobile_i2c_init(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_init()
302 static void activate_ch(struct sh_mobile_i2c_data *pd) in activate_ch()
319 static void deactivate_ch(struct sh_mobile_i2c_data *pd) in deactivate_ch()
333 static unsigned char i2c_op(struct sh_mobile_i2c_data *pd, in i2c_op()
386 static bool sh_mobile_i2c_is_first_byte(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_is_first_byte()
391 static bool sh_mobile_i2c_is_last_byte(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_is_last_byte()
396 static void sh_mobile_i2c_get_data(struct sh_mobile_i2c_data *pd, in sh_mobile_i2c_get_data()
[all …]
Di2c-pca-platform.c42 static int i2c_pca_pf_readbyte8(void *pd, int reg) in i2c_pca_pf_readbyte8()
48 static int i2c_pca_pf_readbyte16(void *pd, int reg) in i2c_pca_pf_readbyte16()
54 static int i2c_pca_pf_readbyte32(void *pd, int reg) in i2c_pca_pf_readbyte32()
60 static void i2c_pca_pf_writebyte8(void *pd, int reg, int val) in i2c_pca_pf_writebyte8()
66 static void i2c_pca_pf_writebyte16(void *pd, int reg, int val) in i2c_pca_pf_writebyte16()
72 static void i2c_pca_pf_writebyte32(void *pd, int reg, int val) in i2c_pca_pf_writebyte32()
79 static int i2c_pca_pf_waitforcompletion(void *pd) in i2c_pca_pf_waitforcompletion()
104 static void i2c_pca_pf_dummyreset(void *pd) in i2c_pca_pf_dummyreset()
111 static void i2c_pca_pf_resetchip(void *pd) in i2c_pca_pf_resetchip()
Di2c-simtec.c44 struct simtec_i2c_data *pd = pw; in simtec_i2c_setsda() local
50 struct simtec_i2c_data *pd = pw; in simtec_i2c_setscl() local
56 struct simtec_i2c_data *pd = pw; in simtec_i2c_getsda() local
62 struct simtec_i2c_data *pd = pw; in simtec_i2c_getscl() local
70 struct simtec_i2c_data *pd; in simtec_i2c_probe() local
140 struct simtec_i2c_data *pd = platform_get_drvdata(dev); in simtec_i2c_remove() local
Di2c-pca-isa.c46 static void pca_isa_writebyte(void *pd, int reg, int val) in pca_isa_writebyte()
56 static int pca_isa_readbyte(void *pd, int reg) in pca_isa_readbyte()
68 static int pca_isa_waitforcompletion(void *pd) in pca_isa_waitforcompletion()
92 static void pca_isa_resetchip(void *pd) in pca_isa_resetchip()
/drivers/media/pci/dt3155/
Ddt3155.c140 struct dt3155_priv *pd = vb2_get_drv_priv(vq); in dt3155_queue_setup() local
155 struct dt3155_priv *pd = vb2_get_drv_priv(vb->vb2_queue); in dt3155_buf_prepare() local
163 struct dt3155_priv *pd = vb2_get_drv_priv(q); in dt3155_start_streaming() local
191 struct dt3155_priv *pd = vb2_get_drv_priv(q); in dt3155_stop_streaming() local
227 struct dt3155_priv *pd = vb2_get_drv_priv(vb->vb2_queue); in dt3155_buf_queue() local
310 struct dt3155_priv *pd = video_drvdata(filp); in dt3155_querycap() local
333 struct dt3155_priv *pd = video_drvdata(filp); in dt3155_fmt_vid_cap() local
347 struct dt3155_priv *pd = video_drvdata(filp); in dt3155_g_std() local
355 struct dt3155_priv *pd = video_drvdata(filp); in dt3155_s_std() local
392 struct dt3155_priv *pd = video_drvdata(filp); in dt3155_g_input() local
[all …]
/drivers/staging/rdma/ipath/
Dipath_file_ops.c99 struct ipath_portdata *pd = port_fp(fp); in ipath_get_base_info() local
297 static int ipath_tid_update(struct ipath_portdata *pd, struct file *fp, in ipath_tid_update()
515 static int ipath_tid_free(struct ipath_portdata *pd, unsigned subport, in ipath_tid_free()
612 static int ipath_set_part_key(struct ipath_portdata *pd, u16 key) in ipath_set_part_key()
750 static int ipath_manage_rcvq(struct ipath_portdata *pd, unsigned subport, in ipath_manage_rcvq()
800 static void ipath_clean_part_key(struct ipath_portdata *pd, in ipath_clean_part_key()
860 static void init_user_egr_sizes(struct ipath_portdata *pd) in init_user_egr_sizes()
896 static int ipath_create_user_egr(struct ipath_portdata *pd) in ipath_create_user_egr()
988 struct ipath_portdata *pd, unsigned len, int write_ok, in ipath_mmap_mem()
1060 struct ipath_portdata *pd, in mmap_piobufs()
[all …]
Dipath_mr.c63 struct ib_mr *ipath_get_dma_mr(struct ib_pd *pd, int acc) in ipath_get_dma_mr()
132 struct ib_mr *ipath_reg_phys_mr(struct ib_pd *pd, in ipath_reg_phys_mr()
185 struct ib_mr *ipath_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in ipath_reg_user_mr()
282 struct ib_fmr *ipath_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in ipath_alloc_fmr()
/drivers/gpu/drm/gma500/
Dmmu.c138 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context()
178 struct psb_mmu_pd *pd = kmalloc(sizeof(*pd), GFP_KERNEL); in psb_mmu_alloc_pd() local
247 void psb_mmu_free_pagedir(struct psb_mmu_pd *pd) in psb_mmu_free_pagedir()
278 static struct psb_mmu_pt *psb_mmu_alloc_pt(struct psb_mmu_pd *pd) in psb_mmu_alloc_pt()
326 struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, in psb_mmu_pt_alloc_map_lock()
366 static struct psb_mmu_pt *psb_mmu_pt_map_lock(struct psb_mmu_pd *pd, in psb_mmu_pt_map_lock()
385 struct psb_mmu_pd *pd = pt->pd; in psb_mmu_pt_unmap_unlock() local
420 struct psb_mmu_pd *pd; in psb_mmu_get_default_pd() local
432 struct psb_mmu_pd *pd; in psb_get_default_pd_addr() local
509 static void psb_mmu_flush_ptes(struct psb_mmu_pd *pd, unsigned long address, in psb_mmu_flush_ptes()
[all …]
/drivers/isdn/hysdn/
Dhysdn_proclog.c71 struct procdata *pd = card->proclog; in hysdn_addlog() local
104 struct procdata *pd = card->proclog; in put_log_buffer() local
179 struct procdata *pd = card->proclog; in hysdn_log_read() local
213 struct procdata *pd = card->proclog; in hysdn_log_open() local
243 struct procdata *pd; in hysdn_log_close() local
291 struct procdata *pd = card->proclog; in hysdn_log_poll() local
326 struct procdata *pd; in hysdn_proclog_init() local
351 struct procdata *pd; in hysdn_proclog_release() local
/drivers/infiniband/hw/usnic/
Dusnic_uiom.c201 struct usnic_uiom_pd *pd) in usnic_uiom_unmap_sorted_intervals()
219 static void __usnic_uiom_reg_release(struct usnic_uiom_pd *pd, in __usnic_uiom_reg_release()
260 struct usnic_uiom_pd *pd = uiomr->pd; in usnic_uiom_map_sorted_intervals() local
339 struct usnic_uiom_reg *usnic_uiom_reg_get(struct usnic_uiom_pd *pd, in usnic_uiom_reg_get()
470 struct usnic_uiom_pd *pd; in usnic_uiom_alloc_pd() local
492 void usnic_uiom_dealloc_pd(struct usnic_uiom_pd *pd) in usnic_uiom_dealloc_pd()
498 int usnic_uiom_attach_dev_to_pd(struct usnic_uiom_pd *pd, struct device *dev) in usnic_uiom_attach_dev_to_pd()
533 void usnic_uiom_detach_dev_from_pd(struct usnic_uiom_pd *pd, struct device *dev) in usnic_uiom_detach_dev_from_pd()
560 struct device **usnic_uiom_get_dev_list(struct usnic_uiom_pd *pd) in usnic_uiom_get_dev_list()
Dusnic_ib_verbs.c146 struct usnic_ib_pd *pd, in find_free_vf_and_create_qp_grp()
444 struct usnic_ib_pd *pd; in usnic_ib_alloc_pd() local
464 int usnic_ib_dealloc_pd(struct ib_pd *pd) in usnic_ib_dealloc_pd()
473 struct ib_qp *usnic_ib_create_qp(struct ib_pd *pd, in usnic_ib_create_qp()
620 struct ib_mr *usnic_ib_reg_mr(struct ib_pd *pd, u64 start, u64 length, in usnic_ib_reg_mr()
745 struct ib_ah *usnic_ib_create_ah(struct ib_pd *pd, in usnic_ib_create_ah()
786 struct ib_mr *usnic_ib_get_dma_mr(struct ib_pd *pd, int acc) in usnic_ib_get_dma_mr()
/drivers/infiniband/core/
Dverbs.c231 struct ib_pd *pd; in ib_alloc_pd() local
274 void ib_dealloc_pd(struct ib_pd *pd) in ib_dealloc_pd()
297 struct ib_ah *ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr) in ib_create_ah()
406 struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc, in ib_create_ah_from_wc()
438 struct ib_pd *pd; in ib_destroy_ah() local
452 struct ib_srq *ib_create_srq(struct ib_pd *pd, in ib_create_srq()
503 struct ib_pd *pd; in ib_destroy_srq() local
601 struct ib_qp *ib_create_qp(struct ib_pd *pd, in ib_create_qp()
1120 struct ib_pd *pd; in ib_destroy_qp() local
1202 struct ib_mr *ib_get_dma_mr(struct ib_pd *pd, int mr_access_flags) in ib_get_dma_mr()
[all …]
/drivers/soc/rockchip/
Dpm_domains.c78 static bool rockchip_pmu_domain_is_idle(struct rockchip_pm_domain *pd) in rockchip_pmu_domain_is_idle()
88 static int rockchip_pmu_set_idle_request(struct rockchip_pm_domain *pd, in rockchip_pmu_set_idle_request()
110 static bool rockchip_pmu_domain_is_on(struct rockchip_pm_domain *pd) in rockchip_pmu_domain_is_on()
121 static void rockchip_do_pmu_set_power_domain(struct rockchip_pm_domain *pd, in rockchip_do_pmu_set_power_domain()
135 static int rockchip_pd_power(struct rockchip_pm_domain *pd, bool power_on) in rockchip_pd_power()
171 struct rockchip_pm_domain *pd = to_rockchip_pd(domain); in rockchip_pd_power_on() local
178 struct rockchip_pm_domain *pd = to_rockchip_pd(domain); in rockchip_pd_power_off() local
225 struct rockchip_pm_domain *pd; in rockchip_pm_add_one_domain() local
315 static void rockchip_pm_remove_one_domain(struct rockchip_pm_domain *pd) in rockchip_pm_remove_one_domain()
335 struct rockchip_pm_domain *pd; in rockchip_pm_domain_cleanup() local
/drivers/staging/rdma/hfi1/
Dmr.c67 static int init_mregion(struct hfi1_mregion *mr, struct ib_pd *pd, in init_mregion()
113 struct ib_mr *hfi1_get_dma_mr(struct ib_pd *pd, int acc) in hfi1_get_dma_mr()
155 static struct hfi1_mr *alloc_mr(int count, struct ib_pd *pd) in alloc_mr()
199 struct ib_mr *hfi1_reg_phys_mr(struct ib_pd *pd, in hfi1_reg_phys_mr()
246 struct ib_mr *hfi1_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in hfi1_reg_user_mr()
352 struct ib_mr *hfi1_alloc_mr(struct ib_pd *pd, in hfi1_alloc_mr()
376 struct ib_fmr *hfi1_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in hfi1_alloc_fmr()
/drivers/ata/
Dpata_pxa.c51 struct pata_pxa_data *pd = d; in pxa_ata_dma_irq() local
64 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_qc_prep() local
99 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_bmdma_start() local
109 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_bmdma_stop() local
126 struct pata_pxa_data *pd = ap->private_data; in pxa_bmdma_status() local
/drivers/dma/
Dpch_dma.c140 #define dma_readl(pd, name) \ argument
142 #define dma_writel(pd, name, val) \ argument
187 struct pch_dma *pd = to_pd(chan->device); in pdc_enable_irq() local
212 struct pch_dma *pd = to_pd(chan->device); in pdc_set_dir() local
259 struct pch_dma *pd = to_pd(chan->device); in pdc_set_mode() local
293 struct pch_dma *pd = to_pd(pd_chan->chan.device); in pdc_get_status0() local
303 struct pch_dma *pd = to_pd(pd_chan->chan.device); in pdc_get_status2() local
440 struct pch_dma *pd = to_pd(chan->device); in pdc_alloc_desc() local
542 struct pch_dma *pd = to_pd(chan->device); in pd_free_chan_resources() local
706 struct pch_dma *pd = (struct pch_dma *)devid; in pd_irq() local
[all …]
/drivers/infiniband/hw/qib/
Dqib_mr.c50 static int init_qib_mregion(struct qib_mregion *mr, struct ib_pd *pd, in init_qib_mregion()
96 struct ib_mr *qib_get_dma_mr(struct ib_pd *pd, int acc) in qib_get_dma_mr()
138 static struct qib_mr *alloc_mr(int count, struct ib_pd *pd) in alloc_mr()
182 struct ib_mr *qib_reg_phys_mr(struct ib_pd *pd, in qib_reg_phys_mr()
229 struct ib_mr *qib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in qib_reg_user_mr()
331 struct ib_mr *qib_alloc_mr(struct ib_pd *pd, in qib_alloc_mr()
386 struct ib_fmr *qib_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in qib_alloc_fmr()
/drivers/staging/rdma/ehca/
Dipz_pt_fn.c127 static int alloc_small_queue_page(struct ipz_queue *queue, struct ehca_pd *pd) in alloc_small_queue_page()
172 static void free_small_queue_page(struct ipz_queue *queue, struct ehca_pd *pd) in free_small_queue_page()
204 int ipz_queue_ctor(struct ehca_pd *pd, struct ipz_queue *queue, in ipz_queue_ctor()
253 int ipz_queue_dtor(struct ehca_pd *pd, struct ipz_queue *queue) in ipz_queue_dtor()
/drivers/infiniband/hw/mlx4/
Dah.c43 static struct ib_ah *create_ib_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, in create_ib_ah()
72 static struct ib_ah *create_iboe_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, in create_iboe_ah()
132 struct ib_ah *mlx4_ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr) in mlx4_ib_create_ah()
Dmr.c57 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx4_ib_get_dma_mr()
167 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx4_ib_reg_user_mr()
222 int mr_access_flags, struct ib_pd *pd, in mlx4_ib_rereg_user_mr()
374 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in mlx4_ib_alloc_mw()
438 struct ib_mr *mlx4_ib_alloc_mr(struct ib_pd *pd, in mlx4_ib_alloc_mr()
483 struct ib_fmr *mlx4_ib_fmr_alloc(struct ib_pd *pd, int acc, in mlx4_ib_fmr_alloc()
/drivers/infiniband/hw/mthca/
Dmthca_provider.c379 struct mthca_pd *pd; in mthca_alloc_pd() local
403 static int mthca_dealloc_pd(struct ib_pd *pd) in mthca_dealloc_pd()
411 static struct ib_ah *mthca_ah_create(struct ib_pd *pd, in mthca_ah_create()
438 static struct ib_srq *mthca_create_srq(struct ib_pd *pd, in mthca_create_srq()
514 static struct ib_qp *mthca_create_qp(struct ib_pd *pd, in mthca_create_qp()
878 static struct ib_mr *mthca_get_dma_mr(struct ib_pd *pd, int acc) in mthca_get_dma_mr()
901 static struct ib_mr *mthca_reg_phys_mr(struct ib_pd *pd, in mthca_reg_phys_mr()
984 static struct ib_mr *mthca_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mthca_reg_user_mr()
1096 static struct ib_fmr *mthca_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in mthca_alloc_fmr()
Dmthca_pd.c39 int mthca_pd_alloc(struct mthca_dev *dev, int privileged, struct mthca_pd *pd) in mthca_pd_alloc()
62 void mthca_pd_free(struct mthca_dev *dev, struct mthca_pd *pd) in mthca_pd_free()
/drivers/staging/rdma/amso1100/
Dc2_pd.c43 int c2_pd_alloc(struct c2_dev *c2dev, int privileged, struct c2_pd *pd) in c2_pd_alloc()
66 void c2_pd_free(struct c2_dev *c2dev, struct c2_pd *pd) in c2_pd_free()

12345678910