Searched defs:rt (Results 26 - 41 of 41) sorted by relevance

12

/drivers/net/ethernet/sis/
H A Dsis900.c2053 int rt; local
2055 rt = mii_ethtool_sset(&sis_priv->mii_info, cmd);
2057 return rt;
/drivers/infiniband/core/
H A Dcma.c1187 struct rdma_route *rt; local
1199 rt = &id->route;
1200 rt->num_paths = ib_event->param.req_rcvd.alternate_path ? 2 : 1;
1201 rt->path_rec = kmalloc(sizeof *rt->path_rec * rt->num_paths,
1203 if (!rt->path_rec)
1206 rt->path_rec[0] = *ib_event->param.req_rcvd.primary_path;
1207 if (rt->num_paths == 2)
1208 rt
[all...]
/drivers/infiniband/hw/cxgb4/
H A Dcm.c406 struct rtable *rt; local
410 rt = ip_route_output_ports(&init_net, &fl4, NULL, peer_ip, local_ip,
413 if (IS_ERR(rt))
415 n = dst_neigh_lookup(&rt->dst, &peer_ip);
421 dst_release(&rt->dst);
425 return &rt->dst;
/drivers/infiniband/hw/nes/
H A Dnes_cm.c1493 struct rtable *rt; local
1499 rt = ip_route_output(&init_net, htonl(dst_ip), 0, 0, 0);
1500 if (IS_ERR(rt)) {
1511 neigh = neigh_lookup(&arp_tbl, &rt->rt_gateway, netdev);
1518 neigh->ha, ntohl(rt->rt_gateway));
1545 ip_rt_put(rt);
/drivers/net/bonding/
H A Dbond_main.c2213 struct rtable *rt; local
2223 rt = ip_route_output(dev_net(bond->dev), targets[i], 0,
2225 if (IS_ERR(rt)) {
2239 if (rt->dst.dev == bond->dev)
2243 tags = bond_verify_device_path(bond->dev, rt->dst.dev, 0);
2250 netdev_dbg(bond->dev, "no path to arp_ip_target %pI4 via rt.dev %s\n",
2251 &targets[i], rt->dst.dev ? rt->dst.dev->name : "NULL");
2253 ip_rt_put(rt);
2257 addr = bond_confirm_addr(rt
[all...]
/drivers/net/
H A Dvxlan.c1618 struct rtable *rt, struct sk_buff *skb,
1631 min_headroom = LL_RESERVED_SPACE(rt->dst.dev) + rt->dst.header_len
1655 return udp_tunnel_xmit_skb(vs->sock, rt, skb, src, dst, tos,
1709 struct rtable *rt = NULL; local
1752 rt = ip_route_output_key(vxlan->net, &fl4);
1753 if (IS_ERR(rt)) {
1760 if (rt->dst.dev == dev) {
1768 if (rt->rt_flags & RTCF_LOCAL &&
1769 !(rt
1617 vxlan_xmit_skb(struct vxlan_sock *vs, struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port, __be32 vni, bool xnet) argument
[all...]
/drivers/pinctrl/
H A Dpinctrl-st.c217 struct regmap_field *rt[ST_GPIO_PINS_PER_BANK]; member in struct:st_retime_dedicated
237 } rt; member in struct:st_pio_control
247 const int alt, oe, pu, od, rt; member in struct:st_pctl_data
352 .alt = 0, .oe = 5, .pu = 7, .od = 9, .rt = 16,
357 .alt = 0, .oe = 8, .pu = 10, .od = 12, .rt = 16,
362 .alt = 0, .oe = 6, .pu = 8, .od = 10, .rt = 38,
367 .alt = 0, .oe = 3, .pu = 4, .od = 5, .rt = 6,
372 .alt = 0, .oe = 5, .pu = 7, .od = 9, .rt = 11,
385 .alt = 0, .oe = 40, .pu = 50, .od = 60, .rt = 100,
398 .rt
[all...]
/drivers/s390/net/
H A Dqeth_l3_main.c2816 struct rtable *rt = (struct rtable *) dst; local
2819 if (rt->rt_gateway)
2820 pkey = &rt->rt_gateway;
2827 struct rt6_info *rt = (struct rt6_info *) dst; local
2830 if (!ipv6_addr_any(&rt->rt6i_gateway))
2831 pkey = &rt->rt6i_gateway;
/drivers/scsi/cxgbi/
H A Dlibcxgbi.c583 struct rtable *rt; local
585 rt = ip_route_output_ports(&init_net, fl4, NULL, daddr, saddr,
587 if (IS_ERR(rt))
590 return rt;
599 struct rtable *rt = NULL; local
607 rt = find_route_ipv4(&fl4, 0, daddr->sin_addr.s_addr, 0, daddr->sin_port, 0);
608 if (!rt) {
615 dst = &rt->dst;
623 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) {
634 pr_info("rt de
700 struct rt6_info *rt = NULL; local
[all...]
/drivers/block/
H A Dnvme-core.c1901 struct nvme_id_ns *id, struct nvme_lba_range_type *rt)
1907 if (rt->attributes & NVME_LBART_ATTRIB_HIDE)
1900 nvme_alloc_ns(struct nvme_dev *dev, unsigned nsid, struct nvme_id_ns *id, struct nvme_lba_range_type *rt) argument
/drivers/net/ethernet/broadcom/
H A Dcnic.c3669 struct rtable *rt; local
3671 rt = ip_route_output(&init_net, dst_addr->sin_addr.s_addr, 0, 0, 0);
3672 if (!IS_ERR(rt)) {
3673 *dst = &rt->dst;
3676 return PTR_ERR(rt);
/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c282 static const char *resource_str(enum mlx4_resource rt) argument
284 switch (rt) {
/drivers/net/wireless/rt2x00/
H A Drt2800lib.c523 switch (rt2x00dev->chip.rt) {
4526 switch (rt2x00dev->chip.rt) {
5665 switch (rt2x00dev->chip.rt) {
6680 switch (rt2x00dev->chip.rt) {
7703 u32 rt; local
7711 rt = rt2x00_get_field32(reg, MAC_CSR0_CHIPSET);
7714 switch (rt) {
7732 rt, rev);
7736 rt2x00_set_rt(rt2x00dev, rt, rev);
H A Drt2x00.h153 u16 rt; member in struct:rt2x00_chip
1076 const u16 rt, const u16 rf, const u16 rev)
1078 rt2x00dev->chip.rt = rt;
1082 rt2x00_info(rt2x00dev, "Chipset detected - rt: %04x, rf: %04x, rev: %04x\n",
1083 rt2x00dev->chip.rt, rt2x00dev->chip.rf,
1088 const u16 rt, const u16 rev)
1090 rt2x00dev->chip.rt = rt;
1094 rt2x00dev->chip.rt, rt2x00de
1075 rt2x00_set_chip(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rf, const u16 rev) argument
1087 rt2x00_set_rt(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rev) argument
1105 rt2x00_rt(struct rt2x00_dev *rt2x00dev, const u16 rt) argument
1120 rt2x00_rt_rev(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rev) argument
1126 rt2x00_rt_rev_lt(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rev) argument
1132 rt2x00_rt_rev_gte(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rev) argument
[all...]
/drivers/md/
H A Dmd.c6699 sector_t rt; local
6754 * rt: remaining time
6756 * rt is a sector_t, so could be 32bit or 64bit.
6762 * We then divide rt by 32 after multiplying by db to compensate.
6770 rt = max_sectors - resync; /* number of remaining sectors */
6771 sector_div(rt, db/32+1);
6772 rt *= dt;
6773 rt >>= 5;
6775 seq_printf(seq, " finish=%lu.%lumin", (unsigned long)rt / 60,
6776 ((unsigned long)rt
[all...]
/drivers/net/ethernet/sun/
H A Dniu.c8746 struct rdc_table *rt = &tp->tables[grp]; local
8752 rt->rxdma_channel[slot] =
8755 pr_cont("%d ", rt->rxdma_channel[slot]);

Completed in 1497 milliseconds

12