/drivers/usb/mon/ |
D | mon_main.c | 21 static void mon_stop(struct mon_bus *mbus); 22 static void mon_dissolve(struct mon_bus *mbus, struct usb_bus *ubus); 36 void mon_reader_add(struct mon_bus *mbus, struct mon_reader *r) in mon_reader_add() argument 41 spin_lock_irqsave(&mbus->lock, flags); in mon_reader_add() 42 if (mbus->nreaders == 0) { in mon_reader_add() 43 if (mbus == &mon_bus0) { in mon_reader_add() 50 mbus->u_bus->monitored = 1; in mon_reader_add() 53 mbus->nreaders++; in mon_reader_add() 54 list_add_tail(&r->r_link, &mbus->r_list); in mon_reader_add() 55 spin_unlock_irqrestore(&mbus->lock, flags); in mon_reader_add() [all …]
|
D | mon_text.c | 132 struct urb *urb, char ev_type, struct mon_bus *mbus) in mon_text_get_setup() argument 146 int len, char ev_type, struct mon_bus *mbus) in mon_text_get_data() argument 305 struct mon_bus *mbus) in mon_text_fetch() argument 310 spin_lock_irqsave(&mbus->lock, flags); in mon_text_fetch() 312 spin_unlock_irqrestore(&mbus->lock, flags); in mon_text_fetch() 318 spin_unlock_irqrestore(&mbus->lock, flags); in mon_text_fetch() 326 struct mon_bus *mbus; in mon_text_open() local 331 mbus = inode->i_private; in mon_text_open() 349 rp->r.m_bus = mbus; in mon_text_open() 364 mon_reader_add(mbus, &rp->r); in mon_text_open() [all …]
|
D | usb_mon.h | 53 void mon_reader_add(struct mon_bus *mbus, struct mon_reader *r); 54 void mon_reader_del(struct mon_bus *mbus, struct mon_reader *r); 58 int /*bool*/ mon_text_add(struct mon_bus *mbus, const struct usb_bus *ubus); 59 void mon_text_del(struct mon_bus *mbus); 60 int /*bool*/ mon_bin_add(struct mon_bus *mbus, const struct usb_bus *ubus); 61 void mon_bin_del(struct mon_bus *mbus);
|
D | mon_stat.c | 29 struct mon_bus *mbus; in mon_stat_open() local 36 mbus = inode->i_private; in mon_stat_open() 40 mbus->nreaders, mbus->cnt_events, mbus->cnt_text_lost); in mon_stat_open()
|
D | mon_bin.c | 675 struct mon_bus *mbus; in mon_bin_open() local 681 mbus = mon_bus_lookup(iminor(inode)); in mon_bin_open() 682 if (mbus == NULL) { in mon_bin_open() 686 if (mbus != &mon_bus0 && mbus->u_bus == NULL) { in mon_bin_open() 711 rp->r.m_bus = mbus; in mon_bin_open() 717 mon_reader_add(mbus, &rp->r); in mon_bin_open() 781 struct mon_bus* mbus = rp->r.m_bus; in mon_bin_release() local 785 if (mbus->nreaders <= 0) { in mon_bin_release() 790 mon_reader_del(mbus, &rp->r); in mon_bin_release() 1361 int mon_bin_add(struct mon_bus *mbus, const struct usb_bus *ubus) in mon_bin_add() argument [all …]
|
/drivers/bus/ |
D | mvebu-mbus.c | 190 static bool mvebu_mbus_window_is_remappable(struct mvebu_mbus_state *mbus, in mvebu_mbus_window_is_remappable() argument 193 return mbus->soc->win_remap_offset(win) != MVEBU_MBUS_NO_REMAP; in mvebu_mbus_window_is_remappable() 200 static void mvebu_mbus_read_window(struct mvebu_mbus_state *mbus, in mvebu_mbus_read_window() argument 205 void __iomem *addr = mbus->mbuswins_base + in mvebu_mbus_read_window() 206 mbus->soc->win_cfg_offset(win); in mvebu_mbus_read_window() 227 if (mvebu_mbus_window_is_remappable(mbus, win)) { in mvebu_mbus_read_window() 229 void __iomem *addr_rmp = mbus->mbuswins_base + in mvebu_mbus_read_window() 230 mbus->soc->win_remap_offset(win); in mvebu_mbus_read_window() 239 static void mvebu_mbus_disable_window(struct mvebu_mbus_state *mbus, in mvebu_mbus_disable_window() argument 244 addr = mbus->mbuswins_base + mbus->soc->win_cfg_offset(win); in mvebu_mbus_disable_window() [all …]
|
D | Makefile | 20 obj-$(CONFIG_MVEBU_MBUS) += mvebu-mbus.o
|
/drivers/staging/media/imx/ |
D | imx-media-utils.c | 369 int imx_media_init_mbus_fmt(struct v4l2_mbus_framefmt *mbus, in imx_media_init_mbus_fmt() argument 375 mbus->width = width; in imx_media_init_mbus_fmt() 376 mbus->height = height; in imx_media_init_mbus_fmt() 377 mbus->field = field; in imx_media_init_mbus_fmt() 389 mbus->code = code; in imx_media_init_mbus_fmt() 391 mbus->colorspace = V4L2_COLORSPACE_SRGB; in imx_media_init_mbus_fmt() 392 mbus->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt() 393 mbus->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt() 394 mbus->quantization = in imx_media_init_mbus_fmt() 396 mbus->colorspace, in imx_media_init_mbus_fmt() [all …]
|
D | imx-media.h | 189 int imx_media_init_mbus_fmt(struct v4l2_mbus_framefmt *mbus, 197 const struct v4l2_mbus_framefmt *mbus, 200 const struct v4l2_mbus_framefmt *mbus); 201 int imx_media_ipu_image_to_mbus_fmt(struct v4l2_mbus_framefmt *mbus,
|
/drivers/staging/media/rkisp1/ |
D | rkisp1-capture.c | 59 u32 mbus; member 97 .mbus = MEDIA_BUS_FMT_YUYV8_2X8, 102 .mbus = MEDIA_BUS_FMT_YUYV8_2X8, 107 .mbus = MEDIA_BUS_FMT_YUYV8_2X8, 112 .mbus = MEDIA_BUS_FMT_YUYV8_2X8, 117 .mbus = MEDIA_BUS_FMT_YUYV8_2X8, 124 .mbus = MEDIA_BUS_FMT_YUYV8_2X8, 131 .mbus = MEDIA_BUS_FMT_YUYV8_1_5X8, 136 .mbus = MEDIA_BUS_FMT_YUYV8_1_5X8, 141 .mbus = MEDIA_BUS_FMT_YUYV8_1_5X8, [all …]
|
/drivers/net/dsa/qca/ |
D | ar9331.c | 164 struct mii_bus *mbus; /* mdio master */ member 203 static int ar9331_sw_mbus_write(struct mii_bus *mbus, int port, int regnum, in ar9331_sw_mbus_write() argument 206 struct ar9331_sw_priv *priv = mbus->priv; in ar9331_sw_mbus_write() 233 static int ar9331_sw_mbus_read(struct mii_bus *mbus, int port, int regnum) in ar9331_sw_mbus_read() argument 235 struct ar9331_sw_priv *priv = mbus->priv; in ar9331_sw_mbus_read() 270 struct mii_bus *mbus; in ar9331_sw_mbus_init() local 276 mbus = devm_mdiobus_alloc(dev); in ar9331_sw_mbus_init() 277 if (!mbus) in ar9331_sw_mbus_init() 280 mbus->name = np->full_name; in ar9331_sw_mbus_init() 281 snprintf(mbus->id, MII_BUS_ID_SIZE, "%pOF", np); in ar9331_sw_mbus_init() [all …]
|
/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_v4l2.c | 24 .mbus = MEDIA_BUS_FMT_YUYV8_2X8, 36 const u32 *mbus) in sun4i_csi_find_format() argument 44 if (mbus && *mbus != sun4i_csi_formats[i].mbus) in sun4i_csi_find_format() 331 struct v4l2_subdev_mbus_code_enum *mbus) in sun4i_csi_subdev_enum_mbus_code() argument 333 if (mbus->index >= ARRAY_SIZE(sun4i_csi_formats)) in sun4i_csi_subdev_enum_mbus_code() 336 mbus->code = sun4i_csi_formats[mbus->index].mbus; in sun4i_csi_subdev_enum_mbus_code()
|
D | sun4i_csi.h | 94 u32 mbus; member 105 const u32 *mbus);
|
/drivers/staging/media/omap4iss/ |
D | iss_video.c | 117 const struct v4l2_mbus_framefmt *mbus, in iss_video_mbus_to_pix() argument 125 pix->width = mbus->width; in iss_video_mbus_to_pix() 126 pix->height = mbus->height; in iss_video_mbus_to_pix() 133 if (formats[i].code == mbus->code) in iss_video_mbus_to_pix() 155 pix->colorspace = mbus->colorspace; in iss_video_mbus_to_pix() 156 pix->field = mbus->field; in iss_video_mbus_to_pix() 166 struct v4l2_mbus_framefmt *mbus) in iss_video_pix_to_mbus() argument 170 memset(mbus, 0, sizeof(*mbus)); in iss_video_pix_to_mbus() 171 mbus->width = pix->width; in iss_video_pix_to_mbus() 172 mbus->height = pix->height; in iss_video_pix_to_mbus() [all …]
|
/drivers/media/platform/cadence/ |
D | cdns-csi2tx.c | 79 u32 mbus; member 122 .mbus = MEDIA_BUS_FMT_UYVY8_1X16, 127 .mbus = MEDIA_BUS_FMT_RGB888_1X24, 147 static const struct csi2tx_fmt *csi2tx_get_fmt_from_mbus(u32 mbus) in csi2tx_get_fmt_from_mbus() argument 152 if (csi2tx_formats[i].mbus == mbus) in csi2tx_get_fmt_from_mbus() 165 code->code = csi2tx_formats[code->index].mbus; in csi2tx_enum_mbus_code()
|
/drivers/media/platform/omap3isp/ |
D | ispvideo.c | 140 const struct v4l2_mbus_framefmt *mbus, in isp_video_mbus_to_pix() argument 148 pix->width = mbus->width; in isp_video_mbus_to_pix() 149 pix->height = mbus->height; in isp_video_mbus_to_pix() 152 if (formats[i].code == mbus->code) in isp_video_mbus_to_pix() 176 pix->colorspace = mbus->colorspace; in isp_video_mbus_to_pix() 177 pix->field = mbus->field; in isp_video_mbus_to_pix() 183 struct v4l2_mbus_framefmt *mbus) in isp_video_pix_to_mbus() argument 187 memset(mbus, 0, sizeof(*mbus)); in isp_video_pix_to_mbus() 188 mbus->width = pix->width; in isp_video_pix_to_mbus() 189 mbus->height = pix->height; in isp_video_pix_to_mbus() [all …]
|
/drivers/mcb/ |
D | mcb-pci.c | 23 struct mcb_bus *mbus = mdev->bus; in mcb_pci_get_irq() local 24 struct device *dev = mbus->carrier; in mcb_pci_get_irq()
|
/drivers/dma/ |
D | amba-pl08x.c | 1125 struct pl08x_bus_data **mbus, in pl08x_choose_master_bus() argument 1149 *mbus = &bd->dstbus; in pl08x_choose_master_bus() 1152 *mbus = &bd->srcbus; in pl08x_choose_master_bus() 1156 *mbus = &bd->dstbus; in pl08x_choose_master_bus() 1159 *mbus = &bd->srcbus; in pl08x_choose_master_bus() 1260 struct pl08x_bus_data *mbus, *sbus; in pl08x_fill_llis_for_desc() local 1294 pl08x_choose_master_bus(pl08x, &bd, &mbus, &sbus, cctl); in pl08x_fill_llis_for_desc() 1306 mbus == &bd.srcbus ? "src" : "dst", in pl08x_fill_llis_for_desc() 1368 if (bd.remainder < mbus->buswidth) in pl08x_fill_llis_for_desc() 1370 else if (!IS_BUS_ALIGNED(mbus)) { in pl08x_fill_llis_for_desc() [all …]
|
/drivers/media/platform/vsp1/ |
D | vsp1_pipe.h | 38 unsigned int mbus; member
|
D | vsp1_drm.c | 137 format.format.code = rpf->fmtinfo->mbus; in vsp1_du_pipeline_setup_rpf()
|
D | vsp1_video.c | 78 if (video->rwpf->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format()
|
/drivers/clk/sunxi/ |
D | Makefile | 21 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun8i-mbus.o
|
/drivers/media/platform/xilinx/ |
D | xilinx-csi2rxss.c | 314 static u32 xcsi2rxss_get_dt(u32 mbus) in xcsi2rxss_get_dt() argument 319 if (xcsi2dt_mbus_lut[i][1] == mbus) in xcsi2rxss_get_dt()
|
/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2.c | 1261 struct v4l2_mbus_framefmt *mbus; in cio2_subdev_set_fmt() local 1273 mbus = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in cio2_subdev_set_fmt() 1275 mbus = &q->subdev_fmt; in cio2_subdev_set_fmt() 1292 *mbus = fmt->format; in cio2_subdev_set_fmt()
|
/drivers/media/platform/qcom/camss/ |
D | camss-video.c | 250 static int video_mbus_to_pix_mp(const struct v4l2_mbus_framefmt *mbus, in video_mbus_to_pix_mp() argument 259 v4l2_fill_pix_format_mplane(pix, mbus); in video_mbus_to_pix_mp()
|