/openbmc/linux/drivers/fsi/ |
H A D | fsi-master-gpio.c | 24 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 …]
|
H A D | fsi-master-ast-cf.c | 88 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 …]
|
H A D | fsi-master-hub.c | 37 struct fsi_master master; member 45 static int hub_master_read(struct fsi_master *master, int link, in hub_master_read() 57 static int hub_master_write(struct fsi_master *master, int link, in hub_master_write() 69 static int hub_master_break(struct fsi_master *master, int link) in hub_master_break() 80 static int hub_master_link_enable(struct fsi_master *master, int link, in hub_master_link_enable()
|
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 643 static struct device_node *fsi_slave_find_of_node(struct fsi_master *master, in fsi_slave_find_of_node() 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 981 static int fsi_slave_init(struct fsi_master *master, int link, uint8_t id) in fsi_slave_init() 1136 static int fsi_master_read(struct fsi_master *master, int link, in fsi_master_read() 1153 static int fsi_master_write(struct fsi_master *master, int link, in fsi_master_write() 1170 static int fsi_master_link_disable(struct fsi_master *master, int link) in fsi_master_link_disable() 1178 static int fsi_master_link_enable(struct fsi_master *master, int link) in fsi_master_link_enable() [all …]
|
/openbmc/linux/drivers/i3c/ |
H A D | master.c | 111 struct i3c_master_controller *master; in dev_to_i3cbus() local 123 struct i3c_master_controller *master; in dev_to_i3cdesc() local 603 static int i3c_set_hotjoin(struct i3c_master_controller *master, bool enable) in i3c_set_hotjoin() 653 int i3c_master_enable_hotjoin(struct i3c_master_controller *master) in i3c_master_enable_hotjoin() 665 int i3c_master_disable_hotjoin(struct i3c_master_controller *master) in i3c_master_disable_hotjoin() 702 struct i3c_master_controller *master = dev_to_i3cmaster(dev); in i3c_masterdev_release() local 721 struct i3c_master_controller *master = i3c_bus_to_i3c_master(i3cbus); in i3c_bus_set_mode() local 769 i3c_master_to_i2c_adapter(struct i3c_master_controller *master) in i3c_master_to_i2c_adapter() 780 i3c_master_alloc_i2c_dev(struct i3c_master_controller *master, in i3c_master_alloc_i2c_dev() 825 static int i3c_master_send_ccc_cmd_locked(struct i3c_master_controller *master, in i3c_master_send_ccc_cmd_locked() [all …]
|
/openbmc/linux/drivers/i3c/master/ |
H A D | svc-i3c-master.c | 231 static inline bool is_events_enabled(struct svc_i3c_master *master, u32 mask) in is_events_enabled() 236 static bool svc_i3c_master_error(struct svc_i3c_master *master) in svc_i3c_master_error() 262 static void svc_i3c_master_enable_interrupts(struct svc_i3c_master *master, u32 mask) in svc_i3c_master_enable_interrupts() 267 static void svc_i3c_master_disable_interrupts(struct svc_i3c_master *master) in svc_i3c_master_disable_interrupts() 274 static void svc_i3c_master_clear_merrwarn(struct svc_i3c_master *master) in svc_i3c_master_clear_merrwarn() 281 static void svc_i3c_master_flush_fifo(struct svc_i3c_master *master) in svc_i3c_master_flush_fifo() 288 static void svc_i3c_master_reset_fifo_trigger(struct svc_i3c_master *master) in svc_i3c_master_reset_fifo_trigger() 301 static void svc_i3c_master_reset(struct svc_i3c_master *master) in svc_i3c_master_reset() 309 to_svc_i3c_master(struct i3c_master_controller *master) in to_svc_i3c_master() 316 struct svc_i3c_master *master; in svc_i3c_master_hj_work() local [all …]
|
H A D | dw-i3c-master.c | 290 to_dw_i3c_master(struct i3c_master_controller *master) in to_dw_i3c_master() 295 static void dw_i3c_master_disable(struct dw_i3c_master *master) in dw_i3c_master_disable() 301 static void dw_i3c_master_enable(struct dw_i3c_master *master) in dw_i3c_master_enable() 307 static int dw_i3c_master_get_addr_pos(struct dw_i3c_master *master, u8 addr) in dw_i3c_master_get_addr_pos() 319 static int dw_i3c_master_get_free_pos(struct dw_i3c_master *master) in dw_i3c_master_get_free_pos() 327 static void dw_i3c_master_wr_tx_fifo(struct dw_i3c_master *master, in dw_i3c_master_wr_tx_fifo() 339 static void dw_i3c_master_read_fifo(struct dw_i3c_master *master, in dw_i3c_master_read_fifo() 351 static void dw_i3c_master_read_rx_fifo(struct dw_i3c_master *master, in dw_i3c_master_read_rx_fifo() 357 static void dw_i3c_master_read_ibi_fifo(struct dw_i3c_master *master, in dw_i3c_master_read_ibi_fifo() 364 dw_i3c_master_alloc_xfer(struct dw_i3c_master *master, unsigned int ncmds) in dw_i3c_master_alloc_xfer() [all …]
|
H A D | i3c-master-cdns.c | 422 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 …]
|
/openbmc/linux/drivers/clk/at91/ |
H A D | clk-master.c | 46 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 …]
|
/openbmc/linux/sound/core/ |
H A D | vmaster.c | 49 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() 292 int snd_ctl_add_followers(struct snd_card *card, struct snd_kcontrol *master, in snd_ctl_add_followers() 317 struct link_master *master = snd_kcontrol_chip(kcontrol); in master_info() local 333 struct link_master *master = snd_kcontrol_chip(kcontrol); in master_get() local 341 static int sync_followers(struct link_master *master, int old_val, int new_val) in sync_followers() 363 struct link_master *master = snd_kcontrol_chip(kcontrol); in master_put() local 386 struct link_master *master = snd_kcontrol_chip(kcontrol); in master_free() local 423 struct link_master *master; in snd_ctl_make_virtual_master() local [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-priv.h | 17 #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()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mt65xx.c | 350 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 …]
|
H A D | spi-uniphier.c | 29 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 …]
|
H A D | spi-st-ssc4.c | 118 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 384 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_suspend() local 397 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_resume() local 411 struct spi_master *master = dev_get_drvdata(dev); in spi_st_suspend() local 423 struct spi_master *master = dev_get_drvdata(dev); in spi_st_resume() local
|
H A D | spi-meson-spifc.c | 76 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 371 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend() local 387 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume() local 410 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend() local 420 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_resume() local
|
H A D | spi-mxs.c | 360 static int mxs_spi_transfer_one(struct spi_master *master, in mxs_spi_transfer_one() 442 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_runtime_suspend() local 463 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_runtime_resume() local 481 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_suspend() local 496 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_resume() local 531 struct spi_master *master; in mxs_spi_probe() local 643 struct spi_master *master; in mxs_spi_remove() local
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdcore.c | 453 struct mtd_info *master = mtd_get_master(mtd); in mtd_wunit_to_pairing_info() local 496 struct mtd_info *master = mtd_get_master(mtd); in mtd_pairing_info_to_wunit() local 523 struct mtd_info *master = mtd_get_master(mtd); in mtd_pairing_groups() local 645 struct mtd_info *master = mtd_get_master(mtd); in add_mtd_device() local 1117 int mtd_device_unregister(struct mtd_info *master) in mtd_device_unregister() 1239 struct mtd_info *master = mtd_get_master(mtd); in __get_mtd_device() local 1344 struct mtd_info *master = mtd_get_master(mtd); in __put_mtd_device() local 1373 struct mtd_info *master = mtd_get_master(mtd); in mtd_erase() local 1425 struct mtd_info *master = mtd_get_master(mtd); in mtd_point() local 1446 struct mtd_info *master = mtd_get_master(mtd); in mtd_unpoint() local [all …]
|
H A D | mtdpart.c | 45 struct mtd_info *master = mtd_get_master(parent); in allocate_partition() local 248 struct mtd_info *master = mtd_get_master(parent); in mtd_add_partition() local 355 struct mtd_info *master = mtd_get_master(mtd); in del_mtd_partitions() local 369 struct mtd_info *child, *master = mtd_get_master(mtd); in mtd_del_partition() local 398 struct mtd_info *child, *master = mtd_get_master(parent); in add_mtd_partitions() local 517 struct mtd_info *master, in mtd_part_do_parse() 576 static int mtd_part_of_parse(struct mtd_info *master, in mtd_part_of_parse() 664 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions() 733 struct mtd_info *master = mtd_get_master((struct mtd_info *)mtd); in mtd_get_device_size() local
|
/openbmc/linux/net/hsr/ |
H A D | hsr_device.c | 43 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() 94 struct hsr_port *master; in hsr_check_carrier_and_operstate() local 212 struct hsr_port *master; in hsr_dev_xmit() local 234 static struct sk_buff *hsr_init_skb(struct hsr_port *master) in hsr_init_skb() 273 static void send_hsr_supervision_frame(struct hsr_port *master, in send_hsr_supervision_frame() 328 static void send_prp_supervision_frame(struct hsr_port *master, in send_prp_supervision_frame() 372 struct hsr_port *master; in hsr_announce() local
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_lease.c | 74 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 266 void drm_lease_destroy(struct drm_master *master) in drm_lease_destroy() 304 struct drm_master *master = top; in _drm_lease_revoke() local
|
H A D | drm_auth.c | 135 struct drm_master *master; in drm_master_create() local 358 struct drm_master *master; in drm_master_release() local 392 struct drm_master *drm_master_get(struct drm_master *master) in drm_master_get() 411 struct drm_master *master = NULL; in drm_file_get_master() local 426 struct drm_master *master = container_of(kref, struct drm_master, refcount); in drm_master_destroy() local 448 void drm_master_put(struct drm_master **master) in drm_master_put()
|
H A D | drm_lock.c | 169 struct drm_master *master = file_priv->master; in drm_legacy_lock() local 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 355 void drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *master) in drm_legacy_lock_master_cleanup()
|
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3-sva.c | 353 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in __arm_smmu_sva_bind() local 435 bool arm_smmu_master_iopf_supported(struct arm_smmu_master *master) in arm_smmu_master_iopf_supported() 444 bool arm_smmu_master_sva_supported(struct arm_smmu_master *master) in arm_smmu_master_sva_supported() 453 bool arm_smmu_master_sva_enabled(struct arm_smmu_master *master) in arm_smmu_master_sva_enabled() 463 static int arm_smmu_master_sva_enable_iopf(struct arm_smmu_master *master) in arm_smmu_master_sva_enable_iopf() 490 static void arm_smmu_master_sva_disable_iopf(struct arm_smmu_master *master) in arm_smmu_master_sva_disable_iopf() 501 int arm_smmu_master_enable_sva(struct arm_smmu_master *master) in arm_smmu_master_enable_sva() 514 int arm_smmu_master_disable_sva(struct arm_smmu_master *master) in arm_smmu_master_disable_sva() 543 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_sva_remove_dev_pasid() local
|
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-secret.c | 392 Object *master = object_new_with_props( in test_secret_crypt_raw() local 425 Object *master = object_new_with_props( in test_secret_crypt_base64() local 457 Object *master = object_new_with_props( in test_secret_crypt_short_key() local 483 Object *master = object_new_with_props( in test_secret_crypt_short_iv() local 509 Object *master = object_new_with_props( in test_secret_crypt_missing_iv() local 534 Object *master = object_new_with_props( in test_secret_crypt_bad_iv() local
|
/openbmc/linux/include/linux/reset/ |
H A D | bcm63xx_pmb.h | 33 static inline int __bpcm_do_op(void __iomem *master, unsigned int addr, in __bpcm_do_op() 58 static inline int bpcm_rd(void __iomem *master, unsigned int addr, in bpcm_rd() 69 static inline int bpcm_wr(void __iomem *master, unsigned int addr, in bpcm_wr()
|