Home
last modified time | relevance | path

Searched defs:controller (Results 1 – 25 of 107) sorted by relevance

12345

/Linux-v5.10/drivers/pci/hotplug/
Dpciehp.h83 struct controller { struct
84 struct pcie_device *pcie;
86 u32 slot_cap; /* capabilities and quirks */
87 unsigned int inband_presence_disabled:1;
89 u16 slot_ctrl; /* control register access */
90 struct mutex ctrl_lock;
91 unsigned long cmd_started;
92 unsigned int cmd_busy:1;
93 wait_queue_head_t queue;
95 atomic_t pending_events; /* event handling */
[all …]
Dshpchp.h90 struct controller { struct
91 struct mutex crit_sect; /* critical section mutex */
92 struct mutex cmd_lock; /* command lock */
93 int num_slots; /* Number of slots on ctlr */
94 int slot_num_inc; /* 1 or -1 */
95 struct pci_dev *pci_dev;
96 struct list_head slot_list;
97 const struct hpc_ops *hpc_ops;
98 wait_queue_head_t queue; /* sleep & wake process */
99 u8 slot_device_offset;
[all …]
Dcpqphp.h277 struct controller { struct
278 struct controller *next; argument
281 void __iomem *hpc_reg; /* cookie for our pci controller location */ argument
293 u8 bus; /* bus number for the pci hotplug controller */ argument
294 u8 rev;
295 u8 slot_device_offset;
296 u8 first_slot;
297 u8 add_support;
298 u8 push_flag;
299 u8 push_button; /* 0 = no pushbutton, 1 = pushbutton present */
[all …]
Dibmphp.h712 struct controller { struct
715 struct pci_dev *ctrl_dev; /* in case where controller is PCI */ argument
716 u8 starting_slot_num; /* starting and ending slot #'s this ctrl controls*/
717 u8 ending_slot_num;
718 u8 revision;
719 u8 options; /* which options HPC supports */
720 u8 status;
721 u8 ctlr_id;
722 u8 slot_count;
723 u8 bus_count;
[all …]
Dibmphp_ebda.c65 struct controller *controller; in alloc_ebda_hpc() local
92 static void free_ebda_hpc(struct controller *controller) in free_ebda_hpc()
1046 struct controller *controller = NULL, *next; in ibmphp_free_ebda_hpc_queue() local
/Linux-v5.10/drivers/char/agp/
Dfrontend.c293 struct agp_controller *controller; in agp_find_controller_by_pid() local
308 struct agp_controller *controller; in agp_create_controller() local
318 static int agp_insert_controller(struct agp_controller *controller) in agp_insert_controller()
333 static void agp_remove_all_clients(struct agp_controller *controller) in agp_remove_all_clients()
356 static void agp_remove_all_memory(struct agp_controller *controller) in agp_remove_all_memory()
370 static int agp_remove_controller(struct agp_controller *controller) in agp_remove_controller()
402 static void agp_controller_make_current(struct agp_controller *controller) in agp_controller_make_current()
423 static void agp_controller_release_current(struct agp_controller *controller, in agp_controller_release_current()
453 *agp_find_client_in_controller(struct agp_controller *controller, pid_t id) in agp_find_client_in_controller()
473 struct agp_controller *controller; in agp_find_controller_for_client() local
[all …]
/Linux-v5.10/drivers/usb/musb/
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()
101 struct musb_dma_controller *controller = container_of(c, in dma_channel_allocate() local
148 struct musb_dma_controller *controller = musb_channel->controller; in configure_channel() local
186 struct musb_dma_controller *controller = musb_channel->controller; in dma_channel_program() local
268 struct musb_dma_controller *controller = private_data; in dma_controller_irq() local
385 struct musb_dma_controller *controller = container_of(c, in musbhs_dma_controller_destroy() local
400 struct musb_dma_controller *controller; in dma_controller_alloc() local
420 struct musb_dma_controller *controller; in musbhs_dma_controller_create() local
[all …]
Dmusb_cppi41.c37 struct dma_controller controller; member
187 struct cppi41_dma_controller *controller; in cppi41_recheck_tx_req() local
226 struct cppi41_dma_controller *controller; in cppi41_dma_callback() local
342 struct cppi41_dma_controller *controller = cppi41_channel->controller; in cppi41_set_dma_mode() local
369 struct cppi41_dma_controller *controller = cppi41_channel->controller; in da8xx_set_dma_mode() local
395 struct cppi41_dma_controller *controller = cppi41_channel->controller; in cppi41_set_autoreq_mode() local
416 struct cppi41_dma_controller *controller = cppi41_channel->controller; in cppi41_configure_channel() local
485 struct cppi41_dma_controller *controller = container_of(c, in cppi41_dma_channel_allocate() local
558 struct cppi41_dma_controller *controller = cppi41_channel->controller; in cppi41_is_compatible() local
576 struct cppi41_dma_controller *controller = cppi41_channel->controller; in cppi41_dma_channel_abort() local
[all …]
Dux500_dma.c32 struct ux500_dma_controller *controller; member
43 struct dma_controller controller; member
131 struct ux500_dma_controller *controller = container_of(c, in ux500_dma_channel_allocate() local
210 struct ux500_dma_controller *controller = ux500_channel->controller; in ux500_dma_channel_abort() local
239 static void ux500_dma_controller_stop(struct ux500_dma_controller *controller) in ux500_dma_controller_stop()
266 static int ux500_dma_controller_start(struct ux500_dma_controller *controller) in ux500_dma_controller_start()
349 struct ux500_dma_controller *controller = container_of(c, in ux500_dma_controller_destroy() local
360 struct ux500_dma_controller *controller; in ux500_dma_controller_create() local
Dcppi_dma.c155 static void cppi_controller_start(struct cppi *controller) in cppi_controller_start()
222 static void cppi_controller_stop(struct cppi *controller) in cppi_controller_stop()
284 struct cppi *controller; in cppi_channel_allocate() local
952 struct cppi *controller; in cppi_channel_program() local
1302 struct cppi *controller; in cppi_dma_controller_create() local
1375 struct cppi *controller; in cppi_channel_abort() local
Dcppi_dma.h77 struct cppi *controller; member
110 struct dma_controller controller; member
129 struct cppi41_dma_controller *controller; member
/Linux-v5.10/drivers/spi/
Dspi-fsl-lpspi.c174 static bool fsl_lpspi_can_dma(struct spi_controller *controller, in fsl_lpspi_can_dma()
197 static int lpspi_prepare_xfer_hardware(struct spi_controller *controller) in lpspi_prepare_xfer_hardware()
212 static int lpspi_unprepare_xfer_hardware(struct spi_controller *controller) in lpspi_unprepare_xfer_hardware()
331 static int fsl_lpspi_dma_configure(struct spi_controller *controller) in fsl_lpspi_dma_configure()
411 static int fsl_lpspi_setup_transfer(struct spi_controller *controller, in fsl_lpspi_setup_transfer()
459 static int fsl_lpspi_slave_abort(struct spi_controller *controller) in fsl_lpspi_slave_abort()
475 static int fsl_lpspi_wait_for_completion(struct spi_controller *controller) in fsl_lpspi_wait_for_completion()
545 static int fsl_lpspi_dma_transfer(struct spi_controller *controller, in fsl_lpspi_dma_transfer()
638 static void fsl_lpspi_dma_exit(struct spi_controller *controller) in fsl_lpspi_dma_exit()
653 struct spi_controller *controller) in fsl_lpspi_dma_init()
[all …]
Dspi-qup.c156 static inline bool spi_qup_is_flag_set(struct spi_qup *controller, u32 flag) in spi_qup_is_flag_set()
172 static inline unsigned int spi_qup_len(struct spi_qup *controller) in spi_qup_len()
177 static inline bool spi_qup_is_valid_state(struct spi_qup *controller) in spi_qup_is_valid_state()
184 static int spi_qup_set_state(struct spi_qup *controller, u32 state) in spi_qup_set_state()
229 static void spi_qup_read_from_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_read_from_fifo()
262 static void spi_qup_read(struct spi_qup *controller, u32 *opflags) in spi_qup_read()
317 static void spi_qup_write_to_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_write_to_fifo()
348 static void spi_qup_write(struct spi_qup *controller) in spi_qup_write()
579 static bool spi_qup_data_pending(struct spi_qup *controller) in spi_qup_data_pending()
594 struct spi_qup *controller = dev_id; in spi_qup_qup_irq() local
[all …]
Dspi-pxa2xx.c945 static bool pxa2xx_spi_can_dma(struct spi_controller *controller, in pxa2xx_spi_can_dma()
956 static int pxa2xx_spi_transfer_one(struct spi_controller *controller, in pxa2xx_spi_transfer_one()
1149 static int pxa2xx_spi_slave_abort(struct spi_controller *controller) in pxa2xx_spi_slave_abort()
1169 static void pxa2xx_spi_handle_err(struct spi_controller *controller, in pxa2xx_spi_handle_err()
1195 static int pxa2xx_spi_unprepare_transfer(struct spi_controller *controller) in pxa2xx_spi_unprepare_transfer()
1630 static int pxa2xx_spi_fw_translate_cs(struct spi_controller *controller, in pxa2xx_spi_fw_translate_cs()
1663 struct spi_controller *controller; in pxa2xx_spi_probe() local
Dspi-pxa2xx-dma.c195 struct spi_controller *controller = drv_data->controller; in pxa2xx_spi_dma_setup() local
219 struct spi_controller *controller = drv_data->controller; in pxa2xx_spi_dma_release() local
/Linux-v5.10/drivers/mtd/spi-nor/controllers/
Daspeed-smc.c94 struct aspeed_smc_controller *controller; member
197 #define SEGMENT_ADDR_REG(controller, cs) \ argument
263 struct aspeed_smc_controller *controller = chip->controller; in aspeed_smc_chip_check_config() local
402 static int aspeed_smc_unregister(struct aspeed_smc_controller *controller) in aspeed_smc_unregister()
440 struct aspeed_smc_controller *controller = chip->controller; in aspeed_smc_chip_base() local
456 static u32 aspeed_smc_ahb_base_phy(struct aspeed_smc_controller *controller) in aspeed_smc_ahb_base_phy()
466 struct aspeed_smc_controller *controller = chip->controller; in chip_set_segment() local
526 struct aspeed_smc_controller *controller = chip->controller; in aspeed_smc_chip_set_segment() local
598 struct aspeed_smc_controller *controller = chip->controller; in aspeed_smc_chip_enable_write() local
609 struct aspeed_smc_controller *controller = chip->controller; in aspeed_smc_chip_set_type() local
[all …]
/Linux-v5.10/drivers/gpio/
Dgpio-zevio.c77 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_get() local
93 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_set() local
109 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_direction_input() local
126 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_direction_output() local
171 struct zevio_gpio *controller; in zevio_gpio_probe() local
/Linux-v5.10/drivers/usb/host/
Dehci-sysfs.c151 struct device *controller = ehci_to_hcd(ehci)->self.controller; in create_sysfs_files() local
167 struct device *controller = ehci_to_hcd(ehci)->self.controller; in remove_sysfs_files() local
Dohci-dbg.c101 ohci_dump_status (struct ohci_hcd *controller, char **next, unsigned *size) in ohci_dump_status()
192 struct ohci_hcd *controller, in ohci_dump_roothub()
240 static void ohci_dump(struct ohci_hcd *controller) in ohci_dump()
/Linux-v5.10/drivers/mtd/nand/raw/
Dcs553x_nand.c99 to_cs553x(struct nand_controller *controller) in to_cs553x()
268 struct cs553x_nand_controller *controller; in cs553x_init_one() local
400 struct cs553x_nand_controller *controller = controllers[i]; in cs553x_cleanup() local
Dplat_nand.c17 struct nand_controller controller; member
/Linux-v5.10/drivers/mailbox/
Dhi3660-mailbox.c78 struct mbox_controller controller; member
212 static struct mbox_chan *hi3660_mbox_xlate(struct mbox_controller *controller, in hi3660_mbox_xlate()
/Linux-v5.10/arch/mips/pci/
Dpci-malta.c80 struct pci_controller *controller; in mips_pcibios_init() local
/Linux-v5.10/drivers/media/common/siano/
Dsmsir.h30 u32 controller; member
/Linux-v5.10/drivers/ide/
Dcs5520.c63 int controller = drive->dn > 1 ? 1 : 0; in cs5520_set_pio_mode() local

12345