/openbmc/linux/drivers/fsi/ |
H A D | fsi-master-ast-cf.c | 1120 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() 1371 master->master.n_links = 1; in fsi_master_acf_probe() 1374 master->master.read = fsi_master_acf_read; in fsi_master_acf_probe() 1375 master->master.write = fsi_master_acf_write; in fsi_master_acf_probe() 1376 master->master.term = fsi_master_acf_term; in fsi_master_acf_probe() 1380 master->master.dev.of_node = of_node_get(dev_of_node(master->dev)); in fsi_master_acf_probe() 1395 rc = fsi_master_register(&master->master); in fsi_master_acf_probe() 1400 put_device(&master->master.dev); in fsi_master_acf_probe() [all …]
|
H A D | fsi-master-gpio.c | 108 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 …]
|
H A D | fsi-core.c | 197 struct fsi_master *master = slave->master; in fsi_slave_report_and_clear_errors() local 274 struct fsi_master *master = slave->master; in fsi_slave_handle_error() local 297 rc = master->term(master, link, id); in fsi_slave_handle_error() 324 master->link_config(master, link, in fsi_slave_handle_error() 770 struct fsi_master *master = slave->master; in send_term_store() local 794 struct fsi_master *master = slave->master; in slave_send_echo_store() local 815 master->link_config(master, slave->link, in slave_send_echo_store() 1042 slave->master = master; in fsi_slave_init() 1096 master->link_config(master, link, in fsi_slave_init() 1196 rc = master->send_break(master, link); in fsi_master_break() [all …]
|
/openbmc/linux/drivers/i3c/master/ |
H A D | svc-i3c-master.c | 240 dev_err(master->dev, in svc_i3c_master_error() 486 queue_work(master->base.wq, &master->hj_work); in svc_i3c_master_ibi_work() 512 queue_work(master->base.wq, &master->ibi_work); in svc_i3c_master_irq_handler() 529 dev_err(master->dev, in svc_i3c_master_bus_init() 1609 master = devm_kzalloc(dev, sizeof(*master), GFP_KERNEL); in svc_i3c_master_probe() 1610 if (!master) in svc_i3c_master_probe() 1630 if (master->irq < 0) in svc_i3c_master_probe() 1633 master->dev = dev; in svc_i3c_master_probe() 1655 master->ibi.slots = devm_kcalloc(&pdev->dev, master->ibi.num_slots, in svc_i3c_master_probe() 1709 master->saved_regs.mconfig = readl(master->regs + SVC_I3C_MCONFIG); in svc_i3c_save_regs() [all …]
|
H A D | dw-i3c-master.c | 321 if (!(master->free_pos & GENMASK(master->maxdevs - 1, 0))) in dw_i3c_master_get_free_pos() 611 ret = master->platform_ops->init(master); in dw_i3c_master_bus_init() 945 master->regs + in dw_i3c_master_reattach_i3c_dev() 974 master->regs + in dw_i3c_master_attach_i3c_dev() 987 master->regs + in dw_i3c_master_detach_i3c_dev() 1083 master->regs + in dw_i3c_master_attach_i2c_dev() 1096 master->regs + in dw_i3c_master_detach_i2c_dev() 1158 master->platform_ops->set_dat_ibi(master, dev, enable, ®); in dw_i3c_master_set_sir_enabled() 1466 master->free_pos = GENMASK(master->maxdevs - 1, 0); in dw_i3c_common_probe() 1504 master = devm_kzalloc(&pdev->dev, sizeof(*master), GFP_KERNEL); in dw_i3c_probe() [all …]
|
H A D | i3c-master-cdns.c | 496 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 …]
|
/openbmc/linux/drivers/clk/at91/ |
H A D | clk-master.c | 96 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() 387 regmap_read(master->regmap, master->layout->offset, &val); in clk_master_pres_recalc_rate() 423 regmap_read(master->regmap, master->layout->offset, &val); in clk_master_pres_save_context() 491 master = kzalloc(sizeof(*master), GFP_KERNEL); in at91_clk_register_master_internal() 492 if (!master) in at91_clk_register_master_internal() 795 clk_sama7g5_master_set(master, master->pms.status); in clk_sama7g5_master_restore_context() 831 master = kzalloc(sizeof(*master), GFP_KERNEL); in at91_clk_sama7g5_register_master() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_auth.c | 137 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() 347 file_priv->master = drm_master_get(dev->master); in drm_master_open() 361 master = file_priv->master; in drm_master_release() 370 if (dev->master == file_priv->master) in drm_master_release() 395 return master; in drm_master_get() 416 master = drm_master_get(file_priv->master); in drm_file_get_master() 420 return master; in drm_file_get_master() [all …]
|
H A D | drm_lease.c | 77 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() 314 master, master->lessee_id); in _drm_lease_revoke() 327 …while (master != top && master == list_last_entry(&master->lessor->lessees, struct drm_master, les… in _drm_lease_revoke() 328 master = master->lessor; in _drm_lease_revoke() [all …]
|
H A D | drm_lock.c | 169 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 …]
|
/openbmc/linux/include/trace/events/ |
H A D | fsi_master_gpio.h | 20 __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 …]
|
H A D | fsi_master_ast_cf.h | 12 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 …]
|
/openbmc/linux/drivers/i3c/ |
H A D | master.c | 663 dev->common.master = master; in i3c_master_alloc_i2c_dev() 718 !master->ops->supports_ccc_cmd(master, cmd)) in i3c_master_send_ccc_cmd_locked() 721 ret = master->ops->send_ccc_cmd(master, cmd); in i3c_master_send_ccc_cmd_locked() 788 dev->common.master = master; in i3c_master_alloc_i3c_dev() 977 defslvs->master.bcr = master->this->info.bcr; in i3c_master_defslvs_locked() 978 defslvs->master.dcr = master->this->info.dcr; in i3c_master_defslvs_locked() 1587 ret = master->ops->do_daa(master); in i3c_master_do_daa() 1646 master->bus.cur_master = master->this; in i3c_master_set_info() 1763 ret = master->ops->bus_init(master); in i3c_master_bus_init() 1843 master->ops->bus_cleanup(master); in i3c_master_bus_init() [all …]
|
/openbmc/linux/sound/core/ |
H A D | vmaster.c | 129 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() 380 master->hook(master->hook_private_data, master->val); in master_put() 399 kfree(master); in master_free() 432 master = kzalloc(sizeof(*master), GFP_KERNEL); in snd_ctl_make_virtual_master() 433 if (!master) in snd_ctl_make_virtual_master() 439 kfree(master); in snd_ctl_make_virtual_master() 455 memcpy(master->tlv, tlv, sizeof(master->tlv)); in snd_ctl_make_virtual_master() 508 err = sync_followers(master, master->val, master->val); in snd_ctl_sync_vmaster() [all …]
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-w1.c | 30 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 …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-uniphier.c | 29 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() 783 if (master->dma_tx) in uniphier_spi_remove() [all …]
|
H A D | spi-sun6i.c | 100 struct spi_master *master; member 215 struct spi_master *master = sspi->master; in sun6i_spi_prepare_dma() local 296 use_dma = master->can_dma ? master->can_dma(master, spi, tfr) : false; in sun6i_spi_transfer_one() 511 dev_warn(&master->dev, in sun6i_spi_transfer_one() 636 if (!master) { in sun6i_spi_probe() 663 sspi->master = master; in sun6i_spi_probe() 724 if (master->dma_tx && master->dma_rx) { in sun6i_spi_probe() 757 if (master->dma_rx) in sun6i_spi_probe() 760 if (master->dma_tx) in sun6i_spi_probe() 773 if (master->dma_tx) in sun6i_spi_remove() [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | omap_hwmod_2xxx_interconnect_data.c | 25 .master = &omap2xxx_l3_main_hwmod, 32 .master = &omap2xxx_mpu_hwmod, 39 .master = &omap2xxx_dss_core_hwmod, 52 .master = &omap2xxx_l4_core_hwmod, 59 .master = &omap2xxx_l4_core_hwmod, 67 .master = &omap2xxx_l4_core_hwmod, 75 .master = &omap2xxx_l4_core_hwmod, 83 .master = &omap2xxx_l4_core_hwmod, 91 .master = &omap2xxx_l4_core_hwmod, 99 .master = &omap2xxx_l4_core_hwmod, [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-qcom-cci.c | 112 u16 master; member 149 if (cci->master[1].master) in cci_isr() 219 master = &cci->master[master_num]; in cci_halt() 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() 559 master = &cci->master[idx]; in cci_probe() 564 master->master = idx; in cci_probe() 565 master->cci = cci; in cci_probe() [all …]
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdcore.c | 459 if (master->pairing && master->pairing->get_info) in mtd_wunit_to_pairing_info() 504 if (master->pairing && master->pairing->get_wunit) in mtd_pairing_info_to_wunit() 525 if (!master->pairing || !master->pairing->ngroups) in mtd_pairing_groups() 681 !master->pairing || master->_writev)) in add_mtd_device() 1250 master->_put_device(master); in __get_mtd_device() 1362 master->_put_device(master); in __put_mtd_device() 1404 ret = master->_erase(master, &adjinstr); in mtd_erase() 1602 ret = master->_read_oob(master, from, ops); in mtd_read_oob_std() 1618 ret = master->_write_oob(master, to, ops); in mtd_write_oob_std() 1787 if (!master->ooblayout || !master->ooblayout->ecc) in mtd_ooblayout_ecc() [all …]
|
H A D | mtdpart.c | 47 master->writesize : master->erasesize; in allocate_partition() 275 mutex_lock(&master->master.partitions_lock); in mtd_add_partition() 277 mutex_unlock(&master->master.partitions_lock); in mtd_add_partition() 288 mutex_lock(&master->master.partitions_lock); in mtd_add_partition() 290 mutex_unlock(&master->master.partitions_lock); in mtd_add_partition() 360 mutex_lock(&master->master.partitions_lock); in del_mtd_partitions() 362 mutex_unlock(&master->master.partitions_lock); in del_mtd_partitions() 372 mutex_lock(&master->master.partitions_lock); in mtd_del_partition() 379 mutex_unlock(&master->master.partitions_lock); in mtd_del_partition() 412 mutex_lock(&master->master.partitions_lock); in add_mtd_partitions() [all …]
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdpart.c | 582 master->name); in allocate_partition() 609 if (master->_read) in allocate_partition() 611 if (master->_write) in allocate_partition() 618 if (master->_point && master->_unpoint) { in allocate_partition() 626 if (master->_read_oob) in allocate_partition() 642 if (master->_sync) in allocate_partition() 645 if (!partno && !master->dev.class && master->_suspend && in allocate_partition() 646 master->_resume) { in allocate_partition() 650 if (master->_writev) in allocate_partition() 653 if (master->_lock) in allocate_partition() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-priv.h | 17 #define has_op(master, op) \ argument 18 ((master)->ops && (master)->ops->op) 19 #define call_op(master, op) \ argument 20 (has_op(master, op) ? (master)->ops->op(master) : 0) 31 static inline bool is_cur_manual(const struct v4l2_ctrl *master) in is_cur_manual() argument 33 return master->is_auto && master->cur.val == master->manual_mode_value; in is_cur_manual() 40 static inline bool is_new_manual(const struct v4l2_ctrl *master) in is_new_manual() argument 42 return master->is_auto && master->val == master->manual_mode_value; in is_new_manual() 71 void update_from_auto_cluster(struct v4l2_ctrl *master); 72 int try_or_set_cluster(struct v4l2_fh *fh, struct v4l2_ctrl *master,
|
/openbmc/linux/drivers/w1/slaves/ |
H A D | w1_ds2408.c | 48 mutex_lock(&sl->master->bus_mutex); in _read_reg() 52 mutex_unlock(&sl->master->bus_mutex); in _read_reg() 59 w1_write_block(sl->master, wrbuf, 3); in _read_reg() 60 *buf = w1_read_8(sl->master); in _read_reg() 62 mutex_unlock(&sl->master->bus_mutex); in _read_reg() 175 mutex_lock(&sl->master->bus_mutex); in output_write() 222 mutex_lock(&sl->master->bus_mutex); in activity_write() 253 mutex_lock(&sl->master->bus_mutex); in status_control_write() 300 mutex_lock(&sl->master->bus_mutex); in w1_f29_disable_test_mode() 302 res = w1_reset_bus(sl->master); in w1_f29_disable_test_mode() [all …]
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | ar7part.c | 31 static int create_mtd_partitions(struct mtd_info *master, in create_mtd_partitions() argument 49 ar7_parts[0].size = master->erasesize; in create_mtd_partitions() 54 ar7_parts[1].size = master->erasesize; in create_mtd_partitions() 59 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions() 67 pre_size += master->erasesize; in create_mtd_partitions() 73 ar7_parts[1].offset = master->size - master->erasesize; in create_mtd_partitions() 74 post_size = master->erasesize; in create_mtd_partitions() 81 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions() 89 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions() 102 root_offset += master->erasesize - 1; in create_mtd_partitions() [all …]
|