Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v5.15/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-v5.15/drivers/spi/
Dspi-amd.c44 static inline u8 amd_spi_readreg8(struct spi_master *master, int idx) in amd_spi_readreg8()
51 static inline void amd_spi_writereg8(struct spi_master *master, int idx, in amd_spi_writereg8()
59 static inline void amd_spi_setclear_reg8(struct spi_master *master, int idx, in amd_spi_setclear_reg8()
68 static inline u32 amd_spi_readreg32(struct spi_master *master, int idx) in amd_spi_readreg32()
75 static inline void amd_spi_writereg32(struct spi_master *master, int idx, in amd_spi_writereg32()
83 static inline void amd_spi_setclear_reg32(struct spi_master *master, int idx, in amd_spi_setclear_reg32()
92 static void amd_spi_select_chip(struct spi_master *master) in amd_spi_select_chip()
101 static void amd_spi_clear_fifo_ptr(struct spi_master *master) in amd_spi_clear_fifo_ptr()
107 static void amd_spi_set_opcode(struct spi_master *master, u8 cmd_opcode) in amd_spi_set_opcode()
113 static inline void amd_spi_set_rx_count(struct spi_master *master, in amd_spi_set_rx_count()
[all …]
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-mt65xx.c278 static int mtk_spi_prepare_message(struct spi_master *master, in mtk_spi_prepare_message()
379 static void mtk_spi_prepare_transfer(struct spi_master *master, in mtk_spi_prepare_transfer()
412 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet()
427 static void mtk_spi_enable_transfer(struct spi_master *master) in mtk_spi_enable_transfer()
452 static void mtk_spi_update_mdata_len(struct spi_master *master) in mtk_spi_update_mdata_len()
480 static void mtk_spi_setup_dma_addr(struct spi_master *master, in mtk_spi_setup_dma_addr()
506 static int mtk_spi_fifo_transfer(struct spi_master *master, in mtk_spi_fifo_transfer()
536 static int mtk_spi_dma_transfer(struct spi_master *master, in mtk_spi_dma_transfer()
581 static int mtk_spi_transfer_one(struct spi_master *master, in mtk_spi_transfer_one()
591 static bool mtk_spi_can_dma(struct spi_master *master, in mtk_spi_can_dma()
[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
425 struct spi_master *master = platform_get_drvdata(pdev); in omap1_spi100k_remove() local
439 struct spi_master *master = dev_get_drvdata(dev); in omap1_spi100k_runtime_suspend() local
450 struct spi_master *master = dev_get_drvdata(dev); in omap1_spi100k_runtime_resume() local
Dspi-cadence.c343 struct spi_master *master = dev_id; in cdns_spi_irq() local
391 static int cdns_prepare_message(struct spi_master *master, in cdns_prepare_message()
410 static int cdns_transfer_one(struct spi_master *master, in cdns_transfer_one()
438 static int cdns_prepare_transfer_hardware(struct spi_master *master) in cdns_prepare_transfer_hardware()
456 static int cdns_unprepare_transfer_hardware(struct spi_master *master) in cdns_unprepare_transfer_hardware()
476 struct spi_master *master; in cdns_spi_probe() local
604 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove() local
630 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_suspend() local
645 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_resume() local
662 struct spi_master *master = dev_get_drvdata(dev); in cnds_runtime_resume() local
[all …]
Dspi-bcm2835aux.c237 struct spi_master *master = dev_id; in bcm2835aux_spi_interrupt() local
263 static int __bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in __bcm2835aux_spi_transfer_one_irq()
278 static int bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in bcm2835aux_spi_transfer_one_irq()
303 static int bcm2835aux_spi_transfer_one_poll(struct spi_master *master, in bcm2835aux_spi_transfer_one_poll()
343 static int bcm2835aux_spi_transfer_one(struct spi_master *master, in bcm2835aux_spi_transfer_one()
404 static int bcm2835aux_spi_prepare_message(struct spi_master *master, in bcm2835aux_spi_prepare_message()
428 static int bcm2835aux_spi_unprepare_message(struct spi_master *master, in bcm2835aux_spi_unprepare_message()
438 static void bcm2835aux_spi_handle_err(struct spi_master *master, in bcm2835aux_spi_handle_err()
492 struct spi_master *master; in bcm2835aux_spi_probe() local
585 struct spi_master *master = platform_get_drvdata(pdev); in bcm2835aux_spi_remove() local
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-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
359 struct spi_master *master = platform_get_drvdata(pdev); in meson_spifc_remove() local
372 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend() local
388 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume() local
411 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend() local
421 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_resume() local
/Linux-v5.15/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
532 struct i3c_master_controller *master = dev_to_i3cmaster(dev); in i3c_masterdev_release() local
551 struct i3c_master_controller *master = i3c_bus_to_i3c_master(i3cbus); in i3c_bus_set_mode() local
599 i3c_master_to_i2c_adapter(struct i3c_master_controller *master) in i3c_master_to_i2c_adapter()
610 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-v5.15/drivers/base/
Dcomponent.c61 struct master { struct
65 const struct component_master_ops *ops; argument
72 struct master *master; argument
158 static struct component *find_component(struct master *master, in find_component()
178 static int find_components(struct master *master) in find_components()
214 static void remove_component(struct master *master, struct component *c) in remove_component()
231 static int try_to_bring_up_master(struct master *master, in try_to_bring_up_master()
281 static void take_down_master(struct master *master) in take_down_master()
327 static void __component_match_add(struct device *master, in __component_match_add()
391 void component_match_add_release(struct device *master, in component_match_add_release()
[all …]
/Linux-v5.15/drivers/i3c/master/
Dsvc-i3c-master.c209 static bool svc_i3c_master_error(struct svc_i3c_master *master) in svc_i3c_master_error()
227 static void svc_i3c_master_enable_interrupts(struct svc_i3c_master *master, u32 mask) in svc_i3c_master_enable_interrupts()
232 static void svc_i3c_master_disable_interrupts(struct svc_i3c_master *master) in svc_i3c_master_disable_interrupts()
240 to_svc_i3c_master(struct i3c_master_controller *master) in to_svc_i3c_master()
247 struct svc_i3c_master *master; in svc_i3c_master_hj_work() local
254 svc_i3c_master_dev_from_addr(struct svc_i3c_master *master, in svc_i3c_master_dev_from_addr()
269 static void svc_i3c_master_emit_stop(struct svc_i3c_master *master) in svc_i3c_master_emit_stop()
282 static void svc_i3c_master_clear_merrwarn(struct svc_i3c_master *master) in svc_i3c_master_clear_merrwarn()
288 static int svc_i3c_master_handle_ibi(struct svc_i3c_master *master, in svc_i3c_master_handle_ibi()
318 static void svc_i3c_master_ack_ibi(struct svc_i3c_master *master, in svc_i3c_master_ack_ibi()
[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-v5.15/drivers/clk/at91/
Dclk-master.c48 static inline bool clk_master_ready(struct clk_master *master) in clk_master_ready()
60 struct clk_master *master = to_clk_master(hw); in clk_master_prepare() local
75 struct clk_master *master = to_clk_master(hw); in clk_master_is_prepared() local
91 struct clk_master *master = to_clk_master(hw); in clk_master_div_recalc_rate() local
124 struct clk_master *master = to_clk_master(hw); in clk_master_div_set_rate() local
161 struct clk_master *master = to_clk_master(hw); in clk_master_div_determine_rate() local
235 struct clk_master *master = to_clk_master(hw); in clk_master_pres_determine_rate() local
273 struct clk_master *master = to_clk_master(hw); in clk_master_pres_set_rate() local
301 struct clk_master *master = to_clk_master(hw); in clk_master_pres_recalc_rate() local
322 struct clk_master *master = to_clk_master(hw); in clk_master_pres_get_parent() local
[all …]
/Linux-v5.15/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-v5.15/drivers/mtd/
Dmtdcore.c365 struct mtd_info *master = mtd_get_master(mtd); in mtd_debugfs_populate() local
441 struct mtd_info *master = mtd_get_master(mtd); in mtd_wunit_to_pairing_info() local
484 struct mtd_info *master = mtd_get_master(mtd); in mtd_pairing_info_to_wunit() local
511 struct mtd_info *master = mtd_get_master(mtd); in mtd_pairing_groups() local
577 struct mtd_info *master = mtd_get_master(mtd); in add_mtd_device() local
1017 int mtd_device_unregister(struct mtd_info *master) in mtd_device_unregister()
1140 struct mtd_info *master = mtd_get_master(mtd); in __get_mtd_device() local
1215 struct mtd_info *master = mtd_get_master(mtd); in __put_mtd_device() local
1239 struct mtd_info *master = mtd_get_master(mtd); in mtd_erase() local
1291 struct mtd_info *master = mtd_get_master(mtd); in mtd_point() local
[all …]
Dmtdpart.c38 struct mtd_info *master = mtd_get_master(parent); in allocate_partition() local
241 struct mtd_info *master = mtd_get_master(parent); in mtd_add_partition() local
353 struct mtd_info *master = mtd_get_master(mtd); in del_mtd_partitions() local
367 struct mtd_info *child, *master = mtd_get_master(mtd); in mtd_del_partition() local
396 struct mtd_info *child, *master = mtd_get_master(parent); in add_mtd_partitions() local
515 struct mtd_info *master, in mtd_part_do_parse()
574 static int mtd_part_of_parse(struct mtd_info *master, in mtd_part_of_parse()
644 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions()
713 struct mtd_info *master = mtd_get_master((struct mtd_info *)mtd); in mtd_get_device_size() local
/Linux-v5.15/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-v5.15/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-v5.15/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
353 struct drm_master *master; in drm_master_release() local
387 struct drm_master *drm_master_get(struct drm_master *master) in drm_master_get()
406 struct drm_master *master = NULL; in drm_file_get_master() local
421 struct drm_master *master = container_of(kref, struct drm_master, refcount); in drm_master_destroy() local
443 void drm_master_put(struct drm_master **master) in drm_master_put()
/Linux-v5.15/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c312 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in __arm_smmu_sva_bind() local
438 bool arm_smmu_master_iopf_supported(struct arm_smmu_master *master) in arm_smmu_master_iopf_supported()
447 bool arm_smmu_master_sva_supported(struct arm_smmu_master *master) in arm_smmu_master_sva_supported()
456 bool arm_smmu_master_sva_enabled(struct arm_smmu_master *master) in arm_smmu_master_sva_enabled()
466 static int arm_smmu_master_sva_enable_iopf(struct arm_smmu_master *master) in arm_smmu_master_sva_enable_iopf()
493 static void arm_smmu_master_sva_disable_iopf(struct arm_smmu_master *master) in arm_smmu_master_sva_disable_iopf()
504 int arm_smmu_master_enable_sva(struct arm_smmu_master *master) in arm_smmu_master_enable_sva()
517 int arm_smmu_master_disable_sva(struct arm_smmu_master *master) in arm_smmu_master_disable_sva()

12345678910>>...20