/openbmc/linux/drivers/usb/mon/ |
H A 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); 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 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 …]
|
H A D | usb_mon.h | 31 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 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()
|
/openbmc/linux/Documentation/devicetree/bindings/arm/sunxi/ |
H A D | allwinner,sun4i-a10-mbus.yaml | 4 $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-a33-mbus 33 - allwinner,sun8i-a50-mbus 34 - allwinner,sun8i-a83t-mbus [all …]
|
/openbmc/linux/drivers/net/mctp/ |
H A D | mctp-i3c.c | 74 struct mctp_i3c_bus *mbus; member 103 struct net_device_stats *stats = &mi->mbus->ndev->stats; in mctp_i3c_read() 110 skb = netdev_alloc_skb(mi->mbus->ndev, in mctp_i3c_read() 123 put_unaligned_be48(mi->mbus->pid, ihdr->dest); in mctp_i3c_read() 251 static int mctp_i3c_add_device(struct mctp_i3c_bus *mbus, in mctp_i3c_add_device() argument 263 mi->mbus = mbus; in mctp_i3c_add_device() 266 list_add(&mi->list, &mbus->devs); in mctp_i3c_add_device() 286 struct mctp_i3c_bus *b = NULL, *mbus = NULL; in mctp_i3c_probe() local 292 mbus = b; in mctp_i3c_probe() 297 if (!mbus) { in mctp_i3c_probe() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/bus/ |
H A D | mvebu-mbus.txt | 2 * 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 …]
|
/openbmc/linux/drivers/bus/ |
H A D | mvebu-mbus.c | 39 * - Provides a debugfs interface in /sys/kernel/debug/mvebu-mbus/ to 50 #include <linux/mbus.h> 123 * Used to store the state of one MBus window across suspend/resume. 187 static bool mvebu_mbus_window_is_remappable(struct mvebu_mbus_state *mbus, in mvebu_mbus_window_is_remappable() argument 190 return mbus->soc->win_remap_offset(win) != MVEBU_MBUS_NO_REMAP; in mvebu_mbus_window_is_remappable() 197 static void mvebu_mbus_read_window(struct mvebu_mbus_state *mbus, in mvebu_mbus_read_window() argument 202 void __iomem *addr = mbus->mbuswins_base + in mvebu_mbus_read_window() 203 mbus->soc->win_cfg_offset(win); in mvebu_mbus_read_window() 224 if (mvebu_mbus_window_is_remappable(mbus, win)) { in mvebu_mbus_read_window() 226 void __iomem *addr_rmp = mbus->mbuswins_base + in mvebu_mbus_read_window() [all …]
|
/openbmc/u-boot/arch/arm/mach-mvebu/ |
H A D | mbus.c | 12 * based on mbus driver from Linux 55 #include <linux/mbus.h> 107 static void mvebu_mbus_read_window(struct mvebu_mbus_state *mbus, in mvebu_mbus_read_window() argument 112 void __iomem *addr = mbus->mbuswins_base + in mvebu_mbus_read_window() 113 mbus->soc->win_cfg_offset(win); in mvebu_mbus_read_window() 134 if (win < mbus->soc->num_remappable_wins) { in mvebu_mbus_read_window() 144 static void mvebu_mbus_disable_window(struct mvebu_mbus_state *mbus, in mvebu_mbus_disable_window() argument 149 addr = mbus->mbuswins_base + mbus->soc->win_cfg_offset(win); in mvebu_mbus_disable_window() 153 if (win < mbus->soc->num_remappable_wins) { in mvebu_mbus_disable_window() 160 static int mvebu_mbus_window_is_free(struct mvebu_mbus_state *mbus, in mvebu_mbus_window_is_free() argument [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-subdev-enum-mbus-code.rst | 49 with a mbus code value. 77 - Index of the mbus code in the enumeration belonging to the given pad. 82 :ref:`v4l2-mbus-format`. Filled in by the driver. 89 - See :ref:`v4l2-subdev-mbus-code-flags` 106 .. _v4l2-subdev-mbus-code-flags: 118 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set. 119 See :ref:`v4l2-mbus-format` on how to do this. 125 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set. 126 See :ref:`v4l2-mbus-format` on how to do this. 132 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | allwinner,sun4i-a10-mbus-clk.yaml | 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mbus-clk.yaml# 7 title: Allwinner A10 MBUS Clock 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";
|
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-capture.c | 52 * @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, 122 .mbus = MEDIA_BUS_FMT_YUYV8_2X8, 127 .mbus = MEDIA_BUS_FMT_YUYV8_2X8, [all …]
|
/openbmc/linux/include/linux/ |
H A D | mbus.h | 2 * 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()
|
/openbmc/linux/drivers/staging/media/imx/ |
H A D | imx-media-utils.c | 390 int imx_media_init_mbus_fmt(struct v4l2_mbus_framefmt *mbus, in imx_media_init_mbus_fmt() argument 396 mbus->width = width; in imx_media_init_mbus_fmt() 397 mbus->height = height; in imx_media_init_mbus_fmt() 398 mbus->field = field; in imx_media_init_mbus_fmt() 410 mbus->code = code; in imx_media_init_mbus_fmt() 412 mbus->colorspace = V4L2_COLORSPACE_SRGB; in imx_media_init_mbus_fmt() 413 mbus->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt() 414 mbus->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt() 415 mbus->quantization = in imx_media_init_mbus_fmt() 417 mbus->colorspace, in imx_media_init_mbus_fmt() [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | ecc.h | 17 #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 D | viking.h | 3 * 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 D | mbus.h | 3 * mbus.h: Various defines for MBUS modules. 32 /* HW Mbus module bugs we have to deal with */ 73 * the MBUS Module id.
|
/openbmc/u-boot/include/linux/ |
H A D | mbus.h | 2 * 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,
|
/openbmc/linux/drivers/media/platform/sunxi/sun4i-csi/ |
H A 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() 327 struct v4l2_subdev_mbus_code_enum *mbus) in sun4i_csi_subdev_enum_mbus_code() argument 329 if (mbus->index >= ARRAY_SIZE(sun4i_csi_formats)) in sun4i_csi_subdev_enum_mbus_code() 332 mbus->code = sun4i_csi_formats[mbus->index].mbus; in sun4i_csi_subdev_enum_mbus_code()
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | orion5x-mv88f5182.dtsi | 10 compatible = "marvell,orion5x-88f5182-mbus", "simple-bus"; 34 mbusc: mbus-controller@20000 { 35 compatible = "marvell,mbus-controller";
|
H A D | orion5x-mv88f5181.dtsi | 10 compatible = "marvell,orion5x-88f5181-mbus", "simple-bus"; 24 mbusc: mbus-controller@20000 { 25 compatible = "marvell,mbus-controller";
|
/openbmc/linux/drivers/devfreq/ |
H A D | sun8i-a33-mbus.c | 97 * The unit for this value is (MBUS clock cycles / MBUS_TMR_PERIOD). When 98 * MBUS_TMR_PERIOD is programmed to match the MBUS clock frequency in MHz, as 359 priv->reg_mbus = devm_platform_ioremap_resource_byname(pdev, "mbus"); in sun8i_a33_mbus_probe() 373 priv->clk_mbus = devm_clk_get(dev, "mbus"); in sun8i_a33_mbus_probe() 376 "failed to get mbus clock\n"); in sun8i_a33_mbus_probe() 390 /* Lock the MBUS clock rate to keep MBUS_TMR_PERIOD in sync. */ in sun8i_a33_mbus_probe() 393 err = "failed to lock mbus clock rate\n"; in sun8i_a33_mbus_probe() 489 { .compatible = "allwinner,sun50i-a64-mbus", .data = &sun50i_a64_mbus }, 490 { .compatible = "allwinner,sun50i-h5-mbus", .data = &sun50i_a64_mbus }, 502 .name = "sun8i-a33-mbus", [all …]
|
/openbmc/u-boot/drivers/ddr/marvell/axp/ |
H A D | ddr3_axp_mc_static.h | 45 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai… 103 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai… 155 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai… 212 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai… 261 …{0x000200e8, 0x3FFF0E01}, /* DO NOT Modify - Open Mbus Window - 2G - Mbus is required for the trai…
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-orion.txt | 15 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
|
/openbmc/linux/drivers/soc/sunxi/ |
H A D | sunxi_mbus.c | 14 * connected to the MBUS, but since DRM will perform all the 29 * And now we have the regular devices connected to the MBUS 71 * directly over the memory bus (called MBUS), instead of going in sunxi_mbus_notifier() 78 * Devices with an interconnects property have the MBUS in sunxi_mbus_notifier()
|