Home
last modified time | relevance | path

Searched refs:dev_addr (Results 1 – 25 of 76) sorted by relevance

1234

/titanic_41/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_addr.h65 static inline uint16_t ib_addr_get_pkey(struct rdma_dev_addr *dev_addr) in ib_addr_get_pkey() argument
67 return (((uint16_t)dev_addr->broadcast[8] << 8) | in ib_addr_get_pkey()
68 (uint16_t)dev_addr->broadcast[9]); in ib_addr_get_pkey()
71 static inline void ib_addr_set_pkey(struct rdma_dev_addr *dev_addr, in ib_addr_set_pkey() argument
74 dev_addr->broadcast[8] = pkey >> 8; in ib_addr_set_pkey()
75 dev_addr->broadcast[9] = (unsigned char) pkey; in ib_addr_set_pkey()
78 static inline void ib_addr_get_mgid(struct rdma_dev_addr *dev_addr, in ib_addr_get_mgid() argument
81 (void) memcpy(gid, dev_addr->broadcast + 4, sizeof (*gid)); in ib_addr_get_mgid()
84 static inline void ib_addr_get_sgid(struct rdma_dev_addr *dev_addr, in ib_addr_get_sgid() argument
87 (void) memcpy(gid, dev_addr->src_dev_addr + 4, sizeof (*gid)); in ib_addr_get_sgid()
[all …]
/titanic_41/usr/src/uts/intel/sys/
H A Dddi_isa.h89 uint8_t *host_addr, uint8_t *dev_addr,
92 uint16_t *host_addr, uint16_t *dev_addr,
95 uint32_t *host_addr, uint32_t *dev_addr,
98 uint64_t *host_addr, uint64_t *dev_addr,
102 uint8_t *host_addr, uint8_t *dev_addr,
105 uint16_t *host_addr, uint16_t *dev_addr,
108 uint32_t *host_addr, uint32_t *dev_addr,
111 uint64_t *host_addr, uint64_t *dev_addr,
178 uint8_t *dev_addr, size_t repcount, uint_t flags);
182 uint16_t *dev_addr, size_t repcount, uint_t flags);
[all …]
/titanic_41/usr/src/uts/sparc/sys/
H A Dddi_isa.h79 uint8_t *host_addr, uint8_t *dev_addr,
82 uint16_t *host_addr, uint16_t *dev_addr,
85 uint32_t *host_addr, uint32_t *dev_addr,
88 uint64_t *host_addr, uint64_t *dev_addr,
92 uint8_t *host_addr, uint8_t *dev_addr,
95 uint16_t *host_addr, uint16_t *dev_addr,
98 uint32_t *host_addr, uint32_t *dev_addr,
101 uint64_t *host_addr, uint64_t *dev_addr,
162 i_ddi_rep_get8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr,
166 i_ddi_rep_get16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, uint16_t *dev_addr,
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dddi_obsolete.h35 void ddi_mem_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value);
36 void ddi_mem_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value);
37 void ddi_mem_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value);
38 void ddi_mem_put64(ddi_acc_handle_t handle, uint64_t *dev_addr, uint64_t value);
41 uint8_t *dev_addr, size_t repcount, uint_t flags);
43 uint16_t *dev_addr, size_t repcount, uint_t flags);
45 uint32_t *dev_addr, size_t repcount, uint_t flags);
47 uint64_t *dev_addr, size_t repcount, uint_t flags);
49 uint8_t *dev_addr, size_t repcount, uint_t flags);
51 uint16_t *dev_addr, size_t repcount, uint_t flags);
[all …]
/titanic_41/usr/src/uts/intel/ia32/os/
H A Dddi_i86.c570 uint8_t *dev_addr, size_t repcount, uint_t flags) in i_ddi_vaddr_rep_get8() argument
575 d = dev_addr; in i_ddi_vaddr_rep_get8()
588 uint16_t *dev_addr, size_t repcount, uint_t flags) in i_ddi_vaddr_rep_get16() argument
593 d = dev_addr; in i_ddi_vaddr_rep_get16()
606 uint16_t *dev_addr, size_t repcount, uint_t flags) in i_ddi_vaddr_swap_rep_get16() argument
611 d = dev_addr; in i_ddi_vaddr_swap_rep_get16()
624 uint16_t *dev_addr, size_t repcount, uint_t flags) in i_ddi_io_swap_rep_get16() argument
630 port = (uintptr_t)dev_addr; in i_ddi_io_swap_rep_get16()
643 uint32_t *dev_addr, size_t repcount, uint_t flags) in i_ddi_vaddr_rep_get32() argument
648 d = dev_addr; in i_ddi_vaddr_rep_get32()
[all …]
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_axq.c63 uint8_t *host_addr, uint8_t *dev_addr,
66 uint16_t *host_addr, uint16_t *dev_addr,
69 uint32_t *host_addr, uint32_t *dev_addr,
72 uint64_t *host_addr, uint64_t *dev_addr,
75 uint8_t *host_addr, uint8_t *dev_addr,
78 uint16_t *host_addr, uint16_t *dev_addr,
81 uint32_t *host_addr, uint32_t *dev_addr,
84 uint64_t *host_addr, uint64_t *dev_addr,
275 uint8_t *dev_addr, size_t repcount, uint_t flags) in pci_axq_hack_rep_get8() argument
282 i_ddi_rep_get8(handle, host_addr, dev_addr, repcount, flags); in pci_axq_hack_rep_get8()
[all …]
H A Ddb21554.c364 uint8_t *dev_addr, size_t repcount, uint_t flags);
366 uint16_t *dev_addr, size_t repcount, uint_t flags);
368 uint32_t *dev_addr, size_t repcount, uint_t flags);
370 uint64_t *dev_addr, size_t repcount, uint_t flags);
372 uint8_t *dev_addr, size_t repcount, uint_t flags);
374 uint16_t *dev_addr, size_t repcount, uint_t flags);
376 uint32_t *dev_addr, size_t repcount, uint_t flags);
378 uint64_t *dev_addr, size_t repcount, uint_t flags);
1854 pci_addr = &db_pvt->dev_addr; in db_pci_map()
2868 uint8_t *dev_addr, size_t repcount, uint_t flags) in db_ddi_rep_get8() argument
[all …]
H A Dpci.c975 err = do_poke(in_args->size, (void *)in_args->dev_addr, in pci_do_poke()
1008 uintptr_t dev_addr = cautacc_ctlops_arg->dev_addr; in pci_do_caut_put() local
1027 i_ddi_put8(hp, (uint8_t *)dev_addr, in pci_do_caut_put()
1032 i_ddi_put16(hp, (uint16_t *)dev_addr, in pci_do_caut_put()
1037 i_ddi_put32(hp, (uint32_t *)dev_addr, in pci_do_caut_put()
1042 i_ddi_put64(hp, (uint64_t *)dev_addr, in pci_do_caut_put()
1050 dev_addr += size; in pci_do_caut_put()
1087 err = do_peek(in_args->size, (void *)in_args->dev_addr, in pci_do_peek()
1106 uintptr_t dev_addr = cautacc_ctlops_arg->dev_addr; in pci_do_caut_get() local
1119 i_ddi_caut_get(size, (void *)dev_addr, in pci_do_caut_get()
[all …]
/titanic_41/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c1103 uintptr_t dev_addr = in_args->dev_addr; in pci_common_ctlops_poke() local
1125 pci_config_wr8(hp, (uint8_t *)dev_addr, in pci_common_ctlops_poke()
1129 pci_config_wr16(hp, (uint16_t *)dev_addr, in pci_common_ctlops_poke()
1133 pci_config_wr32(hp, (uint32_t *)dev_addr, in pci_common_ctlops_poke()
1137 pci_config_wr64(hp, (uint64_t *)dev_addr, in pci_common_ctlops_poke()
1150 (uint8_t *)dev_addr, in pci_common_ctlops_poke()
1155 (uint16_t *)dev_addr, in pci_common_ctlops_poke()
1160 (uint32_t *)dev_addr, in pci_common_ctlops_poke()
1169 (uint64_t *)dev_addr, in pci_common_ctlops_poke()
1180 (uint8_t *)dev_addr, in pci_common_ctlops_poke()
[all …]
H A Dpci_common.h70 uint8_t *dev_addr, size_t repcount, uint_t flags);
72 uint16_t *dev_addr, size_t repcount, uint_t flags);
74 uint32_t *dev_addr, size_t repcount, uint_t flags);
76 uint64_t *dev_addr, size_t repcount, uint_t flags);
79 uint8_t *dev_addr, size_t repcount, uint_t flags);
81 uint16_t *dev_addr, size_t repcount, uint_t flags);
83 uint32_t *dev_addr, size_t repcount, uint_t flags);
85 uint64_t *dev_addr, size_t repcount, uint_t flags);
/titanic_41/usr/src/uts/sparc/v9/ml/
H A Dddi_v9_asm.s79 ddi_io_get8(ddi_acc_handle_t handle, uint8_t *dev_addr)
100 ddi_io_get16(ddi_acc_handle_t handle, uint16_t *dev_addr)
121 ddi_io_get32(ddi_acc_handle_t handle, uint32_t *dev_addr)
146 ddi_mem_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value) {}
150 ddi_io_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value) {}
158 ddi_mem_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value) {}
162 ddi_io_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value) {}
170 ddi_mem_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value) {}
174 ddi_io_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value) {}
182 ddi_mem_put64(ddi_acc_handle_t handle, uint64_t *dev_addr, uint64_t value) {}
[all …]
/titanic_41/usr/src/uts/sun4u/lw2plus/io/
H A Dlombus.c1020 uint8_t *dev_addr, size_t repcount, uint_t flags) in lombus_vreg_rep_get8() argument
1025 for (; repcount--; dev_addr += inc) in lombus_vreg_rep_get8()
1026 *host_addr++ = lombus_vreg_get8(hdlp, dev_addr); in lombus_vreg_rep_get8()
1031 uint8_t *dev_addr, size_t repcount, uint_t flags) in lombus_vreg_rep_put8() argument
1036 for (; repcount--; dev_addr += inc) in lombus_vreg_rep_put8()
1037 lombus_vreg_put8(hdlp, dev_addr, *host_addr++); in lombus_vreg_rep_put8()
1114 uint8_t *dev_addr, size_t repcount, uint_t flags) in lombus_pat_rep_get8() argument
1119 for (; repcount--; dev_addr += inc) in lombus_pat_rep_get8()
1120 *host_addr++ = lombus_pat_get8(hdlp, dev_addr); in lombus_pat_rep_get8()
1125 uint8_t *dev_addr, size_t repcount, uint_t flags) in lombus_pat_rep_put8() argument
[all …]
/titanic_41/usr/src/lib/storage/liba5k/common/
H A Dmon.c544 map.dev_addr = (gfc_port_dev_info_t *)NULL; in l_led()
551 free((void *)map.dev_addr); in l_led()
559 free((void *)map.dev_addr); in l_led()
564 if ((map.dev_addr != NULL) && in l_led()
573 free((void *)map.dev_addr); in l_led()
578 free((void *)map.dev_addr); in l_led()
585 free((void *)map.dev_addr); in l_led()
589 if (map.dev_addr != NULL) in l_led()
590 free((void *)map.dev_addr); /* Not used anymore */ in l_led()
817 map.dev_addr = (gfc_port_dev_info_t *)NULL; in l_dev_pwr_up_down()
[all …]
H A Ddiag.c424 map.dev_addr = (gfc_port_dev_info_t *)NULL; in l_dev_bypass_enable()
483 free((void *)map.dev_addr); in l_dev_bypass_enable()
490 if ((map.dev_addr == (gfc_port_dev_info_t *)NULL) && in l_dev_bypass_enable()
499 free((void *)map.dev_addr); in l_dev_bypass_enable()
504 free((void *)map.dev_addr); in l_dev_bypass_enable()
511 free((void *)map.dev_addr); in l_dev_bypass_enable()
516 if (map.dev_addr != (gfc_port_dev_info_t *)NULL) { in l_dev_bypass_enable()
517 free((void *)map.dev_addr); in l_dev_bypass_enable()
/titanic_41/usr/src/uts/intel/ia32/ml/
H A Dddi_i86_asm.s56 ddi_io_get8(ddi_acc_handle_t handle, uint8_t *dev_addr)
77 ddi_io_get16(ddi_acc_handle_t handle, uint16_t *dev_addr)
98 ddi_io_get32(ddi_acc_handle_t handle, uint32_t *dev_addr)
124 ddi_mem_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value)
129 ddi_io_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value)
139 ddi_mem_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value)
144 ddi_io_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value)
154 ddi_mem_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value)
159 ddi_io_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value)
169 ddi_mem_put64(ddi_acc_handle_t handle, uint64_t *dev_addr, uint64_t value)
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dbscbus.c1119 uint8_t *dev_addr, size_t repcount, uint_t flags) in bscbus_vreg_rep_get8() argument
1124 for (; repcount--; dev_addr += inc) in bscbus_vreg_rep_get8()
1125 *host_addr++ = bscbus_vreg_get8(hdlp, dev_addr); in bscbus_vreg_rep_get8()
1130 uint8_t *dev_addr, size_t repcount, uint_t flags) in bscbus_vreg_rep_put8() argument
1135 for (; repcount--; dev_addr += inc) in bscbus_vreg_rep_put8()
1136 bscbus_vreg_put8(hdlp, dev_addr, *host_addr++); in bscbus_vreg_rep_put8()
1203 uint8_t *dev_addr, size_t repcount, uint_t flags) in bscbus_pat_rep_get8() argument
1208 for (; repcount--; dev_addr += inc) in bscbus_pat_rep_get8()
1209 *host_addr++ = bscbus_pat_get8(hdlp, dev_addr); in bscbus_pat_rep_get8()
1214 uint8_t *dev_addr, size_t repcount, uint_t flags) in bscbus_pat_rep_put8() argument
[all …]
/titanic_41/usr/src/uts/sun4v/io/px/
H A Dpx_lib4v.c1409 uint8_t *dev_addr, size_t repcount, uint_t flags) in px_pci_config_rep_get8() argument
1413 *host_addr++ = px_pci_config_get8(handle, dev_addr++); in px_pci_config_rep_get8()
1416 *host_addr++ = px_pci_config_get8(handle, dev_addr); in px_pci_config_rep_get8()
1425 uint16_t *dev_addr, size_t repcount, uint_t flags) in px_pci_config_rep_get16() argument
1429 *host_addr++ = px_pci_config_get16(handle, dev_addr++); in px_pci_config_rep_get16()
1432 *host_addr++ = px_pci_config_get16(handle, dev_addr); in px_pci_config_rep_get16()
1441 uint32_t *dev_addr, size_t repcount, uint_t flags) in px_pci_config_rep_get32() argument
1445 *host_addr++ = px_pci_config_get32(handle, dev_addr++); in px_pci_config_rep_get32()
1448 *host_addr++ = px_pci_config_get32(handle, dev_addr); in px_pci_config_rep_get32()
1457 uint64_t *dev_addr, size_t repcount, uint_t flags) in px_pci_config_rep_get64() argument
[all …]
/titanic_41/usr/src/uts/sun4/os/
H A Dddi_impl.c1761 ddi_acc_impl_t *hp, uint64_t host_addr, uint64_t dev_addr, size_t size, in i_ddi_caut_getput_ctlops() argument
1767 cautacc_ctlops_arg.dev_addr = dev_addr; in i_ddi_caut_getput_ctlops()
1846 i_ddi_caut_rep_get8(ddi_acc_impl_t *hp, uint8_t *host_addr, uint8_t *dev_addr, in i_ddi_caut_rep_get8() argument
1849 i_ddi_caut_getput_ctlops(hp, (uint64_t)host_addr, (uint64_t)dev_addr, in i_ddi_caut_rep_get8()
1855 uint16_t *dev_addr, size_t repcount, uint_t flags) in i_ddi_caut_rep_get16() argument
1857 i_ddi_caut_getput_ctlops(hp, (uint64_t)host_addr, (uint64_t)dev_addr, in i_ddi_caut_rep_get16()
1863 uint32_t *dev_addr, size_t repcount, uint_t flags) in i_ddi_caut_rep_get32() argument
1865 i_ddi_caut_getput_ctlops(hp, (uint64_t)host_addr, (uint64_t)dev_addr, in i_ddi_caut_rep_get32()
1871 uint64_t *dev_addr, size_t repcount, uint_t flags) in i_ddi_caut_rep_get64() argument
1873 i_ddi_caut_getput_ctlops(hp, (uint64_t)host_addr, (uint64_t)dev_addr, in i_ddi_caut_rep_get64()
[all …]
/titanic_41/usr/src/uts/sun4u/opl/io/oplpanel/
H A Doplpanel.c391 panel_ddi_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value) in panel_ddi_put8() argument
395 panel_name, ddi_get8(handle, dev_addr)); in panel_ddi_put8()
398 ddi_put8(handle, dev_addr, value); in panel_ddi_put8()
400 panel_name, ddi_get8(handle, dev_addr)); in panel_ddi_put8()
402 ddi_put8(handle, dev_addr, value); in panel_ddi_put8()
/titanic_41/usr/src/uts/sun4u/io/
H A Disadma.c357 uint8_t *dev_addr, size_t repcount, uint_t flags) in isadma_norep_get8() argument
364 uint16_t *dev_addr, size_t repcount, uint_t flags) in isadma_norep_get16() argument
371 uint32_t *dev_addr, size_t repcount, uint_t flags) in isadma_norep_get32() argument
378 uint64_t *dev_addr, size_t repcount, uint_t flags) in isadma_norep_get64() argument
385 uint8_t *dev_addr, size_t repcount, uint_t flags) in isadma_norep_put8() argument
392 uint16_t *dev_addr, size_t repcount, uint_t flags) in isadma_norep_put16() argument
399 uint32_t *dev_addr, size_t repcount, uint_t flags) in isadma_norep_put32() argument
406 uint64_t *dev_addr, size_t repcount, uint_t flags) in isadma_norep_put64() argument
H A Dpmubus.c336 uint8_t *dev_addr, size_t repcount, uint_t flags) in pmubus_norep_get8() argument
343 uint16_t *dev_addr, size_t repcount, uint_t flags) in pmubus_norep_get16() argument
350 uint32_t *dev_addr, size_t repcount, uint_t flags) in pmubus_norep_get32() argument
357 uint64_t *dev_addr, size_t repcount, uint_t flags) in pmubus_norep_get64() argument
364 uint8_t *dev_addr, size_t repcount, uint_t flags) in pmubus_norep_put8() argument
371 uint16_t *dev_addr, size_t repcount, uint_t flags) in pmubus_norep_put16() argument
378 uint32_t *dev_addr, size_t repcount, uint_t flags) in pmubus_norep_put32() argument
385 uint64_t *dev_addr, size_t repcount, uint_t flags) in pmubus_norep_put64() argument
/titanic_41/usr/src/uts/i86pc/os/
H A Dddi_impl.c2213 *(uint8_t *)(in_args->dev_addr) = in poke_mem()
2218 *(uint16_t *)(in_args->dev_addr) = in poke_mem()
2223 *(uint32_t *)(in_args->dev_addr) = in poke_mem()
2228 *(uint64_t *)(in_args->dev_addr) = in poke_mem()
2256 *(uint8_t *)in_args->dev_addr; in peek_mem()
2261 *(uint16_t *)in_args->dev_addr; in peek_mem()
2266 *(uint32_t *)in_args->dev_addr; in peek_mem()
2271 *(uint64_t *)in_args->dev_addr; in peek_mem()
2686 uint64_t dev_addr, size_t size, size_t repcount, uint_t flags, in i_ddi_caut_getput_ctlops() argument
2692 cautacc_ctlops_arg.dev_addr = dev_addr; in i_ddi_caut_getput_ctlops()
[all …]
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dforcedeth.c971 if (!is_valid_ether_addr(dev->dev_addr)) { in forcedeth_probe()
978 pci_name(pci_dev), dev->dev_addr[0], in forcedeth_probe()
979 dev->dev_addr[1], dev->dev_addr[2], in forcedeth_probe()
980 dev->dev_addr[3], dev->dev_addr[4], in forcedeth_probe()
981 dev->dev_addr[5]); in forcedeth_probe()
984 dev->dev_addr[0] = 0x00; in forcedeth_probe()
985 dev->dev_addr[1] = 0x00; in forcedeth_probe()
986 dev->dev_addr[2] = 0x6c; in forcedeth_probe()
987 get_random_bytes(&dev->dev_addr[3], 3); in forcedeth_probe()
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib.c294 struct rdma_dev_addr *dev_addr; in rds_ib_conn_info_visitor() local
297 dev_addr = &ic->i_cm_id->route.addr.dev_addr; in rds_ib_conn_info_visitor()
299 ib_addr_get_sgid(dev_addr, (union ib_gid *)&iinfo->src_gid); in rds_ib_conn_info_visitor()
300 ib_addr_get_dgid(dev_addr, (union ib_gid *)&iinfo->dst_gid); in rds_ib_conn_info_visitor()
/titanic_41/usr/src/uts/common/io/e1000api/
H A De1000_i210.h48 s32 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
50 s32 e1000_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,

1234