Home
last modified time | relevance | path

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

12345678910>>...40

/linux/sound/soc/codecs/
H A Dcs35l56-sdw.c43 static int cs35l56_sdw_poll_mem_status(struct sdw_slave *peripheral, in cs35l56_sdw_poll_mem_status()
52 false, peripheral, CS35L56_SDW_MEM_ACCESS_STATUS); in cs35l56_sdw_poll_mem_status()
62 static int cs35l56_sdw_slow_read(struct sdw_slave *peripheral, unsigned int reg, in cs35l56_sdw_slow_read()
69 ret = cs35l56_sdw_poll_mem_status(peripheral, in cs35l56_sdw_slow_read()
73 dev_err(&peripheral->dev, "!CMD_IN_PROGRESS fail: %d\n", ret); in cs35l56_sdw_slow_read()
78 sdw_read_no_pm(peripheral, reg + i); in cs35l56_sdw_slow_read()
81 ret = cs35l56_sdw_poll_mem_status(peripheral, in cs35l56_sdw_slow_read()
85 dev_err(&peripheral->dev, "RDATA_RDY fail: %d\n", ret); in cs35l56_sdw_slow_read()
90 ret = sdw_nread_no_pm(peripheral, CS35L56_SDW_MEM_READ_DATA, in cs35l56_sdw_slow_read()
93 dev_err(&peripheral in cs35l56_sdw_slow_read()
39 cs35l56_sdw_poll_mem_status(struct sdw_slave * peripheral,unsigned int mask,unsigned int match) cs35l56_sdw_poll_mem_status() argument
58 cs35l56_sdw_slow_read(struct sdw_slave * peripheral,unsigned int reg,u8 * buf,size_t val_size) cs35l56_sdw_slow_read() argument
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
302 cs35l56_sdw_update_status(struct sdw_slave * peripheral,enum sdw_slave_status status) cs35l56_sdw_update_status() argument
338 struct sdw_slave *peripheral = cs35l56->sdw_peripheral; cs35l56_sdw_handle_unattach() local
400 cs35l56_sdw_probe(struct sdw_slave * peripheral,const struct sdw_device_id * id) cs35l56_sdw_probe() argument
453 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()
272 struct sdw_slave *peripheral = context; cs42l42_sdw_write() local
283 cs42l42_sdw_init(struct sdw_slave * peripheral) cs42l42_sdw_init() argument
309 cs42l42_sdw_read_prop(struct sdw_slave * peripheral) cs42l42_sdw_read_prop() argument
339 cs42l42_sdw_update_status(struct sdw_slave * peripheral,enum sdw_slave_status status) cs42l42_sdw_update_status() argument
385 cs42l42_sdw_bus_config(struct sdw_slave * peripheral,struct sdw_bus_params * params) cs42l42_sdw_bus_config() argument
434 struct sdw_slave *peripheral = cs42l42->sdw_peripheral; cs42l42_sdw_handle_unattach() local
522 cs42l42_sdw_probe(struct sdw_slave * peripheral,const struct sdw_device_id * id) cs42l42_sdw_probe() argument
594 cs42l42_sdw_remove(struct sdw_slave * peripheral) cs42l42_sdw_remove() argument
[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/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/drivers/firmware/qcom/
H A Dqcom_pas.c18 * devm_qcom_pas_context_alloc() - Allocate peripheral authentication service
19 * context for a given peripheral
25 * @pas_id: peripheral authentication service id
52 * qcom_pas_init_image() - Initialize peripheral authentication service state
53 * machine for a given peripheral, using the metadata
54 * @pas_id: peripheral authentication service id
91 * qcom_pas_mem_setup() - Prepare the memory related to a given peripheral
93 * @pas_id: peripheral authentication service id
110 * for a given peripheral.
164 * qcom_pas_auth_and_reset() - Authenticate the given peripheral firmwar
[all...]
H A Dqcom_pas.h12 * struct qcom_pas_ops - Qcom Peripheral Authentication Service (PAS) ops
15 * @supported: Peripheral supported callback.
16 * @init_image: Peripheral image initialization callback.
17 * @mem_setup: Peripheral memory setup callback.
18 * @get_rsc_table: Peripheral get resource table callback.
19 * @prepare_and_auth_reset: Peripheral prepare firmware authentication and
21 * @auth_and_reset: Peripheral firmware authentication and reset
23 * @set_remote_state: Peripheral set remote state callback.
24 * @shutdown: Peripheral shutdown callback.
/linux/drivers/rtc/
H A Drtc-meson.c65 struct regmap *peripheral; /* peripheral registers */ member
70 .name = "peripheral-registers",
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_ADDR in meson_rtc_get_data()
[all...]
/linux/drivers/clk/qcom/
H A DKconfig50 Say Y if you want to use peripheral devices such as UART, SPI,
70 Say Y if you want to use peripheral devices such as USB/PCIe/UFS.
122 Say Y if you want to use peripheral devices such as UART, SPI,
142 Say Y if you want to use peripheral devices such as USB/PCIe/EDP.
183 Say Y if you want to use peripheral devices such as UART,
203 Say Y if you want to use peripheral devices such as PCIe, USB, UFS.
222 Say Y if you want to use peripheral devices such as UART, SPI,
265 Say Y if you want to use peripheral devices such as UART,
286 Say Y if you want to use peripheral devices such as PCIe, USB, UFS etc.
316 Say Y if you want to use multimedia devices or peripheral
[all...]
/linux/include/linux/platform_data/
H A Dsh_mmcif.h16 * 1000 : Peripheral clock / 512
17 * 0111 : Peripheral clock / 256
18 * 0110 : Peripheral clock / 128
19 * 0101 : Peripheral clock / 64
20 * 0100 : Peripheral clock / 32
21 * 0011 : Peripheral clock / 16
22 * 0010 : Peripheral clock / 8
23 * 0001 : Peripheral clock / 4
24 * 0000 : Peripheral clock / 2
25 * 1111 : Peripheral clock (sup_pclk set '1')
/linux/Documentation/devicetree/bindings/iommu/
H A Dsamsung,sysmmu.yaml14 physical memory chunks visible as a contiguous region to DMA-capable peripheral
23 System MMUs are in many to one relation with peripheral devices, i.e. single
24 peripheral device might have multiple System MMUs (usually one for each bus
25 master), but one System MMU can handle transactions from only one peripheral
26 device. The relation between a System MMU and the peripheral device needs to be
27 defined in device node of the peripheral device.
37 For information on assigning System MMU controller to its peripheral devices,
/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/net/wireless/intel/iwlwifi/pcie/
H A Diwl-context-info-v2.h
/linux/Documentation/devicetree/bindings/phy/
H A Dhisilicon,hix5hd2-sata-phy.yaml22 hisilicon,peripheral-syscon:
23 description: Phandle of syscon used to control peripheral
27 … description: Offset and bit number within peripheral-syscon register controlling SATA power supply
30 - description: Offset within peripheral-syscon register
46 hisilicon,peripheral-syscon = <&peripheral_ctrl>;
H A Dnvidia,tegra210-xusb-padctl.yaml365 enum: [ host, peripheral, otg ]
376 supports OTG or peripheral mode. If present, the port
377 supports switching between USB host and peripheral roles.
403 enum: [ host, peripheral, otg ]
414 supports OTG or peripheral mode. If present, the port
415 supports switching between USB host and peripheral roles.
441 enum: [ host, peripheral, otg ]
452 supports OTG or peripheral mode. If present, the port
453 supports switching between USB host and peripheral roles.
479 enum: [ host, peripheral, otg ]
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dst,stm32mp21-rcc.yaml98 - description: CK_SCMI_ICN_APB1 Peripheral bridge 1
99 - description: CK_SCMI_ICN_APB2 Peripheral bridge 2
100 - description: CK_SCMI_ICN_APB3 Peripheral bridge 3
101 - description: CK_SCMI_ICN_APB4 Peripheral bridge 4
102 - description: CK_SCMI_ICN_APB5 Peripheral bridge 5
103 - description: CK_SCMI_ICN_APBDBG Peripheral bridge for debug
104 - description: CK_SCMI_TIMG1 Peripheral bridge for timer1
105 - description: CK_SCMI_TIMG2 Peripheral bridge for timer2
H A Dst,stm32mp25-rcc.yaml107 - description: CK_SCMI_ICN_APB1 Peripheral bridge 1
108 - description: CK_SCMI_ICN_APB2 Peripheral bridge 2
109 - description: CK_SCMI_ICN_APB3 Peripheral bridge 3
110 - description: CK_SCMI_ICN_APB4 Peripheral bridge 4
111 - description: CK_SCMI_ICN_APBDBG Peripheral bridge for debug
112 - description: CK_SCMI_TIMG1 Peripheral bridge for timer1
113 - description: CK_SCMI_TIMG2 Peripheral bridge for timer2
/linux/Documentation/driver-api/soundwire/
H A Dbra.rst35 (3) The targeted Peripheral device SHALL support the optional Data
67 peripheral to deal with the previous transfer. In addition BRA
84 (1) A CRC on the 7-byte header. This CRC helps the Peripheral Device
86 bytes. The Peripheral Device provides a response in Byte 7.
152 In the case of multiple Peripheral devices attached to different
163 (1) Transfers initiated by a Peripheral Device. The BRA Initiator is
174 packet the header and footer response are provided by the Peripheral
175 Target device. On the Peripheral device, the BRA protocol is handled
182 (Host->Peripheral and Peripheral->Host). The amount of data
248 Peripheral/bus interface
[all …]
/linux/Documentation/devicetree/bindings/display/panel/
H A Dsharp,lq101r1sx01.yaml17 Each of the DSI channels controls a separate DSI peripheral. The peripheral
19 peripheral and controls the device. The 'link2' property contains a phandle
20 to the peripheral driven by the second link (DSI-LINK2, right or odd).
49 phandle to the DSI peripheral on the secondary link. Note that the
H A Djdi,lpm102a188a.yaml17 Each of the DSI channels controls a separate DSI peripheral. The peripheral
18 driven by the first link (DSI-LINK1) is considered the primary peripheral
20 peripheral driven by the second link (DSI-LINK2).
43 phandle to the DSI peripheral on the secondary link. Note that the
/linux/Documentation/userspace-api/media/
H A Dglossary.rst70 Hardware Peripheral
72 together make a larger user-facing functional peripheral. For
75 peripheral.
77 Also known as :term:`Peripheral`.
157 Peripheral
158 The same as :term:`Hardware Peripheral`.
172 **Serial Peripheral Interface Bus**
/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-atr.yaml27 addresses must be available, not used by any other peripheral. Each
28 remote peripheral is assigned an alias from the pool, and transactions to
29 that address will be forwarded to the remote peripheral, with the address
30 translated to the remote peripheral's real address. This property is not
/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pic.c25 * three groups called 'critical', 'main', and 'peripheral'. The critical
28 * gpios, and the general purpose timers. Peripheral group contains the
56 * bestcomm interrupt occurs (peripheral group, irq 0) this driver determines
470 * 'peripheral'. This function reads the status register and returns the IRQ
473 * then 'peripheral'.
476 * of individual 'peripheral' interrupts. If this is the case then a special
478 * or medium priority peripheral irq has occurred.
484 * bestcomm DMA task can raise the bestcomm peripheral interrupt. When this
496 if (irq == 2) /* high priority peripheral */ in mpc52xx_get_irq()
497 goto peripheral; in mpc52xx_get_irq()
[all …]
/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
29 talking to it. Peripheral controllers are often discrete silicon,
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
/linux/drivers/i2c/busses/
H A Di2c-qcom-geni.c649 * @peripheral: Pointer to gpi_i2c_config in geni_i2c_gpi_multi_desc_unmap()
652 struct gpi_i2c_config *peripheral) in geni_i2c_gpi_multi_desc_unmap()
714 struct gpi_i2c_config *peripheral; in geni_i2c_gpi()
726 peripheral = config->peripheral_config; in geni_i2c_gpi()
736 peripheral->multi_msg = true; in geni_i2c_gpi()
771 peripheral->rx_len = msgs[msg_idx].len; in geni_i2c_gpi()
772 peripheral->op = op; in geni_i2c_gpi()
780 peripheral->set_config = 0; in geni_i2c_gpi()
781 peripheral->multi_msg = true; in geni_i2c_gpi()
873 struct gpi_i2c_config peripheral in geni_i2c_gpi_xfer()
641 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
703 struct gpi_i2c_config *peripheral; geni_i2c_gpi() local
846 struct gpi_i2c_config peripheral = {}; geni_i2c_gpi_xfer() local
[all...]

12345678910>>...40