/drivers/net/ethernet/renesas/ |
D | sh_eth.c | 322 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_select_mii() local 324 switch (mdp->phy_interface) { in sh_eth_select_mii() 349 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_set_duplex() local 351 if (mdp->duplex) /* Full */ in sh_eth_set_duplex() 359 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_set_rate() local 361 switch (mdp->speed) { in sh_eth_set_rate() 397 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_set_duplex() local 399 if (mdp->duplex) /* Full */ in sh_eth_set_duplex() 407 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_set_rate() local 409 switch (mdp->speed) { in sh_eth_set_rate() [all …]
|
D | sh_eth.h | 533 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_write() local 535 iowrite32(data, mdp->addr + mdp->reg_offset[enum_index]); in sh_eth_write() 541 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_read() local 543 return ioread32(mdp->addr + mdp->reg_offset[enum_index]); in sh_eth_read() 546 static inline void *sh_eth_tsu_get_offset(struct sh_eth_private *mdp, in sh_eth_tsu_get_offset() argument 549 return mdp->tsu_addr + mdp->reg_offset[enum_index]; in sh_eth_tsu_get_offset() 552 static inline void sh_eth_tsu_write(struct sh_eth_private *mdp, in sh_eth_tsu_write() argument 555 iowrite32(data, mdp->tsu_addr + mdp->reg_offset[enum_index]); in sh_eth_tsu_write() 558 static inline unsigned long sh_eth_tsu_read(struct sh_eth_private *mdp, in sh_eth_tsu_read() argument 561 return ioread32(mdp->tsu_addr + mdp->reg_offset[enum_index]); in sh_eth_tsu_read()
|
/drivers/video/msm/ |
D | mdp.c | 51 static int enable_mdp_irq(struct mdp_info *mdp, uint32_t mask) in enable_mdp_irq() argument 70 enable_irq(mdp->irq); in enable_mdp_irq() 80 static int locked_disable_mdp_irq(struct mdp_info *mdp, uint32_t mask) in locked_disable_mdp_irq() argument 93 disable_irq_nosync(mdp->irq); in locked_disable_mdp_irq() 100 static int disable_mdp_irq(struct mdp_info *mdp, uint32_t mask) in disable_mdp_irq() argument 106 ret = locked_disable_mdp_irq(mdp, mask); in disable_mdp_irq() 115 struct mdp_info *mdp = data; in mdp_isr() local 119 status = mdp_readl(mdp, MDP_INTR_STATUS); in mdp_isr() 120 mdp_writel(mdp, status, MDP_INTR_CLEAR); in mdp_isr() 135 locked_disable_mdp_irq(mdp, status); in mdp_isr() [all …]
|
D | mdp_ppp.c | 288 static void load_scale_table(const struct mdp_info *mdp, in load_scale_table() argument 293 mdp_writel(mdp, table[i].val, table[i].reg); in load_scale_table() 435 static int blit_scale(const struct mdp_info *mdp, struct mdp_blit_req *req, in blit_scale() argument 477 load_scale_table(mdp, mdp_downscale_x_table[downscale], 64); in blit_scale() 490 load_scale_table(mdp, mdp_downscale_y_table[downscale], 64); in blit_scale() 503 static void blit_blur(const struct mdp_info *mdp, struct mdp_blit_req *req, in blit_blur() argument 511 load_scale_table(mdp, mdp_gaussian_blur_table, 128); in blit_blur() 604 static int send_blit(const struct mdp_info *mdp, struct mdp_blit_req *req, in send_blit() argument 608 mdp_writel(mdp, 1, 0x060); in send_blit() 609 mdp_writel(mdp, regs->src_rect, PPP_ADDR_SRC_ROI); in send_blit() [all …]
|
D | msm_fb.c | 60 struct mdp_device *mdp; variable 165 mdp->dma(mdp, addr + msmfb->fb->fix.smem_start, in msmfb_start_dma() 395 ret = mdp->blit(mdp, info, &req); in msmfb_blit() 412 mdp->set_grp_disp(mdp, arg); in msmfb_ioctl() 613 if (mdp) in msmfb_add_mdp_device() 615 mdp = container_of(dev, struct mdp_device, dev); in msmfb_add_mdp_device() 623 if (dev != &mdp->dev) in msmfb_remove_mdp_device() 626 mdp = NULL; in msmfb_remove_mdp_device()
|
D | mdp_hw.h | 27 int mdp_ppp_blit(const struct mdp_info *mdp, struct mdp_blit_req *req, 31 #define mdp_writel(mdp, value, offset) writel(value, mdp->base + offset) argument 32 #define mdp_readl(mdp, offset) readl(mdp->base + offset) argument
|
D | Makefile | 8 obj-y += mdp.o mdp_scale_tables.o mdp_ppp.o
|
/drivers/staging/media/go7007/ |
D | go7007-v4l2.c | 862 struct go7007_md_params *mdp = arg; 864 if (mdp->region > 3) 866 if (mdp->trigger > 0) { 867 go->modet[mdp->region].pixel_threshold = 868 mdp->pixel_threshold >> 1; 869 go->modet[mdp->region].motion_threshold = 870 mdp->motion_threshold >> 1; 871 go->modet[mdp->region].mb_threshold = 872 mdp->trigger >> 1; 873 go->modet[mdp->region].enable = 1; [all …]
|
/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 996 u8 mdp; in bgmac_enable() local 1032 mdp = (bp_clk * 128 / 1000) - 3; in bgmac_enable() 1033 rxq_ctl |= (mdp << BGMAC_RXQ_CTL_MDP_SHIFT); in bgmac_enable()
|
/drivers/scsi/lpfc/ |
D | lpfc_init.c | 1882 lpfc_get_hba_model_desc(struct lpfc_hba *phba, uint8_t *mdp, uint8_t *descp) in lpfc_get_hba_model_desc() argument 1895 if (mdp && mdp[0] != '\0' in lpfc_get_hba_model_desc() 2088 if (mdp && mdp[0] == '\0') in lpfc_get_hba_model_desc() 2089 snprintf(mdp, 79,"%s", m.name); in lpfc_get_hba_model_desc()
|
/drivers/scsi/ |
D | advansys.c | 507 } mdp; member
|