Home
last modified time | relevance | path

Searched refs:peripheral (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/linux/sound/soc/codecs/
H A Dcs35l56-sdw.c37 static int cs35l56_sdw_poll_mem_status(struct sdw_slave *peripheral, in cs35l56_sdw_poll_mem_status() argument
46 false, peripheral, CS35L56_SDW_MEM_ACCESS_STATUS); in cs35l56_sdw_poll_mem_status()
56 static int cs35l56_sdw_slow_read(struct sdw_slave *peripheral, unsigned int reg, in cs35l56_sdw_slow_read() argument
65 ret = cs35l56_sdw_poll_mem_status(peripheral, in cs35l56_sdw_slow_read()
69 dev_err(&peripheral->dev, "!CMD_IN_PROGRESS fail: %d\n", ret); in cs35l56_sdw_slow_read()
74 sdw_read_no_pm(peripheral, reg + i); in cs35l56_sdw_slow_read()
77 ret = cs35l56_sdw_poll_mem_status(peripheral, in cs35l56_sdw_slow_read()
81 dev_err(&peripheral->dev, "RDATA_RDY fail: %d\n", ret); in cs35l56_sdw_slow_read()
86 ret = sdw_nread_no_pm(peripheral, CS35L56_SDW_MEM_READ_DATA, in cs35l56_sdw_slow_read()
89 dev_err(&peripheral->dev, "Late read @%#x failed: %d\n", reg + i, ret); in cs35l56_sdw_slow_read()
[all …]
H A Dcs42l42-sdw.c203 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 …]
H A Dtas2783-sdw.c1271 static s32 tas_sdw_probe(struct sdw_slave *peripheral, in tas_sdw_probe() argument
1275 struct device *dev = &peripheral->dev; in tas_sdw_probe()
1280 ret = sdw_slave_read_prop(peripheral); in tas_sdw_probe()
1292 if (peripheral->sdca_data.num_functions > 0) { in tas_sdw_probe()
1293 dev_dbg(dev, "SDCA functions found: %d", peripheral->sdca_data.num_functions); in tas_sdw_probe()
1296 for (i = 0; i < peripheral->sdca_data.num_functions; i++) { in tas_sdw_probe()
1297 if (peripheral->sdca_data.function[i].type == in tas_sdw_probe()
1305 if (i >= 0 && i < peripheral->sdca_data.num_functions) { in tas_sdw_probe()
1314 ret = sdca_parse_function(dev, peripheral, in tas_sdw_probe()
1315 &peripheral->sdca_data.function[i], in tas_sdw_probe()
[all …]
H A Dtas2783.h104 int32_t tas25xx_register_misc(struct sdw_slave *peripheral);
107 static void tas25xx_register_misc(struct sdw_slave *peripheral) {} in tas25xx_deregister_misc()
106 tas25xx_register_misc(struct sdw_slave * peripheral) tas25xx_register_misc() argument
/linux/drivers/rtc/
H A Drtc-meson.c65 struct regmap *peripheral; /* peripheral registers */ member
82 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SCLK, 0); in meson_rtc_sclk_pulse()
84 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SCLK, in meson_rtc_sclk_pulse()
90 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SDI, in meson_rtc_send_bit()
108 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SEN, 0); in meson_rtc_set_dir()
109 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SDI, 0); in meson_rtc_set_dir()
111 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SDI, 0); in meson_rtc_set_dir()
123 regmap_read(rtc->peripheral, RTC_ADDR1, &tmp); in meson_rtc_get_data()
137 regmap_update_bits(rtc->peripheral, RTC_ADDR0, val, 0); in meson_rtc_get_bus()
141 if (!regmap_read_poll_timeout(rtc->peripheral, RTC_ADDR1, val, in meson_rtc_get_bus()
[all …]
/linux/Documentation/driver-api/memory-devices/
H A Dti-gpmc.rst24 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 …]
/linux/sound/soc/
H A Dsoc-acpi.c149 struct sdw_slave *peripheral = peripherals->array[j]; in snd_soc_acpi_sdw_link_slaves_found() local
152 if (peripheral->bus->link_id == link_id && in snd_soc_acpi_sdw_link_slaves_found()
153 peripheral->id.part_id == part_id && in snd_soc_acpi_sdw_link_slaves_found()
154 peripheral->id.mfg_id == mfg_id && in snd_soc_acpi_sdw_link_slaves_found()
155 peripheral->id.sdw_version == version) in snd_soc_acpi_sdw_link_slaves_found()
160 struct sdw_slave *peripheral = peripherals->array[j]; in snd_soc_acpi_sdw_link_slaves_found() local
163 if (peripheral->bus->link_id != link_id || in snd_soc_acpi_sdw_link_slaves_found()
164 peripheral->id.part_id != part_id || in snd_soc_acpi_sdw_link_slaves_found()
165 peripheral->id.mfg_id != mfg_id || in snd_soc_acpi_sdw_link_slaves_found()
166 peripheral->id.sdw_version != version) in snd_soc_acpi_sdw_link_slaves_found()
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dmipi-dsi-bus.txt15 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 …]
/linux/Documentation/ABI/testing/
H A Dsysfs-platform-renesas_usb311 - "host" - switching mode from peripheral to host.
12 - "peripheral" - switching mode from host to peripheral.
17 - "peripheral" - The mode is peripheral now.
H A Dsysfs-platform-phy-rcar-gen3-usb211 - "host" - switching mode from peripheral to host.
12 - "peripheral" - switching mode from host to peripheral.
17 - "peripheral" - The mode is peripheral now.
/linux/Documentation/devicetree/bindings/usb/
H A Datmel-usb.txt10 - 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
H A Dux500-usb.txt7 - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral"
/linux/drivers/i2c/busses/
H A Di2c-qcom-geni.c564 struct gpi_i2c_config *peripheral) in geni_i2c_gpi_multi_desc_unmap() argument
626 struct gpi_i2c_config *peripheral; in geni_i2c_gpi() local
638 peripheral = config->peripheral_config; in geni_i2c_gpi()
672 peripheral->rx_len = msgs[msg_idx].len; in geni_i2c_gpi()
673 peripheral->op = op; in geni_i2c_gpi()
681 peripheral->set_config = 0; in geni_i2c_gpi()
682 peripheral->multi_msg = true; in geni_i2c_gpi()
755 struct gpi_i2c_config peripheral = {}; in geni_i2c_gpi_xfer() local
763 config.peripheral_config = &peripheral; in geni_i2c_gpi_xfer()
764 config.peripheral_size = sizeof(peripheral); in geni_i2c_gpi_xfer()
[all …]
/linux/drivers/spi/
H A Dspi-geni-qcom.c399 struct gpi_spi_config peripheral = {}; in setup_gsi_xfer() local
403 config.peripheral_config = &peripheral; in setup_gsi_xfer()
404 config.peripheral_size = sizeof(peripheral); in setup_gsi_xfer()
405 peripheral.set_config = true; in setup_gsi_xfer()
414 peripheral.cmd = SPI_DUPLEX; in setup_gsi_xfer()
416 peripheral.cmd = SPI_TX; in setup_gsi_xfer()
417 peripheral.rx_len = 0; in setup_gsi_xfer()
419 peripheral.cmd = SPI_RX; in setup_gsi_xfer()
421 peripheral.rx_len = ((xfer->len << 3) / mas->cur_bits_per_word); in setup_gsi_xfer()
425 peripheral.rx_len = (xfer->len / bytes_per_word); in setup_gsi_xfer()
[all …]
/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm750.dtsi71 dr_mode = "peripheral";
84 dr_mode = "peripheral";
97 dr_mode = "peripheral";
110 dr_mode = "peripheral";
123 dr_mode = "peripheral";
/linux/arch/arm/boot/dts/st/
H A Dstm32mp157f-dk2.dts167 dr_mode = "peripheral";
168 role-switch-default-mode = "peripheral";
170 * Forcing dr_mode = "peripheral"/"role-switch-default-mode = "peripheral";
/linux/Documentation/firmware-guide/acpi/
H A Dextcon-intel-int3496.rst12 between an USB host and an USB peripheral controller.
23 the USB peripheral controller, write 1 to mux to the peripheral
/linux/sound/soc/adi/
H A DKconfig9 ASoC driver for the Analog Devices AXI-I2S softcore peripheral.
16 ASoC driver for the Analog Devices AXI-SPDIF softcore peripheral.
/linux/drivers/dma/
H A Dcv1800b-dmamux.c72 unsigned int peripheral; member
93 map->channel, map->peripheral, map->cpu); in cv1800_dmamux_free()
136 if (map->peripheral == devid && map->cpu == cpuid) in cv1800_dmamux_route_allocate()
154 map->peripheral = devid; in cv1800_dmamux_route_allocate()
/linux/drivers/dma/qcom/
H A DKconfig11 and on-chip peripheral devices.
29 provides DMA capabilities for a variety of peripheral buses such
32 transfer data between DDR and peripheral.
/linux/Documentation/devicetree/bindings/mmc/
H A Dk3-dw-mshc.txt22 - hisilicon,peripheral-syscon: phandle of syscon used to control peripheral.
62 hisilicon,peripheral-syscon = <&ao_ctrl>;
/linux/drivers/usb/gadget/udc/
H A DKconfig4 # (a) a peripheral controller, and
156 R8A66597 is a discrete USB host and peripheral controller chip that
168 Renesas USBHS is a discrete USB host and peripheral controller chip
193 Renesas USB3.0 Peripheral controller is a USB peripheral controller
204 Renesas USB Function controller is a USB peripheral controller
262 M66592 is a discrete USB peripheral controller chip that
285 if it's not being used to implement peripheral or OTG roles.
312 NetChip 2280 / 2282 is a PCI based USB peripheral controller which
321 PLX 3380 / 3382 is a PCIe based USB peripheral controller which
357 USB device is a USB peripheral controller which
[all …]
/linux/drivers/clk/sprd/
H A DKconfig23 Say Y if you want to use peripheral devices on sc9863a SoC.
31 Say Y if you want to use peripheral devices on ums512 SoC.
/linux/Documentation/i2c/busses/
H A Di2c-ismt.rst43 00:13.0 System peripheral: Intel Corporation Centerton SMBus 2.0 Controller 0
44 00:13.1 System peripheral: Intel Corporation Centerton SMBus 2.0 Controller 1
/linux/arch/arm/boot/dts/allwinner/
H A Dsuniv-f1c200s-lctech-pi.dts67 * otherwise), but peripheral is probably the intention.
70 dr_mode = "peripheral";

12345678910>>...19