Home
last modified time | relevance | path

Searched full:peripheral (Results 1 – 25 of 2162) sorted by relevance

12345678910>>...87

/kernel/linux/linux-6.6/sound/soc/codecs/
Dcs35l56-sdw.c26 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 …]
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 …]
/kernel/linux/linux-5.10/Documentation/driver-api/memory-devices/
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 …]
/kernel/linux/linux-6.6/Documentation/driver-api/memory-devices/
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dpistachio-clock.txt4 Pistachio has four clock controllers (core clock, peripheral clock, peripheral
44 Peripheral clock controller:
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
71 Peripheral general control:
74 The peripheral general control block generates system interface clocks and
75 resets for various peripherals. It also contains miscellaneous peripheral
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
Dpistachio-clock.txt4 Pistachio has four clock controllers (core clock, peripheral clock, peripheral
44 Peripheral clock controller:
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
71 Peripheral general control:
74 The peripheral general control block generates system interface clocks and
75 resets for various peripherals. It also contains miscellaneous peripheral
[all …]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
DKconfig4 # (a) a peripheral controller, and
18 # USB Peripheral Controller Support
27 menu "USB Peripheral Controller"
47 tristate "LPC32XX USB Peripheral Controller"
81 tristate "Broadcom BCM63xx Peripheral Controller"
92 tristate "Freescale Highspeed USB DR Peripheral Controller"
106 tristate "Faraday FUSB300 USB Peripheral Controller"
112 tristate "Aeroflex Gaisler GRUSBDC USB Peripheral Controller Driver"
159 tristate "Renesas R8A66597 USB Peripheral Controller"
162 R8A66597 is a discrete USB host and peripheral controller chip that
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
DKconfig4 # (a) a peripheral controller, and
18 # USB Peripheral Controller Support
27 menu "USB Peripheral Controller"
47 tristate "LPC32XX USB Peripheral Controller"
81 tristate "Broadcom BCM63xx Peripheral Controller"
92 tristate "Freescale Highspeed USB DR Peripheral Controller"
106 tristate "Faraday FUSB300 USB Peripheral Controller"
113 tristate "Faraday FOTG210 USB Peripheral Controller"
123 tristate "Aeroflex Gaisler GRUSBDC USB Peripheral Controller Driver"
171 tristate "Renesas R8A66597 USB Peripheral Controller"
[all …]
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-meson.c66 struct regmap *peripheral; /* peripheral registers */ member
71 .name = "peripheral-registers",
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()
[all …]
/kernel/linux/linux-6.6/drivers/rtc/
Drtc-meson.c66 struct regmap *peripheral; /* peripheral registers */ member
71 .name = "peripheral-registers",
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()
[all …]
/kernel/linux/linux-6.6/drivers/clk/qcom/
DKconfig109 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dimg,pdc-intc.txt27 shared SysWake interrupt, and remaining specifies shall be PDC peripheral
35 0-7: Peripheral interrupts
39 flags as follows (only 4 valid for peripheral interrupts):
74 <30 4 /* level */>, /* Peripheral 0 (RTC) */
75 <29 4 /* level */>, /* Peripheral 1 (IR) */
76 <31 4 /* level */>; /* Peripheral 2 (WDT) */
82 * An SoC peripheral that is wired through the PDC.
88 // Interrupt source Peripheral 0
89 interrupts = <0 /* Peripheral 0 (RTC) */
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dimg,pdc-intc.txt27 shared SysWake interrupt, and remaining specifies shall be PDC peripheral
35 0-7: Peripheral interrupts
39 flags as follows (only 4 valid for peripheral interrupts):
74 <30 4 /* level */>, /* Peripheral 0 (RTC) */
75 <29 4 /* level */>, /* Peripheral 1 (IR) */
76 <31 4 /* level */>; /* Peripheral 2 (WDT) */
82 * An SoC peripheral that is wired through the PDC.
88 // Interrupt source Peripheral 0
89 interrupts = <0 /* Peripheral 0 (RTC) */
/kernel/linux/linux-5.10/drivers/clk/qcom/
DKconfig89 Say Y if you want to use peripheral devices such as UART, SPI,
125 Say Y if you want to use peripheral devices such as UART, SPI,
132 Say Y if you want to use peripheral devices such as UART, SPI,
140 Say Y if you want to use peripheral devices such as UART, SPI,
155 Say Y if you want to use peripheral devices such as UART, SPI,
163 Say Y if you want to use peripheral devices such as UART, SPI,
186 Say Y if you want to use peripheral devices such as UART, SPI,
201 Say Y if you want to use peripheral devices such as UART, SPI,
225 Say Y if you want to use peripheral devices such as UART, SPI,
241 Say Y if you want to use peripheral devices such as UART, SPI,
[all …]
/kernel/linux/linux-5.10/include/linux/
Dqcom_scm.h72 extern int qcom_scm_pas_init_image(u32 peripheral, const void *metadata,
74 extern int qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr,
76 extern int qcom_scm_pas_auth_and_reset(u32 peripheral);
77 extern int qcom_scm_pas_shutdown(u32 peripheral);
78 extern bool qcom_scm_pas_supported(u32 peripheral);
126 static inline int qcom_scm_pas_init_image(u32 peripheral, const void *metadata, in qcom_scm_pas_init_image() argument
128 static inline int qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr, in qcom_scm_pas_mem_setup() argument
130 static inline int qcom_scm_pas_auth_and_reset(u32 peripheral) in qcom_scm_pas_auth_and_reset() argument
132 static inline int qcom_scm_pas_shutdown(u32 peripheral) { return -ENODEV; } in qcom_scm_pas_shutdown() argument
133 static inline bool qcom_scm_pas_supported(u32 peripheral) { return false; } in qcom_scm_pas_supported() argument
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/
Dmc-peripheral-props.yaml4 $id: http://devicetree.org/schemas/memory-controllers/mc-peripheral-props.yaml#
7 title: Peripheral-specific properties for a Memory Controller bus.
10 Many Memory Controllers need to add properties to peripheral devices.
13 to be defined in the peripheral node because they are per-peripheral
38 - $ref: intel,ixp4xx-expansion-peripheral-props.yaml#
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_mipi_dsi.c242 * @dsi: DSI peripheral device
369 * @dsi: DSI peripheral
391 * @dsi: DSI peripheral
419 * @dsi: DSI peripheral
583 * mipi_dsi_shutdown_peripheral() - sends a Shutdown Peripheral command
584 * @dsi: DSI peripheral device
603 * mipi_dsi_turn_on_peripheral() - sends a Turn On Peripheral command
604 * @dsi: DSI peripheral device
624 * the payload in a long packet transmitted from the peripheral back to the
626 * @dsi: DSI peripheral device
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/
Dsta2x11-mfd.h204 #define APBREG_PWAC 0x20 /* Peripheral Write Access Control reg */
205 #define APBREG_PRAC 0x40 /* Peripheral Read Access Control reg */
206 #define APBREG_PCG 0x60 /* Peripheral Clock Gating Reg */
207 #define APBREG_PUR 0x80 /* Peripheral Under Reset Reg */
208 #define APBREG_EMU_PCG 0xA0 /* Emulator Peripheral Clock Gating Reg */
216 #define APBREG_PWAC_SARAC 0x120 /* Peripheral Write Access Control reg */
217 #define APBREG_PRAC_SARAC 0x140 /* Peripheral Read Access Control reg */
218 #define APBREG_PCG_SARAC 0x160 /* Peripheral Clock Gating Reg */
219 #define APBREG_PUR_SARAC 0x180 /* Peripheral Under Reset Reg */
220 #define APBREG_EMU_PCG_SARAC 0x1A0 /* Emulator Peripheral Clock Gating Reg */
[all …]
/kernel/linux/linux-6.6/include/linux/mfd/
Dsta2x11-mfd.h204 #define APBREG_PWAC 0x20 /* Peripheral Write Access Control reg */
205 #define APBREG_PRAC 0x40 /* Peripheral Read Access Control reg */
206 #define APBREG_PCG 0x60 /* Peripheral Clock Gating Reg */
207 #define APBREG_PUR 0x80 /* Peripheral Under Reset Reg */
208 #define APBREG_EMU_PCG 0xA0 /* Emulator Peripheral Clock Gating Reg */
216 #define APBREG_PWAC_SARAC 0x120 /* Peripheral Write Access Control reg */
217 #define APBREG_PRAC_SARAC 0x140 /* Peripheral Read Access Control reg */
218 #define APBREG_PCG_SARAC 0x160 /* Peripheral Clock Gating Reg */
219 #define APBREG_PUR_SARAC 0x180 /* Peripheral Under Reset Reg */
220 #define APBREG_EMU_PCG_SARAC 0x1A0 /* Emulator Peripheral Clock Gating Reg */
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
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.
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.
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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.
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.

12345678910>>...87