Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v6.1/drivers/fsi/
Dfsi-master-gpio.c24 struct fsi_master master; member
49 static void clock_toggle(struct fsi_master_gpio *master, int count) in clock_toggle()
63 static int sda_clock_in(struct fsi_master_gpio *master) in sda_clock_in()
82 static void sda_out(struct fsi_master_gpio *master, int value) in sda_out()
87 static void set_sda_input(struct fsi_master_gpio *master) in set_sda_input()
93 static void set_sda_output(struct fsi_master_gpio *master, int value) in set_sda_output()
99 static void clock_zeros(struct fsi_master_gpio *master, int count) in clock_zeros()
106 static void echo_delay(struct fsi_master_gpio *master) in echo_delay()
112 static void serial_in(struct fsi_master_gpio *master, struct fsi_gpio_msg *msg, in serial_in()
129 static void serial_out(struct fsi_master_gpio *master, in serial_out()
[all …]
Dfsi-master-ast-cf.c88 struct fsi_master master; member
159 static bool check_same_address(struct fsi_master_acf *master, int id, in check_same_address()
166 static bool check_relative_address(struct fsi_master_acf *master, int id, in check_relative_address()
196 static void last_address_update(struct fsi_master_acf *master, in last_address_update()
208 static void build_ar_command(struct fsi_master_acf *master, in build_ar_command()
307 static int do_copro_command(struct fsi_master_acf *master, uint32_t op) in do_copro_command()
344 static int clock_zeros(struct fsi_master_acf *master, int count) in clock_zeros()
358 static int send_request(struct fsi_master_acf *master, struct fsi_msg *cmd, in send_request()
377 static int read_copro_response(struct fsi_master_acf *master, uint8_t size, in read_copro_response()
414 static int send_term(struct fsi_master_acf *master, uint8_t slave) in send_term()
[all …]
/Linux-v6.1/drivers/i3c/
Dmaster.c109 struct i3c_master_controller *master; in dev_to_i3cbus() local
121 struct i3c_master_controller *master; in dev_to_i3cdesc() local
533 struct i3c_master_controller *master = dev_to_i3cmaster(dev); in i3c_masterdev_release() local
552 struct i3c_master_controller *master = i3c_bus_to_i3c_master(i3cbus); in i3c_bus_set_mode() local
600 i3c_master_to_i2c_adapter(struct i3c_master_controller *master) in i3c_master_to_i2c_adapter()
611 i3c_master_alloc_i2c_dev(struct i3c_master_controller *master, in i3c_master_alloc_i2c_dev()
656 static int i3c_master_send_ccc_cmd_locked(struct i3c_master_controller *master, in i3c_master_send_ccc_cmd_locked()
690 i3c_master_find_i2c_dev_by_addr(const struct i3c_master_controller *master, in i3c_master_find_i2c_dev_by_addr()
713 int i3c_master_get_free_addr(struct i3c_master_controller *master, in i3c_master_get_free_addr()
736 i3c_master_alloc_i3c_dev(struct i3c_master_controller *master, in i3c_master_alloc_i3c_dev()
[all …]
/Linux-v6.1/drivers/i3c/master/
Dsvc-i3c-master.c212 static bool svc_i3c_master_error(struct svc_i3c_master *master) in svc_i3c_master_error()
230 static void svc_i3c_master_enable_interrupts(struct svc_i3c_master *master, u32 mask) in svc_i3c_master_enable_interrupts()
235 static void svc_i3c_master_disable_interrupts(struct svc_i3c_master *master) in svc_i3c_master_disable_interrupts()
242 static void svc_i3c_master_clear_merrwarn(struct svc_i3c_master *master) in svc_i3c_master_clear_merrwarn()
249 static void svc_i3c_master_flush_fifo(struct svc_i3c_master *master) in svc_i3c_master_flush_fifo()
256 static void svc_i3c_master_reset_fifo_trigger(struct svc_i3c_master *master) in svc_i3c_master_reset_fifo_trigger()
269 static void svc_i3c_master_reset(struct svc_i3c_master *master) in svc_i3c_master_reset()
277 to_svc_i3c_master(struct i3c_master_controller *master) in to_svc_i3c_master()
284 struct svc_i3c_master *master; in svc_i3c_master_hj_work() local
291 svc_i3c_master_dev_from_addr(struct svc_i3c_master *master, in svc_i3c_master_dev_from_addr()
[all …]
Ddw-i3c-master.c296 to_dw_i3c_master(struct i3c_master_controller *master) in to_dw_i3c_master()
301 static void dw_i3c_master_disable(struct dw_i3c_master *master) in dw_i3c_master_disable()
307 static void dw_i3c_master_enable(struct dw_i3c_master *master) in dw_i3c_master_enable()
313 static int dw_i3c_master_get_addr_pos(struct dw_i3c_master *master, u8 addr) in dw_i3c_master_get_addr_pos()
325 static int dw_i3c_master_get_free_pos(struct dw_i3c_master *master) in dw_i3c_master_get_free_pos()
333 static void dw_i3c_master_wr_tx_fifo(struct dw_i3c_master *master, in dw_i3c_master_wr_tx_fifo()
345 static void dw_i3c_master_read_rx_fifo(struct dw_i3c_master *master, in dw_i3c_master_read_rx_fifo()
358 dw_i3c_master_alloc_xfer(struct dw_i3c_master *master, unsigned int ncmds) in dw_i3c_master_alloc_xfer()
378 static void dw_i3c_master_start_xfer_locked(struct dw_i3c_master *master) in dw_i3c_master_start_xfer_locked()
406 static void dw_i3c_master_enqueue_xfer(struct dw_i3c_master *master, in dw_i3c_master_enqueue_xfer()
[all …]
Di3c-master-cdns.c422 to_cdns_i3c_master(struct i3c_master_controller *master) in to_cdns_i3c_master()
427 static void cdns_i3c_master_wr_to_tx_fifo(struct cdns_i3c_master *master, in cdns_i3c_master_wr_to_tx_fifo()
439 static void cdns_i3c_master_rd_from_rx_fifo(struct cdns_i3c_master *master, in cdns_i3c_master_rd_from_rx_fifo()
492 static int cdns_i3c_master_disable(struct cdns_i3c_master *master) in cdns_i3c_master_disable()
502 static void cdns_i3c_master_enable(struct cdns_i3c_master *master) in cdns_i3c_master_enable()
508 cdns_i3c_master_alloc_xfer(struct cdns_i3c_master *master, unsigned int ncmds) in cdns_i3c_master_alloc_xfer()
528 static void cdns_i3c_master_start_xfer_locked(struct cdns_i3c_master *master) in cdns_i3c_master_start_xfer_locked()
557 static void cdns_i3c_master_end_xfer_locked(struct cdns_i3c_master *master, in cdns_i3c_master_end_xfer_locked()
631 static void cdns_i3c_master_queue_xfer(struct cdns_i3c_master *master, in cdns_i3c_master_queue_xfer()
647 static void cdns_i3c_master_unqueue_xfer(struct cdns_i3c_master *master, in cdns_i3c_master_unqueue_xfer()
[all …]
/Linux-v6.1/drivers/clk/at91/
Dclk-master.c46 static inline bool clk_master_ready(struct clk_master *master) in clk_master_ready()
58 struct clk_master *master = to_clk_master(hw); in clk_master_prepare() local
73 struct clk_master *master = to_clk_master(hw); in clk_master_is_prepared() local
89 struct clk_master *master = to_clk_master(hw); in clk_master_div_recalc_rate() local
115 struct clk_master *master = to_clk_master(hw); in clk_master_div_save_context() local
136 struct clk_master *master = to_clk_master(hw); in clk_master_div_restore_context() local
162 static int clk_master_div_set(struct clk_master *master, in clk_master_div_set()
220 struct clk_master *master = to_clk_master(hw); in clk_master_div_recalc_rate_chg() local
227 struct clk_master *master = to_clk_master(hw); in clk_master_div_restore_context_chg() local
380 struct clk_master *master = to_clk_master(hw); in clk_master_pres_recalc_rate() local
[all …]
/Linux-v6.1/drivers/spi/
Dspi-ep93xx.c112 static int ep93xx_spi_calc_divisors(struct spi_master *master, in ep93xx_spi_calc_divisors()
146 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-img-spfi.c89 struct spi_master *master; member
224 static int img_spfi_start_pio(struct spi_master *master, in img_spfi_start_pio()
306 static int img_spfi_start_dma(struct spi_master *master, in img_spfi_start_dma()
387 static void img_spfi_handle_err(struct spi_master *master, in img_spfi_handle_err()
408 static int img_spfi_prepare(struct spi_master *master, struct spi_message *msg) in img_spfi_prepare()
430 static int img_spfi_unprepare(struct spi_master *master, in img_spfi_unprepare()
440 static void img_spfi_config(struct spi_master *master, struct spi_device *spi, in img_spfi_config()
479 static int img_spfi_transfer_one(struct spi_master *master, in img_spfi_transfer_one()
502 static bool img_spfi_can_dma(struct spi_master *master, struct spi_device *spi, in img_spfi_can_dma()
527 struct spi_master *master; in img_spfi_probe() local
[all …]
Dspi-omap-100k.c80 static void spi100k_enable_clock(struct spi_master *master) in spi100k_enable_clock()
91 static void spi100k_disable_clock(struct spi_master *master) in spi100k_disable_clock()
102 static void spi100k_write_data(struct spi_master *master, int len, int data) in spi100k_write_data()
128 static int spi100k_read_data(struct spi_master *master, int len) in spi100k_read_data()
154 static void spi100k_open(struct spi_master *master) in spi100k_open()
288 static int omap1_spi100k_transfer_one_message(struct spi_master *master, in omap1_spi100k_transfer_one_message()
345 struct spi_master *master; in omap1_spi100k_probe() local
426 struct spi_master *master = platform_get_drvdata(pdev); in omap1_spi100k_remove() local
440 struct spi_master *master = dev_get_drvdata(dev); in omap1_spi100k_runtime_suspend() local
451 struct spi_master *master = dev_get_drvdata(dev); in omap1_spi100k_runtime_resume() local
Dspi-mt65xx.c350 static int mtk_spi_hw_init(struct spi_master *master, in mtk_spi_hw_init()
455 static int mtk_spi_prepare_message(struct spi_master *master, in mtk_spi_prepare_message()
481 static void mtk_spi_prepare_transfer(struct spi_master *master, in mtk_spi_prepare_transfer()
514 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet()
541 static void mtk_spi_enable_transfer(struct spi_master *master) in mtk_spi_enable_transfer()
569 static void mtk_spi_update_mdata_len(struct spi_master *master) in mtk_spi_update_mdata_len()
597 static void mtk_spi_setup_dma_addr(struct spi_master *master, in mtk_spi_setup_dma_addr()
623 static int mtk_spi_fifo_transfer(struct spi_master *master, in mtk_spi_fifo_transfer()
653 static int mtk_spi_dma_transfer(struct spi_master *master, in mtk_spi_dma_transfer()
698 static int mtk_spi_transfer_one(struct spi_master *master, in mtk_spi_transfer_one()
[all …]
Dspi-cadence.c343 struct spi_master *master = dev_id; in cdns_spi_irq() local
392 static int cdns_prepare_message(struct spi_master *master, in cdns_prepare_message()
411 static int cdns_transfer_one(struct spi_master *master, in cdns_transfer_one()
439 static int cdns_prepare_transfer_hardware(struct spi_master *master) in cdns_prepare_transfer_hardware()
457 static int cdns_unprepare_transfer_hardware(struct spi_master *master) in cdns_unprepare_transfer_hardware()
500 struct spi_master *master; in cdns_spi_probe() local
630 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove() local
656 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_suspend() local
671 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_resume() local
688 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_runtime_resume() local
[all …]
Dspi-uniphier.c29 struct spi_master *master; member
349 static bool uniphier_spi_can_dma(struct spi_master *master, in uniphier_spi_can_dma()
366 struct spi_master *master = data; in uniphier_spi_dma_rxcb() local
378 struct spi_master *master = data; in uniphier_spi_dma_txcb() local
388 static int uniphier_spi_transfer_one_dma(struct spi_master *master, in uniphier_spi_transfer_one_dma()
471 static int uniphier_spi_transfer_one_irq(struct spi_master *master, in uniphier_spi_transfer_one_irq()
498 static int uniphier_spi_transfer_one_poll(struct spi_master *master, in uniphier_spi_transfer_one_poll()
526 static int uniphier_spi_transfer_one(struct spi_master *master, in uniphier_spi_transfer_one()
556 static int uniphier_spi_prepare_transfer_hardware(struct spi_master *master) in uniphier_spi_prepare_transfer_hardware()
565 static int uniphier_spi_unprepare_transfer_hardware(struct spi_master *master) in uniphier_spi_unprepare_transfer_hardware()
[all …]
Dspi-bcm2835aux.c236 struct spi_master *master = dev_id; in bcm2835aux_spi_interrupt() local
262 static int __bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in __bcm2835aux_spi_transfer_one_irq()
277 static int bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in bcm2835aux_spi_transfer_one_irq()
302 static int bcm2835aux_spi_transfer_one_poll(struct spi_master *master, in bcm2835aux_spi_transfer_one_poll()
342 static int bcm2835aux_spi_transfer_one(struct spi_master *master, in bcm2835aux_spi_transfer_one()
403 static int bcm2835aux_spi_prepare_message(struct spi_master *master, in bcm2835aux_spi_prepare_message()
427 static int bcm2835aux_spi_unprepare_message(struct spi_master *master, in bcm2835aux_spi_unprepare_message()
437 static void bcm2835aux_spi_handle_err(struct spi_master *master, in bcm2835aux_spi_handle_err()
478 struct spi_master *master; in bcm2835aux_spi_probe() local
572 struct spi_master *master = platform_get_drvdata(pdev); in bcm2835aux_spi_remove() local
Dspi-atmel.c422 static bool atmel_spi_can_dma(struct spi_master *master, in atmel_spi_can_dma()
438 struct spi_master *master = platform_get_drvdata(as->pdev); in atmel_spi_dma_slave_config() local
493 static int atmel_spi_configure_dma(struct spi_master *master, in atmel_spi_configure_dma()
537 static void atmel_spi_stop_dma(struct spi_master *master) in atmel_spi_stop_dma()
545 static void atmel_spi_release_dma(struct spi_master *master) in atmel_spi_release_dma()
560 struct spi_master *master = data; in dma_callback() local
574 static void atmel_spi_next_xfer_single(struct spi_master *master, in atmel_spi_next_xfer_single()
606 static void atmel_spi_next_xfer_fifo(struct spi_master *master, in atmel_spi_next_xfer_fifo()
676 static void atmel_spi_next_xfer_pio(struct spi_master *master, in atmel_spi_next_xfer_pio()
690 static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, in atmel_spi_next_xfer_dma_submit()
[all …]
Dspi-st-ssc4.c118 static int spi_st_transfer_one(struct spi_master *master, in spi_st_transfer_one()
277 struct spi_master *master; in spi_st_probe() local
371 struct spi_master *master = platform_get_drvdata(pdev); in spi_st_remove() local
386 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_suspend() local
399 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_resume() local
413 struct spi_master *master = dev_get_drvdata(dev); in spi_st_suspend() local
425 struct spi_master *master = dev_get_drvdata(dev); in spi_st_resume() local
Dspi-meson-spifc.c76 struct spi_master *master; member
245 static int meson_spifc_transfer_one(struct spi_master *master, in meson_spifc_transfer_one()
287 struct spi_master *master; in meson_spifc_probe() local
360 struct spi_master *master = platform_get_drvdata(pdev); in meson_spifc_remove() local
373 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend() local
389 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume() local
412 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend() local
422 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_resume() local
/Linux-v6.1/sound/core/
Dvmaster.c49 struct link_master *master; member
115 static int master_init(struct link_master *master) in master_init()
252 int _snd_ctl_add_follower(struct snd_kcontrol *master, in _snd_ctl_add_follower()
289 struct link_master *master = snd_kcontrol_chip(kcontrol); in master_info() local
305 struct link_master *master = snd_kcontrol_chip(kcontrol); in master_get() local
313 static int sync_followers(struct link_master *master, int old_val, int new_val) in sync_followers()
335 struct link_master *master = snd_kcontrol_chip(kcontrol); in master_put() local
358 struct link_master *master = snd_kcontrol_chip(kcontrol); in master_free() local
395 struct link_master *master; in snd_ctl_make_virtual_master() local
451 struct link_master *master = snd_kcontrol_chip(kcontrol); in snd_ctl_add_vmaster_hook() local
[all …]
/Linux-v6.1/drivers/mtd/
Dmtdcore.c423 struct mtd_info *master = mtd_get_master(mtd); in mtd_wunit_to_pairing_info() local
466 struct mtd_info *master = mtd_get_master(mtd); in mtd_pairing_info_to_wunit() local
493 struct mtd_info *master = mtd_get_master(mtd); in mtd_pairing_groups() local
623 struct mtd_info *master = mtd_get_master(mtd); in add_mtd_device() local
1072 int mtd_device_unregister(struct mtd_info *master) in mtd_device_unregister()
1194 struct mtd_info *master = mtd_get_master(mtd); in __get_mtd_device() local
1297 struct mtd_info *master = mtd_get_master(mtd); in __put_mtd_device() local
1321 struct mtd_info *master = mtd_get_master(mtd); in mtd_erase() local
1373 struct mtd_info *master = mtd_get_master(mtd); in mtd_point() local
1394 struct mtd_info *master = mtd_get_master(mtd); in mtd_unpoint() local
[all …]
Dmtdpart.c39 struct mtd_info *master = mtd_get_master(parent); in allocate_partition() local
242 struct mtd_info *master = mtd_get_master(parent); in mtd_add_partition() local
354 struct mtd_info *master = mtd_get_master(mtd); in del_mtd_partitions() local
368 struct mtd_info *child, *master = mtd_get_master(mtd); in mtd_del_partition() local
397 struct mtd_info *child, *master = mtd_get_master(parent); in add_mtd_partitions() local
516 struct mtd_info *master, in mtd_part_do_parse()
575 static int mtd_part_of_parse(struct mtd_info *master, in mtd_part_of_parse()
653 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions()
722 struct mtd_info *master = mtd_get_master((struct mtd_info *)mtd); in mtd_get_device_size() local
/Linux-v6.1/drivers/media/v4l2-core/
Dv4l2-ctrls-priv.h17 #define has_op(master, op) \ argument
19 #define call_op(master, op) \ argument
31 static inline bool is_cur_manual(const struct v4l2_ctrl *master) in is_cur_manual()
40 static inline bool is_new_manual(const struct v4l2_ctrl *master) in is_new_manual()
/Linux-v6.1/net/hsr/
Dhsr_device.c43 static void hsr_set_operstate(struct hsr_port *master, bool has_carrier) in hsr_set_operstate()
56 static bool hsr_check_carrier(struct hsr_port *master) in hsr_check_carrier()
95 struct hsr_port *master; in hsr_check_carrier_and_operstate() local
215 struct hsr_port *master; in hsr_dev_xmit() local
235 static struct sk_buff *hsr_init_skb(struct hsr_port *master) in hsr_init_skb()
274 static void send_hsr_supervision_frame(struct hsr_port *master, in send_hsr_supervision_frame()
329 static void send_prp_supervision_frame(struct hsr_port *master, in send_prp_supervision_frame()
375 struct hsr_port *master; in hsr_announce() local
/Linux-v6.1/drivers/gpu/drm/
Ddrm_lease.c74 struct drm_master *drm_lease_owner(struct drm_master *master) in drm_lease_owner()
82 _drm_find_lessee(struct drm_master *master, int lessee_id) in _drm_find_lessee()
88 static int _drm_lease_held_master(struct drm_master *master, int id) in _drm_lease_held_master()
97 static bool _drm_has_leased(struct drm_master *master, int id) in _drm_has_leased()
112 struct drm_master *master; in _drm_lease_held() local
128 struct drm_master *master; in drm_lease_held() local
156 struct drm_master *master; in drm_lease_filter_crtcs() local
265 void drm_lease_destroy(struct drm_master *master) in drm_lease_destroy()
302 struct drm_master *master = top; in _drm_lease_revoke() local
Ddrm_auth.c135 struct drm_master *master; in drm_master_create() local
357 struct drm_master *master; in drm_master_release() local
391 struct drm_master *drm_master_get(struct drm_master *master) in drm_master_get()
410 struct drm_master *master = NULL; in drm_file_get_master() local
425 struct drm_master *master = container_of(kref, struct drm_master, refcount); in drm_master_destroy() local
447 void drm_master_put(struct drm_master **master) in drm_master_put()
/Linux-v6.1/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c328 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in __arm_smmu_sva_bind() local
451 bool arm_smmu_master_iopf_supported(struct arm_smmu_master *master) in arm_smmu_master_iopf_supported()
460 bool arm_smmu_master_sva_supported(struct arm_smmu_master *master) in arm_smmu_master_sva_supported()
469 bool arm_smmu_master_sva_enabled(struct arm_smmu_master *master) in arm_smmu_master_sva_enabled()
479 static int arm_smmu_master_sva_enable_iopf(struct arm_smmu_master *master) in arm_smmu_master_sva_enable_iopf()
506 static void arm_smmu_master_sva_disable_iopf(struct arm_smmu_master *master) in arm_smmu_master_sva_disable_iopf()
517 int arm_smmu_master_enable_sva(struct arm_smmu_master *master) in arm_smmu_master_enable_sva()
530 int arm_smmu_master_disable_sva(struct arm_smmu_master *master) in arm_smmu_master_disable_sva()

12345678910>>...20