Home
last modified time | relevance | path

Searched full:mbus (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/OK3568_Linux_fs/kernel/drivers/usb/mon/
H A Dmon_main.c21 static void mon_stop(struct mon_bus *mbus);
22 static void mon_dissolve(struct mon_bus *mbus, struct usb_bus *ubus);
34 * This must be called with mon_lock taken because of mbus->ref.
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()
[all …]
H A Dmon_text.c132 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 …]
H A Dusb_mon.h31 int nreaders; /* Under mon_lock AND mbus->lock */
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);
H A Dmon_stat.c29 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()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/bus/
H A Dmvebu-mbus.txt2 * Marvell MBus
7 marvell,armada370-mbus
8 marvell,armadaxp-mbus
9 marvell,armada375-mbus
10 marvell,armada380-mbus
11 marvell,kirkwood-mbus
12 marvell,dove-mbus
13 marvell,orion5x-88f5281-mbus
14 marvell,orion5x-88f5182-mbus
15 marvell,orion5x-88f5181-mbus
[all …]
/OK3568_Linux_fs/kernel/drivers/bus/
H A Dmvebu-mbus.c42 * - Provides a debugfs interface in /sys/kernel/debug/mvebu-mbus/ to
53 #include <linux/mbus.h>
126 * Used to store the state of one MBus window accross suspend/resume.
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()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-mvebu/
H A Dmbus.c11 * based on mbus driver from Linux
56 #include <linux/mbus.h>
108 static void mvebu_mbus_read_window(struct mvebu_mbus_state *mbus, in mvebu_mbus_read_window() argument
113 void __iomem *addr = mbus->mbuswins_base + in mvebu_mbus_read_window()
114 mbus->soc->win_cfg_offset(win); in mvebu_mbus_read_window()
135 if (win < mbus->soc->num_remappable_wins) { in mvebu_mbus_read_window()
145 static void mvebu_mbus_disable_window(struct mvebu_mbus_state *mbus, in mvebu_mbus_disable_window() argument
150 addr = mbus->mbuswins_base + mbus->soc->win_cfg_offset(win); in mvebu_mbus_disable_window()
154 if (win < mbus->soc->num_remappable_wins) { in mvebu_mbus_disable_window()
161 static int mvebu_mbus_window_is_free(struct mvebu_mbus_state *mbus, in mvebu_mbus_window_is_free() argument
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/sunxi/
H A Dallwinner,sun4i-a10-mbus.yaml4 $id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun4i-a10-mbus.yaml#
7 title: Allwinner Memory Bus (MBUS) controller
14 The MBUS controller drives the MBUS that other devices in the SoC
19 Each device having to perform their DMA through the MBUS must have
20 the interconnects and interconnect-names properties set to the MBUS
27 The content of the cell is the MBUS ID.
31 - allwinner,sun5i-a13-mbus
32 - allwinner,sun8i-h3-mbus
33 - allwinner,sun50i-a64-mbus
62 mbus: dram-controller@1c01000 {
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/imx/
H A Dimx-media-utils.c369 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 …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-enum-mbus-code.rst67 :ref:`v4l2-mbus-format`.
74 - See :ref:`v4l2-subdev-mbus-code-flags`
84 .. _v4l2-subdev-mbus-code-flags:
96 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
97 See :ref:`v4l2-mbus-format` on how to do this.
103 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
104 See :ref:`v4l2-mbus-format` on how to do this.
110 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
111 See :ref:`v4l2-mbus-format` on how to do this.
117 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/rkisp1/
H A Drkisp1-capture.c52 * @mbus: the mbus code on the src resizer pad that matches the pixel format
59 u32 mbus; member
88 * The supported pixel formats for mainpath. NOTE, pixel formats with identical 'mbus'
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,
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/
H A Dallwinner,sun4i-a10-mbus-clk.yaml4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mbus-clk.yaml#
7 title: Allwinner A10 MBUS Clock Device Tree Bindings
21 - allwinner,sun5i-a13-mbus-clk
22 - allwinner,sun8i-a23-mbus-clk
48 compatible = "allwinner,sun5i-a13-mbus-clk";
51 clock-output-names = "mbus";
57 compatible = "allwinner,sun8i-a23-mbus-clk";
60 clock-output-names = "mbus";
/OK3568_Linux_fs/kernel/include/linux/
H A Dmbus.h2 * Marvell MBUS common definitions.
21 * The 4-bit MBUS target ID of the DRAM controller.
26 * The base address, size, and MBUS attribute ID for each
50 /* Maximum size of a mbus window name */
54 * The Marvell mbus is to be found only on SOCs from the Orion family
75 * On all ARM32 MVEBU platforms with MBus support, this stub in mvebu_mbus_get_io_win_info()
77 * MBus driver is called instead. ARM64 MVEBU platforms like in mvebu_mbus_get_io_win_info()
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Decc.h17 #define ECC_MBAENAB 0x00000020 /* MBus arbiter enable register */
20 /* ECC MBus Arbiter Enable register:
27 * SBUS: Enable MBus Arbiter on the SBus 0=off 1=on
28 * MOD3: Enable MBus Arbiter on MBus module 3 0=off 1=on
29 * MOD2: Enable MBus Arbiter on MBus module 2 0=off 1=on
30 * MOD1: Enable MBus Arbiter on MBus module 1 0=off 1=on
H A Dviking.h3 * viking.h: Defines specific to the GNU/Viking MBUS module.
28 * for machines lacking an E-cache (ie. in MBUS mode) this bit must
60 * MBM: MBus Mode -- 0 = not in MBus mode, 1 = in MBus mode
63 * MBUS mode, the GNU/Viking lacks a GNU/MXCC E-cache. If it is
66 * to either an GNU/MBUS (sun4m) or the packet-switched GNU/XBus (sun4d).
79 * as mentioned above, these caches will snoop the bus in GNU/MBUS
93 #define VIKING_MMODE 0x00000800 /* MBUS mode */
H A Dmbus.h3 * mbus.h: Various defines for MBUS modules.
32 /* HW Mbus module bugs we have to deal with */
73 * the MBUS Module id.
/OK3568_Linux_fs/u-boot/include/linux/
H A Dmbus.h2 * Marvell MBUS common definitions.
18 * The 4-bit MBUS target ID of the DRAM controller.
23 * The base address, size, and MBUS attribute ID for each
57 /* Maximum size of a mbus window name */
70 int mbus_dt_setup_win(struct mvebu_mbus_state *mbus,
/OK3568_Linux_fs/kernel/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c24 .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()
/OK3568_Linux_fs/kernel/drivers/net/dsa/qca/
H A Dar9331.c164 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 …]
/OK3568_Linux_fs/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_axp_mc_static.h46 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai…
104 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai…
156 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai…
213 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai…
262 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai…
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dprocfs.c263 mbus_flags = sensor->mbus.flags; in rkcif_show_format()
264 if (sensor->mbus.type == V4L2_MBUS_PARALLEL || in rkcif_show_format()
265 sensor->mbus.type == V4L2_MBUS_BT656) { in rkcif_show_format()
267 sensor->mbus.type == V4L2_MBUS_PARALLEL ? "BT601" : "BT656/BT1120"); in rkcif_show_format()
274 sensor->mbus.type == V4L2_MBUS_CSI2_DPHY ? "mipi csi2 dphy" : in rkcif_show_format()
275 sensor->mbus.type == V4L2_MBUS_CSI2_CPHY ? "mipi csi2 cphy" : in rkcif_show_format()
276 sensor->mbus.type == V4L2_MBUS_CCP2 ? "lvds" : "unknown"); in rkcif_show_format()
344 if (sensor->mbus.type == V4L2_MBUS_PARALLEL || in rkcif_show_format()
345 sensor->mbus.type == V4L2_MBUS_BT656) { in rkcif_show_format()
H A Ddev.c1285 if (sensor->mbus.type == V4L2_MBUS_CCP2) { in rkcif_create_link()
1289 memcpy(&dev->lvds_subdev.sensor_self.mbus, &sensor->mbus, in rkcif_create_link()
1295 memcpy(&linked_sensor.mbus, &sensor->mbus, in rkcif_create_link()
1309 if ((linked_sensor.mbus.type == V4L2_MBUS_BT656 || in rkcif_create_link()
1310 linked_sensor.mbus.type == V4L2_MBUS_PARALLEL) && in rkcif_create_link()
1326 if ((linked_sensor.mbus.type == V4L2_MBUS_BT656 || in rkcif_create_link()
1327 linked_sensor.mbus.type == V4L2_MBUS_PARALLEL) && in rkcif_create_link()
1414 if (sensor->mbus.type == V4L2_MBUS_CCP2) { in rkcif_create_link()
1428 if (linked_sensor.mbus.type != V4L2_MBUS_BT656 && in rkcif_create_link()
1429 linked_sensor.mbus.type != V4L2_MBUS_PARALLEL) in rkcif_create_link()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dorion5x-mv88f5182.dtsi15 compatible = "marvell,orion5x-88f5182-mbus", "simple-bus";
39 mbusc: mbus-controller@20000 {
40 compatible = "marvell,mbus-controller";
H A Dorion5x-mv88f5181.dtsi15 compatible = "marvell,orion5x-88f5181-mbus", "simple-bus";
29 mbusc: mbus-controller@20000 {
30 compatible = "marvell,mbus-controller";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/spi/
H A Dspi-orion.txt15 for the MBus "target" and "attribute" are defined in the Marvell
77 For further information on the MBus bindings, please see the MBus
79 Documentation/devicetree/bindings/bus/mvebu-mbus.txt

12345678910>>...12