Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-6.6/drivers/pci/hotplug/
Dpciehp.h88 struct controller { struct
89 struct pcie_device *pcie;
91 u32 slot_cap; /* capabilities and quirks */
92 unsigned int inband_presence_disabled:1;
94 u16 slot_ctrl; /* control register access */
95 struct mutex ctrl_lock;
96 unsigned long cmd_started;
97 unsigned int cmd_busy:1;
98 wait_queue_head_t queue;
100 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.h710 struct controller { struct
713 struct pci_dev *ctrl_dev; /* in case where controller is PCI */ argument
714 u8 starting_slot_num; /* starting and ending slot #'s this ctrl controls*/
715 u8 ending_slot_num;
716 u8 revision;
717 u8 options; /* which options HPC supports */
718 u8 status;
719 u8 ctlr_id;
720 u8 slot_count;
721 u8 bus_count;
[all …]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dpciehp.h85 struct controller { struct
86 struct pcie_device *pcie;
88 u32 slot_cap; /* capabilities and quirks */
89 unsigned int inband_presence_disabled:1;
91 u16 slot_ctrl; /* control register access */
92 struct mutex ctrl_lock;
93 unsigned long cmd_started;
94 unsigned int cmd_busy:1;
95 wait_queue_head_t queue;
97 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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/drivers/char/agp/
Dfrontend.c295 struct agp_controller *controller; in agp_find_controller_by_pid() local
310 struct agp_controller *controller; in agp_create_controller() local
320 static int agp_insert_controller(struct agp_controller *controller) in agp_insert_controller()
335 static void agp_remove_all_clients(struct agp_controller *controller) in agp_remove_all_clients()
358 static void agp_remove_all_memory(struct agp_controller *controller) in agp_remove_all_memory()
372 static int agp_remove_controller(struct agp_controller *controller) in agp_remove_controller()
404 static void agp_controller_make_current(struct agp_controller *controller) in agp_controller_make_current()
425 static void agp_controller_release_current(struct agp_controller *controller, in agp_controller_release_current()
455 *agp_find_client_in_controller(struct agp_controller *controller, pid_t id) in agp_find_client_in_controller()
475 struct agp_controller *controller; in agp_find_controller_for_client() local
[all …]
/kernel/linux/linux-6.6/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
381 struct musb_dma_controller *controller = container_of(c, in musbhs_dma_controller_destroy() local
396 struct musb_dma_controller *controller; in dma_controller_alloc() local
416 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
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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()
171 static inline unsigned int spi_qup_len(struct spi_qup *controller) in spi_qup_len()
176 static inline bool spi_qup_is_valid_state(struct spi_qup *controller) in spi_qup_is_valid_state()
183 static int spi_qup_set_state(struct spi_qup *controller, u32 state) in spi_qup_set_state()
228 static void spi_qup_read_from_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_read_from_fifo()
261 static void spi_qup_read(struct spi_qup *controller, u32 *opflags) in spi_qup_read()
316 static void spi_qup_write_to_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_write_to_fifo()
347 static void spi_qup_write(struct spi_qup *controller) in spi_qup_write()
578 static bool spi_qup_data_pending(struct spi_qup *controller) in spi_qup_data_pending()
593 struct spi_qup *controller = dev_id; in spi_qup_qup_irq() local
[all …]
Dspi-fsl-lpspi.c192 static bool fsl_lpspi_can_dma(struct spi_controller *controller, in fsl_lpspi_can_dma()
215 static int lpspi_prepare_xfer_hardware(struct spi_controller *controller) in lpspi_prepare_xfer_hardware()
230 static int lpspi_unprepare_xfer_hardware(struct spi_controller *controller) in lpspi_unprepare_xfer_hardware()
360 static int fsl_lpspi_dma_configure(struct spi_controller *controller) in fsl_lpspi_dma_configure()
440 static int fsl_lpspi_setup_transfer(struct spi_controller *controller, in fsl_lpspi_setup_transfer()
488 static int fsl_lpspi_target_abort(struct spi_controller *controller) in fsl_lpspi_target_abort()
504 static int fsl_lpspi_wait_for_completion(struct spi_controller *controller) in fsl_lpspi_wait_for_completion()
574 static int fsl_lpspi_dma_transfer(struct spi_controller *controller, in fsl_lpspi_dma_transfer()
667 static void fsl_lpspi_dma_exit(struct spi_controller *controller) in fsl_lpspi_dma_exit()
682 struct spi_controller *controller) in fsl_lpspi_dma_init()
[all …]
/kernel/linux/linux-6.6/drivers/peci/
Dcore.c21 struct peci_controller *controller = to_peci_controller(dev); in peci_controller_dev_release() local
32 int peci_controller_scan_devices(struct peci_controller *controller) in peci_controller_scan_devices()
49 struct peci_controller *controller; in peci_controller_alloc() local
90 struct peci_controller *controller = _controller; in unregister_controller() local
118 struct peci_controller *controller; in devm_peci_controller_add() local
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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
/kernel/linux/linux-6.6/drivers/gpio/
Dgpio-zevio.c80 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_get() local
96 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_set() local
112 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_direction_input() local
129 struct zevio_gpio *controller = gpiochip_get_data(chip); in zevio_gpio_direction_output() local
174 struct zevio_gpio *controller; in zevio_gpio_probe() local
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dhw_table.c40 mlx5_sf_controller_to_hwc(struct mlx5_core_dev *dev, u32 controller) in mlx5_sf_controller_to_hwc()
47 u16 mlx5_sf_sw_to_hw_id(struct mlx5_core_dev *dev, u32 controller, u16 sw_id) in mlx5_sf_sw_to_hw_id()
74 static int mlx5_sf_hw_table_id_alloc(struct mlx5_sf_hw_table *table, u32 controller, in mlx5_sf_hw_table_id_alloc()
103 static void mlx5_sf_hw_table_id_free(struct mlx5_sf_hw_table *table, u32 controller, int id) in mlx5_sf_hw_table_id_free()
112 int mlx5_sf_hw_table_sf_alloc(struct mlx5_core_dev *dev, u32 controller, u32 usr_sfnum) in mlx5_sf_hw_table_sf_alloc()
160 void mlx5_sf_hw_table_sf_free(struct mlx5_core_dev *dev, u32 controller, u16 id) in mlx5_sf_hw_table_sf_free()
181 void mlx5_sf_hw_table_sf_deferred_free(struct mlx5_core_dev *dev, u32 controller, u16 id) in mlx5_sf_hw_table_sf_deferred_free()

12345678910