Searched refs:slave (Results 51 - 75 of 269) sorted by relevance

1234567891011

/linux-master/sound/soc/codecs/
H A Drt1308-sdw.c123 static int rt1308_read_prop(struct sdw_slave *slave) argument
125 struct sdw_slave_prop *prop = &slave->prop;
142 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval,
162 dev_dbg(&slave->dev, "%s\n", __func__);
213 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) argument
231 pm_runtime_set_active(&slave->dev);
233 pm_runtime_get_noresume(&slave->dev);
294 pm_runtime_mark_last_busy(&slave->dev);
295 pm_runtime_put_autosuspend(&slave->dev);
297 dev_dbg(&slave
302 rt1308_update_status(struct sdw_slave *slave, enum sdw_slave_status status) argument
321 rt1308_bus_config(struct sdw_slave *slave, struct sdw_bus_params *params) argument
336 rt1308_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) argument
680 rt1308_sdw_init(struct device *dev, struct regmap *regmap, struct sdw_slave *slave) argument
730 rt1308_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument
743 rt1308_sdw_remove(struct sdw_slave *slave) argument
772 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
H A Drt700-sdw.c313 static int rt700_update_status(struct sdw_slave *slave, argument
316 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev);
322 * Perform initialization only if slave status is present and
329 return rt700_io_init(&slave->dev, slave);
332 static int rt700_read_prop(struct sdw_slave *slave) argument
334 struct sdw_slave_prop *prop = &slave->prop;
351 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval,
370 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval,
396 static int rt700_bus_config(struct sdw_slave *slave, argument
411 rt700_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) argument
440 rt700_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument
458 rt700_sdw_remove(struct sdw_slave *slave) argument
495 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
525 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
H A Drt1017-sdca-sdw.c257 static int rt1017_sdca_read_prop(struct sdw_slave *slave) argument
259 struct sdw_slave_prop *prop = &slave->prop;
279 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval,
297 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval,
319 static int rt1017_sdca_io_init(struct device *dev, struct sdw_slave *slave) argument
335 pm_runtime_set_autosuspend_delay(&slave->dev, 3000);
336 pm_runtime_use_autosuspend(&slave->dev);
339 pm_runtime_set_active(&slave->dev);
342 pm_runtime_mark_last_busy(&slave->dev);
344 pm_runtime_enable(&slave
372 rt1017_sdca_update_status(struct sdw_slave *slave, enum sdw_slave_status status) argument
703 rt1017_sdca_init(struct device *dev, struct regmap *regmap, struct sdw_slave *slave) argument
732 rt1017_sdca_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument
745 rt1017_sdca_sdw_remove(struct sdw_slave *slave) argument
777 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
H A Drt711-sdw.c317 static int rt711_update_status(struct sdw_slave *slave, argument
320 struct rt711_priv *rt711 = dev_get_drvdata(&slave->dev);
326 * Perform initialization only if slave status is present and
333 return rt711_io_init(&slave->dev, slave);
336 static int rt711_read_prop(struct sdw_slave *slave) argument
338 struct sdw_slave_prop *prop = &slave->prop;
356 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval,
375 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval,
401 static int rt711_bus_config(struct sdw_slave *slave, argument
416 rt711_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) argument
441 rt711_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument
459 rt711_sdw_remove(struct sdw_slave *slave) argument
502 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
531 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
H A Drt1316-sdw.c196 static int rt1316_read_prop(struct sdw_slave *slave) argument
198 struct sdw_slave_prop *prop = &slave->prop;
215 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval,
233 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval,
252 dev_dbg(&slave->dev, "%s\n", __func__);
268 static int rt1316_io_init(struct device *dev, struct sdw_slave *slave) argument
284 pm_runtime_set_active(&slave->dev);
287 pm_runtime_get_noresume(&slave->dev);
305 pm_runtime_mark_last_busy(&slave->dev);
306 pm_runtime_put_autosuspend(&slave
312 rt1316_update_status(struct sdw_slave *slave, enum sdw_slave_status status) argument
657 rt1316_sdw_init(struct device *dev, struct regmap *regmap, struct sdw_slave *slave) argument
707 rt1316_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument
720 rt1316_sdw_remove(struct sdw_slave *slave) argument
749 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
H A Drt715-sdw.c416 static int rt715_update_status(struct sdw_slave *slave, argument
419 struct rt715_priv *rt715 = dev_get_drvdata(&slave->dev);
422 * Perform initialization only if slave status is present and
429 return rt715_io_init(&slave->dev, slave);
432 static int rt715_read_prop(struct sdw_slave *slave) argument
434 struct sdw_slave_prop *prop = &slave->prop;
451 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval,
476 static int rt715_bus_config(struct sdw_slave *slave, argument
479 struct rt715_priv *rt715 = dev_get_drvdata(&slave
497 rt715_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument
515 rt715_sdw_remove(struct sdw_slave *slave) argument
545 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
/linux-master/include/linux/soundwire/
H A Dsdw.h375 * @use_domain_irq: call actual IRQ handler on slave, as well as callback
463 int sdw_slave_read_prop(struct sdw_slave *slave);
634 int (*interrupt_callback)(struct sdw_slave *slave,
636 int (*update_status)(struct sdw_slave *slave,
638 int (*bus_config)(struct sdw_slave *slave,
640 int (*port_prep)(struct sdw_slave *slave,
643 int (*clk_stop)(struct sdw_slave *slave,
878 int (*get_device_num)(struct sdw_bus *bus, struct sdw_slave *slave);
879 void (*put_device_num)(struct sdw_bus *bus, struct sdw_slave *slave);
881 struct sdw_slave *slave,
1087 sdw_stream_add_slave(struct sdw_slave *slave, struct sdw_stream_config *stream_config, const struct sdw_port_config *port_config, unsigned int num_ports, struct sdw_stream_runtime *stream) argument
1097 sdw_stream_remove_slave(struct sdw_slave *slave, struct sdw_stream_runtime *stream) argument
1105 sdw_read(struct sdw_slave *slave, u32 addr) argument
1111 sdw_write(struct sdw_slave *slave, u32 addr, u8 value) argument
1117 sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) argument
1123 sdw_read_no_pm(struct sdw_slave *slave, u32 addr) argument
1129 sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) argument
1135 sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) argument
1141 sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) argument
1147 sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) argument
1153 sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) argument
1159 sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c136 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave,
318 /* check if the slave is trying to boot in the middle of
813 int slave, u64 slave_addr,
820 (slave & ~0x7f) | (size & 0xff)) {
822 slave_addr, master_addr, slave, size);
827 in_param = (u64) slave | slave_addr;
831 out_param = (u64) slave | slave_addr;
891 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave, argument
912 port = mlx4_slave_convert_port(dev, slave, slave_port);
938 pidx = priv->virt2phys_pkey[slave][por
812 mlx4_ACCESS_MEM(struct mlx4_dev *dev, u64 master_addr, int slave, u64 slave_addr, int size, int is_read) argument
1025 mlx4_CMD_EPERM_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
1034 mlx4_DMA_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
1661 mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, struct mlx4_vhcr_cmd *in_vhcr) argument
1841 mlx4_master_immediate_activate_vlan_qos(struct mlx4_priv *priv, int slave, int port) argument
1995 mlx4_master_activate_admin_state(struct mlx4_priv *priv, int slave) argument
2059 mlx4_master_deactivate_admin_state(struct mlx4_priv *priv, int slave) argument
2084 mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, u16 param, u8 toggle) argument
2237 int i, slave; local
2552 int slave; local
2738 mlx4_get_vf_indx(struct mlx4_dev *dev, int slave) argument
2768 mlx4_get_active_ports(struct mlx4_dev *dev, int slave) argument
2792 mlx4_slave_convert_port(struct mlx4_dev *dev, int slave, int port) argument
2809 mlx4_phys_to_slave_port(struct mlx4_dev *dev, int slave, int port) argument
2863 mlx4_slaves_closest_port(struct mlx4_dev *dev, int slave, int port) argument
2879 mlx4_set_vport_qos(struct mlx4_priv *priv, int slave, int port, int max_tx_rate) argument
2980 int slave; local
3015 int slave; local
3084 int slave; local
3147 mlx4_get_slave_default_vlan(struct mlx4_dev *dev, int port, int slave, u16 *vlan, u8 *qos) argument
3172 int slave; local
3202 int slave; local
3243 int slave; local
3347 int slave; local
3373 mlx4_vf_smi_enabled(struct mlx4_dev *dev, int slave, int port) argument
3386 mlx4_vf_get_enable_smi_admin(struct mlx4_dev *dev, int slave, int port) argument
3402 mlx4_vf_set_enable_smi_admin(struct mlx4_dev *dev, int slave, int port, int enabled) argument
[all...]
H A Dmlx4.h134 /*The flag indicates that the slave should delay the RESET cmd*/
205 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
207 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
561 /* num_of_slave's lists, one per slave */
657 int slave; member in struct:mlx4_vf_immed_vlan_work
994 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave,
999 int mlx4_SYNC_TPT_wrapper(struct mlx4_dev *dev, int slave,
1004 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave,
1009 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave,
1014 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave,
[all...]
H A Deq.c147 u8 slave; local
152 slave = eqe->slave_id;
166 if (slave == ALL_SLAVES) {
178 mlx4_warn(dev, "Failed to generate event for slave %d\n",
184 if (mlx4_GEN_EQE(dev, slave, eqe))
185 mlx4_warn(dev, "Failed to generate event for slave %d\n",
186 slave);
194 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) argument
205 mlx4_warn(dev, "Master failed to generate an EQE for slave: %d. No free EQE on slave event
223 mlx4_slave_event(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) argument
253 mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port) argument
273 mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port) argument
290 mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, u8 port_subtype_change) argument
311 mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port) argument
327 mlx4_set_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, enum slave_port_state state) argument
366 set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, int event, enum slave_port_gen_event *gen_event) argument
502 int slave = 0; local
875 mlx4_MAP_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
[all...]
/linux-master/drivers/soundwire/
H A Dmipi_disco.c123 static int sdw_slave_read_dp0(struct sdw_slave *slave, argument
139 dp0->words = devm_kcalloc(&slave->dev,
162 static int sdw_slave_read_dpn(struct sdw_slave *slave, argument
182 node = device_get_named_child_node(&slave->dev, name);
184 dev_err(&slave->dev, "%s dpN not found\n", name);
196 dpn[i].words = devm_kcalloc(&slave->dev,
235 dpn[i].channels = devm_kcalloc(&slave->dev,
250 dpn[i].ch_combinations = devm_kcalloc(&slave->dev,
285 * @slave: SDW Slave
287 int sdw_slave_read_prop(struct sdw_slave *slave) argument
[all...]
H A Dstream.c63 struct sdw_slave *slave,
84 ret = sdw_write_no_pm(slave, addr1, t_params->offset2);
91 ret = sdw_write_no_pm(slave, addr2, t_params->blk_pkg_mode);
108 ret = sdw_write_no_pm(slave, addr3, wbuf);
118 ret = sdw_write_no_pm(slave, addr4, wbuf);
131 struct sdw_slave_prop *slave_prop = &s_rt->slave->prop;
137 if (s_rt->slave->is_mockup_device)
140 dpn_prop = sdw_get_slave_dpn_prop(s_rt->slave,
166 ret = sdw_update_no_pm(s_rt->slave, addr1, 0xF, wbuf);
168 dev_err(&s_rt->slave
62 _sdw_program_slave_port_params(struct sdw_bus *bus, struct sdw_slave *slave, struct sdw_transport_params *t_params, enum sdw_dpn_type type) argument
406 struct sdw_slave *slave = s_rt->slave; local
587 struct sdw_slave *slave; local
925 sdw_slave_port_free(struct sdw_slave *slave, struct sdw_stream_runtime *stream) argument
945 sdw_slave_port_alloc(struct sdw_slave *slave, struct sdw_slave_runtime *s_rt, unsigned int num_config) argument
972 sdw_slave_port_config(struct sdw_slave *slave, struct sdw_slave_runtime *s_rt, const struct sdw_port_config *port_config) argument
1056 sdw_slave_rt_alloc(struct sdw_slave *slave, struct sdw_master_runtime *m_rt) argument
1090 sdw_slave_rt_find(struct sdw_slave *slave, struct sdw_stream_runtime *stream) argument
1115 sdw_slave_rt_free(struct sdw_slave *slave, struct sdw_stream_runtime *stream) argument
1284 sdw_get_slave_dpn_prop(struct sdw_slave *slave, enum sdw_data_direction direction, unsigned int port_num) argument
1983 sdw_stream_add_slave(struct sdw_slave *slave, struct sdw_stream_config *stream_config, const struct sdw_port_config *port_config, unsigned int num_ports, struct sdw_stream_runtime *stream) argument
2087 sdw_stream_remove_slave(struct sdw_slave *slave, struct sdw_stream_runtime *stream) argument
[all...]
/linux-master/arch/powerpc/platforms/powermac/
H A Dpic.c287 struct device_node *slave = NULL; local
303 slave = of_find_node_by_name(NULL, "pci106b,7");
304 if (slave)
313 slave = of_find_node_by_name(master, "mac-io");
315 /* Check ordering of master & slave */
317 BUG_ON(slave == NULL);
318 swap(master, slave);
321 /* We found a slave */
322 if (slave)
352 if (slave
474 struct device_node *np, *master = NULL, *slave = NULL; local
[all...]
/linux-master/include/sound/
H A Ddesignware_i2s.h45 bool (*filter)(struct dma_chan *chan, void *slave);
55 bool (*filter)(struct dma_chan *chan, void *slave);
/linux-master/drivers/infiniband/core/
H A Dlag.c85 struct net_device *slave; local
93 slave = netdev_get_xmit_slave(master, skb,
96 if (slave)
97 dev_hold(slave);
100 return slave;
112 struct net_device *slave = NULL; local
132 slave = rdma_get_xmit_slave_udp(device, master, ah_attr, flags);
135 return slave;
/linux-master/sound/usb/usx2y/
H A Dus122l.h16 struct file *slave; member in struct:us122l
/linux-master/drivers/i2c/
H A DMakefile10 i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o
19 obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o
20 obj-$(CONFIG_I2C_SLAVE_TESTUNIT) += i2c-slave-testunit.o
/linux-master/drivers/char/ipmi/
H A Dipmi_ipmb.c36 /* Add room for the two slave addresses, two checksums, and rqSeq. */
42 struct i2c_client *slave; member in struct:ipmi_ipmb_dev
190 * First byte is the slave address, to ease the checksum
261 iidev->xmitmsg[3] = iidev->slave->addr << 1;
429 if (iidev->slave) {
430 i2c_slave_unregister(iidev->slave);
431 if (iidev->slave != iidev->client)
432 i2c_unregister_device(iidev->slave);
434 iidev->slave = NULL;
453 struct i2c_client *slave local
[all...]
/linux-master/drivers/infiniband/hw/mlx4/
H A Dmad.c336 int i, ix, slave, err; local
339 for (slave = 0; slave < dev->dev->caps.sqp_demux; slave++) {
340 if (slave == mlx4_master_func_num(dev->dev))
342 if (!mlx4_is_slave_active(dev->dev, slave))
351 if (dev->pkeys.virt2phys_pkey[slave][port_num - 1]
353 err = mlx4_gen_pkey_eqe(dev->dev, slave, port_num);
354 pr_debug("propagate_pkey_ev: slave %d,"
356 slave, port_nu
417 mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) argument
446 find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, u32 port, u16 pkey, u16 *ix) argument
504 is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) argument
511 mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u32 port, enum ib_qp_type dest_qpt, struct ib_wc *wc, struct ib_grh *grh, struct ib_mad *mad) argument
688 int slave = -1; local
1340 mlx4_ib_multiplex_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) argument
1356 mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u32 port, enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn, u32 qkey, struct rdma_ah_attr *attr, u8 *s_mac, u16 vlan_id, struct ib_mad *mad) argument
1460 get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) argument
1467 fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, struct rdma_ah_attr *ah_attr) argument
1486 int slave; local
1955 alloc_pv_object(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx **ret_ctx) argument
1972 free_pv_object(struct mlx4_ib_dev *dev, int slave, int port) argument
1980 create_pv_resources(struct ib_device *ibdev, int slave, int port, int create_tun, struct mlx4_ib_demux_pv_ctx *ctx) argument
2093 destroy_pv_resources(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx *ctx, int flush) argument
2118 mlx4_ib_tunnels_update(struct mlx4_ib_dev *dev, int slave, int port, int do_init) argument
[all...]
H A Dsysfs.c373 int slave; member in struct:mlx4_port
447 u8 key = m->virt2phys_pkey[p->slave][p->port_num - 1][tab_attr->index];
463 if (p->slave == mlx4_master_func_num(p->dev->dev))
473 p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1]
475 mlx4_sync_pkey_table(p->dev->dev, p->slave, p->port_num,
477 err = mlx4_gen_pkey_eqe(p->dev->dev, p->slave, p->port_num);
479 pr_err("mlx4_gen_pkey_eqe failed for slave %d,"
480 " port %d, index %d\n", p->slave, p->port_num, idx);
489 return sysfs_emit(buf, "%d\n", p->slave);
545 !!mlx4_vf_smi_enabled(p->dev->dev, p->slave,
625 add_port(struct mlx4_ib_dev *dev, int port_num, int slave) argument
694 register_one_pkey_tree(struct mlx4_ib_dev *dev, int slave) argument
773 int slave; local
[all...]
/linux-master/arch/arm/mach-omap2/
H A Domap_hwmod_3xxx_data.c1061 * multichannel serial port interface (mcspi) / master/slave synchronous serial
1458 .slave = &omap3xxx_l4_core_hwmod,
1465 .slave = &omap3xxx_l4_per_hwmod,
1473 .slave = &omap3xxx_l3_main_hwmod,
1481 .slave = &omap3xxx_debugss_hwmod,
1488 .slave = &omap3xxx_l3_main_hwmod,
1494 .slave = &omap3xxx_l3_main_hwmod,
1507 .slave = &omap3xxx_l3_main_hwmod,
1515 .slave = &omap3xxx_l4_wkup_hwmod,
1522 .slave
[all...]
H A Domap_hwmod_81xx_data.c149 .slave = &dm81xx_l4_ls_hwmod,
156 .slave = &dm81xx_l4_hs_hwmod,
177 .slave = &dm81xx_alwon_l3_slow_hwmod,
184 .slave = &dm81xx_alwon_l3_med_hwmod,
204 .slave = &dm81xx_alwon_l3_slow_hwmod,
211 .slave = &dm81xx_alwon_l3_med_hwmod,
246 .slave = &ti81xx_rtc_hwmod,
285 .slave = &dm81xx_uart1_hwmod,
306 .slave = &dm81xx_uart2_hwmod,
327 .slave
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-emev2.c27 #define I2C_OFS_SVA0 0x0c /* slave address */
71 struct i2c_client *slave; member in struct:em_i2c_device
149 /* Send slave address and R/W type */
157 /* Received NACK (result of setting slave address and R/W) */
234 if (!priv->slave)
245 /* Stop detected, we don't know if it's for slave or master */
247 /* Notify slave device */
248 i2c_slave_event(priv->slave, I2C_SLAVE_STOP, &value);
270 i2c_slave_event(priv->slave, event, &value);
284 i2c_slave_event(priv->slave, I2C_SLAVE_WRITE_REQUESTE
317 em_i2c_reg_slave(struct i2c_client *slave) argument
335 em_i2c_unreg_slave(struct i2c_client *slave) argument
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Dcpsw_new.c588 struct cpsw_slave *slave)
596 slave_write(slave, slave->port_vlan, reg);
598 cpsw_ale_add_vlan(cpsw->ale, slave->port_vlan, port_mask,
601 ALE_PORT_HOST, ALE_VLAN, slave->port_vlan,
605 ALE_SECURE, slave->port_vlan);
614 struct cpsw_slave *slave)
638 port_mask, ALE_VLAN, slave->port_vlan,
641 HOST_PORT_NUM, ALE_VLAN, slave->port_vlan);
645 slave_write(slave, slav
587 cpsw_port_add_dual_emac_def_ale_entries(struct cpsw_priv *priv, struct cpsw_slave *slave) argument
613 cpsw_port_add_switch_def_ale_entries(struct cpsw_priv *priv, struct cpsw_slave *slave) argument
652 struct cpsw_slave *slave; local
718 cpsw_slave_open(struct cpsw_slave *slave, struct cpsw_priv *priv) argument
794 struct cpsw_slave *slave; local
1653 struct cpsw_slave *slave = &cpsw->slaves[i]; local
1666 struct cpsw_slave *slave = &cpsw->slaves[i]; local
1694 struct cpsw_slave *slave = &cpsw->slaves[i]; local
1723 struct cpsw_slave *slave = &cpsw->slaves[i]; local
[all...]
/linux-master/include/linux/
H A Dif_eql.h27 typedef struct slave { struct

Completed in 262 milliseconds

1234567891011