Home
last modified time | relevance | path

Searched refs:dip (Results 1 – 21 of 21) sorted by relevance

/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c824 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_destroy() argument
826 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw; in pvr2_v4l2_dev_destroy()
827 enum pvr2_config cfg = dip->config; in pvr2_v4l2_dev_destroy()
836 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy()
840 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1); in pvr2_v4l2_dev_destroy()
843 dip->v4lp = NULL; in pvr2_v4l2_dev_destroy()
844 dip->stream = NULL; in pvr2_v4l2_dev_destroy()
848 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy()
855 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_disassociate_parent() argument
857 if (!dip) return; in pvr2_v4l2_dev_disassociate_parent()
[all …]
Dpvrusb2-sysfs.c411 struct pvr2_sysfs_debugifc *dip; in pvr2_sysfs_add_debugifc() local
414 dip = kzalloc(sizeof(*dip),GFP_KERNEL); in pvr2_sysfs_add_debugifc()
415 if (!dip) return; in pvr2_sysfs_add_debugifc()
416 sysfs_attr_init(&dip->attr_debugcmd.attr); in pvr2_sysfs_add_debugifc()
417 dip->attr_debugcmd.attr.name = "debugcmd"; in pvr2_sysfs_add_debugifc()
418 dip->attr_debugcmd.attr.mode = S_IRUGO|S_IWUSR|S_IWGRP; in pvr2_sysfs_add_debugifc()
419 dip->attr_debugcmd.show = debugcmd_show; in pvr2_sysfs_add_debugifc()
420 dip->attr_debugcmd.store = debugcmd_store; in pvr2_sysfs_add_debugifc()
421 sysfs_attr_init(&dip->attr_debuginfo.attr); in pvr2_sysfs_add_debugifc()
422 dip->attr_debuginfo.attr.name = "debuginfo"; in pvr2_sysfs_add_debugifc()
[all …]
/drivers/scsi/bfa/
Dbfa_port.c23 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()
Dbfa_svc.c3232 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/microchip/vcap/
Dvcap_tc.c106 struct vcap_u128_key dip; in vcap_tc_flower_handler_ipv6_usage() local
119 vcap_netbytes_copy(dip.value, mt.key->dst.s6_addr, 16); in vcap_tc_flower_handler_ipv6_usage()
120 vcap_netbytes_copy(dip.mask, mt.mask->dst.s6_addr, 16); in vcap_tc_flower_handler_ipv6_usage()
122 VCAP_KF_L3_IP6_DIP, &dip); in vcap_tc_flower_handler_ipv6_usage()
Dvcap_api_kunit.c1022 struct vcap_u128_key dip = { in vcap_api_rule_add_keyvalue_test() local
1082 ret = vcap_rule_add_key_u128(rule, VCAP_KF_L3_IP6_SIP, &dip); in vcap_api_rule_add_keyvalue_test()
1090 for (idx = 0; idx < ARRAY_SIZE(dip.value); ++idx) in vcap_api_rule_add_keyvalue_test()
1091 KUNIT_EXPECT_EQ(test, dip.value[idx], kf->data.u128.value[idx]); in vcap_api_rule_add_keyvalue_test()
1092 for (idx = 0; idx < ARRAY_SIZE(dip.mask); ++idx) in vcap_api_rule_add_keyvalue_test()
1093 KUNIT_EXPECT_EQ(test, dip.mask[idx], kf->data.u128.mask[idx]); in vcap_api_rule_add_keyvalue_test()
/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c1441 u32 die, dip; in rk3568_set_intf_mux() local
1444 dip = vop2_readl(vop2, RK3568_DSP_IF_POL); in rk3568_set_intf_mux()
1451 dip &= ~RK3568_DSP_IF_POL__RGB_LVDS_PIN_POL; in rk3568_set_intf_mux()
1452 dip |= FIELD_PREP(RK3568_DSP_IF_POL__RGB_LVDS_PIN_POL, polflags); in rk3568_set_intf_mux()
1462 dip &= ~RK3568_DSP_IF_POL__HDMI_PIN_POL; in rk3568_set_intf_mux()
1463 dip |= FIELD_PREP(RK3568_DSP_IF_POL__HDMI_PIN_POL, polflags); in rk3568_set_intf_mux()
1469 dip &= ~RK3568_DSP_IF_POL__EDP_PIN_POL; in rk3568_set_intf_mux()
1470 dip |= FIELD_PREP(RK3568_DSP_IF_POL__EDP_PIN_POL, polflags); in rk3568_set_intf_mux()
1476 dip &= ~RK3568_DSP_IF_POL__MIPI_PIN_POL; in rk3568_set_intf_mux()
1477 dip |= FIELD_PREP(RK3568_DSP_IF_POL__MIPI_PIN_POL, polflags); in rk3568_set_intf_mux()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dpipe.c458 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()
Dreg.h8038 u32 dip) in mlxsw_reg_ralue_pack4() argument
8041 mlxsw_reg_ralue_dip4_set(payload, dip); in mlxsw_reg_ralue_pack4()
8048 const void *dip) in mlxsw_reg_ralue_pack6() argument
8051 mlxsw_reg_ralue_dip6_memcpy_to(payload, dip); in mlxsw_reg_ralue_pack6()
8225 const char *mac, u32 dip) in mlxsw_reg_rauht_pack4() argument
8228 mlxsw_reg_rauht_dip4_set(payload, dip); in mlxsw_reg_rauht_pack4()
8233 const char *mac, const char *dip) in mlxsw_reg_rauht_pack6() argument
8237 mlxsw_reg_rauht_dip6_memcpy_to(payload, dip); in mlxsw_reg_rauht_pack6()
9962 u32 sip, u32 dip) in mlxsw_reg_mpat_eth_rspan_l3_ipv4_pack() argument
9969 mlxsw_reg_mpat_eth_rspan_dip4_set(payload, dip); in mlxsw_reg_mpat_eth_rspan_l3_ipv4_pack()
[all …]
Dspectrum_router.c2418 u32 dip; in mlxsw_sp_router_neigh_ent_ipv4_process() local
2421 mlxsw_reg_rauhtd_ent_ipv4_unpack(rauhtd_pl, ent_index, &rif, &dip); in mlxsw_sp_router_neigh_ent_ipv4_process()
2430 dipn = htonl(dip); in mlxsw_sp_router_neigh_ent_ipv4_process()
2436 netdev_dbg(dev, "Updating neighbour with IP=%pI4h\n", &dip); in mlxsw_sp_router_neigh_ent_ipv4_process()
2448 struct in6_addr dip; in mlxsw_sp_router_neigh_ent_ipv6_process() local
2452 (char *) &dip); in mlxsw_sp_router_neigh_ent_ipv6_process()
2460 n = neigh_lookup(&nd_tbl, &dip, dev); in mlxsw_sp_router_neigh_ent_ipv6_process()
2464 netdev_dbg(dev, "Updating neighbour with IP=%pI6c\n", &dip); in mlxsw_sp_router_neigh_ent_ipv6_process()
2676 u32 dip = ntohl(*((__be32 *) n->primary_key)); in mlxsw_sp_router_neigh_entry_op4() local
2680 dip); in mlxsw_sp_router_neigh_entry_op4()
[all …]
/drivers/net/ethernet/mscc/
Docelot_vcap.c474 arp->dip.value.addr, arp->dip.mask.addr); in is2_entry_set()
490 struct ocelot_vcap_ipv4 sip, dip; in is2_entry_set() local
503 dip = ipv4->dip; in is2_entry_set()
527 dip.value.addr[i] = val; in is2_entry_set()
528 dip.mask.addr[i] = msk; in is2_entry_set()
559 dip.value.addr, dip.mask.addr); in is2_entry_set()
Docelot_flower.c732 tmp = &filter->key.ipv4.dip.value.addr[0]; in ocelot_flower_parse_key()
735 tmp = &filter->key.ipv4.dip.mask.addr[0]; in ocelot_flower_parse_key()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h156 uint32_t dip; member
Dcommon.h412 u32 dip; member
Dt3_hw.c2939 key[2] = tp->dip; in t3_config_trace_filter()
/drivers/net/ipvlan/
Dipvlan_core.c396 __be32 dip; in ipvlan_addr_lookup() local
405 memcpy(&dip, arp_ptr, 4); in ipvlan_addr_lookup()
406 addr = ipvlan_ht_addr_lookup(port, &dip, false); in ipvlan_addr_lookup()
/drivers/infiniband/hw/erdma/
Derdma_hw.h297 __be32 dip; member
Derdma_qp.c88 req.dip = to_sockaddr_in(remote_addr).sin_addr.s_addr; in erdma_modify_qp_state_to_rts()
/drivers/perf/
Dxgene_pmu.c412 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/chelsio/cxgb4/
Dcxgb4_filter.c165 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/
Dniu.c7364 u32 sip, dip, sipm, dipm, spi, spim; in niu_get_tcamkey_from_ip4fs() local
7369 dip = be32_to_cpu(fsp->h_u.tcp_ip4_spec.ip4dst); in niu_get_tcamkey_from_ip4fs()
7378 tp->key[3] |= dip; in niu_get_tcamkey_from_ip4fs()