/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | pinmux.c | 13 static void exynos5_uart_config(int peripheral) in exynos5_uart_config() argument 17 switch (peripheral) { in exynos5_uart_config() 35 debug("%s: invalid peripheral %d", __func__, peripheral); in exynos5_uart_config() 44 static void exynos5420_uart_config(int peripheral) in exynos5420_uart_config() argument 48 switch (peripheral) { in exynos5420_uart_config() 66 debug("%s: invalid peripheral %d", __func__, peripheral); in exynos5420_uart_config() 76 static int exynos5_mmc_config(int peripheral, int flags) in exynos5_mmc_config() argument 80 switch (peripheral) { in exynos5_mmc_config() 100 debug("%s: invalid peripheral %d", __func__, peripheral); in exynos5_mmc_config() 105 peripheral); in exynos5_mmc_config() [all …]
|
H A D | clock.c | 343 static struct clk_bit_info *get_clk_bit_info(int peripheral) in get_clk_bit_info() argument 354 if (info[i].id == peripheral) in get_clk_bit_info() 359 debug("ERROR: Peripheral ID %d not found\n", peripheral); in get_clk_bit_info() 364 static unsigned long exynos5_get_periph_rate(int peripheral) in exynos5_get_periph_rate() argument 366 struct clk_bit_info *bit_info = get_clk_bit_info(peripheral); in exynos5_get_periph_rate() 372 switch (peripheral) { in exynos5_get_periph_rate() 428 debug("%s: invalid peripheral %d", __func__, peripheral); in exynos5_get_periph_rate() 463 static unsigned long exynos542x_get_periph_rate(int peripheral) in exynos542x_get_periph_rate() argument 465 struct clk_bit_info *bit_info = get_clk_bit_info(peripheral); in exynos542x_get_periph_rate() 471 switch (peripheral) { in exynos542x_get_periph_rate() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs35l56-sdw.c | 26 static int cs35l56_sdw_read_one(struct sdw_slave *peripheral, unsigned int reg, void *buf) in cs35l56_sdw_read_one() argument 30 ret = sdw_nread_no_pm(peripheral, reg, 4, (u8 *)buf); in cs35l56_sdw_read_one() 32 dev_err(&peripheral->dev, "Read failed @%#x:%d\n", reg, ret); in cs35l56_sdw_read_one() 45 struct sdw_slave *peripheral = context; in cs35l56_sdw_read() local 54 return cs35l56_sdw_read_one(peripheral, reg, val_buf); in cs35l56_sdw_read() 61 ret = sdw_nread_no_pm(peripheral, reg, bytes, buf8); in cs35l56_sdw_read() 63 dev_err(&peripheral->dev, "Read failed @%#x..%#x:%d\n", in cs35l56_sdw_read() 86 static int cs35l56_sdw_write_one(struct sdw_slave *peripheral, unsigned int reg, const void *buf) in cs35l56_sdw_write_one() argument 91 ret = sdw_nwrite_no_pm(peripheral, reg, 4, (u8 *)&val_le); in cs35l56_sdw_write_one() 93 dev_err(&peripheral->dev, "Write failed @%#x:%d\n", reg, ret); in cs35l56_sdw_write_one() [all …]
|
H A D | cs42l42-sdw.c | 203 static int cs42l42_sdw_poll_status(struct sdw_slave *peripheral, u8 mask, u8 match) in cs42l42_sdw_poll_status() argument 210 false, peripheral, CS42L42_SDW_MEM_ACCESS_STATUS); in cs42l42_sdw_poll_status() 215 dev_err(&peripheral->dev, "MEM_ACCESS_STATUS & %#x for %#x fail: %d\n", in cs42l42_sdw_poll_status() 223 struct sdw_slave *peripheral = context; in cs42l42_sdw_read() local 229 ret = cs42l42_sdw_poll_status(peripheral, CS42L42_SDW_CMD_IN_PROGRESS, 0); in cs42l42_sdw_read() 233 ret = sdw_read_no_pm(peripheral, reg); in cs42l42_sdw_read() 235 dev_err(&peripheral->dev, "Failed to issue read @0x%x: %d\n", reg, ret); in cs42l42_sdw_read() 240 ret = sdw_read_no_pm(peripheral, CS42L42_SDW_MEM_ACCESS_STATUS); in cs42l42_sdw_read() 242 dev_err(&peripheral->dev, "Failed to read MEM_ACCESS_STATUS: %d\n", ret); in cs42l42_sdw_read() 254 ret = cs42l42_sdw_poll_status(peripheral, in cs42l42_sdw_read() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-meson.c | 66 struct regmap *peripheral; /* peripheral registers */ member 84 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SCLK, 0); in meson_rtc_sclk_pulse() 86 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SCLK, in meson_rtc_sclk_pulse() 92 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SDI, in meson_rtc_send_bit() 110 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SEN, 0); in meson_rtc_set_dir() 111 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SDI, 0); in meson_rtc_set_dir() 113 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SDI, 0); in meson_rtc_set_dir() 125 regmap_read(rtc->peripheral, RTC_ADDR1, &tmp); in meson_rtc_get_data() 139 regmap_update_bits(rtc->peripheral, RTC_ADDR0, val, 0); in meson_rtc_get_bus() 143 if (!regmap_read_poll_timeout(rtc->peripheral, RTC_ADDR1, val, in meson_rtc_get_bus() [all …]
|
/openbmc/linux/Documentation/driver-api/memory-devices/ |
H A D | ti-gpmc.rst | 24 functioning of the peripheral, while peripheral has another set of 25 timings. To have peripheral work with gpmc, peripheral timings has to 27 translated depends on the connected peripheral. Also there is a 32 from gpmc peripheral timings. struct gpmc_device_timings fields has to 33 be updated with timings from the datasheet of the peripheral that is 34 connected to gpmc. A few of the peripheral timings can be fed either 37 happen that timing as specified by peripheral datasheet is not present 38 in timing structure, in this scenario, try to correlate peripheral 40 field as required by peripheral, educate generic timing routine to 42 Then there may be cases where peripheral datasheet doesn't mention [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv8/hisilicon/ |
H A D | pinmux.c | 19 static void hi6220_uart_config(int peripheral) in hi6220_uart_config() argument 21 switch (peripheral) { in hi6220_uart_config() 97 debug("%s: invalid peripheral %d", __func__, peripheral); in hi6220_uart_config() 102 static int hi6220_mmc_config(int peripheral) in hi6220_mmc_config() argument 106 switch (peripheral) { in hi6220_mmc_config() 156 debug("%s: invalid peripheral %d", __func__, peripheral); in hi6220_mmc_config() 163 int hi6220_pinmux_config(int peripheral) in hi6220_pinmux_config() argument 165 switch (peripheral) { in hi6220_pinmux_config() 170 hi6220_uart_config(peripheral); in hi6220_pinmux_config() 174 return hi6220_mmc_config(peripheral); in hi6220_pinmux_config() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | mipi-dsi-bus.txt | 15 The following assumes that only a single peripheral is connected to a DSI 34 conjunction with another DSI host to drive the same peripheral. Hardware 39 DSI peripheral 52 - reg: The virtual channel number of a DSI peripheral. Must be in the range 58 that the peripheral responds to. 59 - If the virtual channels that a peripheral responds to are consecutive, the 79 connected to this peripheral. Each DSI host's output endpoint can be linked to 80 an input endpoint of the DSI peripheral. 87 - (1), (2) and (3) are examples of a DSI host and peripheral on the DSI bus 89 - (4) is an example of a peripheral on a I2C control bus connected to a [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-platform-phy-rcar-gen3-usb2 | 11 - "host" - switching mode from peripheral to host. 12 - "peripheral" - switching mode from host to peripheral. 17 - "peripheral" - The mode is peripheral now.
|
H A D | sysfs-platform-renesas_usb3 | 11 - "host" - switching mode from peripheral to host. 12 - "peripheral" - switching mode from host to peripheral. 17 - "peripheral" - The mode is peripheral now.
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | pistachio-clock.txt | 4 Pistachio has four clock controllers (core clock, peripheral clock, peripheral 47 The peripheral clock controller generates clocks for the DDR, ROM, and other 48 peripherals. The peripheral system clock ("periph_sys") generated by the core 49 clock controller is the input clock to the peripheral clock controller. 53 - reg: Must contain the base address and length of the peripheral clock 58 - clock-names: Must include "periph_sys", the peripheral system clock generated 74 The peripheral general control block generates system interface clocks and 75 resets for various peripherals. It also contains miscellaneous peripheral 76 control registers. The system clock ("sys") generated by the peripheral clock 81 - reg: Must contain the base address and length of the peripheral general [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | hix5hd2-phy.txt | 11 - hisilicon,peripheral-syscon: phandle of syscon used to control peripheral. 12 - hisilicon,power-reg: offset and bit number within peripheral-syscon, 20 hisilicon,peripheral-syscon = <&peripheral_ctrl>;
|
H A D | phy-hi3798cv200-combphy.txt | 6 registers in peripheral controller, e.g. PERI_COMBPHY0_CFG and 21 peripheral controller, as a 3 integers tuple: 27 - The device node should be a child of peripheral controller that contains 29 Refer to arm/hisilicon/hisilicon.txt for the parent peripheral controller 34 perictrl: peripheral-controller@8a20000 {
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
H A D | README.soc | 37 - High-speed peripheral interfaces 40 - Additional peripheral interfaces 44 - Serial peripheral interface (SPI) controller 55 and networks, peripheral interfaces required for 86 and peripheral bus interfaces required for networking, telecom/datacom, 110 - High-speed peripheral interfaces 112 - Additional peripheral interfaces 116 - Serial peripheral interface (SPI) controller 145 - High-speed peripheral interfaces: 150 - Additional peripheral interfaces: [all …]
|
/openbmc/linux/include/linux/firmware/qcom/ |
H A D | qcom_scm.h | 75 extern int qcom_scm_pas_init_image(u32 peripheral, const void *metadata, 79 extern int qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr, 81 extern int qcom_scm_pas_auth_and_reset(u32 peripheral); 82 extern int qcom_scm_pas_shutdown(u32 peripheral); 83 extern bool qcom_scm_pas_supported(u32 peripheral);
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | atmel-usb.txt | 10 - clocks: Should reference the peripheral, host and system clocks 12 "ohci_clk" for the peripheral clock 37 - clocks: Should reference the peripheral and the UTMI clocks 39 "ehci_clk" for the peripheral clock 64 - clocks: Should reference the peripheral and the AHB clocks 66 "pclk" for the peripheral clock 95 - clocks: Should reference the peripheral and host clocks 97 "pclk" for the peripheral clock
|
/openbmc/linux/drivers/spi/ |
H A D | spi-geni-qcom.c | 461 struct gpi_spi_config peripheral = {}; in setup_gsi_xfer() local 465 config.peripheral_config = &peripheral; in setup_gsi_xfer() 466 config.peripheral_size = sizeof(peripheral); in setup_gsi_xfer() 467 peripheral.set_config = true; in setup_gsi_xfer() 476 peripheral.cmd = SPI_DUPLEX; in setup_gsi_xfer() 478 peripheral.cmd = SPI_TX; in setup_gsi_xfer() 479 peripheral.rx_len = 0; in setup_gsi_xfer() 481 peripheral.cmd = SPI_RX; in setup_gsi_xfer() 483 peripheral.rx_len = ((xfer->len << 3) / mas->cur_bits_per_word); in setup_gsi_xfer() 487 peripheral.rx_len = (xfer->len / bytes_per_word); in setup_gsi_xfer() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | atmel-xdma.txt | 15 - bit 14: DIF, destination interface identifier, used to get the peripheral 17 - bit 30-24: PERID, peripheral identifier. 37 - bit 14: DIF, destination interface identifier, used to get the peripheral 39 - bit 30-24: PERID, peripheral identifier.
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 186.out | 9 /machine/peripheral-anon/device[1]: [not inserted] 10 Attached to: /machine/peripheral-anon/device[N] 25 /machine/peripheral-anon/device[1]: [not inserted] 26 Attached to: /machine/peripheral-anon/device[N] 41 /machine/peripheral-anon/device[1]: [not inserted] 42 Attached to: /machine/peripheral-anon/device[N] 61 Attached to: /machine/peripheral-anon/device[N] 77 Attached to: /machine/peripheral-anon/device[N] 93 Attached to: /machine/peripheral-anon/device[N]/virtio-backend 101 Attached to: /machine/peripheral/qdev_id/virtio-backend [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-qcom-geni.c | 518 struct gpi_i2c_config *peripheral; in geni_i2c_gpi() local 527 peripheral = config->peripheral_config; in geni_i2c_gpi() 545 peripheral->rx_len = msg->len; in geni_i2c_gpi() 546 peripheral->op = op; in geni_i2c_gpi() 554 peripheral->set_config = 0; in geni_i2c_gpi() 555 peripheral->multi_msg = true; in geni_i2c_gpi() 588 struct gpi_i2c_config peripheral = {}; in geni_i2c_gpi_xfer() local 594 config.peripheral_config = &peripheral; in geni_i2c_gpi_xfer() 595 config.peripheral_size = sizeof(peripheral); in geni_i2c_gpi_xfer() 597 peripheral.pack_enable = I2C_PACK_TX | I2C_PACK_RX; in geni_i2c_gpi_xfer() [all …]
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | Kconfig | 109 Say Y if you want to use peripheral devices such as UART, SPI, 146 Say Y if you want to use peripheral devices such as UART, SPI, 154 Say Y if you want to use peripheral devices such as UART, SPI, 162 Say Y if you want to use peripheral devices such as UART, SPI, 169 Say Y if you want to use peripheral devices such as UART, SPI, 178 Say Y if you want to use peripheral devices such as UART, SPI, 195 Say Y if you want to use peripheral devices such as UART, SPI, 203 Say Y if you want to use peripheral devices such as UART, SPI, 212 Say Y if you want to use peripheral devices such as UART, SPI, 255 Say Y if you want to use peripheral devices such as UART, SPI, [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/stv0991/ |
H A D | clock.c | 22 void clock_setup(int peripheral) in clock_setup() argument 24 switch (peripheral) { in clock_setup()
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | ti,nspire-keypad.txt | 6 - reg: Physical base address of the peripheral and length of memory mapped 9 - interrupts: The interrupt number for the peripheral. 16 - clocks: The clock this peripheral is attached to.
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | Kconfig | 3 # (a) a peripheral controller, and 20 host (such as a PC) controlling up to 127 peripheral devices. 22 you can't connect a "to-the-host" connector to a peripheral. 24 U-Boot can run in the host, or in the peripheral. In both cases 33 a USB peripheral device. Configure one hardware driver for your 34 peripheral/device side bus controller, and a "gadget driver" for 35 your peripheral protocol. 179 Creates an Ethernet network device through a USB peripheral 183 It will bind on the peripheral USB controller, ignoring the USB hosts
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | extcon-intel-int3496.rst | 12 between an USB host and an USB peripheral controller. 23 the USB peripheral controller, write 1 to mux to the peripheral
|