Home
last modified time | relevance | path

Searched defs:master (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/drivers/base/
Dcomponent.c37 struct master { struct
41 const struct component_master_ops *ops; argument
48 struct master *master; argument
71 static struct component *find_component(struct master *master, in find_component()
87 static int find_components(struct master *master) in find_components()
123 static void remove_component(struct master *master, struct component *c) in remove_component()
140 static int try_to_bring_up_master(struct master *master, in try_to_bring_up_master()
189 static void take_down_master(struct master *master) in take_down_master()
198 static void component_match_release(struct device *master, in component_match_release()
246 void component_match_add_release(struct device *master, in component_match_add_release()
[all …]
/drivers/fsi/
Dfsi-master-gpio.c54 struct fsi_master master; member
74 static void clock_toggle(struct fsi_master_gpio *master, int count) in clock_toggle()
86 static int sda_in(struct fsi_master_gpio *master) in sda_in()
95 static void sda_out(struct fsi_master_gpio *master, int value) in sda_out()
100 static void set_sda_input(struct fsi_master_gpio *master) in set_sda_input()
106 static void set_sda_output(struct fsi_master_gpio *master, int value) in set_sda_output()
112 static void clock_zeros(struct fsi_master_gpio *master, int count) in clock_zeros()
118 static void serial_in(struct fsi_master_gpio *master, struct fsi_gpio_msg *msg, in serial_in()
136 static void serial_out(struct fsi_master_gpio *master, in serial_out()
242 static void echo_delay(struct fsi_master_gpio *master) in echo_delay()
[all …]
Dfsi-core.c79 struct fsi_master *master; member
190 struct fsi_master *master = slave->master; in fsi_slave_report_and_clear_errors() local
221 struct fsi_master *master = slave->master; in fsi_slave_handle_error() local
516 struct fsi_master *master = slave->master; in fsi_slave_sysfs_term_write() local
566 static int fsi_slave_set_smode(struct fsi_master *master, int link, int id) in fsi_slave_set_smode()
587 static int fsi_slave_init(struct fsi_master *master, int link, uint8_t id) in fsi_slave_init()
691 static int fsi_master_read(struct fsi_master *master, int link, in fsi_master_read()
708 static int fsi_master_write(struct fsi_master *master, int link, in fsi_master_write()
725 static int fsi_master_link_enable(struct fsi_master *master, int link) in fsi_master_link_enable()
736 static int fsi_master_break(struct fsi_master *master, int link) in fsi_master_break()
[all …]
/drivers/spi/
Dspi-bcm2835.c129 static void bcm2835_spi_reset_hw(struct spi_master *master) in bcm2835_spi_reset_hw()
150 struct spi_master *master = dev_id; in bcm2835_spi_interrupt() local
168 static int bcm2835_spi_transfer_one_irq(struct spi_master *master, in bcm2835_spi_transfer_one_irq()
224 struct spi_master *master = data; in bcm2835_spi_dma_done() local
243 static int bcm2835_spi_prepare_sg(struct spi_master *master, in bcm2835_spi_prepare_sg()
301 static int bcm2835_spi_transfer_one_dma(struct spi_master *master, in bcm2835_spi_transfer_one_dma()
355 static bool bcm2835_spi_can_dma(struct spi_master *master, in bcm2835_spi_can_dma()
403 static void bcm2835_dma_release(struct spi_master *master) in bcm2835_dma_release()
417 static void bcm2835_dma_init(struct spi_master *master, struct device *dev) in bcm2835_dma_init()
478 static int bcm2835_spi_transfer_one_poll(struct spi_master *master, in bcm2835_spi_transfer_one_poll()
[all …]
Dspi-ep93xx.c115 static int ep93xx_spi_calc_divisors(struct spi_master *master, in ep93xx_spi_calc_divisors()
149 static int ep93xx_spi_chip_setup(struct spi_master *master, in ep93xx_spi_chip_setup()
179 static void ep93xx_do_write(struct spi_master *master) in ep93xx_do_write()
197 static void ep93xx_do_read(struct spi_master *master) in ep93xx_do_read()
226 static int ep93xx_spi_read_write(struct spi_master *master) in ep93xx_spi_read_write()
272 ep93xx_spi_dma_prepare(struct spi_master *master, in ep93xx_spi_dma_prepare()
376 static void ep93xx_spi_dma_finish(struct spi_master *master, in ep93xx_spi_dma_finish()
396 struct spi_master *master = callback_param; in ep93xx_spi_dma_callback() local
404 static int ep93xx_spi_dma_transfer(struct spi_master *master) in ep93xx_spi_dma_transfer()
439 struct spi_master *master = dev_id; in ep93xx_spi_interrupt() local
[all …]
Dspi-mt65xx.c171 static int mtk_spi_prepare_message(struct spi_master *master, in mtk_spi_prepare_message()
259 static void mtk_spi_prepare_transfer(struct spi_master *master, in mtk_spi_prepare_transfer()
300 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet()
315 static void mtk_spi_enable_transfer(struct spi_master *master) in mtk_spi_enable_transfer()
340 static void mtk_spi_update_mdata_len(struct spi_master *master) in mtk_spi_update_mdata_len()
368 static void mtk_spi_setup_dma_addr(struct spi_master *master, in mtk_spi_setup_dma_addr()
379 static int mtk_spi_fifo_transfer(struct spi_master *master, in mtk_spi_fifo_transfer()
408 static int mtk_spi_dma_transfer(struct spi_master *master, in mtk_spi_dma_transfer()
453 static int mtk_spi_transfer_one(struct spi_master *master, in mtk_spi_transfer_one()
463 static bool mtk_spi_can_dma(struct spi_master *master, in mtk_spi_can_dma()
[all …]
Dspi-omap-100k.c90 static void spi100k_enable_clock(struct spi_master *master) in spi100k_enable_clock()
101 static void spi100k_disable_clock(struct spi_master *master) in spi100k_disable_clock()
112 static void spi100k_write_data(struct spi_master *master, int len, int data) in spi100k_write_data()
138 static int spi100k_read_data(struct spi_master *master, int len) in spi100k_read_data()
164 static void spi100k_open(struct spi_master *master) in spi100k_open()
298 static int omap1_spi100k_transfer_one_message(struct spi_master *master, in omap1_spi100k_transfer_one_message()
358 struct spi_master *master; in omap1_spi100k_probe() local
438 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in omap1_spi100k_remove() local
452 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_suspend() local
463 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_resume() local
Dspi-img-spfi.c93 struct spi_master *master; member
232 static int img_spfi_start_pio(struct spi_master *master, in img_spfi_start_pio()
314 static int img_spfi_start_dma(struct spi_master *master, in img_spfi_start_dma()
395 static void img_spfi_handle_err(struct spi_master *master, in img_spfi_handle_err()
416 static int img_spfi_prepare(struct spi_master *master, struct spi_message *msg) in img_spfi_prepare()
435 static int img_spfi_unprepare(struct spi_master *master, in img_spfi_unprepare()
493 static void img_spfi_config(struct spi_master *master, struct spi_device *spi, in img_spfi_config()
532 static int img_spfi_transfer_one(struct spi_master *master, in img_spfi_transfer_one()
555 static bool img_spfi_can_dma(struct spi_master *master, struct spi_device *spi, in img_spfi_can_dma()
580 struct spi_master *master; in img_spfi_probe() local
[all …]
Dspi-bcm2835aux.c201 struct spi_master *master = dev_id; in bcm2835aux_spi_interrupt() local
227 static int __bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in __bcm2835aux_spi_transfer_one_irq()
242 static int bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in bcm2835aux_spi_transfer_one_irq()
264 static int bcm2835aux_spi_transfer_one_poll(struct spi_master *master, in bcm2835aux_spi_transfer_one_poll()
300 static int bcm2835aux_spi_transfer_one(struct spi_master *master, in bcm2835aux_spi_transfer_one()
360 static int bcm2835aux_spi_prepare_message(struct spi_master *master, in bcm2835aux_spi_prepare_message()
384 static int bcm2835aux_spi_unprepare_message(struct spi_master *master, in bcm2835aux_spi_unprepare_message()
394 static void bcm2835aux_spi_handle_err(struct spi_master *master, in bcm2835aux_spi_handle_err()
404 struct spi_master *master; in bcm2835aux_spi_probe() local
505 struct spi_master *master = platform_get_drvdata(pdev); in bcm2835aux_spi_remove() local
Dspi-cadence.c350 struct spi_master *master = dev_id; in cdns_spi_irq() local
398 static int cdns_prepare_message(struct spi_master *master, in cdns_prepare_message()
417 static int cdns_transfer_one(struct spi_master *master, in cdns_transfer_one()
445 static int cdns_prepare_transfer_hardware(struct spi_master *master) in cdns_prepare_transfer_hardware()
463 static int cdns_unprepare_transfer_hardware(struct spi_master *master) in cdns_unprepare_transfer_hardware()
541 struct spi_master *master; in cdns_spi_probe() local
668 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove() local
695 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_suspend() local
711 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_resume() local
728 struct spi_master *master = dev_get_drvdata(dev); in cnds_runtime_resume() local
[all …]
Dspi-atmel.c444 static bool atmel_spi_can_dma(struct spi_master *master, in atmel_spi_can_dma()
457 struct spi_master *master = platform_get_drvdata(as->pdev); in atmel_spi_dma_slave_config() local
513 static int atmel_spi_configure_dma(struct spi_master *master, in atmel_spi_configure_dma()
570 static void atmel_spi_stop_dma(struct spi_master *master) in atmel_spi_stop_dma()
578 static void atmel_spi_release_dma(struct spi_master *master) in atmel_spi_release_dma()
593 struct spi_master *master = data; in dma_callback() local
602 static void atmel_spi_next_xfer_single(struct spi_master *master, in atmel_spi_next_xfer_single()
634 static void atmel_spi_next_xfer_fifo(struct spi_master *master, in atmel_spi_next_xfer_fifo()
704 static void atmel_spi_next_xfer_pio(struct spi_master *master, in atmel_spi_next_xfer_pio()
718 static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, in atmel_spi_next_xfer_dma_submit()
[all …]
Dspi-meson-spifc.c82 struct spi_master *master; member
251 static int meson_spifc_transfer_one(struct spi_master *master, in meson_spifc_transfer_one()
293 struct spi_master *master; in meson_spifc_probe() local
367 struct spi_master *master = platform_get_drvdata(pdev); in meson_spifc_remove() local
380 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend() local
396 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume() local
419 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend() local
429 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_resume() local
Dspi-st-ssc4.c121 static int spi_st_transfer_one(struct spi_master *master, in spi_st_transfer_one()
302 struct spi_master *master; in spi_st_probe() local
397 struct spi_master *master = platform_get_drvdata(pdev); in spi_st_remove() local
412 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_suspend() local
425 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_resume() local
439 struct spi_master *master = dev_get_drvdata(dev); in spi_st_suspend() local
451 struct spi_master *master = dev_get_drvdata(dev); in spi_st_resume() local
Dspi-rockchip.c173 struct spi_master *master; member
276 struct spi_master *master = spi->master; in rockchip_spi_set_cs() local
301 static int rockchip_spi_prepare_message(struct spi_master *master, in rockchip_spi_prepare_message()
312 static void rockchip_spi_handle_err(struct spi_master *master, in rockchip_spi_handle_err()
339 static int rockchip_spi_unprepare_message(struct spi_master *master, in rockchip_spi_unprepare_message()
599 struct spi_master *master, in rockchip_spi_transfer_one()
667 static bool rockchip_spi_can_dma(struct spi_master *master, in rockchip_spi_can_dma()
680 struct spi_master *master; in rockchip_spi_probe() local
825 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in rockchip_spi_remove() local
851 struct spi_master *master = dev_get_drvdata(dev); in rockchip_spi_suspend() local
[all …]
Dspi-pic32.c111 struct spi_master *master; member
311 struct spi_master *master = pic32s->master; in pic32_spi_dma_transfer() local
368 struct spi_master *master = pic32s->master; in pic32_spi_dma_config() local
442 static int pic32_spi_prepare_hardware(struct spi_master *master) in pic32_spi_prepare_hardware()
451 static int pic32_spi_prepare_message(struct spi_master *master, in pic32_spi_prepare_message()
493 static bool pic32_spi_can_dma(struct spi_master *master, in pic32_spi_can_dma()
504 static int pic32_spi_one_transfer(struct spi_master *master, in pic32_spi_one_transfer()
572 static int pic32_spi_unprepare_message(struct spi_master *master, in pic32_spi_unprepare_message()
579 static int pic32_spi_unprepare_hardware(struct spi_master *master) in pic32_spi_unprepare_hardware()
619 struct spi_master *master = pic32s->master; in pic32_spi_dma_prep() local
[all …]
Dspi-qup.c388 static int spi_qup_prep_sg(struct spi_master *master, struct scatterlist *sgl, in spi_qup_prep_sg()
415 static void spi_qup_dma_terminate(struct spi_master *master, in spi_qup_dma_terminate()
448 struct spi_master *master = spi->master; in spi_qup_do_dma() local
516 struct spi_master *master = spi->master; in spi_qup_do_pio() local
814 static int spi_qup_transfer_one(struct spi_master *master, in spi_qup_transfer_one()
861 static bool spi_qup_can_dma(struct spi_master *master, struct spi_device *spi, in spi_qup_can_dma()
891 static void spi_qup_release_dma(struct spi_master *master) in spi_qup_release_dma()
899 static int spi_qup_init_dma(struct spi_master *master, resource_size_t base) in spi_qup_init_dma()
970 struct spi_master *master; in spi_qup_probe() local
1148 struct spi_master *master = dev_get_drvdata(device); in spi_qup_pm_suspend_runtime() local
[all …]
Dspi-stm32.c153 struct spi_master *master; member
465 static bool stm32_spi_can_dma(struct spi_master *master, in stm32_spi_can_dma()
484 struct spi_master *master = dev_id; in stm32_spi_irq() local
594 static int stm32_spi_prepare_msg(struct spi_master *master, in stm32_spi_prepare_msg()
987 static int stm32_spi_transfer_one(struct spi_master *master, in stm32_spi_transfer_one()
1022 static int stm32_spi_unprepare_msg(struct spi_master *master, in stm32_spi_unprepare_msg()
1076 struct spi_master *master; in stm32_spi_probe() local
1233 struct spi_master *master = platform_get_drvdata(pdev); in stm32_spi_remove() local
1253 struct spi_master *master = dev_get_drvdata(dev); in stm32_spi_runtime_suspend() local
1263 struct spi_master *master = dev_get_drvdata(dev); in stm32_spi_runtime_resume() local
[all …]
Dspi-clps711x.c58 static int spi_clps711x_prepare_message(struct spi_master *master, in spi_clps711x_prepare_message()
70 static int spi_clps711x_transfer_one(struct spi_master *master, in spi_clps711x_transfer_one()
93 struct spi_master *master = dev_id; in spi_clps711x_isr() local
116 struct spi_master *master; in spi_clps711x_probe() local
Dspi-omap2-mcspi.c129 struct spi_master *master; member
151 static inline void mcspi_write_reg(struct spi_master *master, in mcspi_write_reg()
159 static inline u32 mcspi_read_reg(struct spi_master *master, int idx) in mcspi_read_reg()
276 static void omap2_mcspi_set_master_mode(struct spi_master *master) in omap2_mcspi_set_master_mode()
297 struct spi_master *master = spi->master; in omap2_mcspi_set_fifo() local
982 struct spi_master *master = spi->master; in omap2_mcspi_request_dma() local
1099 static int omap2_mcspi_transfer_one(struct spi_master *master, in omap2_mcspi_transfer_one()
1234 static int omap2_mcspi_prepare_message(struct spi_master *master, in omap2_mcspi_prepare_message()
1261 static bool omap2_mcspi_can_dma(struct spi_master *master, in omap2_mcspi_can_dma()
1270 struct spi_master *master = mcspi->master; in omap2_mcspi_master_setup() local
[all …]
Dspi-coldfire-qspi.c307 static int mcfqspi_transfer_one(struct spi_master *master, in mcfqspi_transfer_one()
349 struct spi_master *master; in mcfqspi_probe() local
450 struct spi_master *master = platform_get_drvdata(pdev); in mcfqspi_remove() local
466 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_suspend() local
481 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_resume() local
493 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_suspend() local
503 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_resume() local
Dspi-mpc512x-psc.c293 static int mpc512x_psc_spi_msg_xfer(struct spi_master *master, in mpc512x_psc_spi_msg_xfer()
338 static int mpc512x_psc_spi_prep_xfer_hw(struct spi_master *master) in mpc512x_psc_spi_prep_xfer_hw()
354 static int mpc512x_psc_spi_unprep_xfer_hw(struct spi_master *master) in mpc512x_psc_spi_unprep_xfer_hw()
409 static int mpc512x_psc_spi_port_config(struct spi_master *master, in mpc512x_psc_spi_port_config()
494 struct spi_master *master; in mpc512x_psc_spi_do_probe() local
582 struct spi_master *master = dev_get_drvdata(dev); in mpc512x_psc_spi_do_remove() local
/drivers/gpu/drm/
Ddrm_auth.c98 struct drm_master *master; in drm_master_create() local
247 struct drm_master *master = file_priv->master; in drm_master_release() local
303 struct drm_master *drm_master_get(struct drm_master *master) in drm_master_get()
312 struct drm_master *master = container_of(kref, struct drm_master, refcount); in drm_master_destroy() local
331 void drm_master_put(struct drm_master **master) in drm_master_put()
/drivers/mtd/
Dbcm63xxpart.c48 static int bcm63xx_detect_cfe(struct mtd_info *master) in bcm63xx_detect_cfe()
72 static int bcm63xx_read_nvram(struct mtd_info *master, in bcm63xx_read_nvram()
96 static int bcm63xx_read_image_tag(struct mtd_info *master, const char *name, in bcm63xx_read_image_tag()
127 static int bcm63xx_parse_cfe_nor_partitions(struct mtd_info *master, in bcm63xx_parse_cfe_nor_partitions()
286 static int bcm63xx_parse_cfe_partitions(struct mtd_info *master, in bcm63xx_parse_cfe_partitions()
/drivers/clk/at91/
Dclk-master.c58 struct clk_master *master = to_clk_master(hw); in clk_master_prepare() local
68 struct clk_master *master = to_clk_master(hw); in clk_master_is_prepared() local
79 struct clk_master *master = to_clk_master(hw); in clk_master_recalc_rate() local
108 struct clk_master *master = to_clk_master(hw); in clk_master_get_parent() local
130 struct clk_master *master; in at91_clk_register_master() local
/drivers/hwtracing/intel_th/
Dsth.c39 sth_channel(struct sth_device *sth, unsigned int master, unsigned int channel) in sth_channel()
71 unsigned int master, in sth_stm_packet()
146 sth_stm_mmio_addr(struct stm_data *stm_data, unsigned int master, in sth_stm_mmio_addr()
163 static int sth_stm_link(struct stm_data *stm_data, unsigned int master, in sth_stm_link()

12345678910>>...12