/linux-4.1.27/sound/core/ |
D | vmaster.c | 58 struct snd_kcontrol slave; /* the copy of original control entry */ member 61 static int slave_update(struct link_slave *slave) in slave_update() argument 69 uctl->id = slave->slave.id; in slave_update() 70 err = slave->slave.get(&slave->slave, uctl); in slave_update() 71 for (ch = 0; ch < slave->info.count; ch++) in slave_update() 72 slave->vals[ch] = uctl->value.integer.value[ch]; in slave_update() 78 static int slave_init(struct link_slave *slave) in slave_init() argument 83 if (slave->info.count) { in slave_init() 85 if (slave->flags & SND_CTL_SLAVE_NEED_UPDATE) in slave_init() 86 return slave_update(slave); in slave_init() [all …]
|
D | timer.c | 181 static void snd_timer_check_slave(struct snd_timer_instance *slave) in snd_timer_check_slave() argument 189 if (slave->slave_class == master->slave_class && in snd_timer_check_slave() 190 slave->slave_id == master->slave_id) { in snd_timer_check_slave() 191 list_move_tail(&slave->open_list, in snd_timer_check_slave() 194 slave->master = master; in snd_timer_check_slave() 195 slave->timer = master->timer; in snd_timer_check_slave() 211 struct snd_timer_instance *slave, *tmp; in snd_timer_check_master() local 214 list_for_each_entry_safe(slave, tmp, &snd_timer_slave_list, open_list) { in snd_timer_check_master() 215 if (slave->slave_class == master->slave_class && in snd_timer_check_master() 216 slave->slave_id == master->slave_id) { in snd_timer_check_master() [all …]
|
/linux-4.1.27/include/net/ |
D | bonding.h | 152 struct slave { struct 184 struct slave *arr[0]; argument 198 struct slave __rcu *curr_active_slave; 199 struct slave __rcu *current_arp_slave; 200 struct slave __rcu *primary_slave; 205 struct slave *); 240 ((struct slave *) rcu_dereference(dev->rx_handler_data)) 243 ((struct slave *) rtnl_dereference(dev->rx_handler_data)) 245 void bond_queue_slave_event(struct slave *slave); 257 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() [all …]
|
D | bond_alb.h | 28 struct slave; 31 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info) argument 72 struct slave *tx_slave; /* A pointer to slave used for transmiting 127 struct slave *slave; /* the slave assigned to this client */ member 154 struct slave *rx_slave;/* last slave to xmit from */ 171 int bond_alb_init_slave(struct bonding *bond, struct slave *slave); 172 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave); 173 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link); 174 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
|
D | bond_3ad.h | 174 struct slave; 197 struct slave *slave; /* pointer to the bond slave that this aggregator belongs to */ member 245 struct slave *slave; /* pointer to the bond slave that this port belongs to */ member 264 #define SLAVE_AD_INFO(slave) ((slave)->ad_info) argument 296 void bond_3ad_bind_slave(struct slave *slave); 297 void bond_3ad_unbind_slave(struct slave *slave); 300 void bond_3ad_adapter_speed_changed(struct slave *slave); 301 void bond_3ad_adapter_duplex_changed(struct slave *slave); 302 void bond_3ad_handle_link_change(struct slave *slave, char link); 307 struct slave *slave);
|
/linux-4.1.27/arch/blackfin/mach-bf609/ |
D | Kconfig | 38 The slave interface id of each slot should be set according following table. 55 int "Slot 0 slave interface id" 60 int "Slot 1 slave interface id" 65 int "Slot 2 slave interface id" 70 int "Slot 3 slave interface id" 75 int "Slot 4 slave interface id" 80 int "Slot 5 slave interface id" 85 int "Slot 6 slave interface id" 90 int "Slot 7 slave interface id" 95 int "Slot 8 slave interface id" [all …]
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_sysfs_slave.c | 19 ssize_t (*show)(struct slave *, char *); 31 static ssize_t state_show(struct slave *slave, char *buf) in state_show() argument 33 switch (bond_slave_state(slave)) { in state_show() 44 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show() argument 46 return sprintf(buf, "%s\n", bond_slave_link_status(slave->link)); in mii_status_show() 50 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show() argument 52 return sprintf(buf, "%d\n", slave->link_failure_count); in link_failure_count_show() 56 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show() argument 58 return sprintf(buf, "%pM\n", slave->perm_hwaddr); in perm_hwaddr_show() 62 static ssize_t queue_id_show(struct slave *slave, char *buf) in queue_id_show() argument [all …]
|
D | bond_main.c | 289 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local 293 bond_for_each_slave(bond, slave, iter) { in bond_vlan_rx_add_vid() 294 res = vlan_vid_add(slave->dev, proto, vid); in bond_vlan_rx_add_vid() 304 if (rollback_slave == slave) in bond_vlan_rx_add_vid() 323 struct slave *slave; in bond_vlan_rx_kill_vid() local 325 bond_for_each_slave(bond, slave, iter) in bond_vlan_rx_kill_vid() 326 vlan_vid_del(slave->dev, proto, vid); in bond_vlan_rx_kill_vid() 345 struct slave *slave; in bond_set_carrier() local 353 bond_for_each_slave(bond, slave, iter) { in bond_set_carrier() 354 if (slave->link == BOND_LINK_UP) { in bond_set_carrier() [all …]
|
D | bond_alb.c | 83 static void alb_send_learning_packets(struct slave *slave, u8 mac_addr[], 116 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave() argument 118 SLAVE_TLB_INFO(slave).load = 0; in tlb_init_slave() 119 SLAVE_TLB_INFO(slave).head = TLB_NULL_INDEX; in tlb_init_slave() 122 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave() argument 133 index = SLAVE_TLB_INFO(slave).head; in __tlb_clear_slave() 141 tlb_init_slave(slave); in __tlb_clear_slave() 144 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave() argument 148 __tlb_clear_slave(bond, slave, save_load); in tlb_clear_slave() 189 static long long compute_gap(struct slave *slave) in compute_gap() argument [all …]
|
D | bond_3ad.c | 142 if (port->slave == NULL) in __get_bond_by_port() 145 return bond_get_bond_by_slave(port->slave); in __get_bond_by_port() 159 struct slave *first_slave; in __get_first_agg() 192 bond_set_slave_inactive_flags(port->slave, BOND_SLAVE_NOTIFY_LATER); in __disable_port() 201 struct slave *slave = port->slave; in __enable_port() local 203 if ((slave->link == BOND_LINK_UP) && bond_slave_is_up(slave)) in __enable_port() 204 bond_set_slave_active_flags(slave, BOND_SLAVE_NOTIFY_LATER); in __enable_port() 213 return bond_is_active_slave(port->slave); in __port_is_enabled() 263 struct slave *slave = port->slave; in __get_link_speed() local 271 if (slave->link != BOND_LINK_UP) in __get_link_speed() [all …]
|
D | bond_procfs.c | 14 struct slave *slave; in bond_info_seq_start() local 22 bond_for_each_slave_rcu(bond, slave, iter) in bond_info_seq_start() 24 return slave; in bond_info_seq_start() 33 struct slave *slave; in bond_info_seq_next() local 40 bond_for_each_slave_rcu(bond, slave, iter) { in bond_info_seq_next() 42 return slave; in bond_info_seq_next() 43 if (slave == v) in bond_info_seq_next() 60 struct slave *curr, *primary; in bond_info_show_master() 160 const struct slave *slave) in bond_info_show_slave() argument 164 seq_printf(seq, "\nSlave Interface: %s\n", slave->dev->name); in bond_info_show_slave() [all …]
|
D | bond_options.c | 693 struct slave *slave) in __bond_option_active_slave_get() argument 695 return bond_uses_primary(bond) && slave ? slave->dev : NULL; in __bond_option_active_slave_get() 700 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local 702 return __bond_option_active_slave_get(bond, slave); in bond_option_active_slave_get_rcu() 742 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() 743 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() 912 struct slave *slave; in _bond_options_arp_ip_target_set() local 915 bond_for_each_slave(bond, slave, iter) in _bond_options_arp_ip_target_set() 916 slave->target_last_arp_rx[slot] = last_rx; in _bond_options_arp_ip_target_set() 960 struct slave *slave; in bond_option_arp_ip_target_rem() local [all …]
|
D | bond_netlink.c | 38 struct slave *slave = bond_slave_get_rtnl(slave_dev); in bond_fill_slave_info() local 40 if (nla_put_u8(skb, IFLA_BOND_SLAVE_STATE, bond_slave_state(slave))) in bond_fill_slave_info() 43 if (nla_put_u8(skb, IFLA_BOND_SLAVE_MII_STATUS, slave->link)) in bond_fill_slave_info() 47 slave->link_failure_count)) in bond_fill_slave_info() 51 slave_dev->addr_len, slave->perm_hwaddr)) in bond_fill_slave_info() 54 if (nla_put_u16(skb, IFLA_BOND_SLAVE_QUEUE_ID, slave->queue_id)) in bond_fill_slave_info() 57 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in bond_fill_slave_info() 60 agg = SLAVE_AD_INFO(slave)->port.aggregator; in bond_fill_slave_info() 434 const struct net_device *slave; in bond_option_active_slave_get_ifindex() local 438 slave = bond_option_active_slave_get_rcu(bond); in bond_option_active_slave_get_ifindex() [all …]
|
D | bond_sysfs.c | 182 struct slave *slave; in bonding_show_slaves() local 188 bond_for_each_slave(bond, slave, iter) { in bonding_show_slaves() 196 res += sprintf(buf + res, "%s ", slave->dev->name); in bonding_show_slaves() 428 struct slave *primary; in bonding_show_primary() 609 struct slave *slave; in bonding_show_queue_id() local 615 bond_for_each_slave(bond, slave, iter) { in bonding_show_queue_id() 624 slave->dev->name, slave->queue_id); in bonding_show_queue_id()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | omap_hwmod_33xx_43xx_interconnect_data.c | 24 .slave = &am33xx_l3_main_hwmod, 32 .slave = &am33xx_l3_s_hwmod, 40 .slave = &am33xx_l4_ls_hwmod, 48 .slave = &am33xx_l4_wkup_hwmod, 56 .slave = &am33xx_l3_instr_hwmod, 64 .slave = &am33xx_prcm_hwmod, 72 .slave = &am33xx_l3_main_hwmod, 80 .slave = &am33xx_l3_main_hwmod, 88 .slave = &am33xx_l3_main_hwmod, 96 .slave = &am33xx_gfx_hwmod, [all …]
|
D | omap_hwmod_2xxx_interconnect_data.c | 30 .slave = &omap2xxx_l4_core_hwmod, 37 .slave = &omap2xxx_l3_main_hwmod, 44 .slave = &omap2xxx_l3_main_hwmod, 57 .slave = &omap2xxx_l4_wkup_hwmod, 64 .slave = &omap2xxx_uart1_hwmod, 72 .slave = &omap2xxx_uart2_hwmod, 80 .slave = &omap2xxx_uart3_hwmod, 88 .slave = &omap2xxx_mcspi1_hwmod, 96 .slave = &omap2xxx_mcspi2_hwmod, 104 .slave = &omap2xxx_timer2_hwmod, [all …]
|
D | omap_hwmod_43xx_data.c | 588 .slave = &am43xx_l4_hs_hwmod, 595 .slave = &am33xx_l4_wkup_hwmod, 602 .slave = &am43xx_wkup_m3_hwmod, 609 .slave = &am33xx_pruss_hwmod, 616 .slave = &am33xx_smartreflex0_hwmod, 623 .slave = &am33xx_smartreflex1_hwmod, 630 .slave = &am43xx_control_hwmod, 637 .slave = &am33xx_i2c1_hwmod, 644 .slave = &am43xx_gpio0_hwmod, 651 .slave = &am43xx_adc_tsc_hwmod, [all …]
|
D | omap_hwmod_7xx_data.c | 2327 .slave = &dra7xx_l3_instr_hwmod, 2335 .slave = &dra7xx_l3_main_1_hwmod, 2343 .slave = &dra7xx_l3_main_1_hwmod, 2351 .slave = &dra7xx_l3_main_2_hwmod, 2359 .slave = &dra7xx_l3_main_2_hwmod, 2367 .slave = &dra7xx_l4_cfg_hwmod, 2375 .slave = &dra7xx_l4_per1_hwmod, 2383 .slave = &dra7xx_l4_per2_hwmod, 2391 .slave = &dra7xx_l4_per3_hwmod, 2399 .slave = &dra7xx_l4_wkup_hwmod, [all …]
|
D | omap_hwmod_44xx_data.c | 2119 .slave = &omap44xx_mmu_ipu_hwmod, 2166 .slave = &omap44xx_mmu_dsp_hwmod, 3156 .slave = &omap44xx_dmm_hwmod, 3164 .slave = &omap44xx_dmm_hwmod, 3172 .slave = &omap44xx_l3_instr_hwmod, 3180 .slave = &omap44xx_l3_instr_hwmod, 3188 .slave = &omap44xx_l3_instr_hwmod, 3196 .slave = &omap44xx_l3_main_1_hwmod, 3204 .slave = &omap44xx_l3_main_1_hwmod, 3212 .slave = &omap44xx_l3_main_1_hwmod, [all …]
|
D | omap_hwmod_2420_data.c | 284 .slave = &omap2420_i2c1_hwmod, 292 .slave = &omap2420_i2c2_hwmod, 300 .slave = &omap2420_iva_hwmod, 308 .slave = &omap2420_dsp_hwmod, 316 .slave = &omap2xxx_timer1_hwmod, 324 .slave = &omap2xxx_wd_timer2_hwmod, 332 .slave = &omap2xxx_gpio1_hwmod, 340 .slave = &omap2xxx_gpio2_hwmod, 348 .slave = &omap2xxx_gpio3_hwmod, 356 .slave = &omap2xxx_gpio4_hwmod, [all …]
|
D | omap_hwmod_2430_data.c | 445 .slave = &omap2xxx_l3_main_hwmod, 453 .slave = &omap2430_i2c1_hwmod, 461 .slave = &omap2430_i2c2_hwmod, 469 .slave = &omap2430_usbhsotg_hwmod, 477 .slave = &omap2430_mmc1_hwmod, 485 .slave = &omap2430_mmc2_hwmod, 493 .slave = &omap2430_mcspi3_hwmod, 501 .slave = &omap2430_iva_hwmod, 509 .slave = &omap2xxx_timer1_hwmod, 517 .slave = &omap2xxx_wd_timer2_hwmod, [all …]
|
D | omap_hwmod_54xx_data.c | 2039 .slave = &omap54xx_ocp2scp3_hwmod, 2096 .slave = &omap54xx_sata_hwmod, 2108 .slave = &omap54xx_dmm_hwmod, 2116 .slave = &omap54xx_l3_instr_hwmod, 2124 .slave = &omap54xx_l3_main_1_hwmod, 2132 .slave = &omap54xx_l3_main_1_hwmod, 2140 .slave = &omap54xx_mmu_dsp_hwmod, 2148 .slave = &omap54xx_l3_main_1_hwmod, 2156 .slave = &omap54xx_l3_main_2_hwmod, 2164 .slave = &omap54xx_l3_main_2_hwmod, [all …]
|
D | omap_hwmod_81xx_data.c | 143 .slave = &dm816x_l4_ls_hwmod, 150 .slave = &dm816x_l4_hs_hwmod, 171 .slave = &dm816x_alwon_l3_slow_hwmod, 178 .slave = &dm816x_alwon_l3_med_hwmod, 216 .slave = &dm816x_uart1_hwmod, 237 .slave = &dm816x_uart2_hwmod, 258 .slave = &dm816x_uart3_hwmod, 295 .slave = &dm816x_wd_timer_hwmod, 332 .slave = &dm81xx_i2c1_hwmod, 363 .slave = &dm816x_i2c2_hwmod, [all …]
|
D | omap_hwmod_33xx_data.c | 347 .slave = &am33xx_emif_hwmod, 356 .slave = &am33xx_l4_hs_hwmod, 364 .slave = &am33xx_l4_wkup_hwmod, 372 .slave = &am33xx_wkup_m3_hwmod, 380 .slave = &am33xx_pruss_hwmod, 397 .slave = &am33xx_debugss_hwmod, 406 .slave = &am33xx_smartreflex0_hwmod, 414 .slave = &am33xx_smartreflex1_hwmod, 422 .slave = &am33xx_control_hwmod, 430 .slave = &am33xx_i2c1_hwmod, [all …]
|
D | omap_hwmod_3xxx_data.c | 2191 .slave = &omap3xxx_l4_core_hwmod, 2198 .slave = &omap3xxx_l4_per_hwmod, 2214 .slave = &omap3xxx_l3_main_hwmod, 2231 .slave = &omap3xxx_debugss_hwmod, 2239 .slave = &omap3xxx_l3_main_hwmod, 2245 .slave = &omap3xxx_l3_main_hwmod, 2258 .slave = &omap3xxx_l3_main_hwmod, 2266 .slave = &omap3xxx_l3_main_hwmod, 2274 .slave = &omap3xxx_l3_main_hwmod, 2282 .slave = &omap3xxx_l4_wkup_hwmod, [all …]
|
/linux-4.1.27/drivers/mtd/ |
D | mtdpart.c | 333 struct mtd_part *slave, *next; in del_mtd_partitions() local 337 list_for_each_entry_safe(slave, next, &mtd_partitions, list) in del_mtd_partitions() 338 if (slave->master == master) { in del_mtd_partitions() 339 ret = del_mtd_device(&slave->mtd); in del_mtd_partitions() 344 list_del(&slave->list); in del_mtd_partitions() 345 free_partition(slave); in del_mtd_partitions() 356 struct mtd_part *slave; in allocate_partition() local 360 slave = kzalloc(sizeof(*slave), GFP_KERNEL); in allocate_partition() 362 if (!name || !slave) { in allocate_partition() 366 kfree(slave); in allocate_partition() [all …]
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
D | armada_slave.c | 23 struct drm_encoder_slave *slave = to_encoder_slave(enc); in armada_drm_slave_get_modes() local 25 count = slave->slave_funcs->get_modes(enc, conn); in armada_drm_slave_get_modes() 33 struct drm_encoder_slave *slave = to_encoder_slave(enc); in armada_drm_slave_destroy() local 36 if (slave->slave_funcs) in armada_drm_slave_destroy() 37 slave->slave_funcs->destroy(enc); in armada_drm_slave_destroy() 41 drm_encoder_cleanup(&slave->base); in armada_drm_slave_destroy() 42 kfree(slave); in armada_drm_slave_destroy() 70 struct drm_encoder_slave *slave; in armada_drm_conn_slave_create() local 80 slave = kzalloc(sizeof(*slave), GFP_KERNEL); in armada_drm_conn_slave_create() 81 if (!slave) in armada_drm_conn_slave_create() [all …]
|
D | armada_output.c | 99 struct drm_encoder_slave *slave = to_encoder_slave(encoder); in armada_drm_slave_encoder_mode_valid() local 101 valid = slave->slave_funcs->mode_valid(encoder, mode); in armada_drm_slave_encoder_mode_valid() 113 struct drm_encoder_slave *slave = to_encoder_slave(encoder); in armada_drm_slave_encoder_set_property() local 115 rc = slave->slave_funcs->set_property(encoder, conn, property, in armada_drm_slave_encoder_set_property()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 295 static void rem_slave_vlans(struct mlx4_dev *dev, int slave); 296 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, in mlx4_grant_resource() argument 307 if (slave > dev->persist->num_vfs) in mlx4_grant_resource() 313 (dev->persist->num_vfs + 1) + slave] : in mlx4_grant_resource() 314 res_alloc->allocated[slave]; in mlx4_grant_resource() 319 guaranteed = res_alloc->guaranteed[slave]; in mlx4_grant_resource() 321 if (allocated + count > res_alloc->quota[slave]) { in mlx4_grant_resource() 323 slave, port, resource_str(res_type), count, in mlx4_grant_resource() 324 allocated, res_alloc->quota[slave]); in mlx4_grant_resource() 344 slave, port, resource_str(res_type), free, in mlx4_grant_resource() [all …]
|
D | cmd.c | 134 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, 799 int slave, u64 slave_addr, in mlx4_ACCESS_MEM() argument 806 (slave & ~0x7f) | (size & 0xff)) { in mlx4_ACCESS_MEM() 808 slave_addr, master_addr, slave, size); in mlx4_ACCESS_MEM() 813 in_param = (u64) slave | slave_addr; in mlx4_ACCESS_MEM() 817 out_param = (u64) slave | slave_addr; in mlx4_ACCESS_MEM() 877 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave, in mlx4_MAD_IFC_wrapper() argument 923 pidx = priv->virt2phys_pkey[slave][port - 1][vidx]; in mlx4_MAD_IFC_wrapper() 937 if (!err && slave != mlx4_master_func_num(dev)) { in mlx4_MAD_IFC_wrapper() 940 *state = (*state & 0xf0) | vf_port_state(dev, port, slave); in mlx4_MAD_IFC_wrapper() [all …]
|
D | mlx4.h | 200 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, 202 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, 636 int slave; member 951 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave, 956 int mlx4_SYNC_TPT_wrapper(struct mlx4_dev *dev, int slave, 961 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave, 966 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave, 971 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave, 976 int mlx4_SW2HW_EQ_wrapper(struct mlx4_dev *dev, int slave, 981 int mlx4_CONFIG_DEV_wrapper(struct mlx4_dev *dev, int slave, [all …]
|
D | eq.c | 147 u8 slave; in mlx4_gen_slave_eqe() local 152 slave = eqe->slave_id; in mlx4_gen_slave_eqe() 155 if (slave == ALL_SLAVES) { in mlx4_gen_slave_eqe() 162 if (mlx4_GEN_EQE(dev, slave, eqe)) in mlx4_gen_slave_eqe() 164 slave); in mlx4_gen_slave_eqe() 171 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) in slave_event() argument 183 slave); in slave_event() 189 s_eqe->slave_id = slave; in slave_event() 200 static void mlx4_slave_event(struct mlx4_dev *dev, int slave, in mlx4_slave_event() argument 205 if (slave < 0 || slave > dev->persist->num_vfs || in mlx4_slave_event() [all …]
|
D | port.c | 534 int mlx4_get_slave_num_gids(struct mlx4_dev *dev, int slave, int port) in mlx4_get_slave_num_gids() argument 537 int slave_gid = slave; in mlx4_get_slave_num_gids() 543 if (slave == 0) in mlx4_get_slave_num_gids() 548 actv_ports = mlx4_get_active_ports(dev, slave); in mlx4_get_slave_num_gids() 570 int mlx4_get_base_gid_ix(struct mlx4_dev *dev, int slave, int port) in mlx4_get_base_gid_ix() argument 574 int slave_gid = slave; in mlx4_get_base_gid_ix() 581 if (slave == 0) in mlx4_get_base_gid_ix() 585 actv_ports = mlx4_get_active_ports(dev, slave); in mlx4_get_base_gid_ix() 611 static int mlx4_reset_roce_port_gids(struct mlx4_dev *dev, int slave, in mlx4_reset_roce_port_gids() argument 619 num_gids = mlx4_get_slave_num_gids(dev, slave, port); in mlx4_reset_roce_port_gids() [all …]
|
D | fw.c | 191 int mlx4_QUERY_FUNC(struct mlx4_dev *dev, struct mlx4_func *func, int slave) in mlx4_QUERY_FUNC() argument 213 in_modifier = slave; in mlx4_QUERY_FUNC() 246 int mlx4_QUERY_FUNC_CAP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_FUNC_CAP_wrapper() argument 313 mlx4_get_active_ports(dev, slave); in mlx4_QUERY_FUNC_CAP_wrapper() 315 dev, slave, vhcr->in_modifier); in mlx4_QUERY_FUNC_CAP_wrapper() 327 proxy_qp = dev->phys_caps.base_proxy_sqpn + 8 * slave + port - 1; in mlx4_QUERY_FUNC_CAP_wrapper() 332 if (mlx4_vf_smi_enabled(dev, slave, port) && in mlx4_QUERY_FUNC_CAP_wrapper() 341 size = dev->phys_caps.base_tunnel_sqpn + 8 * slave + port - 1; in mlx4_QUERY_FUNC_CAP_wrapper() 356 mlx4_get_active_ports(dev, slave); in mlx4_QUERY_FUNC_CAP_wrapper() 376 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper() [all …]
|
D | fw.h | 235 int mlx4_QUERY_FUNC_CAP_wrapper(struct mlx4_dev *dev, int slave, 240 int mlx4_QUERY_FUNC(struct mlx4_dev *dev, struct mlx4_func *func, int slave);
|
/linux-4.1.27/drivers/net/ |
D | eql.c | 140 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave); 150 slave_t *slave = list_entry(this, slave_t, list); in eql_timer() local 152 if ((slave->dev->flags & IFF_UP) == IFF_UP) { in eql_timer() 153 slave->bytes_queued -= slave->priority_Bps; in eql_timer() 154 if (slave->bytes_queued < 0) in eql_timer() 155 slave->bytes_queued = 0; in eql_timer() 157 eql_kill_one_slave(&eql->queue, slave); in eql_timer() 223 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) in eql_kill_one_slave() argument 225 list_del(&slave->list); in eql_kill_one_slave() 227 slave->dev->flags &= ~IFF_SLAVE; in eql_kill_one_slave() [all …]
|
/linux-4.1.27/drivers/net/wan/ |
D | dlci.c | 197 netdev_start_xmit(skb, dlp->slave, txq, false); in dlci_transmit() 211 flp = netdev_priv(dlp->slave); in dlci_config() 223 err = (*flp->dlci_conf)(dlp->slave, dev, get); in dlci_config() 251 strncpy(ifr->ifr_slave, dlp->slave->name, sizeof(ifr->ifr_slave)); in dlci_dev_ioctl() 271 return dev_set_mtu(dlp->slave, new_mtu); in dlci_change_mtu() 285 if (!netif_running(dlp->slave)) in dlci_open() 288 flp = netdev_priv(dlp->slave); in dlci_open() 289 err = (*flp->activate)(dlp->slave, dev); in dlci_open() 308 flp = netdev_priv(dlp->slave); in dlci_close() 309 err = (*flp->deactivate)(dlp->slave, dev); in dlci_close() [all …]
|
D | sdla.c | 512 static int sdla_activate(struct net_device *slave, struct net_device *master) in sdla_activate() argument 517 flp = netdev_priv(slave); in sdla_activate() 528 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE)) in sdla_activate() 529 sdla_cmd(slave, SDLA_ACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL); in sdla_activate() 534 static int sdla_deactivate(struct net_device *slave, struct net_device *master) in sdla_deactivate() argument 539 flp = netdev_priv(slave); in sdla_deactivate() 550 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE)) in sdla_deactivate() 551 sdla_cmd(slave, SDLA_DEACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL); in sdla_deactivate() 556 static int sdla_assoc(struct net_device *slave, struct net_device *master) in sdla_assoc() argument 564 flp = netdev_priv(slave); in sdla_assoc() [all …]
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | netcp_ethss.c | 689 struct gbe_slave *slave; member 1482 #define for_each_sec_slave(slave, priv) \ argument 1483 list_for_each_entry((slave), &(priv)->secondary_slaves, slave_list) 1661 if (!gbe_intf->slave) in keystone_get_settings() 1666 cmd->port = gbe_intf->slave->phy_port_t; in keystone_get_settings() 1686 if (!gbe_intf->slave) in keystone_set_settings() 1689 if (cmd->port != gbe_intf->slave->phy_port_t) { in keystone_set_settings() 1706 gbe_intf->slave->phy_port_t = cmd->port; in keystone_set_settings() 1726 static void gbe_set_slave_mac(struct gbe_slave *slave, in gbe_set_slave_mac() argument 1731 writel(mac_hi(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_hi)); in gbe_set_slave_mac() [all …]
|
D | cpsw-phy-sel.c | 39 phy_interface_t phy_mode, int slave); 44 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_am3352() argument 70 mask = GMII_SEL_MODE_MASK << (slave * 2) | BIT(slave + 6); in cpsw_gmii_sel_am3352() 71 mode <<= slave * 2; in cpsw_gmii_sel_am3352() 74 if (slave == 0) in cpsw_gmii_sel_am3352() 87 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_dra7xx() argument 113 switch (slave) { in cpsw_gmii_sel_dra7xx() 143 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) in cpsw_phy_sel() argument 157 priv->cpsw_phy_sel(priv, phy_mode, slave); in cpsw_phy_sel()
|
D | cpsw.c | 367 static inline u32 slave_read(struct cpsw_slave *slave, u32 offset) in slave_read() argument 369 return __raw_readl(slave->regs + offset); in slave_read() 372 static inline void slave_write(struct cpsw_slave *slave, u32 val, u32 offset) in slave_write() argument 374 __raw_writel(val, slave->regs + offset); in slave_write() 501 struct cpsw_slave *slave; \ 507 slave = (priv)->slaves; \ 509 (func)(slave++, ##arg); \ 534 struct cpsw_slave *slave = priv->slaves + \ 537 slave->slave_num); \ 540 ALE_VLAN, slave->port_vlan, 0); \ [all …]
|
D | cpsw-common.c | 25 int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid() argument 39 regmap_read(syscon, AM33XX_CTRL_MAC_LO_REG(offset, slave), in cpsw_am33xx_cm_get_macid() 41 regmap_read(syscon, AM33XX_CTRL_MAC_HI_REG(offset, slave), in cpsw_am33xx_cm_get_macid()
|
D | cpsw.h | 43 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave); 44 int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave,
|
/linux-4.1.27/Documentation/devicetree/bindings/clock/ |
D | brcm,kona-ccu.txt | 32 compatible = "brcm,bcm11351-slave-ccu"; 64 "brcm,bcm11351-slave-ccu" 91 slave uartb peri 0 BCM281XX_SLAVE_CCU_UARTB 92 slave uartb2 peri 1 BCM281XX_SLAVE_CCU_UARTB2 93 slave uartb3 peri 2 BCM281XX_SLAVE_CCU_UARTB3 94 slave uartb4 peri 3 BCM281XX_SLAVE_CCU_UARTB4 95 slave ssp0 peri 4 BCM281XX_SLAVE_CCU_SSP0 96 slave ssp2 peri 5 BCM281XX_SLAVE_CCU_SSP2 97 slave bsc1 peri 6 BCM281XX_SLAVE_CCU_BSC1 98 slave bsc2 peri 7 BCM281XX_SLAVE_CCU_BSC2 [all …]
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | pic.c | 301 struct device_node *slave = NULL; in pmac_pic_probe_oldstyle() local 317 slave = of_find_node_by_name(NULL, "pci106b,7"); in pmac_pic_probe_oldstyle() 318 if (slave) in pmac_pic_probe_oldstyle() 327 slave = of_find_node_by_name(master, "mac-io"); in pmac_pic_probe_oldstyle() 332 BUG_ON(slave == NULL); in pmac_pic_probe_oldstyle() 334 master = slave; in pmac_pic_probe_oldstyle() 335 slave = tmp; in pmac_pic_probe_oldstyle() 339 if (slave) in pmac_pic_probe_oldstyle() 369 if (slave && !of_address_to_resource(slave, 0, &r)) { in pmac_pic_probe_oldstyle() 377 pmac_irq_cascade = irq_of_parse_and_map(slave, 0); in pmac_pic_probe_oldstyle() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | mad.c | 313 int i, ix, slave, err; in __propagate_pkey_ev() local 316 for (slave = 0; slave < dev->dev->caps.sqp_demux; slave++) { in __propagate_pkey_ev() 317 if (slave == mlx4_master_func_num(dev->dev)) in __propagate_pkey_ev() 319 if (!mlx4_is_slave_active(dev->dev, slave)) in __propagate_pkey_ev() 328 if (dev->pkeys.virt2phys_pkey[slave][port_num - 1] in __propagate_pkey_ev() 330 err = mlx4_gen_pkey_eqe(dev->dev, slave, port_num); in __propagate_pkey_ev() 333 slave, port_num, ix, err); in __propagate_pkey_ev() 391 static int mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, in mlx4_ib_demux_sa_handler() argument 399 ret = mlx4_ib_mcg_demux_handler(ibdev, port, slave, sa_mad); in mlx4_ib_demux_sa_handler() 420 static int find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, in find_slave_port_pkey_ix() argument [all …]
|
D | sysfs.c | 374 int slave; member 449 if (p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1][tab_attr->index] >= in show_port_pkey() 454 p->dev->pkeys.virt2phys_pkey[p->slave] in show_port_pkey() 468 if (p->slave == mlx4_master_func_num(p->dev->dev)) in store_port_pkey() 478 p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1] in store_port_pkey() 480 mlx4_sync_pkey_table(p->dev->dev, p->slave, p->port_num, in store_port_pkey() 482 err = mlx4_gen_pkey_eqe(p->dev->dev, p->slave, p->port_num); in store_port_pkey() 485 " port %d, index %d\n", p->slave, p->port_num, idx); in store_port_pkey() 494 return sprintf(buf, "%d\n", p->slave); in show_port_gid_idx() 550 if (mlx4_vf_smi_enabled(p->dev->dev, p->slave, p->port_num)) in sysfs_show_smi_enabled() [all …]
|
D | mcg.c | 224 static int send_mad_to_slave(int slave, struct mlx4_ib_demux_ctx *ctx, in send_mad_to_slave() argument 245 return mlx4_ib_send_to_slave(dev, slave, ctx->port, IB_QPT_GSI, &wc, NULL, mad); in send_mad_to_slave() 314 static int send_reply_to_slave(int slave, struct mcast_group *group, in send_reply_to_slave() argument 341 sa_data->scope_join_state |= (group->func[slave].join_state & 0x0f); in send_reply_to_slave() 344 ret = send_mad_to_slave(slave, group->demux, (struct ib_mad *)&mad); in send_reply_to_slave() 491 static int join_group(struct mcast_group *group, int slave, u8 join_mask) in join_group() argument 497 join_state = join_mask & (~group->func[slave].join_state); in join_group() 499 group->func[slave].join_state |= join_state; in join_group() 500 if (group->func[slave].state != MCAST_MEMBER && join_state) { in join_group() 501 group->func[slave].state = MCAST_MEMBER; in join_group() [all …]
|
D | cm.c | 358 int mlx4_ib_demux_cm_handler(struct ib_device *ibdev, int port, int *slave, in mlx4_ib_demux_cm_handler() argument 368 if (!slave) in mlx4_ib_demux_cm_handler() 372 *slave = mlx4_ib_find_real_gid(ibdev, port, gid.global.interface_id); in mlx4_ib_demux_cm_handler() 373 if (*slave < 0) { in mlx4_ib_demux_cm_handler() 389 if (slave) in mlx4_ib_demux_cm_handler() 390 *slave = id->slave_id; in mlx4_ib_demux_cm_handler() 413 void mlx4_ib_cm_paravirt_clean(struct mlx4_ib_dev *dev, int slave) in mlx4_ib_cm_paravirt_clean() argument 425 if (slave < 0 || slave == map->slave_id) { in mlx4_ib_cm_paravirt_clean() 438 if (slave < 0) { in mlx4_ib_cm_paravirt_clean() 455 if (ent->slave_id == slave) in mlx4_ib_cm_paravirt_clean() [all …]
|
D | mlx4_ib.h | 381 int slave; member 411 int slave; member 553 int slave; member 743 void clean_vf_mcast(struct mlx4_ib_demux_ctx *ctx, int slave); 749 int mlx4_ib_mcg_multiplex_handler(struct ib_device *ibdev, int port, int slave, 751 int mlx4_ib_mcg_demux_handler(struct ib_device *ibdev, int port, int slave, 762 int mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u8 port, 766 int mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, 773 int mlx4_ib_demux_cm_handler(struct ib_device *ibdev, int port, int *slave, 801 void mlx4_ib_slave_alias_guid_event(struct mlx4_ib_dev *dev, int slave,
|
/linux-4.1.27/drivers/dma/dw/ |
D | platform.c | 35 struct dw_dma_slave slave = { in dw_dma_of_xlate() local 43 slave.src_id = dma_spec->args[0]; in dw_dma_of_xlate() 44 slave.dst_id = dma_spec->args[0]; in dw_dma_of_xlate() 45 slave.src_master = dma_spec->args[1]; in dw_dma_of_xlate() 46 slave.dst_master = dma_spec->args[2]; in dw_dma_of_xlate() 48 if (WARN_ON(slave.src_id >= DW_DMA_MAX_NR_REQUESTS || in dw_dma_of_xlate() 49 slave.dst_id >= DW_DMA_MAX_NR_REQUESTS || in dw_dma_of_xlate() 50 slave.src_master >= dw->nr_masters || in dw_dma_of_xlate() 51 slave.dst_master >= dw->nr_masters)) in dw_dma_of_xlate() 58 return dma_request_channel(cap, dw_dma_filter, &slave); in dw_dma_of_xlate() [all …]
|
/linux-4.1.27/arch/um/os-Linux/ |
D | sigio.c | 398 int slave; member 407 if (openpty(&info->master, &info->slave, NULL, NULL, NULL)) in openpty_cb() 411 static int async_pty(int master, int slave) in async_pty() argument 423 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) in async_pty() 432 struct openpty_arg pty = { .master = -1, .slave = -1 }; in check_one_sigio() 433 int master, slave, err; in check_one_sigio() local 443 slave = pty.slave; in check_one_sigio() 445 if ((master == -1) || (slave == -1)) { in check_one_sigio() 459 err = async_pty(master, slave); in check_one_sigio() 481 (*proc)(master, slave); in check_one_sigio() [all …]
|
/linux-4.1.27/arch/cris/include/asm/ |
D | etraxi2c.h | 16 #define I2C_WRITEARG(slave, reg, value) (((slave) << 16) | ((reg) << 8) | (value)) argument 17 #define I2C_READARG(slave, reg) (((slave) << 16) | ((reg) << 8)) argument
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | hip04.dtsi | 282 slave-mode; 296 slave-mode; 310 slave-mode; 324 slave-mode; 338 slave-mode; 373 slave-mode; 409 slave-mode; 445 slave-mode; 481 slave-mode; 511 slave-mode; [all …]
|
D | vexpress-v2p-ca15_a7.dts | 142 cci_control1: slave-if@4000 { 148 cci_control2: slave-if@5000 { 370 slave-mode; 384 slave-mode; 419 slave-mode; 449 slave-mode; 457 slave-mode; 465 slave-mode; 475 slave-mode; 483 slave-mode;
|
D | spear1310-evb.dts | 363 pl022,slave-tx-disable; 396 pl022,slave-tx-disable; 412 pl022,slave-tx-disable;
|
D | exynos5250-arndale.dts | 162 samsung,i2c-slave-addr = <0x66>; 458 samsung,i2c-slave-addr = <0x50>; 492 samsung,i2c-slave-addr = <0x38>; 504 samsung,i2c-slave-addr = <0x38>;
|
/linux-4.1.27/sound/firewire/fireworks/ |
D | fireworks_stream.c | 209 struct amdtp_stream *master, *slave; in snd_efw_stream_start_duplex() local 227 slave = &efw->rx_stream; in snd_efw_stream_start_duplex() 231 slave = &efw->tx_stream; in snd_efw_stream_start_duplex() 244 if (amdtp_streaming_error(slave)) in snd_efw_stream_start_duplex() 245 stop_stream(efw, slave); in snd_efw_stream_start_duplex() 256 stop_stream(efw, slave); in snd_efw_stream_start_duplex() 262 amdtp_stream_set_sync(sync_mode, master, slave); in snd_efw_stream_start_duplex() 278 if (atomic_read(slave_substreams) > 0 && !amdtp_stream_running(slave)) { in snd_efw_stream_start_duplex() 279 err = start_stream(efw, slave, rate); in snd_efw_stream_start_duplex() 293 struct amdtp_stream *master, *slave; in snd_efw_stream_stop_duplex() local [all …]
|
/linux-4.1.27/Documentation/networking/caif/ |
D | spi_porting.txt | 7 between the master and the slave. The minimum requirement for running 8 CAIF over SPI is a SPI slave chip and two GPIOs (more details below). 9 Please note that running as a slave implies that you need to keep up 18 SPI slave device part, which is the module that you have to write if 24 - Functionality provided by the CAIF SPI slave device: 37 to map to different CAIF SPI slave devices. 45 SPI slave devices. 51 This function is called by the CAIF SPI slave device in order to 60 This function is called by the CAIF SPI slave device in order to 69 - Filling in the SPI slave device structure: [all …]
|
/linux-4.1.27/Documentation/i2c/ |
D | slave-interface | 1 Linux I2C slave interface description 6 Linux can also be an I2C slave in case I2C controllers have slave support. 8 actual functionality. An example for this is the slave-eeprom driver, which 10 like a regular EEPROM, the Linux I2C slave can access the content via sysfs and 18 e.g. sysfs I2C slave events I/O registers 33 I2C slave backends behave like standard I2C clients. So, you can instantiate 35 instantiating the slave-eeprom driver from userspace at address 0x64 on bus 1: 37 # echo slave-24c02 0x64 > /sys/bus/i2c/devices/i2c-1/new_device 46 I2C slave events 53 'client' describes the i2c slave device. 'event' is one of the special event [all …]
|
D | slave-eeprom-backend | 1 Linux I2C slave eeprom backend 10 /sys/bus/i2c/devices/<device-direcory>/slave-eeprom
|
D | fault-codes | 51 fault is only reported on read transactions; the SMBus slave 110 Returned when slave does not conform to the relevant I2C 113 (from the SMBus slave) is outside the range 1-32 bytes. 121 when a slave stretches clocks too far. I2C has no such
|
/linux-4.1.27/drivers/clk/bcm/ |
D | clk-bcm281xx.c | 313 BCM281XX_CCU_COMMON(slave, SLAVE), 316 KONA_CLK(slave, uartb, peri), 318 KONA_CLK(slave, uartb2, peri), 320 KONA_CLK(slave, uartb3, peri), 322 KONA_CLK(slave, uartb4, peri), 324 KONA_CLK(slave, ssp0, peri), 326 KONA_CLK(slave, ssp2, peri), 328 KONA_CLK(slave, bsc1, peri), 330 KONA_CLK(slave, bsc2, peri), 332 KONA_CLK(slave, bsc3, peri), [all …]
|
D | clk-bcm21664.c | 237 BCM21664_CCU_COMMON(slave, SLAVE), 244 KONA_CLK(slave, uartb, peri), 246 KONA_CLK(slave, uartb2, peri), 248 KONA_CLK(slave, uartb3, peri), 250 KONA_CLK(slave, bsc1, peri), 252 KONA_CLK(slave, bsc2, peri), 254 KONA_CLK(slave, bsc3, peri), 256 KONA_CLK(slave, bsc4, peri),
|
/linux-4.1.27/drivers/dma/ |
D | k3dma.c | 96 struct dma_device slave; member 108 #define to_k3_dma(dmadev) container_of(dmadev, struct k3_dma_dev, slave) 217 dev_warn(d->slave.dev, "DMA ERR\n"); in k3_dma_int_handler() 269 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_tasklet() 275 dev_dbg(d->slave.dev, "pchan %u: free\n", p->idx); in k3_dma_tasklet() 298 dev_dbg(d->slave.dev, "pchan %u: alloc vchan %p\n", pch, &c->vc); in k3_dma_tasklet() 393 dev_dbg(d->slave.dev, "vchan %p: issued\n", &c->vc); in k3_dma_issue_pending() 398 dev_dbg(d->slave.dev, "vchan %p: nothing to issue\n", &c->vc); in k3_dma_issue_pending() 576 dev_dbg(d->slave.dev, "vchan %p: terminate all\n", &c->vc); in k3_dma_terminate_all() 605 dev_dbg(d->slave.dev, "vchan %p: pause\n", &c->vc); in k3_dma_transfer_pause() [all …]
|
D | sun6i-dma.c | 152 struct dma_device slave; member 174 return container_of(d, struct sun6i_dma_dev, slave); in to_sun6i_dma_dev() 190 dev_dbg(sdev->slave.dev, "Common register:\n" in sun6i_dma_dump_com_regs() 208 dev_dbg(sdev->slave.dev, "Chan %d reg: %pa\n" in sun6i_dma_dump_chan_regs() 406 list_for_each_entry(vchan, &sdev->slave.channels, vc.chan.device_node) { in sun6i_dma_tasklet() 416 dev_dbg(sdev->slave.dev, "pchan %u: free\n", in sun6i_dma_tasklet() 444 dev_dbg(sdev->slave.dev, "pchan %u: alloc vchan %p\n", in sun6i_dma_tasklet() 476 dev_dbg(sdev->slave.dev, "DMA irq status %s: 0x%x\n", in sun6i_dma_interrupt() 529 dev_err(sdev->slave.dev, "Failed to alloc lli memory\n"); in sun6i_dma_prep_dma_memcpy() 823 chan = dma_get_any_slave_channel(&sdev->slave); in sun6i_dma_of_xlate() [all …]
|
D | sa11x0-dma.c | 122 struct dma_device slave; member 137 return container_of(dmadev, struct sa11x0_dma_dev, slave); in to_sa11x0_dma() 158 dev_vdbg(p->dev->slave.dev, "pchan %u: txd %p[%x]: starting: DDAR:%x\n", in sa11x0_dma_start_desc() 220 dev_dbg(p->dev->slave.dev, "pchan %u: load: DCSR:%02x DBS%c:%08x DBT%c:%08x\n", in sa11x0_dma_start_sg() 267 dev_dbg(d->slave.dev, "pchan %u: irq: DCSR:%02x\n", p->num, dcsr); in sa11x0_dma_irq() 270 …dev_err(d->slave.dev, "pchan %u: error. DCSR:%02x DDAR:%08x DBSA:%08x DBTA:%08x DBSB:%08x DBTB:%08… in sa11x0_dma_irq() 337 dev_dbg(d->slave.dev, "tasklet enter\n"); in sa11x0_dma_tasklet() 339 list_for_each_entry(c, &d->slave.channels, vc.chan.device_node) { in sa11x0_dma_tasklet() 346 dev_dbg(d->slave.dev, "pchan %u: free\n", p->num); in sa11x0_dma_tasklet() 370 dev_dbg(d->slave.dev, "pchan %u: alloc vchan %p\n", pch, &c->vc); in sa11x0_dma_tasklet() [all …]
|
D | s3c24xx-dma.c | 226 bool slave; member 243 struct dma_device slave; member 270 if (!s3cchan->slave) in s3c24xx_dma_phy_valid() 299 if (s3cchan->slave) in s3c24xx_dma_get_phy() 401 if (!s3cchan->slave) { in s3c24xx_dma_set_runtime_config() 470 if (s3cchan->slave) { in s3c24xx_dma_start_next_sg() 502 if (!s3cchan->slave) in s3c24xx_dma_start_next_sg() 605 list_for_each_entry(p, &s3cdma->slave.channels, in s3c24xx_dma_phy_free() 648 if (!s3cchan->slave) in s3c24xx_dma_desc_free() 1094 struct dma_device *dmadev, unsigned int channels, bool slave) in s3c24xx_dma_init_virtual_channels() argument [all …]
|
D | TODO | 1 TODO for slave dma 3 1. Move remaining drivers to use new slave interface 4 2. Remove old slave pointer machansim
|
D | amba-pl08x.c | 241 bool slave; member 262 struct dma_device slave; member 701 list_for_each_entry(p, &pl08x->slave.channels, vc.chan.device_node) in pl08x_phy_free() 1673 if (!plchan->slave) in pl08x_config() 1873 chan->slave = true; in pl08x_dma_slave_init() 1884 struct dma_device *dmadev, unsigned int channels, bool slave) in pl08x_dma_init_virtual_channels() argument 1908 if (slave) { in pl08x_dma_init_virtual_channels() 1927 i, slave ? "slave" : "memcpy"); in pl08x_dma_init_virtual_channels() 1999 list_for_each_entry(chan, &pl08x->slave.channels, vc.chan.device_node) { in pl08x_debugfs_show() 2075 dma_cap_set(DMA_SLAVE, pl08x->slave.cap_mask); in pl08x_probe() [all …]
|
/linux-4.1.27/Documentation/w1/masters/ |
D | omap-hdq | 17 communication between the master (HDQ/1-Wire controller) and the slave 24 difference between the HDQ and 1-wire mode is how the slave device responds to 26 create an initialization pulse to the slave.However, the slave can be reset by 27 using an initialization pulse (also referred to as a break pulse).The slave 35 be used to calculate the CRC and pass back an appropriate slave ID to the W1 38 By default the master driver and the BQ slave i/f 41 that the ID used should be same for both master and slave driver loading.
|
/linux-4.1.27/drivers/gpu/drm/sti/ |
D | sti_vtg.c | 94 struct sti_vtg *slave; member 118 if (vtg->slave) in vtg_reset() 119 vtg_reset(vtg->slave); in vtg_reset() 129 if (vtg->slave) in vtg_set_mode() 130 vtg_set_mode(vtg->slave, VTG_TYPE_SLAVE_BY_EXT0, mode); in vtg_set_mode() 215 if (vtg->slave) in sti_vtg_set_config() 216 vtg_enable_irq(vtg->slave); in sti_vtg_set_config() 264 if (vtg->slave) in sti_vtg_register_client() 265 return sti_vtg_register_client(vtg->slave, nb, crtc_id); in sti_vtg_register_client() 274 if (vtg->slave) in sti_vtg_unregister_client() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/drm/tilcdc/ |
D | slave.txt | 1 Device-Tree bindings for tilcdc DRM encoder slave output driver 4 - compatible: value should be "ti,tilcdc,slave". 5 - i2c: the phandle for the i2c device the encoder slave is connected to 14 compatible = "ti,tilcdc,slave";
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-rcar.c | 121 struct i2c_client *slave; member 385 i2c_slave_event(priv->slave, I2C_SLAVE_READ_REQUESTED, &value); in rcar_i2c_slave_irq() 389 i2c_slave_event(priv->slave, I2C_SLAVE_WRITE_REQUESTED, &value); in rcar_i2c_slave_irq() 399 i2c_slave_event(priv->slave, I2C_SLAVE_STOP, &value); in rcar_i2c_slave_irq() 409 ret = i2c_slave_event(priv->slave, I2C_SLAVE_WRITE_RECEIVED, &value); in rcar_i2c_slave_irq() 417 i2c_slave_event(priv->slave, I2C_SLAVE_READ_PROCESSED, &value); in rcar_i2c_slave_irq() 567 static int rcar_reg_slave(struct i2c_client *slave) in rcar_reg_slave() argument 569 struct rcar_i2c_priv *priv = i2c_get_adapdata(slave->adapter); in rcar_reg_slave() 571 if (priv->slave) in rcar_reg_slave() 574 if (slave->flags & I2C_CLIENT_TEN) in rcar_reg_slave() [all …]
|
D | i2c-pxa.c | 139 struct i2c_slave_client *slave; member 494 if (i2c->slave != NULL) in i2c_pxa_slave_txempty() 495 ret = i2c->slave->read(i2c->slave->data); in i2c_pxa_slave_txempty() 506 if (i2c->slave != NULL) in i2c_pxa_slave_rxfull() 507 i2c->slave->write(i2c->slave->data, byte); in i2c_pxa_slave_rxfull() 520 if (i2c->slave != NULL) in i2c_pxa_slave_start() 521 i2c->slave->event(i2c->slave->data, in i2c_pxa_slave_start() 554 if (i2c->slave != NULL) in i2c_pxa_slave_stop() 555 i2c->slave->event(i2c->slave->data, I2C_SLAVE_EVENT_STOP); in i2c_pxa_slave_stop() 1214 i2c->slave = plat->slave; in i2c_pxa_probe()
|
/linux-4.1.27/drivers/spi/ |
D | spi-pxa2xx-pci.c | 133 struct dw_dma_slave *slave = c->tx_param; in pxa2xx_spi_pci_probe() local 135 slave->dma_dev = &dma_dev->dev; in pxa2xx_spi_pci_probe() 136 slave->src_master = 1; in pxa2xx_spi_pci_probe() 137 slave->dst_master = 0; in pxa2xx_spi_pci_probe() 141 struct dw_dma_slave *slave = c->rx_param; in pxa2xx_spi_pci_probe() local 143 slave->dma_dev = &dma_dev->dev; in pxa2xx_spi_pci_probe() 144 slave->src_master = 1; in pxa2xx_spi_pci_probe() 145 slave->dst_master = 0; in pxa2xx_spi_pci_probe()
|
/linux-4.1.27/net/sched/ |
D | sch_teql.c | 298 struct net_device *slave = qdisc_dev(q); in teql_master_xmit() local 299 struct netdev_queue *slave_txq = netdev_get_tx_queue(slave, 0); in teql_master_xmit() 303 if (netif_xmit_stopped(netdev_get_tx_queue(slave, subq)) || in teql_master_xmit() 304 !netif_running(slave)) { in teql_master_xmit() 309 switch (teql_resolve(skb, skb_res, slave, slave_txq)) { in teql_master_xmit() 315 netdev_start_xmit(skb, slave, slave_txq, false) == in teql_master_xmit() 370 struct net_device *slave = qdisc_dev(q); in teql_master_open() local 372 if (slave == NULL) in teql_master_open() 375 if (slave->mtu < mtu) in teql_master_open() 376 mtu = slave->mtu; in teql_master_open() [all …]
|
/linux-4.1.27/Documentation/filesystems/ |
D | sharedsubtree.txt | 34 b. slave mount 76 2b) A slave mount is like a shared mount except that mount and umount events 79 All slave mounts have a master mount which is a shared. 92 Now let's make the mount at /tmp; a slave of /mnt 93 # mount --make-slave /tmp 144 mount --make-slave mountpoint 180 of its namespace as slave 239 2) slave 240 3) shared and slave 267 A 'slave mount' is defined as a vfsmount that receives [all …]
|
/linux-4.1.27/sound/firewire/dice/ |
D | dice-stream.c | 191 struct amdtp_stream *master, *slave; in snd_dice_stream_start_duplex() local 204 slave = &dice->rx_stream; in snd_dice_stream_start_duplex() 207 slave = &dice->tx_stream; in snd_dice_stream_start_duplex() 211 if (amdtp_streaming_error(master) || amdtp_streaming_error(slave)) in snd_dice_stream_start_duplex() 227 stop_stream(dice, slave); in snd_dice_stream_start_duplex() 230 amdtp_stream_set_sync(sync_mode, master, slave); in snd_dice_stream_start_duplex() 246 err = start_stream(dice, slave, rate); in snd_dice_stream_start_duplex() 258 stop_stream(dice, slave); in snd_dice_stream_start_duplex() 264 !amdtp_stream_wait_callback(slave, CALLBACK_TIMEOUT)) { in snd_dice_stream_start_duplex() 267 stop_stream(dice, slave); in snd_dice_stream_start_duplex()
|
/linux-4.1.27/Documentation/devicetree/bindings/nvec/ |
D | nvidia,nvec.txt | 5 - reg : the iomem of the i2c slave controller 6 - interrupts : the interrupt line of the i2c slave controller 9 - slave-addr: the i2c address of the slave controller
|
/linux-4.1.27/arch/um/drivers/ |
D | slip_user.c | 151 pri->slave = sfd; in slip_open() 165 err = os_get_ifname(pri->slave, pri->name); in slip_open() 203 err = slip_tramp(argv, pri->slave); in slip_close() 208 close(pri->slave); in slip_close() 209 pri->slave = -1; in slip_close() 227 if (pri->slave < 0) in slip_add_addr() 237 if (pri->slave < 0) in slip_del_addr()
|
D | slirp_user.c | 65 pri->slave = fds[1]; in slirp_open() 83 close(pri->slave); in slirp_close() 85 pri->slave = -1; in slirp_close()
|
D | slip.h | 11 int slave; member
|
D | slirp.h | 23 int slave; member
|
/linux-4.1.27/drivers/mfd/ |
D | palmas.c | 432 int ret, slave; in palmas_power_off() local 437 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_power_off() 441 palmas_dev->regmap[slave], in palmas_power_off() 500 int slave; in palmas_i2c_probe() local 578 slave = PALMAS_BASE_TO_SLAVE(PALMAS_INTERRUPT_BASE); in palmas_i2c_probe() 582 regmap_write(palmas->regmap[slave], addr, reg); in palmas_i2c_probe() 584 ret = regmap_add_irq_chip(palmas->regmap[slave], palmas->irq, in palmas_i2c_probe() 591 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); in palmas_i2c_probe() 597 ret = regmap_write(palmas->regmap[slave], addr, reg); in palmas_i2c_probe() 601 ret = regmap_read(palmas->regmap[slave], addr, ®); in palmas_i2c_probe() [all …]
|
/linux-4.1.27/sound/firewire/bebob/ |
D | bebob_stream.c | 496 struct amdtp_stream *master, *slave; in snd_bebob_stream_start_duplex() local 531 slave = &bebob->rx_stream; in snd_bebob_stream_start_duplex() 535 slave = &bebob->tx_stream; in snd_bebob_stream_start_duplex() 555 if (amdtp_streaming_error(slave)) in snd_bebob_stream_start_duplex() 556 amdtp_stream_stop(slave); in snd_bebob_stream_start_duplex() 558 !amdtp_stream_running(master) && !amdtp_stream_running(slave)) in snd_bebob_stream_start_duplex() 572 amdtp_stream_stop(slave); in snd_bebob_stream_start_duplex() 578 amdtp_stream_set_sync(sync_mode, master, slave); in snd_bebob_stream_start_duplex() 637 if (atomic_read(slave_substreams) > 0 && !amdtp_stream_running(slave)) { in snd_bebob_stream_start_duplex() 638 err = start_stream(bebob, slave, rate); in snd_bebob_stream_start_duplex() [all …]
|
/linux-4.1.27/Documentation/dmaengine/ |
D | client.txt | 11 DMA Engine. This is applicable only for slave DMA usage only. 13 The slave DMA usage consists of following steps: 14 1. Allocate a DMA slave channel 15 2. Set slave and controller specific parameters 20 1. Allocate a DMA slave channel 22 Channel allocation is slightly different in the slave DMA context, 35 slave and cyclic channels as they typically need to obtain a specific 48 2. Set slave and controller specific parameters 51 driver. Most of the generic information which a slave DMA can use 72 For slave usage the various modes of slave transfers supported by the [all …]
|
D | provider.txt | 28 That wouldn't work well in the real world, since slave devices might 74 The one last thing is that usually, slave devices won't issue DRQ by 75 default, and you have to enable this in your slave device driver first 124 - should contain a bitmask of the supported slave directions 192 - The devices only supports slave transfers, and as such isn't 313 - This call is mandatory for slave operations only. This should NOT be 315 If a driver support both, it should use this call for slave 338 ignored in the slave transfers case. 352 - Useless in the case of the slave API
|
/linux-4.1.27/Documentation/w1/ |
D | w1.netlink | 8 1. Events. They are generated each time a new master or slave device 24 slave add/remove events 31 userspace command for slave device 36 __u8 id[8]; - slave unique device id 43 [struct w1_netlink_cmd] - command for given master or slave device. 52 W1_CMD_SLAVE_ADD - add slave to kernel list 53 W1_CMD_SLAVE_REMOVE - remove slave from kernel list 67 either 8 bytes of slave unique id in host order, 128 Each command (either root, master or slave with or without w1_netlink_cmd 157 master or slave request, according to w1_netlink_msg.type field. [all …]
|
D | w1.generic | 3 The 1-wire bus is a simple master-slave bus that communicates via a single 12 All w1 slave devices must be connected to a w1 bus master device. 26 - the w1 bus is periodically searched for new slave devices 29 and check if it is loaded. If so, the family driver is attached to the slave. 41 and slave device will be even removed, but in this case 0xff will 82 w1_master_add - Manually register a slave device 88 w1_master_remove - Manually remove a slave device 98 set to zero, then manually add the slave device serial numbers by 105 w1 slave sysfs interface 112 rw - (optional) created for slave devices which do not have
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
D | rcar_du_encoder.h | 33 struct drm_encoder_slave slave; member 40 container_of(e, struct rcar_du_encoder, slave.base) 42 #define rcar_encoder_to_drm_encoder(e) (&(e)->slave.base)
|
D | rcar_du_hdmienc.c | 33 #define to_slave_funcs(e) (to_rcar_encoder(e)->slave.slave_funcs) 149 ret = driver->encoder_init(i2c_slave, rcdu->ddev, &renc->slave); in rcar_du_hdmienc_init()
|
/linux-4.1.27/drivers/parport/ |
D | share.c | 377 struct parport *slave = port->slaves[i-1]; in parport_announce_port() local 378 if (slave) in parport_announce_port() 379 list_add_tail(&slave->list, &portlist); in parport_announce_port() 386 struct parport *slave = port->slaves[i-1]; in parport_announce_port() local 387 if (slave) in parport_announce_port() 388 attach_driver_chain(slave); in parport_announce_port() 425 struct parport *slave = port->slaves[i-1]; in parport_remove_port() local 426 if (!slave) in parport_remove_port() 428 detach_driver_chain(slave); in parport_remove_port() 429 parport_daisy_fini(slave); in parport_remove_port() [all …]
|
/linux-4.1.27/sound/firewire/ |
D | amdtp.h | 264 struct amdtp_stream *slave) in amdtp_stream_set_sync() argument 268 slave->flags |= CIP_SYNC_TO_DEVICE; in amdtp_stream_set_sync() 269 master->sync_slave = slave; in amdtp_stream_set_sync() 272 slave->flags &= ~CIP_SYNC_TO_DEVICE; in amdtp_stream_set_sync() 276 slave->sync_slave = NULL; in amdtp_stream_set_sync()
|
/linux-4.1.27/net/ax25/ |
D | ax25_timer.c | 139 if (ax25->ax25_dev->dama.slave) in ax25_heartbeat_expiry() 160 if (!ax25->ax25_dev->dama.slave) in ax25_t1timer_expiry() 179 if (!ax25->ax25_dev->dama.slave) in ax25_t2timer_expiry() 198 if (ax25->ax25_dev->dama.slave) in ax25_t3timer_expiry() 219 if (ax25->ax25_dev->dama.slave) in ax25_idletimer_expiry()
|
D | ax25_ds_subr.c | 178 if (ax25_dev->dama.slave == 0) in ax25_dev_dama_on() 181 ax25_dev->dama.slave = 1; in ax25_dev_dama_on() 190 if (ax25_dev->dama.slave && !ax25_check_dama_slave(ax25_dev)) { in ax25_dev_dama_off() 192 ax25_dev->dama.slave = 0; in ax25_dev_dama_off()
|
/linux-4.1.27/Documentation/devicetree/bindings/net/ |
D | cpsw.txt | 18 - active_slave : Specifies the slave to use for time stamping, 32 - phy_id : Specifies slave phy id 63 cpsw_emac0: slave@0 { 69 cpsw_emac1: slave@1 { 92 cpsw_emac0: slave@0 { 98 cpsw_emac1: slave@1 {
|
D | keystone-netcp.txt | 96 -- slave-port: Switch port number, 0 based numbering. 111 - secondary-slave-ports: specification for each of the switch port not be 169 slave-port = <0>; 173 slave-port = <1>; 178 secondary-slave-ports { 180 slave-port = <2>; 184 slave-port = <3>;
|
/linux-4.1.27/drivers/staging/vme/devices/ |
D | vme_user.c | 458 struct vme_slave slave; in vme_user_ioctl() local 532 memset(&slave, 0, sizeof(struct vme_slave)); in vme_user_ioctl() 538 &slave.enable, &slave.vme_addr, in vme_user_ioctl() 539 &slave.size, &pci_addr, &slave.aspace, in vme_user_ioctl() 540 &slave.cycle); in vme_user_ioctl() 542 copied = copy_to_user(argp, &slave, in vme_user_ioctl() 553 copied = copy_from_user(&slave, argp, sizeof(slave)); in vme_user_ioctl() 563 slave.enable, slave.vme_addr, slave.size, in vme_user_ioctl() 564 image[minor].pci_buf, slave.aspace, in vme_user_ioctl() 565 slave.cycle); in vme_user_ioctl()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | dsi.c | 83 struct tegra_dsi *slave; member 393 if (dsi->slave) in tegra_dsi_set_phy_timing() 394 tegra_dsi_set_phy_timing(dsi->slave, period, timing); in tegra_dsi_set_phy_timing() 471 if (dsi->slave) in tegra_dsi_enable() 472 tegra_dsi_enable(dsi->slave); in tegra_dsi_enable() 480 if (dsi->slave) in tegra_dsi_get_lanes() 481 return dsi->lanes + dsi->slave->lanes; in tegra_dsi_get_lanes() 573 if (dsi->master || dsi->slave) { in tegra_dsi_configure() 593 if (dsi->master || dsi->slave) { in tegra_dsi_configure() 614 if (dsi->slave) { in tegra_dsi_configure() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/msm/ |
D | ssbi.txt | 13 with the slave device. This should be one of "ssbi", "ssbi2", or 15 slave. 17 The slave device should be the single child node of the ssbi device
|
/linux-4.1.27/include/sound/ |
D | control.h | 192 int _snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave, 217 snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave) in snd_ctl_add_slave() argument 219 return _snd_ctl_add_slave(master, slave, 0); in snd_ctl_add_slave() 240 struct snd_kcontrol *slave) in snd_ctl_add_slave_uncached() argument 242 return _snd_ctl_add_slave(master, slave, SND_CTL_SLAVE_NEED_UPDATE); in snd_ctl_add_slave_uncached()
|
D | designware_i2s.h | 48 bool (*filter)(struct dma_chan *chan, void *slave); 57 bool (*filter)(struct dma_chan *chan, void *slave);
|
D | spear_spdif.h | 25 bool (*filter)(struct dma_chan *chan, void *slave);
|
/linux-4.1.27/drivers/ata/ |
D | pata_pcmcia.c | 59 struct ata_device *slave = &link->device[1]; in pcmcia_set_mode() local 61 if (!ata_dev_enabled(master) || !ata_dev_enabled(slave)) in pcmcia_set_mode() 64 if (memcmp(master->id + ATA_ID_FW_REV, slave->id + ATA_ID_FW_REV, in pcmcia_set_mode() 68 if (memcmp(master->id + ATA_ID_SERNO, slave->id + ATA_ID_SERNO, in pcmcia_set_mode() 70 ata_dev_warn(slave, "is a ghost device, ignoring\n"); in pcmcia_set_mode() 71 ata_dev_disable(slave); in pcmcia_set_mode()
|
D | pata_cs5520.c | 72 int slave = adev->devno; in cs5520_set_timings() local 82 pci_write_config_byte(pdev, 0x64 + 4*ap->port_no + slave, in cs5520_set_timings() 86 pci_write_config_byte(pdev, 0x66 + 4*ap->port_no + slave, in cs5520_set_timings()
|
D | libata-eh.c | 2634 struct ata_link *slave = ap->slave_link; in ata_eh_reset() local 2636 struct ata_eh_context *sehc = slave ? &slave->eh_context : NULL; in ata_eh_reset() 2712 if (slave) { in ata_eh_reset() 2723 if (slave && (rc == 0 || rc == -ENOENT)) { in ata_eh_reset() 2726 tmp = prereset(slave, deadline); in ata_eh_reset() 2791 if (slave && reset == hardreset) { in ata_eh_reset() 2795 ata_link_info(slave, "hard resetting link\n"); in ata_eh_reset() 2797 ata_eh_about_to_do(slave, NULL, ATA_EH_RESET); in ata_eh_reset() 2798 tmp = ata_do_reset(slave, reset, classes, deadline, in ata_eh_reset() 2806 failed_link = slave; in ata_eh_reset() [all …]
|
/linux-4.1.27/Documentation/networking/ |
D | ipvlan.txt | 10 the master device share the L2 with it's slave devices. I have developed this 25 ip link add link <master-dev> <slave-dev> type ipvlan mode { l2 | L3 } 40 slave device and packets are switched and queued to the master device to send 46 to the slave device and packets are switched to the stack instance of the 60 (c) If the slave device is to be put into the hostile / untrusted network 61 namespace where L2 on the slave could be changed / misused. 93 (d) Now switch to the namespace (ns0 or ns1) to configure the slave devices
|
D | bonding.txt | 166 Specifies the new active slave for modes that support it 169 string. If a name is given, the slave and its link must be up in order 170 to be selected as the new active slave. If an empty string is 171 specified, the current active slave is cleared, and a new active 172 slave is selected automatically. 178 active slave, or the empty string if there is no active slave or 179 the current mode does not use an active slave. 202 - A slave is added to or removed from the bond 204 - Any slave's link state changes 206 - Any slave's 802.3ad association state changes [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/ |
D | coresight.txt | 68 slave-mode; 82 slave-mode; 118 slave-mode; 148 slave-mode; 156 slave-mode; 164 slave-mode;
|
D | cci.txt | 11 space and multiple sets of interface control registers, one per slave 60 Node name must be "slave-if". 194 cci_control0: slave-if@1000 { 200 cci_control1: slave-if@4000 { 206 cci_control2: slave-if@5000 { 225 CCI slave interface @0x000000002c091000 is connected to dma controller dma0. 226 CCI slave interface @0x000000002c094000 is connected to CPUs {CPU0, CPU1}; 227 CCI slave interface @0x000000002c095000 is connected to CPUs {CPU2, CPU3};
|
/linux-4.1.27/Documentation/devicetree/bindings/spmi/ |
D | qcom,spmi-pmic-arb.txt | 8 to slave devices. 23 "chnls" - tx-channel per virtual slave registers. 24 "obsrvr" - rx-channel (called observer) per virtual slave registers. 39 cell 1: slave ID for the requested interrupt (0-15)
|
D | spmi.txt | 5 each representing a unique slave on the bus. 13 An SPMI controller node can contain zero or more child nodes representing slave
|
/linux-4.1.27/include/linux/mfd/ |
D | dbx500-prcmu.h | 267 int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size); 268 int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size); 269 int prcmu_abb_write_masked(u8 slave, u8 reg, u8 *value, u8 *mask, u8 size); 436 static inline int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size) in prcmu_abb_read() argument 441 static inline int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size) in prcmu_abb_write() argument 446 static inline int prcmu_abb_write_masked(u8 slave, u8 reg, u8 *value, u8 *mask, in prcmu_abb_write_masked() argument
|
D | db8500-prcmu.h | 509 int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size); 510 int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size); 647 static inline int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size) in prcmu_abb_read() argument 652 static inline int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size) in prcmu_abb_write() argument
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/ |
D | marb_defs.h | 171 unsigned int slave : 1; member 192 unsigned int slave : 1; member 212 unsigned int slave : 1; member 386 unsigned int slave : 1; member 433 unsigned int slave : 1; member 453 unsigned int slave : 1; member
|
D | marb_bp_defs.h | 116 unsigned int slave : 1; member 163 unsigned int slave : 1; member 183 unsigned int slave : 1; member
|
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/hwregs/ |
D | marb_defs.h | 171 unsigned int slave : 1; member 192 unsigned int slave : 1; member 212 unsigned int slave : 1; member 386 unsigned int slave : 1; member 433 unsigned int slave : 1; member 453 unsigned int slave : 1; member
|
D | marb_bp_defs.h | 116 unsigned int slave : 1; member 163 unsigned int slave : 1; member 183 unsigned int slave : 1; member
|
/linux-4.1.27/Documentation/spi/ |
D | pxa2xx | 10 - Per slave device (chip) configuration. 35 slave device (chips) attached to this SPI master. 86 Typically each SPI slave (chip) is defined in the arch/.../mach-*/board-*.c 90 Each slave device attached to the PXA must provide slave specific configuration 93 will uses the configuration whenever the driver communicates with the slave 125 slave device. Please note that the PXA2xx SSP 1 does not support trailing byte 134 function for asserting/deasserting a slave device chip select. If the field is 150 /* Chip Select control for the CS8415A SPI slave device */ 159 /* Chip Select control for the CS8405A SPI slave device */
|
/linux-4.1.27/include/linux/mlx4/ |
D | device.h | 987 static inline int mlx4_is_guest_proxy(struct mlx4_dev *dev, int slave, u32 qpn) in mlx4_is_guest_proxy() argument 989 int guest_proxy_base = dev->phys_caps.base_proxy_sqpn + slave * 8; in mlx4_is_guest_proxy() 1364 void mlx4_sync_pkey_table(struct mlx4_dev *dev, int slave, int port, 1369 int mlx4_is_slave_active(struct mlx4_dev *dev, int slave); 1370 int mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port); 1371 int mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port); 1373 int mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, u8 port_subtype_change… 1374 enum slave_port_state mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port); 1375 int set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, int event, enum slave_p… 1377 void mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be64 guid); [all …]
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-bus-coresight-devices-funnel | 5 Description: (RW) Enables the slave ports and defines the hold time of the 6 slave ports.
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_encoder.h | 71 struct drm_encoder_slave *slave = to_encoder_slave(enc); in nouveau_encoder() local 73 return container_of(slave, struct nouveau_encoder, base); in nouveau_encoder()
|
/linux-4.1.27/Documentation/devicetree/bindings/mfd/ |
D | 88pm860x.txt | 5 - reg : the I2C slave address for the 88pm860x chip 13 - marvell,88pm860x-slave-addr: 88pm860x are two chips solution. <reg> stores the I2C address 39 marvell,88pm860x-slave-addr = <0x11>;
|
D | qcom,spmi-pmic.txt | 13 16-bit SPMI slave address space into 256 smaller fixed-size regions, 256 bytes 33 - reg: Specifies the SPMI USID slave address for this device. 46 Each child node of SPMI slave id represents a function of the PMIC. In the
|
D | max77686.txt | 5 are addressed using same i2c slave address whereas RTC submodule uses 6 different i2c slave address,presently for which we are statically creating i2c 15 - reg : Specifies the i2c slave address of PMIC block.
|
D | s2mpa01.txt | 7 Each sub-block is addressed by the host system using different I2C slave 12 - reg: Specifies the I2C slave address of the PMIC block. It should be 0x66.
|
D | sky81452.txt | 5 - reg : I2C slave address
|
D | atmel-matrix.txt | 4 behavior (master/slave priorities, undefined burst length type, ...)
|
D | lp3943.txt | 5 - reg: I2C slave address. From 0x60 to 0x67.
|
D | brcm,bcm59056.txt | 7 - reg: I2C slave address
|
D | rn5t618.txt | 10 - reg: the I2C slave address of the device
|
/linux-4.1.27/Documentation/devicetree/bindings/i2c/ |
D | i2c-sunxi-p2wi.txt | 18 A P2WI may contain one child node encoding a P2WI slave device. 22 - reg : the I2C slave address used during the initialization
|
/linux-4.1.27/net/hsr/ |
D | hsr_device.c | 430 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2], in hsr_dev_finalize() 442 ether_addr_copy(hsr_dev->dev_addr, slave[0]->dev_addr); in hsr_dev_finalize() 446 slave[1]->dev_addr); in hsr_dev_finalize() 486 res = hsr_add_port(hsr, slave[0], HSR_PT_SLAVE_A); in hsr_dev_finalize() 489 res = hsr_add_port(hsr, slave[1], HSR_PT_SLAVE_B); in hsr_dev_finalize()
|
D | hsr_device.h | 19 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
|
/linux-4.1.27/Documentation/devicetree/bindings/spi/ |
D | spi-davinci.txt | 32 Optional properties for slave devices: 33 SPI slave nodes can contain the following properties. 56 Example of a NOR flash slave device (n25q032) connected to DaVinci
|
D | spi-bus.txt | 4 and a set of child nodes for each SPI slave on the bus. For this 7 in slave mode. 44 SPI slave nodes must be children of the SPI master node and can 71 If a gpio chipselect is used for the SPI slave the gpio number will be passed
|
D | spi-fsl-dspi.txt | 12 - bus-num : the slave chip chipselect signal number. 19 Optional SPI slave node properties:
|
D | spi_pl022.txt | 26 SPI slave nodes must be children of the SPI master node and can 61 pl022,slave-tx-disable;
|
D | qcom,spi-qup.txt | 3 The QUP core is an AHB slave that provides a common data path (an output FIFO 42 SPI slave nodes must be children of the SPI master node and can contain
|
D | spi-samsung.txt | 43 SPI Controller specific data in SPI slave nodes: 45 - The spi slave nodes should provide the following information which is required
|
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/ |
D | marvell,armada-370-xp-mpic.txt | 22 connected as a slave to another interrupt controller. This is 24 connected as a slave to the Cortex-A9 GIC. The provided interrupt
|
/linux-4.1.27/drivers/ide/ |
D | ide-acpi.c | 42 struct ide_acpi_drive_link slave; member 480 struct ide_acpi_drive_link *slave = &hwif->acpidata->slave; in ide_acpi_push_timing() local 495 in_params[2].buffer.pointer = (u8 *)&slave->idbuff; in ide_acpi_push_timing() 579 hwif->devices[1]->acpidata = &hwif->acpidata->slave; in ide_acpi_port_init_devices()
|
/linux-4.1.27/Documentation/devicetree/bindings/media/ |
D | samsung-s5c73m3.txt | 7 slave device nodes corresponding to these control bus interfaces are required 10 I2C slave device node 16 - reg : I2C slave address of the sensor;
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_net.h | 60 #define ISDN_SLAVE_PRIV(lp) ((isdn_net_local *) netdev_priv(lp->slave)) 62 (((isdn_net_local *) netdev_priv(master))->slave)
|
D | isdn_net.c | 838 if (lp->slave != NULL) { in isdn_net_hangup() 843 lp->slave->name, d->name); in isdn_net_hangup() 844 isdn_net_hangup(lp->slave); in isdn_net_hangup() 1089 if (lp->slave) { in isdn_net_xmit() 2269 while (mlp->slave) { in isdn_net_find_icall() 2899 if (lp->slave) { in isdn_net_getcfg() 2900 if (strlen(lp->slave->name) >= 10) in isdn_net_getcfg() 2901 strcpy(cfg->slave, "too-long"); in isdn_net_getcfg() 2903 strcpy(cfg->slave, lp->slave->name); in isdn_net_getcfg() 2905 cfg->slave[0] = '\0'; in isdn_net_getcfg() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/gpu/ |
D | st,stih4xx.txt | 9 - st,slave: phandle on a slave vtg 123 vtg_main_slave: sti-vtg-main-slave@fe85A800 { 132 st,slave = <&vtg_main_slave>; 135 vtg_aux_slave: sti-vtg-aux-slave@fd348400 { 144 st,slave = <&vtg_aux_slave>;
|
/linux-4.1.27/sound/soc/spear/ |
D | spear_pcm.h | 22 bool (*filter)(struct dma_chan *chan, void *slave));
|
D | spear_pcm.c | 42 bool (*filter)(struct dma_chan *chan, void *slave)) in devm_spear_pcm_platform_register() argument
|
/linux-4.1.27/include/linux/platform_data/ |
D | dma-rcar-audmapp.h | 30 struct audmapp_slave_config *slave; member
|
/linux-4.1.27/drivers/input/misc/ |
D | apanel.c | 292 unsigned char method, slave, chip; in apanel_init() local 296 slave = readb(p + 3) >> 1; in apanel_init() 298 if (slave != i2c_addr) { in apanel_init()
|
/linux-4.1.27/include/linux/hsi/ |
D | ssi_protocol.h | 34 struct hsi_client *ssip_slave_get_master(struct hsi_client *slave);
|
/linux-4.1.27/net/dsa/ |
D | Makefile | 3 dsa_core-y += dsa.o slave.o
|
/linux-4.1.27/Documentation/misc-devices/ |
D | ad525x_dpot.txt | 32 the common i2c directory and locating the device by the i2c slave address. 37 So assuming the device in question is on the first i2c bus and has the slave
|
/linux-4.1.27/arch/arm64/boot/dts/sprd/ |
D | sc9836.dtsi | 55 slave-mode; 82 slave-mode;
|
/linux-4.1.27/include/linux/ |
D | sudmac.h | 38 const struct sudmac_slave_config *slave; member
|
D | if_eql.h | 26 typedef struct slave { struct
|
D | sh_dma.h | 75 const struct sh_dmae_slave_config *slave; member
|
D | if_frad.h | 58 struct net_device *slave; member
|
/linux-4.1.27/sound/usb/usx2y/ |
D | us122l.h | 15 struct file *slave; member
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 405 struct pnv_ioda_pe *slave; in pnv_ioda_freeze_pe() local 431 list_for_each_entry(slave, &pe->slaves, list) { in pnv_ioda_freeze_pe() 433 slave->pe_number, in pnv_ioda_freeze_pe() 438 slave->pe_number); in pnv_ioda_freeze_pe() 444 struct pnv_ioda_pe *pe, *slave; in pnv_ioda_unfreeze_pe() local 467 list_for_each_entry(slave, &pe->slaves, list) { in pnv_ioda_unfreeze_pe() 469 slave->pe_number, in pnv_ioda_unfreeze_pe() 474 slave->pe_number); in pnv_ioda_unfreeze_pe() 484 struct pnv_ioda_pe *slave, *pe; in pnv_ioda_get_pe_state() local 519 list_for_each_entry(slave, &pe->slaves, list) { in pnv_ioda_get_pe_state() [all …]
|
/linux-4.1.27/sound/i2c/ |
D | i2c.c | 50 struct snd_i2c_bus *slave; in snd_i2c_bus_free() local 63 slave = snd_i2c_slave_bus(bus->buses.next); in snd_i2c_bus_free() 64 snd_device_free(bus->card, slave); in snd_i2c_bus_free()
|
/linux-4.1.27/include/linux/i2c/ |
D | pxa-i2c.h | 66 struct i2c_slave_client *slave; member
|
/linux-4.1.27/Documentation/devicetree/bindings/input/touchscreen/ |
D | sx8654.txt | 5 - reg: i2c slave address
|
D | egalax-ts.txt | 5 - reg: i2c slave address
|
/linux-4.1.27/sound/soc/intel/common/ |
D | sst-firmware.c | 220 struct dma_slave_config slave; in sst_dsp_dma_get_channel() local 234 memset(&slave, 0, sizeof(slave)); in sst_dsp_dma_get_channel() 235 slave.direction = DMA_MEM_TO_DEV; in sst_dsp_dma_get_channel() 236 slave.src_addr_width = in sst_dsp_dma_get_channel() 237 slave.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in sst_dsp_dma_get_channel() 238 slave.src_maxburst = slave.dst_maxburst = SST_DSP_DMA_MAX_BURST; in sst_dsp_dma_get_channel() 240 ret = dmaengine_slave_config(dma->ch, &slave); in sst_dsp_dma_get_channel()
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/hisilicon/ |
D | hisilicon.txt | 24 - smp-offset : offset in sysctrl for notifying slave cpu booting 52 HIP01 SoC family, such as slave core boot, and also some same
|
/linux-4.1.27/Documentation/devicetree/bindings/rtc/ |
D | nxp,rtc-2123.txt | 5 - reg: should be the SPI slave chipselect address
|
/linux-4.1.27/Documentation/devicetree/bindings/input/ |
D | ti,drv2667.txt | 5 - reg - I2C slave address
|
/linux-4.1.27/drivers/i2c/ |
D | Makefile | 12 obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o
|
D | Kconfig | 32 Operation Regions allow firmware (BIOS) code to access I2C slave devices, 114 bool "I2C slave support" 119 tristate "I2C eeprom slave driver"
|
/linux-4.1.27/drivers/tty/serial/8250/ |
D | serial_cs.c | 84 int slave; member 276 if (!info->slave) in serial_remove() 383 info->slave = 1; in pfc_config() 387 info->slave = 1; in pfc_config() 389 if (info->slave) in pfc_config()
|
/linux-4.1.27/Documentation/devicetree/bindings/regulator/ |
D | da9210.txt | 6 - reg: the i2c slave address of the regulator. It should be 0x68.
|
D | max8973-regulator.txt | 6 - reg: the i2c slave address of the regulator. It should be 0x1b.
|
D | max1586-regulator.txt | 5 - reg: I2C slave address, usually 0x14
|
D | 88pm860x.txt | 5 - reg: I2C slave address
|
D | max8660.txt | 5 - reg: I2C slave address, usually 0x34
|
D | tps51632-regulator.txt | 5 - reg: I2C slave address
|
D | 88pm800.txt | 5 - reg: I2C slave address
|
/linux-4.1.27/Documentation/devicetree/bindings/sound/ |
D | tpa6130a2.txt | 12 - reg - <int> - I2C slave address
|
D | da9055.txt | 14 - reg: Specifies the I2C slave address
|
D | tas2552.txt | 8 - reg - I2C slave address
|
D | tlv320aic32x4.txt | 7 - reg: I2C slave address
|
D | mxs-saif.txt | 14 the slave SAIF.
|
/linux-4.1.27/Documentation/devicetree/bindings/iio/light/ |
D | gp2ap020a00f.txt | 9 - reg : the I2C slave address of the light sensor
|
/linux-4.1.27/drivers/dma/sh/ |
D | shdma-r8a73a4.c | 64 .slave = dma_slaves,
|
/linux-4.1.27/Documentation/i2c/busses/ |
D | i2c-diolan-u2c | 16 a computer to I2C slave devices using a USB interface. It also supports
|
/linux-4.1.27/Documentation/devicetree/bindings/video/backlight/ |
D | tps65217-backlight.txt | 8 - reg: I2C slave address
|
/linux-4.1.27/Documentation/ |
D | smsc_ece1099.txt | 32 - SMbus slave Interface 41 SMBus interface to the host. The device is a slave-only SMBus device.
|
/linux-4.1.27/Documentation/devicetree/bindings/leds/ |
D | leds-lp8860.txt | 11 - reg - I2C slave address
|
/linux-4.1.27/Documentation/acpi/ |
D | enumeration.txt | 4 SpiSerialBus, GpioIo and GpioInt) which can be used in enumerating slave 67 like to be accessible to slave devices via generic API call 143 This is extracted automatically by the SPI core and the slave devices are 146 Here is what the ACPI namespace for a SPI slave might look like: 226 any slave devices behind the controller device once the adapter is
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
D | dfp.c | 156 struct drm_encoder *slave; in get_tmds_slave() local 171 list_for_each_entry(slave, &dev->mode_config.encoder_list, head) { in get_tmds_slave() 172 struct dcb_output *slave_dcb = nouveau_encoder(slave)->dcb; in get_tmds_slave() 174 if (slave_dcb->type == DCB_OUTPUT_TMDS && get_slave_funcs(slave) && in get_tmds_slave() 176 return slave; in get_tmds_slave()
|
/linux-4.1.27/Documentation/devicetree/bindings/iio/proximity/ |
D | as3935.txt | 7 slave node bindings.
|
/linux-4.1.27/Documentation/devicetree/bindings/extcon/ |
D | extcon-sm5502.txt | 11 - reg: Specifies the I2C slave address of the MUIC block. It should be 0x25
|
/linux-4.1.27/Documentation/devicetree/bindings/iommu/ |
D | rockchip,iommu.txt | 5 its master device. Each slave device is bound to a single master device, and
|
/linux-4.1.27/Documentation/devicetree/bindings/media/i2c/ |
D | ov2659.txt | 10 - reg: I2C slave address
|
/linux-4.1.27/Documentation/devicetree/bindings/hwmon/ |
D | ltc2978.txt | 11 - reg: I2C slave address
|
/linux-4.1.27/drivers/media/platform/davinci/ |
D | Kconfig | 42 video frame capture from slave decoders. 58 video frame capture from a slave decoders
|
/linux-4.1.27/Documentation/devicetree/bindings/gpio/ |
D | gpio-sx150x.txt | 10 - reg: The I2C slave address for this device.
|
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/ |
D | lp8727_charger.txt | 5 - reg: I2C slave address 27h
|