Home
last modified time | relevance | path

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

12345678910

/linux/sound/soc/codecs/
H A Dcs35l56-sdw.c39 static int cs35l56_sdw_poll_mem_status(struct sdw_slave *peripheral, in cs35l56_sdw_poll_mem_status() argument
48 false, peripheral, CS35L56_SDW_MEM_ACCESS_STATUS); in cs35l56_sdw_poll_mem_status()
58 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 in cs35l56_sdw_slow_read()
103 struct sdw_slave *peripheral = context; cs35l56_sdw_read() local
133 struct sdw_slave *peripheral = context; cs35l56_sdw_gather_write() local
208 cs35l56_sdw_init(struct sdw_slave * peripheral) cs35l56_sdw_init() argument
240 cs35l56_sdw_interrupt(struct sdw_slave * peripheral,struct sdw_slave_intr_status * status) cs35l56_sdw_interrupt() argument
254 cs35l56_sdw_read_prop(struct sdw_slave * peripheral) cs35l56_sdw_read_prop() argument
297 cs35l56_sdw_update_status(struct sdw_slave * peripheral,enum sdw_slave_status status) cs35l56_sdw_update_status() argument
333 struct sdw_slave *peripheral = cs35l56->sdw_peripheral; cs35l56_sdw_handle_unattach() local
395 cs35l56_sdw_probe(struct sdw_slave * peripheral,const struct sdw_device_id * id) cs35l56_sdw_probe() argument
448 cs35l56_sdw_remove(struct sdw_slave * peripheral) cs35l56_sdw_remove() argument
[all...]
H A Dcs42l42-sdw.c202 static int cs42l42_sdw_poll_status(struct sdw_slave *peripheral, u8 mask, u8 match) in cs42l42_sdw_poll_status() argument
209 false, peripheral, CS42L42_SDW_MEM_ACCESS_STATUS); in cs42l42_sdw_poll_status()
214 dev_err(&peripheral->dev, "MEM_ACCESS_STATUS & %#x for %#x fail: %d\n", in cs42l42_sdw_poll_status()
222 struct sdw_slave *peripheral = context; in cs42l42_sdw_read() local
228 ret = cs42l42_sdw_poll_status(peripheral, CS42L42_SDW_CMD_IN_PROGRESS, 0); in cs42l42_sdw_read()
232 ret = sdw_read_no_pm(peripheral, reg); in cs42l42_sdw_read()
234 dev_err(&peripheral->dev, "Failed to issue read @0x%x: %d\n", reg, ret); in cs42l42_sdw_read()
239 ret = sdw_read_no_pm(peripheral, CS42L42_SDW_MEM_ACCESS_STATUS); in cs42l42_sdw_read()
241 dev_err(&peripheral->dev, "Failed to read MEM_ACCESS_STATUS: %d\n", ret); in cs42l42_sdw_read()
253 ret = cs42l42_sdw_poll_status(peripheral, in cs42l42_sdw_read()
[all …]
H A Dtas2783-sdw.c1401 static s32 tas_sdw_probe(struct sdw_slave *peripheral, in tas_sdw_probe() argument
1405 struct device *dev = &peripheral->dev; in tas_sdw_probe()
1410 ret = sdw_slave_read_prop(peripheral); in tas_sdw_probe()
1422 if (peripheral->sdca_data.num_functions > 0) { in tas_sdw_probe()
1423 dev_dbg(dev, "SDCA functions found: %d", peripheral->sdca_data.num_functions); in tas_sdw_probe()
1426 for (i = 0; i < peripheral->sdca_data.num_functions; i++) { in tas_sdw_probe()
1427 if (peripheral->sdca_data.function[i].type == in tas_sdw_probe()
1435 if (i >= 0 && i < peripheral->sdca_data.num_functions) { in tas_sdw_probe()
1443 function_data->desc = &peripheral->sdca_data.function[i]; in tas_sdw_probe()
1454 tas_dev->sdw_peripheral = peripheral; in tas_sdw_probe()
[all …]
H A Dtac5xx2-sdw.c1694 static struct pci_dev *tac_get_pci_dev(struct sdw_slave *peripheral) in tac_get_pci_dev() argument
1696 struct device *dev = &peripheral->dev; in tac_get_pci_dev()
1874 static int tac5xx2_sdw_read_prop(struct sdw_slave *peripheral) in tac5xx2_sdw_read_prop() argument
1876 struct device *dev = &peripheral->dev; in tac5xx2_sdw_read_prop()
1879 ret = sdw_slave_read_prop(peripheral); in tac5xx2_sdw_read_prop()
1928 static s32 tac_sdw_probe(struct sdw_slave *peripheral, in tac_sdw_probe() argument
1932 struct device *dev = &peripheral->dev; in tac_sdw_probe()
1942 if (peripheral->sdca_data.num_functions > 0) { in tac_sdw_probe()
1944 peripheral->sdca_data.num_functions); in tac_sdw_probe()
1946 for (i = 0; i < peripheral->sdca_data.num_functions; i++) { in tac_sdw_probe()
[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/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/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/drivers/i2c/busses/
H A Di2c-qcom-geni.c635 * @peripheral: Pointer to gpi_i2c_config
638 struct gpi_i2c_config *peripheral)
700 struct gpi_i2c_config *peripheral; in geni_i2c_gpi()
712 peripheral = config->peripheral_config; in geni_i2c_gpi()
722 peripheral->multi_msg = true; in geni_i2c_gpi()
757 peripheral->rx_len = msgs[msg_idx].len; in geni_i2c_gpi()
758 peripheral->op = op; in geni_i2c_gpi()
766 peripheral->set_config = 0; in geni_i2c_gpi()
767 peripheral->multi_msg = true; in geni_i2c_gpi()
843 struct gpi_i2c_config peripheral in geni_i2c_gpi_xfer()
609 geni_i2c_gpi_multi_desc_unmap(struct geni_i2c_dev * gi2c,struct i2c_msg msgs[],struct gpi_i2c_config * peripheral) geni_i2c_gpi_multi_desc_unmap() argument
671 struct gpi_i2c_config *peripheral; geni_i2c_gpi() local
814 struct gpi_i2c_config peripheral = {}; geni_i2c_gpi_xfer() local
[all...]
/linux/drivers/clk/qcom/
H A DKconfig39 Say Y if you want to use peripheral devices such as UART, SPI,
49 Say Y if you want to use peripheral devices such as USB/PCIe/UFS.
92 Say Y if you want to use peripheral devices such as UART, SPI,
111 Say Y if you want to use peripheral devices such as USB/PCIe/EDP.
152 Say Y if you want to use peripheral devices such as UART,
172 Say Y if you want to use peripheral devices such as PCIe, USB, UFS.
212 Say Y if you want to use peripheral devices such as UART,
233 Say Y if you want to use multimedia devices or peripheral
275 Say Y if you want to use peripheral devices such as UART, SPI, I2C,
295 Say Y if you want to use peripheral devices such as SD/UFS.
[all …]
/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/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/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/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";
/linux/Documentation/devicetree/bindings/usb/
H A Dux500-usb.txt7 - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral"
/linux/arch/arm64/boot/dts/marvell/
H A Dac5-98dx35xx-rd.dts65 /* USB1 is a peripheral USB */
70 dr_mode = "peripheral";
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am64.dtsi59 <0x00 0x01000000 0x00 0x01000000 0x00 0x02330400>, /* First peripheral window */
64 <0x00 0x0f000000 0x00 0x0f000000 0x00 0x00c44200>, /* Second peripheral window */
65 <0x00 0x20000000 0x00 0x20000000 0x00 0x0a008000>, /* Third peripheral window */
/linux/Documentation/driver-api/
H A Dsm501.rst27 peripheral set as platform devices for the specific drivers.
37 Each peripheral has a view of the device which is implicitly narrowed to
38 the specific set of resources that peripheral requires in order to
/linux/drivers/usb/isp1760/
H A DKconfig47 Select this if you want to use the ISP1760 in peripheral mode only.
58 peripheral modes.
/linux/Documentation/devicetree/bindings/dma/
H A Dimg-mdc-dma.txt11 - img,cr-periph: Must contain a phandle to the peripheral control syscon
17 - The first cell is the peripheral's DMA request line.
/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pic.c497 goto peripheral; in mpc52xx_get_irq()
502 goto peripheral; in mpc52xx_get_irq()
505 peripheral: in mpc52xx_get_irq()
/linux/drivers/usb/gadget/
H A DKconfig4 # (a) a peripheral controller, and
23 PC) controlling up to 127 peripheral devices.
25 you can't connect a "to-the-host" connector to a peripheral.
27 Linux can run in the host, or in the peripheral. In both cases
36 a USB peripheral device. Configure one hardware driver for your
37 peripheral/device side bus controller, and a "gadget driver" for
38 your peripheral protocol. (If you use modular gadget drivers,
83 (for a peripheral controller). The information in these
365 USB peripheral controller driver. Then you can use host-side

12345678910