Home
last modified time | relevance | path

Searched refs:master (Results 1 – 25 of 1212) sorted by relevance

12345678910>>...49

/linux/drivers/fsi/
A Dfsi-master-ast-cf.c1120 fsi_master_rescan(&master->master); in external_mode_store()
1223 master = kzalloc(sizeof(*master), GFP_KERNEL); in fsi_master_acf_probe()
1228 master->master.dev.parent = master->dev; in fsi_master_acf_probe()
1369 master->master.n_links = 1; in fsi_master_acf_probe()
1372 master->master.read = fsi_master_acf_read; in fsi_master_acf_probe()
1373 master->master.write = fsi_master_acf_write; in fsi_master_acf_probe()
1374 master->master.term = fsi_master_acf_term; in fsi_master_acf_probe()
1378 master->master.dev.of_node = of_node_get(dev_of_node(master->dev)); in fsi_master_acf_probe()
1393 rc = fsi_master_register(&master->master); in fsi_master_acf_probe()
1398 put_device(&master->master.dev); in fsi_master_acf_probe()
[all …]
A Dfsi-master-gpio.c108 clock_zeros(master, master->t_echo_delay); in echo_delay()
517 clock_zeros(master, master->t_send_delay); in poll_for_response()
754 fsi_master_rescan(&master->master); in external_mode_store()
782 master->master.dev.parent = master->dev; in fsi_master_gpio_probe()
783 master->master.dev.of_node = of_node_get(dev_of_node(master->dev)); in fsi_master_gpio_probe()
839 master->master.n_links = 1; in fsi_master_gpio_probe()
841 master->master.read = fsi_master_gpio_read; in fsi_master_gpio_probe()
843 master->master.term = fsi_master_gpio_term; in fsi_master_gpio_probe()
856 rc = fsi_master_register(&master->master); in fsi_master_gpio_probe()
859 put_device(&master->master.dev); in fsi_master_gpio_probe()
[all …]
A Dfsi-core.c211 struct fsi_master *master = slave->master; in fsi_slave_report_and_clear_errors() local
288 struct fsi_master *master = slave->master; in fsi_slave_handle_error() local
311 rc = master->term(master, link, id); in fsi_slave_handle_error()
338 master->link_config(master, link, in fsi_slave_handle_error()
804 struct fsi_master *master = slave->master; in send_term_store() local
828 struct fsi_master *master = slave->master; in slave_send_echo_store() local
849 master->link_config(master, slave->link, in slave_send_echo_store()
1045 slave->master = master; in fsi_slave_init()
1097 master->link_config(master, link, in fsi_slave_init()
1197 rc = master->send_break(master, link); in fsi_master_break()
[all …]
/linux/drivers/clk/at91/
A Dclk-master.c96 regmap_read(master->regmap, master->layout->offset, &mckr); in clk_master_div_recalc_rate()
121 regmap_read(master->regmap, master->layout->offset, &mckr); in clk_master_div_save_context()
142 regmap_read(master->regmap, master->layout->offset, &mckr); in clk_master_div_restore_context()
232 ret = clk_master_div_set(master, master->pms.parent_rate, in clk_master_div_restore_context_chg()
466 regmap_read(master->regmap, master->layout->offset, &val); in clk_master_pres_recalc_rate()
502 regmap_read(master->regmap, master->layout->offset, &val); in clk_master_pres_save_context()
588 master = kzalloc(sizeof(*master), GFP_KERNEL); in at91_clk_register_master_internal()
589 if (!master) in at91_clk_register_master_internal()
891 clk_sama7g5_master_set(master, master->pms.status); in clk_sama7g5_master_restore_context()
926 master = kzalloc(sizeof(*master), GFP_KERNEL); in at91_clk_sama7g5_register_master()
[all …]
/linux/drivers/base/
A Dcomponent.c71 struct master *master; argument
163 if (c->master && c->master != master) in find_component()
207 c->master = master; in find_components()
252 ret = master->ops->bind(master->parent); in try_to_bring_up_master()
284 master->ops->unbind(master->parent); in take_down_master()
285 devres_release_group(master->parent, master); in take_down_master()
462 struct master *master; in component_master_add_with_match() local
506 struct master *master; in component_master_del() local
519 struct master *master, void *data) in component_unbind() argument
542 struct master *master; in component_unbind_all() local
[all …]
/linux/drivers/i3c/master/
A Dsvc-i3c-master.c217 dev_err(master->dev, in svc_i3c_master_error()
266 return master->descs[i]; in svc_i3c_master_dev_from_addr()
415 queue_work(master->base.wq, &master->hj_work); in svc_i3c_master_ibi_work()
440 queue_work(master->base.wq, &master->ibi_work); in svc_i3c_master_irq_handler()
584 master->descs[slot] = dev; in svc_i3c_master_attach_i3c_dev()
1358 master = devm_kzalloc(dev, sizeof(*master), GFP_KERNEL); in svc_i3c_master_probe()
1359 if (!master) in svc_i3c_master_probe()
1363 if (IS_ERR(master->regs)) in svc_i3c_master_probe()
1379 if (master->irq <= 0) in svc_i3c_master_probe()
1382 master->dev = dev; in svc_i3c_master_probe()
[all …]
A Ddw-i3c-master.c327 if (!(master->free_pos & GENMASK(master->maxdevs - 1, 0))) in dw_i3c_master_get_free_pos()
787 master->regs + in dw_i3c_master_daa()
903 master->regs + in dw_i3c_master_reattach_i3c_dev()
915 master->regs + in dw_i3c_master_reattach_i3c_dev()
944 master->regs + in dw_i3c_master_attach_i3c_dev()
957 master->regs + in dw_i3c_master_detach_i3c_dev()
1053 master->regs + in dw_i3c_master_attach_i2c_dev()
1066 master->regs + in dw_i3c_master_detach_i2c_dev()
1116 master = devm_kzalloc(&pdev->dev, sizeof(*master), GFP_KERNEL); in dw_i3c_probe()
1117 if (!master) in dw_i3c_probe()
[all …]
A Di3c-master-cdns.c496 writel(readl(master->regs + CTRL) & ~CTRL_DEV_EN, master->regs + CTRL); in cdns_i3c_master_disable()
504 writel(readl(master->regs + CTRL) | CTRL_DEV_EN, master->regs + CTRL); in cdns_i3c_master_enable()
1377 queue_work(master->base.wq, &master->hj_work); in cnds_i3c_master_demux_ibis()
1572 master = devm_kzalloc(&pdev->dev, sizeof(*master), GFP_KERNEL); in cdns_i3c_master_probe()
1573 if (!master) in cdns_i3c_master_probe()
1577 if (!master->devdata) in cdns_i3c_master_probe()
1581 if (IS_ERR(master->regs)) in cdns_i3c_master_probe()
1585 if (IS_ERR(master->pclk)) in cdns_i3c_master_probe()
1626 master->free_rr_slots = GENMASK(master->maxdevs, 1); in cdns_i3c_master_probe()
1637 master->ibi.slots = devm_kcalloc(&pdev->dev, master->ibi.num_slots, in cdns_i3c_master_probe()
[all …]
/linux/drivers/gpu/drm/
A Ddrm_auth.c137 master = kzalloc(sizeof(*master), GFP_KERNEL); in drm_master_create()
138 if (!master) in drm_master_create()
152 return master; in drm_master_create()
158 dev->master = drm_master_get(fpriv->master); in drm_set_master()
342 file_priv->master = drm_master_get(dev->master); in drm_master_open()
356 master = file_priv->master; in drm_master_release()
365 if (dev->master == file_priv->master) in drm_master_release()
390 return master; in drm_master_get()
411 master = drm_master_get(file_priv->master); in drm_file_get_master()
415 return master; in drm_file_get_master()
[all …]
A Ddrm_lease.c77 master = master->lessor; in drm_lease_owner()
78 return master; in drm_lease_owner()
91 if (master->lessor) in _drm_lease_held_master()
118 if (!master) in _drm_lease_held()
135 if (!master) in drm_lease_held()
166 if (!master) in drm_lease_filter_crtcs()
172 dev = master->dev; in drm_lease_filter_crtcs()
281 idr_remove(&(drm_lease_owner(master)->lessee_idr), master->lessee_id); in drm_lease_destroy()
324 …while (master != top && master == list_last_entry(&master->lessor->lessees, struct drm_master, les… in _drm_lease_revoke()
325 master = master->lessor; in _drm_lease_revoke()
[all …]
A Ddrm_lock.c169 struct drm_master *master = file_priv->master; in drm_legacy_lock() local
185 master->lock.hw_lock ? master->lock.hw_lock->lock : -1, in drm_legacy_lock()
190 master->lock.user_waiters++; in drm_legacy_lock()
195 if (!master->lock.hw_lock) { in drm_legacy_lock()
217 master->lock.user_waiters--; in drm_legacy_lock()
260 struct drm_master *master = file_priv->master; in drm_legacy_unlock() local
332 struct drm_master *master = file_priv->master; in drm_legacy_i_have_hw_lock() local
344 if (!dev->master) in drm_legacy_lock_release()
365 if (master->lock.hw_lock) { in drm_legacy_lock_master_cleanup()
368 master->lock.hw_lock = NULL; in drm_legacy_lock_master_cleanup()
[all …]
/linux/include/trace/events/
A Dfsi_master_gpio.h20 __entry->master_idx = master->master.idx;
41 __entry->master_idx = master->master.idx;
61 __entry->master_idx = master->master.idx;
71 TP_ARGS(master),
76 __entry->master_idx = master->master.idx;
90 __entry->master_idx = master->master.idx;
104 __entry->master_idx = master->master.idx;
119 __entry->master_idx = master->master.idx;
134 __entry->master_idx = master->master.idx;
149 __entry->master_idx = master->master.idx;
[all …]
A Dfsi_master_ast_cf.h12 TP_ARGS(master, op),
18 __entry->master_idx = master->master.idx;
36 __entry->master_idx = master->master.idx;
58 __entry->master_idx = master->master.idx;
78 __entry->master_idx = master->master.idx;
94 __entry->master_idx = master->master.idx;
104 TP_ARGS(master, addr),
110 __entry->master_idx = master->master.idx;
126 __entry->master_idx = master->master.idx;
136 TP_ARGS(master),
[all …]
/linux/drivers/i3c/
A Dmaster.c619 dev->common.master = master; in i3c_master_alloc_i2c_dev()
675 !master->ops->supports_ccc_cmd(master, cmd)) in i3c_master_send_ccc_cmd_locked()
678 ret = master->ops->send_ccc_cmd(master, cmd); in i3c_master_send_ccc_cmd_locked()
745 dev->common.master = master; in i3c_master_alloc_i3c_dev()
934 defslvs->master.bcr = master->this->info.bcr; in i3c_master_defslvs_locked()
935 defslvs->master.dcr = master->this->info.dcr; in i3c_master_defslvs_locked()
1534 ret = master->ops->do_daa(master); in i3c_master_do_daa()
1593 master->bus.cur_master = master->this; in i3c_master_set_info()
1708 ret = master->ops->bus_init(master); in i3c_master_bus_init()
1788 master->ops->bus_cleanup(master); in i3c_master_bus_init()
[all …]
/linux/sound/core/
A Dvmaster.c129 master->val = master->info.max_val; in master_init()
131 master->hook(master->hook_private_data, master->val); in master_init()
169 vol += follower->master->val - follower->master->info.max_val; in follower_put_val()
352 master->hook(master->hook_private_data, master->val); in master_put()
371 kfree(master); in master_free()
404 master = kzalloc(sizeof(*master), GFP_KERNEL); in snd_ctl_make_virtual_master()
405 if (!master) in snd_ctl_make_virtual_master()
411 kfree(master); in snd_ctl_make_virtual_master()
427 memcpy(master->tlv, tlv, sizeof(master->tlv)); in snd_ctl_make_virtual_master()
480 err = sync_followers(master, master->val, master->val); in snd_ctl_sync_vmaster()
[all …]
/linux/drivers/spi/
A Dspi-ep93xx.c123 rate = clamp(rate, master->min_speed_hz, master->max_speed_hz); in ep93xx_spi_calc_divisors()
233 ep93xx_do_read(master); in ep93xx_spi_read_write()
239 ep93xx_do_write(master); in ep93xx_spi_read_write()
450 dev_warn(&master->dev, in ep93xx_spi_interrupt()
531 dev_warn(&master->dev, in ep93xx_spi_prepare_message()
649 struct spi_master *master; in ep93xx_spi_probe() local
673 if (!master) in ep93xx_spi_probe()
681 master->bus_num = pdev->id; in ep93xx_spi_probe()
688 master->num_chipselect = 0; in ep93xx_spi_probe()
717 0, "ep93xx-spi", master); in ep93xx_spi_probe()
[all …]
A Dspi-uniphier.c29 struct spi_master *master; member
356 if ((!master->dma_tx && !master->dma_rx) in uniphier_spi_can_dma()
418 master->dma_rx, in uniphier_spi_transfer_one_dma()
445 master->dma_tx, in uniphier_spi_transfer_one_dma()
540 use_dma = master->can_dma ? master->can_dma(master, spi, t) : false; in uniphier_spi_transfer_one()
653 if (!master) in uniphier_spi_probe()
659 priv->master = master; in uniphier_spi_probe()
722 master->dma_tx = NULL; in uniphier_spi_probe()
740 master->dma_rx = NULL; in uniphier_spi_probe()
764 spi_master_put(master); in uniphier_spi_probe()
[all …]
A Dspi-sun6i.c89 struct spi_master *master; member
196 struct spi_master *master = sspi->master; in sun6i_spi_prepare_dma() local
274 use_dma = master->can_dma ? master->can_dma(master, spi, tfr) : false; in sun6i_spi_transfer_one()
431 dev_warn(&master->dev, in sun6i_spi_transfer_one()
557 if (!master) { in sun6i_spi_probe()
584 sspi->master = master; in sun6i_spi_probe()
643 if (master->dma_tx && master->dma_rx) { in sun6i_spi_probe()
676 if (master->dma_rx) in sun6i_spi_probe()
679 if (master->dma_tx) in sun6i_spi_probe()
692 if (master->dma_tx) in sun6i_spi_remove()
[all …]
A Dspi-omap-100k.c112 spi100k_enable_clock(master); in spi100k_write_data()
125 spi100k_disable_clock(master); in spi100k_write_data()
137 spi100k_enable_clock(master); in spi100k_read_data()
149 spi100k_disable_clock(master); in spi100k_read_data()
275 spi100k_open(spi->master); in omap1_spi100k_setup()
353 if (master == NULL) { in omap1_spi100k_probe()
359 master->bus_num = pdev->id; in omap1_spi100k_probe()
363 master->num_chipselect = 2; in omap1_spi100k_probe()
364 master->mode_bits = MODEBITS; in omap1_spi100k_probe()
368 master->auto_runtime_pm = true; in omap1_spi100k_probe()
[all …]
A Dspi-pic32.c303 struct spi_master *master = pic32s->master; in pic32_spi_dma_transfer() local
309 if (!master->dma_rx || !master->dma_tx) in pic32_spi_dma_transfer()
360 struct spi_master *master = pic32s->master; in pic32_spi_dma_config() local
612 struct spi_master *master = pic32s->master; in pic32_spi_dma_prep() local
622 master->dma_rx = NULL; in pic32_spi_dma_prep()
633 master->dma_tx = NULL; in pic32_spi_dma_prep()
646 if (master->dma_rx) { in pic32_spi_dma_prep()
648 master->dma_rx = NULL; in pic32_spi_dma_prep()
651 if (master->dma_tx) { in pic32_spi_dma_prep()
765 if (!master) in pic32_spi_probe()
[all …]
A Dspi-cadence.c343 struct spi_master *master = dev_id; in cdns_spi_irq() local
476 struct spi_master *master; in cdns_spi_probe() local
481 if (!master) in cdns_spi_probe()
530 master->num_chipselect = num_cs; in cdns_spi_probe()
547 0, pdev->name, master); in cdns_spi_probe()
560 master->auto_runtime_pm = true; in cdns_spi_probe()
573 ret = spi_register_master(master); in cdns_spi_probe()
588 spi_master_put(master); in cdns_spi_probe()
614 spi_unregister_master(master); in cdns_spi_remove()
632 return spi_master_suspend(master); in cdns_spi_suspend()
[all …]
/linux/drivers/base/regmap/
A Dregmap-w1.c30 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v8_read()
33 w1_write_8(sl->master, reg); in w1_reg_a8_v8_read()
34 *val = w1_read_8(sl->master); in w1_reg_a8_v8_read()
52 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v8_write()
55 w1_write_8(sl->master, reg); in w1_reg_a8_v8_write()
56 w1_write_8(sl->master, val); in w1_reg_a8_v8_write()
82 w1_write_8(sl->master, reg); in w1_reg_a8_v16_read()
83 *val = w1_read_8(sl->master); in w1_reg_a8_v16_read()
84 *val |= w1_read_8(sl->master)<<8; in w1_reg_a8_v16_read()
106 w1_write_8(sl->master, reg); in w1_reg_a8_v16_write()
[all …]
/linux/drivers/mtd/
A Dmtdcore.c447 if (master->pairing && master->pairing->get_info) in mtd_wunit_to_pairing_info()
492 if (master->pairing && master->pairing->get_wunit) in mtd_pairing_info_to_wunit()
513 if (!master->pairing || !master->pairing->ngroups) in mtd_pairing_groups()
613 !master->pairing || master->_writev)) in add_mtd_device()
1226 master->_put_device(master); in __put_mtd_device()
1270 ret = master->_erase(master, &adjinstr); in mtd_erase()
1468 ret = master->_read_oob(master, from, ops); in mtd_read_oob_std()
1484 ret = master->_write_oob(master, to, ops); in mtd_write_oob_std()
1648 if (!master->ooblayout || !master->ooblayout->ecc) in mtd_ooblayout_ecc()
1682 if (!master->ooblayout || !master->ooblayout->free) in mtd_ooblayout_free()
[all …]
/linux/drivers/i2c/busses/
A Di2c-qcom-cci.c112 u16 master; member
149 if (cci->master[1].master) in cci_isr()
219 master = &cci->master[master_num]; in cci_halt()
271 if (!cci->master[i].cci) in cci_init()
302 reinit_completion(&cci->master[master].irq_complete); in cci_run_queue()
306 if (!wait_for_completion_timeout(&cci->master[master].irq_complete, in cci_run_queue()
309 master, queue); in cci_run_queue()
315 return cci->master[master].status; in cci_run_queue()
562 cci->master[idx].master = idx; in cci_probe()
565 i2c_set_adapdata(&cci->master[idx].adap, &cci->master[idx]); in cci_probe()
[all …]
/linux/arch/arm/mach-omap2/
A Domap_hwmod_2xxx_interconnect_data.c26 .master = &omap2xxx_l3_main_hwmod,
33 .master = &omap2xxx_mpu_hwmod,
40 .master = &omap2xxx_dss_core_hwmod,
53 .master = &omap2xxx_l4_core_hwmod,
60 .master = &omap2xxx_l4_core_hwmod,
68 .master = &omap2xxx_l4_core_hwmod,
76 .master = &omap2xxx_l4_core_hwmod,
84 .master = &omap2xxx_l4_core_hwmod,
92 .master = &omap2xxx_l4_core_hwmod,
100 .master = &omap2xxx_l4_core_hwmod,
[all …]

Completed in 121 milliseconds

12345678910>>...49