/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 828 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_destroy() argument 830 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw; in pvr2_v4l2_dev_destroy() 831 enum pvr2_config cfg = dip->config; in pvr2_v4l2_dev_destroy() 840 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy() 844 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1); in pvr2_v4l2_dev_destroy() 847 dip->v4lp = NULL; in pvr2_v4l2_dev_destroy() 848 dip->stream = NULL; in pvr2_v4l2_dev_destroy() 852 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy() 859 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_disassociate_parent() argument 861 if (!dip) return; in pvr2_v4l2_dev_disassociate_parent() [all …]
|
D | pvrusb2-sysfs.c | 415 struct pvr2_sysfs_debugifc *dip; in pvr2_sysfs_add_debugifc() local 418 dip = kzalloc(sizeof(*dip),GFP_KERNEL); in pvr2_sysfs_add_debugifc() 419 if (!dip) return; in pvr2_sysfs_add_debugifc() 420 sysfs_attr_init(&dip->attr_debugcmd.attr); in pvr2_sysfs_add_debugifc() 421 dip->attr_debugcmd.attr.name = "debugcmd"; in pvr2_sysfs_add_debugifc() 422 dip->attr_debugcmd.attr.mode = S_IRUGO|S_IWUSR|S_IWGRP; in pvr2_sysfs_add_debugifc() 423 dip->attr_debugcmd.show = debugcmd_show; in pvr2_sysfs_add_debugifc() 424 dip->attr_debugcmd.store = debugcmd_store; in pvr2_sysfs_add_debugifc() 425 sysfs_attr_init(&dip->attr_debuginfo.attr); in pvr2_sysfs_add_debugifc() 426 dip->attr_debuginfo.attr.name = "debuginfo"; in pvr2_sysfs_add_debugifc() [all …]
|
/drivers/scsi/bfa/ |
D | bfa_port.c | 23 u32 *dip = (u32 *) stats; in bfa_port_stats_swap() local 29 t0 = dip[i]; in bfa_port_stats_swap() 30 t1 = dip[i + 1]; in bfa_port_stats_swap() 32 dip[i] = be32_to_cpu(t0); in bfa_port_stats_swap() 33 dip[i + 1] = be32_to_cpu(t1); in bfa_port_stats_swap() 35 dip[i] = be32_to_cpu(t1); in bfa_port_stats_swap() 36 dip[i + 1] = be32_to_cpu(t0); in bfa_port_stats_swap()
|
D | bfa_svc.c | 3232 u32 *dip = (u32 *) d; in bfa_fcport_qos_stats_swap() local 3238 dip[i] = be32_to_cpu(sip[i]); in bfa_fcport_qos_stats_swap() 3245 u32 *dip = (u32 *) d; in bfa_fcport_fcoe_stats_swap() local 3252 dip[i] = be32_to_cpu(sip[i]); in bfa_fcport_fcoe_stats_swap() 3253 dip[i + 1] = be32_to_cpu(sip[i + 1]); in bfa_fcport_fcoe_stats_swap() 3255 dip[i] = be32_to_cpu(sip[i + 1]); in bfa_fcport_fcoe_stats_swap() 3256 dip[i + 1] = be32_to_cpu(sip[i]); in bfa_fcport_fcoe_stats_swap()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_dpipe.c | 458 unsigned char *ha, void *dip) in __mlxsw_sp_dpipe_table_host_entry_fill() argument 474 memcpy(value->value, dip, value->value_size); in __mlxsw_sp_dpipe_table_host_entry_fill() 488 u32 dip; in mlxsw_sp_dpipe_table_host4_entry_fill() local 491 dip = mlxsw_sp_neigh4_entry_dip(neigh_entry); in mlxsw_sp_dpipe_table_host4_entry_fill() 492 __mlxsw_sp_dpipe_table_host_entry_fill(entry, rif, ha, &dip); in mlxsw_sp_dpipe_table_host4_entry_fill() 500 struct in6_addr *dip; in mlxsw_sp_dpipe_table_host6_entry_fill() local 504 dip = mlxsw_sp_neigh6_entry_dip(neigh_entry); in mlxsw_sp_dpipe_table_host6_entry_fill() 506 __mlxsw_sp_dpipe_table_host_entry_fill(entry, rif, ha, dip); in mlxsw_sp_dpipe_table_host6_entry_fill()
|
D | reg.h | 7549 u32 *dip) in mlxsw_reg_ralue_pack4() argument 7552 if (dip) in mlxsw_reg_ralue_pack4() 7553 mlxsw_reg_ralue_dip4_set(payload, *dip); in mlxsw_reg_ralue_pack4() 7560 const void *dip) in mlxsw_reg_ralue_pack6() argument 7563 if (dip) in mlxsw_reg_ralue_pack6() 7564 mlxsw_reg_ralue_dip6_memcpy_to(payload, dip); in mlxsw_reg_ralue_pack6() 7738 const char *mac, u32 dip) in mlxsw_reg_rauht_pack4() argument 7741 mlxsw_reg_rauht_dip4_set(payload, dip); in mlxsw_reg_rauht_pack4() 7746 const char *mac, const char *dip) in mlxsw_reg_rauht_pack6() argument 7750 mlxsw_reg_rauht_dip6_memcpy_to(payload, dip); in mlxsw_reg_rauht_pack6() [all …]
|
D | spectrum_router.c | 2289 u32 dip; in mlxsw_sp_router_neigh_ent_ipv4_process() local 2292 mlxsw_reg_rauhtd_ent_ipv4_unpack(rauhtd_pl, ent_index, &rif, &dip); in mlxsw_sp_router_neigh_ent_ipv4_process() 2301 dipn = htonl(dip); in mlxsw_sp_router_neigh_ent_ipv4_process() 2307 netdev_dbg(dev, "Updating neighbour with IP=%pI4h\n", &dip); in mlxsw_sp_router_neigh_ent_ipv4_process() 2319 struct in6_addr dip; in mlxsw_sp_router_neigh_ent_ipv6_process() local 2323 (char *) &dip); in mlxsw_sp_router_neigh_ent_ipv6_process() 2331 n = neigh_lookup(&nd_tbl, &dip, dev); in mlxsw_sp_router_neigh_ent_ipv6_process() 2335 netdev_dbg(dev, "Updating neighbour with IP=%pI6c\n", &dip); in mlxsw_sp_router_neigh_ent_ipv6_process() 2544 u32 dip = ntohl(*((__be32 *) n->primary_key)); in mlxsw_sp_router_neigh_entry_op4() local 2548 dip); in mlxsw_sp_router_neigh_entry_op4() [all …]
|
/drivers/net/ethernet/mscc/ |
D | ocelot_vcap.c | 473 arp->dip.value.addr, arp->dip.mask.addr); in is2_entry_set() 489 struct ocelot_vcap_ipv4 sip, dip; in is2_entry_set() local 502 dip = ipv4->dip; in is2_entry_set() 526 dip.value.addr[i] = val; in is2_entry_set() 527 dip.mask.addr[i] = msk; in is2_entry_set() 558 dip.value.addr, dip.mask.addr); in is2_entry_set()
|
D | ocelot_flower.c | 590 tmp = &filter->key.ipv4.dip.value.addr[0]; in ocelot_flower_parse_key() 593 tmp = &filter->key.ipv4.dip.mask.addr[0]; in ocelot_flower_parse_key()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_ioctl.h | 156 uint32_t dip; member
|
D | common.h | 412 u32 dip; member
|
D | t3_hw.c | 3004 key[2] = tp->dip; in t3_config_trace_filter()
|
/drivers/net/ipvlan/ |
D | ipvlan_core.c | 397 __be32 dip; in ipvlan_addr_lookup() local 406 memcpy(&dip, arp_ptr, 4); in ipvlan_addr_lookup() 407 addr = ipvlan_ht_addr_lookup(port, &dip, false); in ipvlan_addr_lookup()
|
/drivers/perf/ |
D | xgene_pmu.c | 412 XGENE_PMU_EVENT_ATTR(dip-insertions-r-set, 0x18), 413 XGENE_PMU_EVENT_ATTR(dip-insertions-r-clear, 0x19), 414 XGENE_PMU_EVENT_ATTR(dip-insertions-force-r-set, 0x1a),
|
/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | ipsec.c | 536 memcpy(hw_sa->ipsec_sa_v1.dip, daddr, sizeof(hw_sa->ipsec_sa_v1.dip)); in mlx5_fpga_ipsec_build_hw_sa()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_filter.c | 165 unsigned int tid, bool dip, bool sip, bool dp, in set_nat_params() argument 171 if (dip) { in set_nat_params()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 7346 u32 sip, dip, sipm, dipm, spi, spim; in niu_get_tcamkey_from_ip4fs() local 7351 dip = be32_to_cpu(fsp->h_u.tcp_ip4_spec.ip4dst); in niu_get_tcamkey_from_ip4fs() 7360 tp->key[3] |= dip; in niu_get_tcamkey_from_ip4fs()
|