Home
last modified time | relevance | path

Searched refs:controller (Results 1 – 25 of 2878) sorted by relevance

12345678910>>...116

/linux-6.1.9/drivers/spi/
Dspi-qup.c156 static inline bool spi_qup_is_flag_set(struct spi_qup *controller, u32 flag) in spi_qup_is_flag_set() argument
158 u32 opflag = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_is_flag_set()
172 static inline unsigned int spi_qup_len(struct spi_qup *controller) in spi_qup_len() argument
174 return controller->n_words * controller->w_size; in spi_qup_len()
177 static inline bool spi_qup_is_valid_state(struct spi_qup *controller) in spi_qup_is_valid_state() argument
179 u32 opstate = readl_relaxed(controller->base + QUP_STATE); in spi_qup_is_valid_state()
184 static int spi_qup_set_state(struct spi_qup *controller, u32 state) in spi_qup_set_state() argument
190 while (!spi_qup_is_valid_state(controller)) { in spi_qup_set_state()
199 dev_dbg(controller->dev, "invalid state for %ld,us %d\n", in spi_qup_set_state()
202 cur_state = readl_relaxed(controller->base + QUP_STATE); in spi_qup_set_state()
[all …]
Dspi-pxa2xx-dma.c23 struct spi_message *msg = drv_data->controller->cur_msg; in pxa2xx_spi_dma_transfer_complete()
52 spi_finalize_current_transfer(drv_data->controller); in pxa2xx_spi_dma_transfer_complete()
67 spi_get_ctldata(drv_data->controller->cur_msg->spi); in pxa2xx_spi_dma_prepare_one()
95 chan = drv_data->controller->dma_tx; in pxa2xx_spi_dma_prepare_one()
102 chan = drv_data->controller->dma_rx; in pxa2xx_spi_dma_prepare_one()
123 dmaengine_terminate_async(drv_data->controller->dma_rx); in pxa2xx_spi_dma_transfer()
124 dmaengine_terminate_async(drv_data->controller->dma_tx); in pxa2xx_spi_dma_transfer()
162 dmaengine_terminate_async(drv_data->controller->dma_tx); in pxa2xx_spi_dma_prepare()
169 dma_async_issue_pending(drv_data->controller->dma_rx); in pxa2xx_spi_dma_start()
170 dma_async_issue_pending(drv_data->controller->dma_tx); in pxa2xx_spi_dma_start()
[all …]
Dspi-fsl-lpspi.c174 static bool fsl_lpspi_can_dma(struct spi_controller *controller, in fsl_lpspi_can_dma() argument
180 if (!controller->dma_rx) in fsl_lpspi_can_dma()
197 static int lpspi_prepare_xfer_hardware(struct spi_controller *controller) in lpspi_prepare_xfer_hardware() argument
200 spi_controller_get_devdata(controller); in lpspi_prepare_xfer_hardware()
212 static int lpspi_unprepare_xfer_hardware(struct spi_controller *controller) in lpspi_unprepare_xfer_hardware() argument
215 spi_controller_get_devdata(controller); in lpspi_unprepare_xfer_hardware()
331 static int fsl_lpspi_dma_configure(struct spi_controller *controller) in fsl_lpspi_dma_configure() argument
337 spi_controller_get_devdata(controller); in fsl_lpspi_dma_configure()
357 ret = dmaengine_slave_config(controller->dma_tx, &tx); in fsl_lpspi_dma_configure()
368 ret = dmaengine_slave_config(controller->dma_rx, &rx); in fsl_lpspi_dma_configure()
[all …]
/linux-6.1.9/drivers/usb/musb/
Dmusb_cppi41.c37 struct dma_controller controller; member
61 if (!is_host_active(cppi41_channel->controller->controller.musb)) in save_rx_toggle()
187 struct cppi41_dma_controller *controller; in cppi41_recheck_tx_req() local
193 controller = container_of(timer, struct cppi41_dma_controller, in cppi41_recheck_tx_req()
195 musb = controller->controller.musb; in cppi41_recheck_tx_req()
198 list_for_each_entry_safe(cppi41_channel, n, &controller->early_tx_list, in cppi41_recheck_tx_req()
210 if (!list_empty(&controller->early_tx_list) && in cppi41_recheck_tx_req()
211 !hrtimer_is_queued(&controller->early_tx)) { in cppi41_recheck_tx_req()
213 hrtimer_forward_now(&controller->early_tx, 20 * NSEC_PER_USEC); in cppi41_recheck_tx_req()
226 struct cppi41_dma_controller *controller; in cppi41_dma_callback() local
[all …]
Dmusbhsdma.c55 struct musb_dma_controller *controller; member
65 struct dma_controller controller; member
76 static void dma_controller_stop(struct musb_dma_controller *controller) in dma_controller_stop() argument
78 struct musb *musb = controller->private_data; in dma_controller_stop()
82 if (controller->used_channels != 0) { in dma_controller_stop()
83 dev_err(musb->controller, in dma_controller_stop()
87 if (controller->used_channels & (1 << bit)) { in dma_controller_stop()
88 channel = &controller->channel[bit].channel; in dma_controller_stop()
91 if (!controller->used_channels) in dma_controller_stop()
101 struct musb_dma_controller *controller = container_of(c, in dma_channel_allocate() local
[all …]
Dux500_dma.c32 struct ux500_dma_controller *controller; member
43 struct dma_controller controller; member
59 dev_dbg(musb->controller, "DMA rx transfer done on hw_ep=%d\n", in ux500_dma_callback()
82 struct musb *musb = ux500_channel->controller->private_data; in ux500_configure_channel()
84 ux500_channel->controller->phy_base); in ux500_configure_channel()
86 dev_dbg(musb->controller, in ux500_configure_channel()
131 struct ux500_dma_controller *controller = container_of(c, in ux500_dma_channel_allocate() local
132 struct ux500_dma_controller, controller); in ux500_dma_channel_allocate()
134 struct musb *musb = controller->private_data; in ux500_dma_channel_allocate()
147 ux500_channel = is_tx ? &(controller->tx_channel[ch_num]) : in ux500_dma_channel_allocate()
[all …]
Dcppi_dma.c119 c->controller = cppi; in cppi_pool_init()
138 struct cppi *cppi = c->controller; in cppi_pool_free()
143 c->controller = NULL; in cppi_pool_free()
155 static void cppi_controller_start(struct cppi *controller) in cppi_controller_start() argument
161 for (i = 0; i < ARRAY_SIZE(controller->tx); i++) { in cppi_controller_start()
162 controller->tx[i].transmit = true; in cppi_controller_start()
163 controller->tx[i].index = i; in cppi_controller_start()
165 for (i = 0; i < ARRAY_SIZE(controller->rx); i++) { in cppi_controller_start()
166 controller->rx[i].transmit = false; in cppi_controller_start()
167 controller->rx[i].index = i; in cppi_controller_start()
[all …]
/linux-6.1.9/drivers/peci/
Dcore.c21 struct peci_controller *controller = to_peci_controller(dev); in peci_controller_dev_release() local
23 mutex_destroy(&controller->bus_lock); in peci_controller_dev_release()
24 ida_free(&peci_controller_ida, controller->id); in peci_controller_dev_release()
25 kfree(controller); in peci_controller_dev_release()
32 int peci_controller_scan_devices(struct peci_controller *controller) in peci_controller_scan_devices() argument
38 ret = peci_device_create(controller, addr); in peci_controller_scan_devices()
49 struct peci_controller *controller; in peci_controller_alloc() local
55 controller = kzalloc(sizeof(*controller), GFP_KERNEL); in peci_controller_alloc()
56 if (!controller) in peci_controller_alloc()
62 controller->id = ret; in peci_controller_alloc()
[all …]
/linux-6.1.9/drivers/gpio/
Dgpio-zevio.c77 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_get() local
80 spin_lock(&controller->lock); in zevio_gpio_get()
81 dir = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_DIRECTION); in zevio_gpio_get()
83 val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_INPUT); in zevio_gpio_get()
85 val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_OUTPUT); in zevio_gpio_get()
86 spin_unlock(&controller->lock); in zevio_gpio_get()
93 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_set() local
96 spin_lock(&controller->lock); in zevio_gpio_set()
97 val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_OUTPUT); in zevio_gpio_set()
103 zevio_gpio_port_set(controller, pin, ZEVIO_GPIO_OUTPUT, val); in zevio_gpio_set()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/powerpc/fsl/
Dl2cache.txt9 "fsl,b4420-l2-cache-controller"
10 "fsl,b4860-l2-cache-controller"
11 "fsl,bsc9131-l2-cache-controller"
12 "fsl,bsc9132-l2-cache-controller"
13 "fsl,c293-l2-cache-controller"
14 "fsl,mpc8536-l2-cache-controller"
15 "fsl,mpc8540-l2-cache-controller"
16 "fsl,mpc8541-l2-cache-controller"
17 "fsl,mpc8544-l2-cache-controller"
18 "fsl,mpc8548-l2-cache-controller"
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/memory-controllers/fsl/
Dfsl,ddr.yaml7 title: Freescale DDR memory controller
15 pattern: "^memory-controller@[0-9a-f]+$"
21 - fsl,qoriq-memory-controller-v4.4
22 - fsl,qoriq-memory-controller-v4.5
23 - fsl,qoriq-memory-controller-v4.7
24 - fsl,qoriq-memory-controller-v5.0
25 - const: fsl,qoriq-memory-controller
27 - fsl,bsc9132-memory-controller
28 - fsl,mpc8536-memory-controller
29 - fsl,mpc8540-memory-controller
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dexynos5410-pinctrl.dtsi13 gpio-controller;
16 interrupt-controller;
21 gpio-controller;
24 interrupt-controller;
29 gpio-controller;
32 interrupt-controller;
37 gpio-controller;
40 interrupt-controller;
45 gpio-controller;
48 interrupt-controller;
[all …]
/linux-6.1.9/arch/arm64/boot/dts/tesla/
Dfsd-pinctrl.dtsi15 gpio-controller;
18 interrupt-controller;
23 gpio-controller;
26 interrupt-controller;
31 gpio-controller;
34 interrupt-controller;
39 gpio-controller;
42 interrupt-controller;
47 gpio-controller;
50 interrupt-controller;
[all …]
/linux-6.1.9/drivers/pci/hotplug/
Dpciehp.h88 struct controller { struct
160 void pciehp_request(struct controller *ctrl, int action);
161 void pciehp_handle_button_press(struct controller *ctrl);
162 void pciehp_handle_disable_request(struct controller *ctrl);
163 void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events);
164 int pciehp_configure_device(struct controller *ctrl);
165 void pciehp_unconfigure_device(struct controller *ctrl, bool presence);
167 struct controller *pcie_init(struct pcie_device *dev);
168 int pcie_init_notification(struct controller *ctrl);
169 void pcie_shutdown_notification(struct controller *ctrl);
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/diag/
Dsf_tracepoint.h17 u32 controller,
20 TP_ARGS(dev, port_index, controller, hw_fn_id, sfnum),
23 __field(u32, controller)
29 __entry->controller = controller;
34 __get_str(devname), __entry->port_index, __entry->controller,
41 u32 controller,
43 TP_ARGS(dev, port_index, controller, hw_fn_id),
46 __field(u32, controller)
51 __entry->controller = controller;
55 __get_str(devname), __entry->port_index, __entry->controller,
[all …]
/linux-6.1.9/arch/arm64/boot/dts/exynos/
Dexynos7-pinctrl.dtsi16 gpio-controller;
19 interrupt-controller;
33 gpio-controller;
36 interrupt-controller;
50 gpio-controller;
53 interrupt-controller;
58 gpio-controller;
61 interrupt-controller;
68 gpio-controller;
71 interrupt-controller;
[all …]
Dexynos5433-pinctrl.dtsi33 gpio-controller;
36 interrupt-controller;
50 gpio-controller;
53 interrupt-controller;
67 gpio-controller;
70 interrupt-controller;
75 gpio-controller;
78 interrupt-controller;
83 gpio-controller;
86 interrupt-controller;
[all …]
/linux-6.1.9/arch/arm64/boot/dts/apple/
Dt8103-pmgr.dtsi10 ps_sbr: power-controller@100 {
19 ps_aic: power-controller@108 {
28 ps_dwi: power-controller@110 {
37 ps_soc_spmi0: power-controller@118 {
45 ps_soc_spmi1: power-controller@120 {
53 ps_soc_spmi2: power-controller@128 {
61 ps_gpio: power-controller@130 {
69 ps_pms_busif: power-controller@138 {
78 ps_pms: power-controller@140 {
87 ps_pms_fpwm0: power-controller@148 {
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/gpio/
Dgpio-mxs.yaml7 title: Freescale MXS GPIO controller
14 The Freescale MXS GPIO controller is part of MXS PIN controller.
16 As the GPIO controller is embedded in the PIN controller and all the
17 GPIO ports share the same IO space with PIN controller, the GPIO node
50 interrupt-controller: true
58 gpio-controller: true
64 - interrupt-controller
67 - gpio-controller
91 gpio-controller;
93 interrupt-controller;
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/pci/
Dpci-msi.txt23 Documentation/devicetree/bindings/interrupt-controller/msi.txt.
32 - msi-map: Maps a Requester ID to an MSI controller and associated
34 (rid-base,msi-controller,msi-base,length), where:
38 * msi-controller is a single phandle to an MSI controller
47 the listed msi-controller, with the msi-specifier (r - rid-base + msi-base).
53 the root complex and MSI controller do not pass sideband data with MSI
54 writes, this property may be used to describe the MSI controller(s)
66 msi: msi-controller@a {
68 compatible = "vendor,some-controller";
69 msi-controller;
[all …]
/linux-6.1.9/drivers/pci/controller/dwc/
DKconfig21 tristate "TI DRA7xx PCIe controller Host Mode"
29 Enables support for the PCIe controller in the DRA7xx SoC to work in
30 host mode. There are two instances of PCIe controller in DRA7xx.
31 This controller can work either as EP or RC. In order to enable
37 tristate "TI DRA7xx PCIe controller Endpoint Mode"
44 Enables support for the PCIe controller in the DRA7xx SoC to work in
45 endpoint mode. There are two instances of PCIe controller in DRA7xx.
46 This controller can work either as EP or RC. In order to enable
60 Enables support for the PCIe controller in the Designware IP to
61 work in host mode. There are two instances of PCIe controller in
[all …]
/linux-6.1.9/drivers/char/agp/
Dfrontend.c295 struct agp_controller *controller; in agp_find_controller_by_pid() local
297 controller = agp_fe.controllers; in agp_find_controller_by_pid()
299 while (controller != NULL) { in agp_find_controller_by_pid()
300 if (controller->pid == id) in agp_find_controller_by_pid()
301 return controller; in agp_find_controller_by_pid()
302 controller = controller->next; in agp_find_controller_by_pid()
310 struct agp_controller *controller; in agp_create_controller() local
312 controller = kzalloc(sizeof(struct agp_controller), GFP_KERNEL); in agp_create_controller()
313 if (controller == NULL) in agp_create_controller()
316 controller->pid = id; in agp_create_controller()
[all …]
/linux-6.1.9/arch/powerpc/boot/dts/
Dmucmc52.dts13 &gpt0 { gpio-controller; };
14 &gpt1 { gpio-controller; };
15 &gpt2 { gpio-controller; };
16 &gpt3 { gpio-controller; };
160 simple100: gpio-controller-100@3,600100 {
163 gpio-controller;
166 simple104: gpio-controller-104@3,600104 {
169 gpio-controller;
172 simple200: gpio-controller-200@3,600200 {
175 gpio-controller;
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/arm/mediatek/
Dmediatek,mt8195-clock.yaml68 scp_adsp: clock-controller@10720000 {
75 imp_iic_wrap_s: clock-controller@11d03000 {
82 imp_iic_wrap_w: clock-controller@11e05000 {
89 mfgcfg: clock-controller@13fbf000 {
96 vppsys0: clock-controller@14000000 {
103 wpesys: clock-controller@14e00000 {
110 wpesys_vpp0: clock-controller@14e02000 {
117 wpesys_vpp1: clock-controller@14e03000 {
124 vppsys1: clock-controller@14f00000 {
131 imgsys: clock-controller@15000000 {
[all …]
/linux-6.1.9/drivers/mtd/nand/raw/brcmnand/
DKconfig2 tristate "Broadcom STB NAND controller"
6 Enables the Broadcom NAND controller driver. The controller was
13 tristate "Broadcom BCM63xx NAND controller glue"
16 Enables the BRCMNAND glue driver to register the NAND controller
20 tristate "Broadcom BCMA NAND controller"
24 Enables the BRCMNAND controller over BCMA on BCM47186/BCM5358 SoCs.
26 operations to interface the BRCMNAND controller over the BCMA bus.
29 tristate "Broadcom BCMBCA NAND controller glue"
32 Enables the BRCMNAND glue driver to register the NAND controller
36 tristate "Broadcom STB Nand controller glue"
[all …]

12345678910>>...116