Home
last modified time | relevance | path

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

12345678910>>...152

/linux-6.6.21/drivers/spi/ !
Dspi-qup.c155 static inline bool spi_qup_is_flag_set(struct spi_qup *controller, u32 flag) in spi_qup_is_flag_set() argument
157 u32 opflag = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_is_flag_set()
171 static inline unsigned int spi_qup_len(struct spi_qup *controller) in spi_qup_len() argument
173 return controller->n_words * controller->w_size; in spi_qup_len()
176 static inline bool spi_qup_is_valid_state(struct spi_qup *controller) in spi_qup_is_valid_state() argument
178 u32 opstate = readl_relaxed(controller->base + QUP_STATE); in spi_qup_is_valid_state()
183 static int spi_qup_set_state(struct spi_qup *controller, u32 state) in spi_qup_set_state() argument
189 while (!spi_qup_is_valid_state(controller)) { in spi_qup_set_state()
198 dev_dbg(controller->dev, "invalid state for %ld,us %d\n", in spi_qup_set_state()
201 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.c173 static bool fsl_lpspi_can_dma(struct spi_controller *controller, in fsl_lpspi_can_dma() argument
179 if (!controller->dma_rx) in fsl_lpspi_can_dma()
196 static int lpspi_prepare_xfer_hardware(struct spi_controller *controller) in lpspi_prepare_xfer_hardware() argument
199 spi_controller_get_devdata(controller); in lpspi_prepare_xfer_hardware()
211 static int lpspi_unprepare_xfer_hardware(struct spi_controller *controller) in lpspi_unprepare_xfer_hardware() argument
214 spi_controller_get_devdata(controller); in lpspi_unprepare_xfer_hardware()
336 static int fsl_lpspi_dma_configure(struct spi_controller *controller) in fsl_lpspi_dma_configure() argument
342 spi_controller_get_devdata(controller); in fsl_lpspi_dma_configure()
362 ret = dmaengine_slave_config(controller->dma_tx, &tx); in fsl_lpspi_dma_configure()
373 ret = dmaengine_slave_config(controller->dma_rx, &rx); in fsl_lpspi_dma_configure()
[all …]
Dspi-loongson-core.c34 struct loongson_spi *loongson_spi = spi_controller_get_devdata(spi->controller); in loongson_spi_set_cs()
93 loongson_spi = spi_controller_get_devdata(spi->controller); in loongson_spi_setup()
97 if (spi_get_chipselect(spi, 0) >= spi->controller->num_chipselect) in loongson_spi_setup()
110 struct loongson_spi *loongson_spi = spi_controller_get_devdata(spi->controller); in loongson_spi_write_read_8bit()
161 struct loongson_spi *loongson_spi = spi_controller_get_devdata(spi->controller); in loongson_spi_transfer_one()
197 struct spi_controller *controller; in loongson_spi_init_controller() local
201 controller = devm_spi_alloc_host(dev, sizeof(struct loongson_spi)); in loongson_spi_init_controller()
202 if (controller == NULL) in loongson_spi_init_controller()
205 controller->mode_bits = SPI_MODE_X_MASK | SPI_CS_HIGH; in loongson_spi_init_controller()
206 controller->setup = loongson_spi_setup; in loongson_spi_init_controller()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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.6.21/Documentation/devicetree/bindings/cache/ !
Dfreescale-l2cache.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.6.21/drivers/gpio/ !
Dgpio-zevio.c79 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_get() local
82 spin_lock(&controller->lock); in zevio_gpio_get()
83 dir = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_DIRECTION); in zevio_gpio_get()
85 val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_INPUT); in zevio_gpio_get()
87 val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_OUTPUT); in zevio_gpio_get()
88 spin_unlock(&controller->lock); in zevio_gpio_get()
95 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_set() local
98 spin_lock(&controller->lock); in zevio_gpio_set()
99 val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_OUTPUT); in zevio_gpio_set()
105 zevio_gpio_port_set(controller, pin, ZEVIO_GPIO_OUTPUT, val); in zevio_gpio_set()
[all …]
/linux-6.6.21/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.6.21/arch/arm/boot/dts/samsung/ !
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.6.21/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.6.21/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.6.21/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.6.21/drivers/pci/controller/dwc/ !
DKconfig18 bool "Amazon Annapurna Labs PCIe controller"
25 controller IP on Amazon SoCs. The PCIe controller uses the DesignWare
28 Annapurna Labs PCIe controller don't need to enable this.
31 tristate "Amlogic Meson PCIe controller"
36 Say Y here if you want to enable PCI controller support on Amlogic
37 SoCs. The PCI controller on Amlogic is based on DesignWare hardware
45 bool "Axis ARTPEC-6 PCIe controller (host mode)"
51 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
55 bool "Axis ARTPEC-6 PCIe controller (endpoint mode)"
61 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
[all …]
/linux-6.6.21/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.6.21/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 …]
Dt8112-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_gpio: power-controller@120 {
53 ps_pms_busif: power-controller@128 {
62 ps_pms: power-controller@130 {
71 ps_pms_c1ppt: power-controller@160 {
80 ps_soc_dpe: power-controller@168 {
89 ps_pmgr_soc_ocla: power-controller@170 {
[all …]
Dt600x-pmgr.dtsi9 DIE_NODE(ps_pms_bridge): power-controller@100 {
18 DIE_NODE(ps_aic): power-controller@108 {
27 DIE_NODE(ps_dwi): power-controller@110 {
36 DIE_NODE(ps_pms): power-controller@118 {
45 DIE_NODE(ps_gpio): power-controller@120 {
54 DIE_NODE(ps_soc_dpe): power-controller@128 {
63 DIE_NODE(ps_pmgr_soc_ocla): power-controller@130 {
72 DIE_NODE(ps_pcie0_ref): power-controller@138 {
80 DIE_NODE(ps_pcie1_ref): power-controller@140 {
88 DIE_NODE(ps_apcie_st): power-controller@148 {
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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 …]

12345678910>>...152