Home
last modified time | relevance | path

Searched refs:slave (Results 251 - 275 of 589) sorted by relevance

1...<<11121314151617181920>>...24

/kernel/linux/linux-6.6/include/linux/mlx4/
H A Ddevice.h1060 static inline int mlx4_is_guest_proxy(struct mlx4_dev *dev, int slave, u32 qpn) in mlx4_is_guest_proxy() argument
1062 int guest_proxy_base = dev->phys_caps.base_proxy_sqpn + slave * 8; in mlx4_is_guest_proxy()
1462 void mlx4_sync_pkey_table(struct mlx4_dev *dev, int slave, int port,
1467 int mlx4_is_slave_active(struct mlx4_dev *dev, int slave);
1468 int mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port);
1469 int mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port);
1471 int mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, u8 port_subtype_change);
1472 enum slave_port_state mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port);
1473 int set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, int event, enum slave_port_gen_event *gen_event);
1475 void mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be6
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/
H A Ddw-mipi-dsi-rockchip.c267 struct dw_mipi_dsi_rockchip *slave; member
775 if (dsi->slave) in dw_mipi_dsi_encoder_atomic_check()
803 if (dsi->slave) in dw_mipi_dsi_encoder_enable()
804 dw_mipi_dsi_rockchip_set_lcdsel(dsi->slave, mux); in dw_mipi_dsi_encoder_enable()
925 /* we are the slave in dual-DSI */ in dw_mipi_dsi_rockchip_bind()
931 dsi->slave = dev_get_drvdata(second); in dw_mipi_dsi_rockchip_bind()
932 if (!dsi->slave) { in dw_mipi_dsi_rockchip_bind()
937 dsi->slave->is_slave = true; in dw_mipi_dsi_rockchip_bind()
938 dw_mipi_dsi_set_slave(dsi->dmd, dsi->slave->dmd); in dw_mipi_dsi_rockchip_bind()
943 if (dsi->slave) in dw_mipi_dsi_rockchip_bind()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/
H A Ddsi_pll_7nm.c121 struct dsi_pll_7nm *slave; member
128 * mode, where the master PLL's clk_ops needs access the slave's private data
313 if (pll->slave) in dsi_pll_config_hzindep_reg()
314 pll_write(pll->slave->mmio + REG_DSI_7nm_PHY_PLL_PERF_OPTIMIZE, 0x22); in dsi_pll_config_hzindep_reg()
441 if (pll_7nm->slave) in dsi_pll_7nm_vco_prepare()
442 dsi_pll_enable_pll_bias(pll_7nm->slave); in dsi_pll_7nm_vco_prepare()
468 if (pll_7nm->slave) in dsi_pll_7nm_vco_prepare()
469 dsi_pll_phy_dig_reset(pll_7nm->slave); in dsi_pll_7nm_vco_prepare()
472 if (pll_7nm->slave) in dsi_pll_7nm_vco_prepare()
473 dsi_pll_enable_global_clk(pll_7nm->slave); in dsi_pll_7nm_vco_prepare()
[all...]
/kernel/linux/linux-6.6/net/dsa/
H A Dslave.c3 * net/dsa/slave.c - Slave device handling
30 #include "slave.h"
318 /* slave mii_bus handling ***************************************************/
342 ds->slave_mii_bus->name = "dsa slave smi"; in dsa_slave_mii_bus_init()
352 /* slave device handling ****************************************************/
659 dsa_slave_vlan_check_for_8021q_uppers(struct net_device *slave, in dsa_slave_vlan_check_for_8021q_uppers() argument
665 netdev_for_each_upper_dev_rcu(slave, upper_dev, iter) { in dsa_slave_vlan_check_for_8021q_uppers()
1934 int dsa_slave_manage_vlan_filtering(struct net_device *slave, in dsa_slave_manage_vlan_filtering() argument
1940 slave->features |= NETIF_F_HW_VLAN_CTAG_FILTER; in dsa_slave_manage_vlan_filtering()
1942 err = vlan_for_each(slave, dsa_slave_restore_vla in dsa_slave_manage_vlan_filtering()
2024 struct net_device *slave; dsa_bridge_mtu_normalization() local
2534 dsa_slave_setup_tagger(struct net_device *slave) dsa_slave_setup_tagger() argument
2966 struct net_device *slave, *br; dsa_prevent_bridging_8021q_upper() local
[all...]
/third_party/alsa-lib/test/
H A Dplaymidi1.c85 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...]
/kernel/linux/linux-5.10/include/sound/
H A Ddesignware_i2s.h43 bool (*filter)(struct dma_chan *chan, void *slave);
52 bool (*filter)(struct dma_chan *chan, void *slave);
/kernel/linux/linux-6.6/include/sound/
H A Ddesignware_i2s.h45 bool (*filter)(struct dma_chan *chan, void *slave);
55 bool (*filter)(struct dma_chan *chan, void *slave);
/kernel/linux/linux-5.10/drivers/dma/
H A Damba-pl08x.c238 * @cfg: slave configuration
242 * @slave: whether this channel is a device (slave) or for memcpy
256 bool slave; member
264 * @slave: optional slave engine for this instance
266 * @has_slave: the PL08x has a slave engine (routed signals)
279 struct dma_device slave; member
461 * FIXME: do not just handle memcpy, also handle slave DMA. in pl08x_write_lli()
925 list_for_each_entry(p, &pl08x->slave in pl08x_phy_free()
2369 pl08x_dma_init_virtual_channels(struct pl08x_driver_data *pl08x, struct dma_device *dmadev, unsigned int channels, bool slave) pl08x_dma_init_virtual_channels() argument
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-rcar.c34 #define ICSCR 0x00 /* slave ctrl */
36 #define ICSSR 0x08 /* slave status */
38 #define ICSIER 0x10 /* slave irq enable */
41 #define ICSAR 0x1C /* slave address */
48 #define SDBS BIT(3) /* slave data buffer select */
49 #define SIE BIT(2) /* slave interface enable */
65 #define STM BIT(5) /* slave transmit mode */
67 #define SDE BIT(3) /* slave data empty */
68 #define SDT BIT(2) /* slave data transmitted */
69 #define SDR BIT(1) /* slave dat
133 struct i2c_client *slave; global() member
948 rcar_reg_slave(struct i2c_client *slave) rcar_reg_slave() argument
970 rcar_unreg_slave(struct i2c_client *slave) rcar_unreg_slave() argument
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Damba-pl08x.c238 * @cfg: slave configuration
242 * @slave: whether this channel is a device (slave) or for memcpy
256 bool slave; member
264 * @slave: optional slave engine for this instance
266 * @has_slave: the PL08x has a slave engine (routed signals)
279 struct dma_device slave; member
461 * FIXME: do not just handle memcpy, also handle slave DMA. in pl08x_write_lli()
925 list_for_each_entry(p, &pl08x->slave in pl08x_phy_free()
2361 pl08x_dma_init_virtual_channels(struct pl08x_driver_data *pl08x, struct dma_device *dmadev, unsigned int channels, bool slave) pl08x_dma_init_virtual_channels() argument
[all...]
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dslirp_user.c65 pri->slave = fds[1]; in slirp_open()
83 close(pri->slave); in slirp_close()
85 pri->slave = -1; in slirp_close()
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dslirp_user.c65 pri->slave = fds[1]; in slirp_open()
83 close(pri->slave); in slirp_close()
85 pri->slave = -1; in slirp_close()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Drt715-sdca.h22 struct sdw_slave *slave; member
128 int rt715_sdca_io_init(struct device *dev, struct sdw_slave *slave);
130 struct regmap *regmap, struct sdw_slave *slave);
/third_party/alsa-lib/src/ucm/
H A Dutils.c69 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...]
/kernel/linux/linux-5.10/drivers/dma/dw/
H A Dacpi.c12 struct dw_dma_slave slave = { in dw_dma_acpi_filter() local
20 return dw_dma_filter(chan, &slave); in dw_dma_acpi_filter()
/kernel/linux/linux-6.6/drivers/dma/dw/
H A Dacpi.c12 struct dw_dma_slave slave = { in dw_dma_acpi_filter() local
20 return dw_dma_filter(chan, &slave); in dw_dma_acpi_filter()
H A Didma32.c38 struct device *slave = dwc->chan.slave; in idma32_get_slave_devfn() local
40 if (!slave || !dev_is_pci(slave)) in idma32_get_slave_devfn()
43 return to_pci_dev(slave)->devfn; in idma32_get_slave_devfn()
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dsdla.c509 static int sdla_activate(struct net_device *slave, struct net_device *master) in sdla_activate() argument
514 flp = netdev_priv(slave); in sdla_activate()
525 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE)) in sdla_activate()
526 sdla_cmd(slave, SDLA_ACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL); in sdla_activate()
531 static int sdla_deactivate(struct net_device *slave, struct net_device *master) in sdla_deactivate() argument
536 flp = netdev_priv(slave); in sdla_deactivate()
547 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE)) in sdla_deactivate()
548 sdla_cmd(slave, SDLA_DEACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL); in sdla_deactivate()
553 static int sdla_assoc(struct net_device *slave, struct net_device *master) in sdla_assoc() argument
561 flp = netdev_priv(slave); in sdla_assoc()
589 sdla_deassoc(struct net_device *slave, struct net_device *master) sdla_deassoc() argument
617 sdla_dlci_conf(struct net_device *slave, struct net_device *master, int get) sdla_dlci_conf() argument
[all...]
/kernel/linux/linux-5.10/drivers/fsi/
H A Dfsi-master-hub.c30 * bus as through an address range on the slave itself (->addr and ->size).
39 uint32_t addr, size; /* slave-relative addr of */
54 return fsi_slave_read(hub->upstream->slave, addr, val, size); in hub_master_read()
66 return fsi_slave_write(hub->upstream->slave, addr, val, size); in hub_master_write()
211 rc = fsi_slave_claim_range(fsi_dev->slave, FSI_HUB_LINK_OFFSET, in hub_master_probe()
214 dev_err(dev, "can't claim slave address range for links"); in hub_master_probe()
257 fsi_slave_release_range(fsi_dev->slave, FSI_HUB_LINK_OFFSET, in hub_master_probe()
267 fsi_slave_release_range(hub->upstream->slave, hub->addr, hub->size); in hub_master_remove()
/kernel/linux/linux-6.6/drivers/fsi/
H A Dfsi-master-hub.c30 * bus as through an address range on the slave itself (->addr and ->size).
39 uint32_t addr, size; /* slave-relative addr of */
54 return fsi_slave_read(hub->upstream->slave, addr, val, size); in hub_master_read()
66 return fsi_slave_write(hub->upstream->slave, addr, val, size); in hub_master_write()
211 rc = fsi_slave_claim_range(fsi_dev->slave, FSI_HUB_LINK_OFFSET, in hub_master_probe()
214 dev_err(dev, "can't claim slave address range for links"); in hub_master_probe()
257 fsi_slave_release_range(fsi_dev->slave, FSI_HUB_LINK_OFFSET, in hub_master_probe()
267 fsi_slave_release_range(hub->upstream->slave, hub->addr, hub->size); in hub_master_remove()
/third_party/python/Lib/test/
H A Dtest_readline.py310 [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
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw_priv.h295 u32 slaves; /* number of slave cpgmac ports */
296 u32 active_slave;/* time stamping, ethtool and SIOCGMIIPHY slave */
314 static inline u32 slave_read(struct cpsw_slave *slave, u32 offset) in slave_read() argument
316 return readl_relaxed(slave->regs + offset); in slave_read()
319 static inline void slave_write(struct cpsw_slave *slave, u32 val, u32 offset) in slave_write() argument
321 writel_relaxed(val, slave->regs + offset); in slave_write()
453 void cpsw_set_slave_mac(struct cpsw_slave *slave, struct cpsw_priv *priv);
461 void cpsw_cbs_resume(struct cpsw_slave *slave, struct cpsw_priv *priv);
462 void cpsw_mqprio_resume(struct cpsw_slave *slave, struct cpsw_priv *priv);
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw_priv.h297 u32 slaves; /* number of slave cpgmac ports */
298 u32 active_slave;/* time stamping, ethtool and SIOCGMIIPHY slave */
316 static inline u32 slave_read(struct cpsw_slave *slave, u32 offset) in slave_read() argument
318 return readl_relaxed(slave->regs + offset); in slave_read()
321 static inline void slave_write(struct cpsw_slave *slave, u32 val, u32 offset) in slave_write() argument
323 writel_relaxed(val, slave->regs + offset); in slave_write()
461 void cpsw_set_slave_mac(struct cpsw_slave *slave, struct cpsw_priv *priv);
469 void cpsw_cbs_resume(struct cpsw_slave *slave, struct cpsw_priv *priv);
470 void cpsw_mqprio_resume(struct cpsw_slave *slave, struct cpsw_priv *priv);
/kernel/linux/linux-6.6/net/hsr/
H A Dhsr_device.c169 netdev_warn(dev, "No slave devices configured\n"); in hsr_dev_open()
482 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2], in hsr_dev_finalize() argument
495 eth_hw_addr_set(hsr_dev, slave[0]->dev_addr); in hsr_dev_finalize()
510 slave[1]->dev_addr); in hsr_dev_finalize()
535 if ((slave[0]->features & NETIF_F_HW_HSR_FWD) && in hsr_dev_finalize()
536 (slave[1]->features & NETIF_F_HW_HSR_FWD)) in hsr_dev_finalize()
545 res = hsr_add_port(hsr, slave[0], HSR_PT_SLAVE_A, extack); in hsr_dev_finalize()
549 res = hsr_add_port(hsr, slave[1], HSR_PT_SLAVE_B, extack); in hsr_dev_finalize()
/third_party/musl/libc-test/src/functionalext/supplement/termios/
H A Dtcflow.c53 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()

Completed in 26 milliseconds

1...<<11121314151617181920>>...24