/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 258 struct dw_mipi_dsi *slave; /* dual-dsi slave ptr */ member 264 * Check if either a link to a master or slave is present 268 return dsi->slave || dsi->master; in dw_mipi_is_dual_mode() 498 if (dsi->slave) { in dw_mipi_dsi_host_transfer() 499 dw_mipi_message_config(dsi->slave, msg); in dw_mipi_dsi_host_transfer() 506 if (dsi->slave) { in dw_mipi_dsi_host_transfer() 507 ret = dw_mipi_dsi_write(dsi->slave, &packet); in dw_mipi_dsi_host_transfer() 848 if (dsi->slave) { in dw_mipi_dsi_bridge_post_disable() 849 dw_mipi_dsi_set_mode(dsi->slave, in dw_mipi_dsi_bridge_post_disable() 1172 dw_mipi_dsi_set_slave(struct dw_mipi_dsi *dsi, struct dw_mipi_dsi *slave) dw_mipi_dsi_set_slave() argument [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_route.c | 550 snd_pcm_t *slave = route->plug.gen.slave; in snd_pcm_route_hw_params() local 562 dst_format = slave->format; in snd_pcm_route_hw_params() 564 src_format = slave->format; in snd_pcm_route_hw_params() 598 snd_pcm_t *slave = route->plug.gen.slave; in snd_pcm_route_write_areas() local 604 slave->channels, in snd_pcm_route_write_areas() 620 snd_pcm_t *slave = route->plug.gen.slave; in snd_pcm_route_read_areas() local 625 slave in snd_pcm_route_read_areas() 1017 snd_pcm_route_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, int schannels, snd_pcm_route_ttable_entry_t *ttable, unsigned int tt_ssize, unsigned int tt_cused, unsigned int tt_sused, snd_pcm_t *slave, int close_slave) snd_pcm_route_open() argument 1296 snd_config_t *slave = NULL, *sconf; _snd_pcm_route_open() local [all...] |
H A D | pcm_iec958.c | 499 snd_pcm_dump(iec->plug.gen.slave, out); in snd_pcm_iec958_dump() 554 * \param slave Slave PCM handle 555 * \param close_slave When set, the slave PCM handle is closed with copy PCM 565 snd_pcm_t *slave, int close_slave, in snd_pcm_iec958_open() 581 assert(pcmp && slave); in snd_pcm_iec958_open() 597 iec->plug.gen.slave = slave; in snd_pcm_iec958_open() 609 err = snd_pcm_new(&pcm, SND_PCM_TYPE_IEC958, name, slave->stream, slave->mode); in snd_pcm_iec958_open() 622 pcm->poll_fd = slave in snd_pcm_iec958_open() 564 snd_pcm_iec958_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave, const unsigned char *status_bits, const unsigned char *preamble_vals, int hdmi_mode) snd_pcm_iec958_open() argument 693 snd_config_t *slave = NULL, *sconf; _snd_pcm_iec958_open() local [all...] |
H A D | pcm_extplug.c | 296 snd_pcm_t *slave = ext->plug.gen.slave; in snd_pcm_extplug_hw_params() local 304 ext->data->slave_format = slave->format; in snd_pcm_extplug_hw_params() 305 ext->data->slave_subformat = slave->subformat; in snd_pcm_extplug_hw_params() 306 ext->data->slave_channels = slave->channels; in snd_pcm_extplug_hw_params() 307 ext->data->rate = slave->rate; in snd_pcm_extplug_hw_params() 327 snd_pcm_hw_free(ext->plug.gen.slave); in snd_pcm_extplug_hw_free() 406 snd_pcm_dump(ext->plug.gen.slave, out); in snd_pcm_extplug_dump() 422 snd_pcm_close(ext->plug.gen.slave); in snd_pcm_extplug_close() 531 snd_config_t *slave [all...] |
H A D | pcm_ladspa.c | 622 (pcm->stream == SND_PCM_STREAM_PLAYBACK ? pcm->channels : ladspa->plug.gen.slave->channels); in snd_pcm_ladspa_allocate_instances() 700 ochannels = ladspa->plug.gen.slave->channels; in snd_pcm_ladspa_allocate_memory() 702 ichannels = ladspa->plug.gen.slave->channels; in snd_pcm_ladspa_allocate_memory() 1065 snd_pcm_dump(ladspa->plug.gen.slave, out); in snd_pcm_ladspa_dump() 1579 * \param slave Slave PCM handle 1580 * \param close_slave When set, the slave PCM handle is closed with copy PCM 1591 snd_pcm_t *slave, int close_slave) in snd_pcm_ladspa_open() 1597 assert(pcmp && (ladspa_pplugins || ladspa_cplugins) && slave); in snd_pcm_ladspa_open() 1610 ladspa->plug.gen.slave = slave; in snd_pcm_ladspa_open() 1586 snd_pcm_ladspa_open(snd_pcm_t **pcmp, const char *name, const char *ladspa_path, unsigned int channels, snd_config_t *ladspa_pplugins, snd_config_t *ladspa_cplugins, snd_pcm_t *slave, int close_slave) snd_pcm_ladspa_open() argument 1740 snd_config_t *slave = NULL, *sconf; _snd_pcm_ladspa_open() local [all...] |
/third_party/rust/crates/nix/src/ |
H A D | pty.rs | 1 //! Create master and slave virtual pseudo-terminals (PTYs) 17 /// Representation of a master/slave pty pair 25 /// The slave port in a virtual pty pair 26 pub slave: RawFd, 44 /// Representation of the Master device in a master/slave pty pair 112 /// Grant access to a slave pseudoterminal (see 115 /// `grantpt()` changes the mode and owner of the slave pseudoterminal device corresponding to the 116 /// master pseudoterminal referred to by `fd`. This is a necessary step towards opening the slave. 133 /// A common use case with this function is to open both a master and slave PTY pair. This can be 147 /// // Allow a slave t 258 let mut slave = mem::MaybeUninit::<libc::c_int>::uninit(); openpty() variables [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | dw-mipi-dsi2-rockchip.c | 263 struct dw_mipi_dsi2 *slave; member 426 if (dsi2->slave) { in dw_mipi_dsi2_disable() 427 dw_mipi_dsi2_disable(dsi2->slave); in dw_mipi_dsi2_disable() 438 if (dsi2->slave) { in dw_mipi_dsi2_post_disable() 439 dw_mipi_dsi2_post_disable(dsi2->slave); in dw_mipi_dsi2_post_disable() 481 lanes = (dsi2->slave || dsi2->master) ? dsi2->lanes * 0x2 : dsi2->lanes; in dw_mipi_dsi2_set_lane_rate() 704 if (dsi2->slave || dsi2->master) { in dw_mipi_dsi2_ipi_set() 797 if (dsi2->slave) { in dw_mipi_dsi2_pre_enable() 798 dw_mipi_dsi2_pre_enable(dsi2->slave); in dw_mipi_dsi2_pre_enable() 812 if (dsi2->slave) { in dw_mipi_dsi2_enable() [all...] |
H A D | dw-mipi-dsi-rockchip.c | 269 struct dw_mipi_dsi_rockchip *slave; member 668 if (dsi->slave && dsi->slave->cdata->lcdsel_grf_reg) { in dw_mipi_dsi_rockchip_vop_routing() 669 regmap_write(dsi->slave->grf_regmap, dsi->slave->cdata->lcdsel_grf_reg, in dw_mipi_dsi_rockchip_vop_routing() 670 mux ? dsi->slave->cdata->lcdsel_lit : dsi->slave->cdata->lcdsel_big); in dw_mipi_dsi_rockchip_vop_routing() 713 if (dsi->slave) { in dw_mipi_dsi_encoder_atomic_check() 769 if (dsi->slave) { in dw_mipi_dsi_rockchip_loader_protect() 770 dw_mipi_dsi_rockchip_loader_protect(dsi->slave, o in dw_mipi_dsi_rockchip_loader_protect() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | dw-mipi-dsi2-rockchip.c | 264 struct dw_mipi_dsi2 *slave; member 428 if (dsi2->slave) in dw_mipi_dsi2_disable() 429 dw_mipi_dsi2_disable(dsi2->slave); in dw_mipi_dsi2_disable() 439 if (dsi2->slave) in dw_mipi_dsi2_post_disable() 440 dw_mipi_dsi2_post_disable(dsi2->slave); in dw_mipi_dsi2_post_disable() 478 lanes = (dsi2->slave || dsi2->master) ? dsi2->lanes * 2 : dsi2->lanes; in dw_mipi_dsi2_set_lane_rate() 696 if (dsi2->slave || dsi2->master) in dw_mipi_dsi2_ipi_set() 795 if (dsi2->slave) in dw_mipi_dsi2_pre_enable() 796 dw_mipi_dsi2_pre_enable(dsi2->slave); in dw_mipi_dsi2_pre_enable() 808 if (dsi2->slave) in dw_mipi_dsi2_enable() [all...] |
/third_party/alsa-lib/test/ |
H A D | playmidi1.c | 85 static int slave = 0; /* allow external sync */ variable 175 if (!slave && !shared_queue) in do_header() 186 if (slave) { in do_header() 261 if (!slave) in do_tempo() 446 fprintf(stderr, " -s queue: slave mode (allow external clock synchronization)\n"); in usage() 475 slave = 1; in main() 502 /* Here we open the device in read/write for slave mode. */ in main() 503 tmp = snd_seq_open(&seq_handle, "hw", slave ? SND_SEQ_OPEN_DUPLEX : SND_SEQ_OPEN_OUTPUT, 0); in main() 517 /* if running in slave mode, also listen for a START event */ in main() 518 if (slave) in main() [all...] |
/third_party/alsa-lib/src/ucm/ |
H A D | utils.c | 69 if (ctl_list2->slave) in uc_mgr_get_master_ctl() 202 int slave) in uc_mgr_ctl_add() 222 cl->slave = slave; in uc_mgr_ctl_add() 225 if (!slave) in uc_mgr_ctl_add() 226 (*ctl_list)->slave = slave; in uc_mgr_ctl_add() 261 int slave) in uc_mgr_open_ctl() 285 if (!slave) in uc_mgr_open_ctl() 286 ctl_list->slave in uc_mgr_open_ctl() 197 uc_mgr_ctl_add(snd_use_case_mgr_t *uc_mgr, struct ctl_list **ctl_list, snd_ctl_t *ctl, int card, snd_ctl_card_info_t *info, const char *device, int slave) uc_mgr_ctl_add() argument 258 uc_mgr_open_ctl(snd_use_case_mgr_t *uc_mgr, struct ctl_list **ctll, const char *device, int slave) uc_mgr_open_ctl() argument [all...] |
H A D | ucm_local.h | 129 int slave; member 330 int slave);
|
/third_party/musl/libc-test/src/functionalext/supplement/termios/ |
H A D | tcflow.c | 53 char *slave = ptsname(fdm); in tcflow_0100() local 54 int fds = open(slave, O_RDWR | O_NOCTTY); in tcflow_0100() 56 t_error("%s open slave failed", __func__); in tcflow_0100()
|
/third_party/python/Lib/test/ |
H A D | test_readline.py | 310 [master, slave] = pty.openpty() 312 proc = subprocess.Popen(args, stdin=slave, stdout=slave, stderr=slave, env=env) 313 os.close(slave) 338 # Linux raises EIO when slave is closed (Issue 5380) 349 # Apparently EIO means the slave was closed
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/ |
H A D | app_demo_spi.c | 84 test_spi_printf("slave:%d", spi_para->slave); in app_demo_spi_print_test_para() 122 hi_u32 app_demo_spi_init(hi_spi_idx id, const hi_spi_cfg_basic_info *spi_cfg_basic_info, hi_bool slave) in app_demo_spi_init() argument 126 init_param.is_slave = slave; in app_demo_spi_init() 547 * host device write data and slave device read data 556 ret = app_demo_spi_init(spi_para->spi_id, &(spi_para->cfg_info), spi_para->slave); in app_demo_spi_test_cmd_mw_sr() 573 if (spi_para->slave == 0) { in app_demo_spi_test_cmd_mw_sr() 588 * host device read data and slave device write data 597 ret = app_demo_spi_init(spi_para->spi_id, &(spi_para->cfg_info), spi_para->slave); in app_demo_spi_test_cmd_mr_sw() 614 if (spi_para->slave in app_demo_spi_test_cmd_mr_sw() [all...] |
/third_party/alsa-lib/src/mixer/ |
H A D | mixer.c | 234 snd_mixer_slave_t *slave; in snd_mixer_attach_hctl() local 238 slave = calloc(1, sizeof(*slave)); in snd_mixer_attach_hctl() 239 if (slave == NULL) { in snd_mixer_attach_hctl() 246 free(slave); in snd_mixer_attach_hctl() 251 slave->hctl = hctl; in snd_mixer_attach_hctl() 252 list_add_tail(&slave->list, &mixer->slaves); in snd_mixer_attach_hctl() 536 snd_mixer_slave_t *slave; in snd_mixer_class_register() local 538 slave = list_entry(pos, snd_mixer_slave_t, list); in snd_mixer_class_register() 539 elem = snd_hctl_first_elem(slave in snd_mixer_class_register() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | tee_common.h | 27 int ff_tee_parse_slave_options(void *log, char *slave,
|
/third_party/toybox/toys/other/ |
H A D | i2ctools.c | 89 static int i2c_open(int bus, int slave, int chip) in i2c_open() argument 95 if (slave) xioctl(fd, slave, (void *)(long)chip); in i2c_open()
|
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/ |
H A D | fs_bind07-2.sh | 12 tst_res TINFO "bind: create slave then mount master - slave still propagates" 18 EXPECT_PASS mount --make-slave parent2
|
/third_party/ltp/testcases/network/nfsv4/locks/ |
H A D | locktests.c | 10 * range locking"). Some slave processes try to perform operations on 50 /* The operations the slave processes will try to perform */ 92 void *slave(void *data); 253 P("Running slave num: %d\n", df->dpr->whoami); in loadProcess() 255 slave((void *)df); in loadProcess() 305 /* Synchronize slave processes */ in serverSendLocal() 423 int serverSendLockLocal(struct flock *request, int slave) in serverSendLockLocal() argument 426 return write(dp.lclnt[slave][1], message, M_SIZE); in serverSendLockLocal() 506 /* Add slave and server pipe file descriptors */ in masterClient() 658 /* The main idea is to lock all the bytes in a file. Each slave proces in master() 748 void *slave(void *data) slave() function [all...] |
/device/soc/rockchip/common/sdk_linux/include/drm/bridge/ |
H A D | dw_mipi_dsi.h | 60 void dw_mipi_dsi_set_slave(struct dw_mipi_dsi *dsi, struct dw_mipi_dsi *slave);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/include/ |
H A D | app_demo_spi.h | 48 hi_bool slave; member
|
/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/ |
H A D | fs_bind_cloneNS02.sh | 12 tst_res TINFO "cloneNS: namespaces with parent-slave" 19 EXPECT_PASS mount --make-slave dir2
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/ |
H A D | hw.h | 36 * RKCIF_MASTER_SLAVE: internal master->slave 38 * RKCIF_MASTER_MASTER: pwm/gpio->slave 57 struct rkcif_sync_dev slave; member
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/ |
H A D | hw.h | 40 * RKCIF_MASTER_SLAVE: internal master->slave 42 * RKCIF_MASTER_MASTER: pwm/gpio->slave 61 struct rkcif_sync_dev slave; member
|