Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 1116) sorted by relevance

12345678910>>...45

/titanic_51/usr/src/lib/krb5/kadm5/srv/
H A Dserver_init.c49 * Purpose: Check a server handle and return a com_err code if it is
54 * handle The server handle.
57 static int check_handle(void *handle) in check_handle() argument
59 CHECK_HANDLE(handle); in check_handle()
63 static int dup_db_args(kadm5_server_handle_t handle, char **db_args) in dup_db_args() argument
70 handle->db_args = NULL; in dup_db_args()
74 handle->db_args = calloc(sizeof(char*), count+1); in dup_db_args()
75 if (handle->db_args == NULL) { in dup_db_args()
81 handle in dup_db_args()
99 free_db_args(kadm5_server_handle_t handle) free_db_args() argument
187 kadm5_server_handle_t handle; kadm5_init2() local
422 kadm5_server_handle_t handle = server_handle; kadm5_destroy() local
443 kadm5_server_handle_t handle = server_handle; kadm5_lock() local
456 kadm5_server_handle_t handle = server_handle; kadm5_unlock() local
469 kadm5_server_handle_t handle = server_handle; kadm5_flush() local
485 _kadm5_check_handle(void * handle) _kadm5_check_handle() argument
509 kadm5_init_iprop(void * handle) kadm5_init_iprop() argument
[all...]
/titanic_51/usr/src/lib/libshare/smbfs/
H A Dsmbfs_scfutil.c62 * smb_smf_scf_fini(handle)
64 * must be called when done. Called with the handle allocated in
69 smb_smf_scf_fini(smb_scfhandle_t *handle) in smb_smf_scf_fini() argument
71 if (handle != NULL) { in smb_smf_scf_fini()
73 if (handle->scf_pg_iter != NULL) { in smb_smf_scf_fini()
74 scf_iter_destroy(handle->scf_pg_iter); in smb_smf_scf_fini()
75 handle->scf_pg_iter = NULL; in smb_smf_scf_fini()
77 if (handle->scf_inst_iter != NULL) { in smb_smf_scf_fini()
78 scf_iter_destroy(handle->scf_inst_iter); in smb_smf_scf_fini()
79 handle in smb_smf_scf_fini()
115 smb_smf_instance_exists(smb_scfhandle_t * handle,char * inst_name) smb_smf_instance_exists() argument
137 smb_smf_instance_create(smb_scfhandle_t * handle,char * serv_prefix,char * inst_name) smb_smf_instance_create() argument
179 smb_smf_instance_delete(smb_scfhandle_t * handle,char * inst_name) smb_smf_instance_delete() argument
211 smb_scfhandle_t *handle; smb_smf_scf_init() local
262 smb_smf_create_service_pgroup(smb_scfhandle_t * handle,char * pgroup) smb_smf_create_service_pgroup() argument
309 smb_smf_create_instance_pgroup(smb_scfhandle_t * handle,char * pgroup) smb_smf_create_instance_pgroup() argument
358 smb_smf_delete_service_pgroup(smb_scfhandle_t * handle,char * pgroup) smb_smf_delete_service_pgroup() argument
409 smb_smf_delete_instance_pgroup(smb_scfhandle_t * handle,char * pgroup) smb_smf_delete_instance_pgroup() argument
460 smb_smf_start_transaction(smb_scfhandle_t * handle) smb_smf_start_transaction() argument
502 smb_smf_end_transaction(smb_scfhandle_t * handle) smb_smf_end_transaction() argument
529 smb_smf_delete_property(smb_scfhandle_t * handle,char * propname) smb_smf_delete_property() argument
573 smb_smf_set_string_property(smb_scfhandle_t * handle,char * propname,char * valstr) smb_smf_set_string_property() argument
638 smb_smf_get_string_property(smb_scfhandle_t * handle,char * propname,char * valstr,size_t sz) smb_smf_get_string_property() argument
676 smb_smf_set_integer_property(smb_scfhandle_t * handle,char * propname,int64_t valint) smb_smf_set_integer_property() argument
734 smb_smf_get_integer_property(smb_scfhandle_t * handle,char * propname,int64_t * valint) smb_smf_get_integer_property() argument
773 smb_smf_set_boolean_property(smb_scfhandle_t * handle,char * propname,uint8_t valbool) smb_smf_set_boolean_property() argument
831 smb_smf_get_boolean_property(smb_scfhandle_t * handle,char * propname,uint8_t * valbool) smb_smf_get_boolean_property() argument
868 smb_smf_set_opaque_property(smb_scfhandle_t * handle,char * propname,void * voidval,size_t sz) smb_smf_set_opaque_property() argument
932 smb_smf_get_opaque_property(smb_scfhandle_t * handle,char * propname,void * v,size_t sz) smb_smf_get_opaque_property() argument
970 smb_scfhandle_t *handle = NULL; smb_smf_get_iterator() local
[all...]
/titanic_51/usr/src/uts/common/avs/ns/
H A Dmodel.h96 #define STRUCT_HANDLE(struct_type, handle) \ argument
97 struct __##handle##_type { \
103 } handle = { NULL, DATAMODEL_ILP32 }
105 #define STRUCT_DECL(struct_type, handle) \ argument
106 struct struct_type __##handle##_buf; \
107 STRUCT_HANDLE(struct_type, handle)
109 #define STRUCT_SET_HANDLE(handle, umodel, addr) \ argument
110 (handle).model = (model_t)(umodel) & DATAMODEL_MASK; \
112 ((handle).ptr.m64) = (addr)
114 #define STRUCT_INIT(handle, umode argument
117 STRUCT_SIZE(handle) global() argument
128 STRUCT_FADDR(handle,field) global() argument
133 STRUCT_FGET(handle,field) global() argument
138 STRUCT_FGETP(handle,field) global() argument
143 STRUCT_FSET(handle,field,val) global() argument
148 STRUCT_FSETP(handle,field,val) global() argument
153 STRUCT_BUF(handle) global() argument
167 STRUCT_HANDLE(struct_type,handle) global() argument
173 STRUCT_DECL(struct_type,handle) global() argument
178 STRUCT_SET_HANDLE(handle,umodel,addr) global() argument
182 STRUCT_SET_HANDLE(handle,umodel,addr) global() argument
186 STRUCT_INIT(handle,umodel) global() argument
189 STRUCT_SIZE(handle) global() argument
191 STRUCT_FADDR(handle,field) global() argument
193 STRUCT_FGET(handle,field) global() argument
197 STRUCT_FSET(handle,field,val) global() argument
201 STRUCT_BUF(handle) global() argument
[all...]
/titanic_51/usr/src/uts/common/sys/
H A Dmodel.h87 #define STRUCT_HANDLE(struct_type, handle) \ argument
94 } handle = { NULL, DATAMODEL_ILP32 }
96 #define STRUCT_DECL(struct_type, handle) \ argument
97 struct struct_type __##handle##_buf; \
98 STRUCT_HANDLE(struct_type, handle)
100 #define STRUCT_SET_HANDLE(handle, umodel, addr) \ argument
101 (handle).model = (model_t)(umodel) & DATAMODEL_MASK; \
103 ((handle).ptr.m64) = (addr)
105 #define STRUCT_INIT(handle, umodel) \ argument
106 STRUCT_SET_HANDLE(handle, umode
108 STRUCT_SIZE(handle) global() argument
119 STRUCT_FADDR(handle,field) global() argument
124 STRUCT_FGET(handle,field) global() argument
129 STRUCT_FGETP(handle,field) global() argument
134 STRUCT_FSET(handle,field,val) global() argument
139 STRUCT_FSETP(handle,field,val) global() argument
144 STRUCT_BUF(handle) global() argument
158 STRUCT_HANDLE(struct_type,handle) global() argument
163 STRUCT_DECL(struct_type,handle) global() argument
168 STRUCT_SET_HANDLE(handle,umodel,addr) global() argument
172 STRUCT_SET_HANDLE(handle,umodel,addr) global() argument
176 STRUCT_INIT(handle,umodel) global() argument
179 STRUCT_SIZE(handle) global() argument
181 STRUCT_FADDR(handle,field) global() argument
183 STRUCT_FGET(handle,field) global() argument
187 STRUCT_FSET(handle,field,val) global() argument
191 STRUCT_BUF(handle) global() argument
[all...]
/titanic_51/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_scfutil.c59 * smb_smf_create_service_pgroup(handle, pgroup)
64 smb_smf_create_service_pgroup(smb_scfhandle_t *handle, char *pgroup) in smb_smf_create_service_pgroup() argument
69 if (handle == NULL) in smb_smf_create_service_pgroup()
73 * only create a handle if it doesn't exist. It is ok to exist in smb_smf_create_service_pgroup()
74 * since the pg handle will be set as a side effect. in smb_smf_create_service_pgroup()
76 if (handle->scf_pg == NULL) in smb_smf_create_service_pgroup()
77 if ((handle->scf_pg = in smb_smf_create_service_pgroup()
78 scf_pg_create(handle->scf_handle)) == NULL) in smb_smf_create_service_pgroup()
85 if (scf_service_get_pg(handle->scf_service, in smb_smf_create_service_pgroup()
86 pgroup, handle in smb_smf_create_service_pgroup()
113 smb_smf_start_transaction(smb_scfhandle_t * handle) smb_smf_start_transaction() argument
155 smb_smf_end_transaction(smb_scfhandle_t * handle) smb_smf_end_transaction() argument
189 smb_smf_set_string_property(smb_scfhandle_t * handle,char * propname,char * valstr) smb_smf_set_string_property() argument
253 smb_smf_get_string_property(smb_scfhandle_t * handle,char * propname,char * valstr,size_t sz) smb_smf_get_string_property() argument
290 smb_smf_set_integer_property(smb_scfhandle_t * handle,char * propname,int64_t valint) smb_smf_set_integer_property() argument
347 smb_smf_get_integer_property(smb_scfhandle_t * handle,char * propname,int64_t * valint) smb_smf_get_integer_property() argument
385 smb_smf_set_boolean_property(smb_scfhandle_t * handle,char * propname,uint8_t valbool) smb_smf_set_boolean_property() argument
442 smb_smf_get_boolean_property(smb_scfhandle_t * handle,char * propname,uint8_t * valbool) smb_smf_get_boolean_property() argument
478 smb_smf_set_opaque_property(smb_scfhandle_t * handle,char * propname,void * voidval,size_t sz) smb_smf_set_opaque_property() argument
541 smb_smf_get_opaque_property(smb_scfhandle_t * handle,char * propname,void * v,size_t sz) smb_smf_get_opaque_property() argument
576 smb_smf_delete_property(smb_scfhandle_t * handle,char * propname) smb_smf_delete_property() argument
647 smb_scfhandle_t *handle; smb_smf_scf_init() local
711 smb_smf_scf_fini(smb_scfhandle_t * handle) smb_smf_scf_fini() argument
[all...]
H A Dsmb_ht.c31 * table entries. A handle is associated with each table, which is used
35 * |handle|---> |index 0|--->|item|--->|item|--->
54 static size_t ht_default_hash(HT_HANDLE *handle, const char *key);
81 * The handle and the table are are malloc'd using a single call, to
83 * handle.
85 * On success a pointer to an opaque handle is returned. Otherwise a
133 ht_destroy_table(HT_HANDLE *handle) in ht_destroy_table() argument
138 if (handle == 0) in ht_destroy_table()
142 (void) ht_clean_table(handle); in ht_destroy_table()
143 while ((item = ht_findfirst(handle, in ht_destroy_table()
157 ht_get_total_items(HT_HANDLE * handle) ht_get_total_items() argument
177 ht_default_hash(HT_HANDLE * handle,const char * key) ht_default_hash() argument
209 ht_set_cmpfn(HT_HANDLE * handle,HT_CMP cmpfn) ht_set_cmpfn() argument
230 ht_add_item(HT_HANDLE * handle,const char * key,const void * data) ht_add_item() argument
287 ht_replace_item(HT_HANDLE * handle,const char * key,const void * data) ht_replace_item() argument
308 ht_remove_item(HT_HANDLE * handle,const char * key) ht_remove_item() argument
372 ht_find_item(HT_HANDLE * handle,const char * key) ht_find_item() argument
413 ht_register_callback(HT_HANDLE * handle,HT_CALLBACK callback) ht_register_callback() argument
440 ht_clean_table(HT_HANDLE * handle) ht_clean_table() argument
499 ht_mark_delete(HT_HANDLE * handle,HT_ITEM * item) ht_mark_delete() argument
513 ht_clear_delete(HT_HANDLE * handle,HT_ITEM * item) ht_clear_delete() argument
548 ht_findfirst(HT_HANDLE * handle,HT_ITERATOR * iterator) ht_findfirst() argument
590 HT_HANDLE *handle; ht_findnext() local
[all...]
/titanic_51/usr/src/lib/libresolv2/common/nameser/
H A Dns_parse.c75 int ns_msg_getflag(ns_msg handle, int flag) { in ns_msg_getflag() argument
76 return(((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); in ns_msg_getflag()
104 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { in ns_initparse() argument
108 handle->_msg = msg; in ns_initparse()
109 handle->_eom = eom; in ns_initparse()
112 NS_GET16(handle->_id, msg); in ns_initparse()
115 NS_GET16(handle->_flags, msg); in ns_initparse()
119 NS_GET16(handle->_counts[i], msg); in ns_initparse()
122 if (handle->_counts[i] == 0) in ns_initparse()
123 handle in ns_initparse()
140 ns_parserr(ns_msg * handle,ns_sect section,int rrnum,ns_rr * rr) ns_parserr() argument
203 ns_parserr2(ns_msg * handle,ns_sect section,int rrnum,ns_rr2 * rr) ns_parserr2() argument
[all...]
/titanic_51/usr/src/lib/libndmp/common/
H A Dlibndmp_prop.c67 /* NDMP scf handle structure */
112 ndmp_scfhandle_t *handle; in ndmp_get_prop() local
117 if ((handle = ndmp_smf_scf_init(NDMP_GROUP_FMRI_PREFIX)) == NULL) { in ndmp_get_prop()
120 if (ndmp_smf_get_pg_name(handle, prop, &pgname)) { in ndmp_get_prop()
121 ndmp_smf_scf_fini(handle); in ndmp_get_prop()
125 if (ndmp_smf_create_service_pgroup(handle, pgname)) { in ndmp_get_prop()
126 ndmp_smf_scf_fini(handle); in ndmp_get_prop()
130 ndmp_smf_scf_fini(handle); in ndmp_get_prop()
134 if (ndmp_smf_get_property(handle, prop, lval, NDMP_PROP_LEN) != 0) { in ndmp_get_prop()
135 ndmp_smf_scf_fini(handle); in ndmp_get_prop()
148 ndmp_scfhandle_t *handle; ndmp_set_prop() local
223 ndmp_config_saveenv(ndmp_scfhandle_t * handle,boolean_t commit) ndmp_config_saveenv() argument
239 ndmp_smf_scf_fini(ndmp_scfhandle_t * handle) ndmp_smf_scf_fini() argument
260 ndmp_scfhandle_t *handle; ndmp_smf_scf_init() local
309 ndmp_smf_create_service_pgroup(ndmp_scfhandle_t * handle,const char * pgroup) ndmp_smf_create_service_pgroup() argument
353 ndmp_smf_start_transaction(ndmp_scfhandle_t * handle) ndmp_smf_start_transaction() argument
387 ndmp_smf_end_transaction(ndmp_scfhandle_t * handle,boolean_t commit) ndmp_smf_end_transaction() argument
409 ndmp_smf_delete_property(ndmp_scfhandle_t * handle,const char * propname) ndmp_smf_delete_property() argument
441 ndmp_smf_set_property(ndmp_scfhandle_t * handle,const char * propname,const char * valstr) ndmp_smf_set_property() argument
520 ndmp_smf_get_property(ndmp_scfhandle_t * handle,const char * propname,char * valstr,size_t sz) ndmp_smf_get_property() argument
[all...]
/titanic_51/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c89 if ((handle->max_errors != 0) &&\
90 (handle->max_errors == total_errors)) {\
91 mtest_message(handle, (END_MSG));\
92 error_summary(handle, total_errors);\
93 SET_CONDITION(handle, cond);\
98 error_summary(mtest_handle_t handle, uint_t total_errors) in error_summary() argument
103 mtest_message(handle, msgbuf); in error_summary()
108 error_print(char *writebuf, char *readbuf, mtest_handle_t handle, long pageno, in error_print() argument
114 (void) sprintf(msgbuf, pg_header_msg, PAGE_SIZE(handle) * pageno); in error_print()
115 mtest_message(handle, msgbu in error_print()
133 memory_test_normal(mtest_handle_t handle) memory_test_normal() argument
288 memory_test_quick(mtest_handle_t handle) memory_test_quick() argument
417 memory_test_extended(mtest_handle_t handle) memory_test_extended() argument
[all...]
/titanic_51/usr/src/lib/libsmedia/library/common/
H A Dl_misc.c82 is_server_running(rmedia_handle_t *handle) in is_server_running() argument
195 handle->sm_clnt = clnt; in is_server_running()
202 void *handle; in get_dev_library_handle() local
240 handle = dlopen(pathname, RTLD_LAZY); in get_dev_library_handle()
241 if (handle == NULL) { in get_dev_library_handle()
245 d_fcn_ptr = (int32_t (*)(ushort_t, ushort_t))dlsym(handle, in get_dev_library_handle()
249 (void) dlclose(handle); in get_dev_library_handle()
255 v_fcn_ptr = (int32_t (*)(void))dlsym(handle, in get_dev_library_handle()
259 (void) dlclose(handle); in get_dev_library_handle()
267 old_handle = handle; in get_dev_library_handle()
282 call_function(rmedia_handle_t * handle,void * ip,char * func_name) call_function() argument
314 release_handle(rmedia_handle_t * handle) release_handle() argument
341 rmedia_handle_t *handle; get_handle_from_fd() local
[all...]
/titanic_51/usr/src/uts/i86pc/os/cpupm/
H A Dcpu_acpi.c77 cpu_acpi_cache_ctrl_regs(cpu_acpi_handle_t handle, cpu_acpi_obj_t objtype, in cpu_acpi_cache_ctrl_regs() argument
94 astatus = AcpiEvaluateObjectTyped(handle->cs_handle, in cpu_acpi_cache_ctrl_regs()
98 DTRACE_PROBE3(cpu_acpi__eval__err, int, handle->cs_id, in cpu_acpi_cache_ctrl_regs()
106 handle->cs_id); in cpu_acpi_cache_ctrl_regs()
114 obj->Package.Count, handle->cs_id); in cpu_acpi_cache_ctrl_regs()
126 handle->cs_id); in cpu_acpi_cache_ctrl_regs()
137 handle->cs_id); in cpu_acpi_cache_ctrl_regs()
145 handle->cs_id); in cpu_acpi_cache_ctrl_regs()
154 handle->cs_id); in cpu_acpi_cache_ctrl_regs()
184 cpu_acpi_cache_pct(cpu_acpi_handle_t handle) in cpu_acpi_cache_pct() argument
202 cpu_acpi_cache_ptc(cpu_acpi_handle_t handle) cpu_acpi_cache_ptc() argument
218 cpu_acpi_cache_state_dependencies(cpu_acpi_handle_t handle,cpu_acpi_obj_t objtype,cpu_acpi_state_dependency_t * sd) cpu_acpi_cache_state_dependencies() argument
305 cpu_acpi_cache_psd(cpu_acpi_handle_t handle) cpu_acpi_cache_psd() argument
324 cpu_acpi_cache_tsd(cpu_acpi_handle_t handle) cpu_acpi_cache_tsd() argument
343 cpu_acpi_cache_csd(cpu_acpi_handle_t handle) cpu_acpi_cache_csd() argument
358 cpu_acpi_cache_pstate(cpu_acpi_handle_t handle,ACPI_OBJECT * obj,int cnt) cpu_acpi_cache_pstate() argument
388 cpu_acpi_cache_tstate(cpu_acpi_handle_t handle,ACPI_OBJECT * obj,int cnt) cpu_acpi_cache_tstate() argument
421 cpu_acpi_cache_supported_states(cpu_acpi_handle_t handle,cpu_acpi_obj_t objtype,int fcnt) cpu_acpi_cache_supported_states() argument
554 cpu_acpi_cache_pstates(cpu_acpi_handle_t handle) cpu_acpi_cache_pstates() argument
573 cpu_acpi_cache_tstates(cpu_acpi_handle_t handle) cpu_acpi_cache_tstates() argument
589 cpu_acpi_cache_present_capabilities(cpu_acpi_handle_t handle,cpu_acpi_obj_t objtype,cpu_acpi_present_capabilities_t * pc) cpu_acpi_cache_present_capabilities() argument
633 cpu_acpi_cache_ppc(cpu_acpi_handle_t handle) cpu_acpi_cache_ppc() argument
652 cpu_acpi_cache_tpc(cpu_acpi_handle_t handle) cpu_acpi_cache_tpc() argument
679 cpu_acpi_cache_cst(cpu_acpi_handle_t handle) cpu_acpi_cache_cst() argument
834 cpu_acpi_cache_pstate_data(cpu_acpi_handle_t handle) cpu_acpi_cache_pstate_data() argument
860 cpu_acpi_free_pstate_data(cpu_acpi_handle_t handle) cpu_acpi_free_pstate_data() argument
876 cpu_acpi_cache_tstate_data(cpu_acpi_handle_t handle) cpu_acpi_cache_tstate_data() argument
904 cpu_acpi_free_tstate_data(cpu_acpi_handle_t handle) cpu_acpi_free_tstate_data() argument
920 cpu_acpi_cache_cstate_data(cpu_acpi_handle_t handle) cpu_acpi_cache_cstate_data() argument
940 cpu_acpi_free_cstate_data(cpu_acpi_handle_t handle) cpu_acpi_free_cstate_data() argument
956 cpu_acpi_install_notify_handler(cpu_acpi_handle_t handle,ACPI_NOTIFY_HANDLER handler,void * ctx) cpu_acpi_install_notify_handler() argument
969 cpu_acpi_remove_notify_handler(cpu_acpi_handle_t handle,ACPI_NOTIFY_HANDLER handler) cpu_acpi_remove_notify_handler() argument
982 cpu_acpi_write_pdc(cpu_acpi_handle_t handle,uint32_t revision,uint32_t count,uint32_t * capabilities) cpu_acpi_write_pdc() argument
1058 cpu_acpi_get_speeds(cpu_acpi_handle_t handle,int ** speeds) cpu_acpi_get_speeds() argument
1086 cpu_acpi_get_max_cstates(cpu_acpi_handle_t handle) cpu_acpi_get_max_cstates() argument
1112 cpu_acpi_handle_t handle; cpu_acpi_init() local
1129 cpu_acpi_fini(cpu_acpi_handle_t handle) cpu_acpi_fini() argument
[all...]
/titanic_51/usr/src/uts/common/io/nxge/npi/
H A Dnpi_espc.c31 static int npi_vpd_read_prop(npi_handle_t handle, uint32_t ep,
35 npi_espc_pio_enable(npi_handle_t handle) in npi_espc_pio_enable() argument
37 NXGE_REG_WR64(handle, ESPC_REG_ADDR(ESPC_PIO_EN_REG), 0x1); in npi_espc_pio_enable()
42 npi_espc_pio_disable(npi_handle_t handle) in npi_espc_pio_disable() argument
44 NXGE_REG_WR64(handle, ESPC_REG_ADDR(ESPC_PIO_EN_REG), 0); in npi_espc_pio_disable()
49 npi_espc_eeprom_entry(npi_handle_t handle, io_op_t op, uint32_t addr, in npi_espc_eeprom_entry() argument
55 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, in npi_espc_eeprom_entry()
66 NXGE_REG_WR64(handle, ESPC_REG_ADDR(ESPC_PIO_STATUS_REG), val); in npi_espc_eeprom_entry()
67 EPC_WAIT_RW_COMP(handle, &val, EPC_WRITE_COMPLETE); in npi_espc_eeprom_entry()
69 NPI_ERROR_MSG((handle in npi_espc_eeprom_entry()
114 npi_espc_mac_addr_get(npi_handle_t handle,uint8_t * data) npi_espc_mac_addr_get() argument
133 npi_espc_num_ports_get(npi_handle_t handle,uint8_t * data) npi_espc_num_ports_get() argument
145 npi_espc_num_macs_get(npi_handle_t handle,uint8_t * data) npi_espc_num_macs_get() argument
158 npi_espc_model_str_get(npi_handle_t handle,char * data) npi_espc_model_str_get() argument
194 npi_espc_bd_model_str_get(npi_handle_t handle,char * data) npi_espc_bd_model_str_get() argument
231 npi_espc_phy_type_get(npi_handle_t handle,uint8_t * data) npi_espc_phy_type_get() argument
245 npi_espc_port_phy_type_get(npi_handle_t handle,uint8_t * data,uint8_t portn) npi_espc_port_phy_type_get() argument
277 npi_espc_max_frame_get(npi_handle_t handle,uint16_t * data) npi_espc_max_frame_get() argument
289 npi_espc_version_get(npi_handle_t handle,uint16_t * data) npi_espc_version_get() argument
301 npi_espc_img_sz_get(npi_handle_t handle,uint16_t * data) npi_espc_img_sz_get() argument
314 npi_espc_chksum_get(npi_handle_t handle,uint8_t * data) npi_espc_chksum_get() argument
326 npi_espc_intr_num_get(npi_handle_t handle,uint8_t * data) npi_espc_intr_num_get() argument
340 npi_espc_dump(npi_handle_t handle) npi_espc_dump() argument
359 npi_espc_reg_get(npi_handle_t handle,int reg_idx) npi_espc_reg_get() argument
370 vpd_rd(npi_handle_t handle,uint32_t addr) vpd_rd() argument
380 npi_espc_vpd_info_get(npi_handle_t handle,p_npi_vpd_info_t vpdp,uint32_t rom_len) npi_espc_vpd_info_get() argument
585 npi_vpd_read_prop(npi_handle_t handle,uint32_t ep,const char * prop,int len,char * val) npi_vpd_read_prop() argument
[all...]
H A Dnpi_txdma.c35 static npi_status_t npi_txdma_control_reset_wait(npi_handle_t handle,
37 static npi_status_t npi_txdma_control_stop_wait(npi_handle_t handle,
39 static npi_status_t npi_txdma_control_resume_wait(npi_handle_t handle,
129 npi_txdma_dump_tdc_regs(npi_handle_t handle, uint8_t tdc) in npi_txdma_dump_tdc_regs() argument
137 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, in npi_txdma_dump_tdc_regs()
145 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_txdma_dump_tdc_regs()
151 TXDMA_REG_READ64(handle, tdc_dmc_offset[i], tdc, &value); in npi_txdma_dump_tdc_regs()
152 offset = NXGE_TXDMA_OFFSET(tdc_dmc_offset[i], handle.is_vraddr, in npi_txdma_dump_tdc_regs()
154 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_txdma_dump_tdc_regs()
160 NPI_REG_DUMP_MSG((handle in npi_txdma_dump_tdc_regs()
180 npi_txdma_dump_fzc_regs(npi_handle_t handle) npi_txdma_dump_fzc_regs() argument
208 npi_txdma_tdc_regs_zero(npi_handle_t handle,uint8_t tdc) npi_txdma_tdc_regs_zero() argument
258 npi_txdma_mode32_set(npi_handle_t handle,boolean_t mode_enable) npi_txdma_mode32_set() argument
297 npi_txdma_log_page_set(npi_handle_t handle,uint8_t channel,p_dma_log_page_t cfgp) npi_txdma_log_page_set() argument
390 npi_txdma_log_page_get(npi_handle_t handle,uint8_t channel,p_dma_log_page_t cfgp) npi_txdma_log_page_get() argument
460 npi_txdma_log_page_handle_set(npi_handle_t handle,uint8_t channel,p_log_page_hdl_t hdl_p) npi_txdma_log_page_handle_set() argument
508 npi_txdma_log_page_config(npi_handle_t handle,io_op_t op_mode,txdma_log_cfg_t type,uint8_t channel,p_dma_log_page_t cfgp) npi_txdma_log_page_config() argument
668 npi_txdma_log_page_vld_config(npi_handle_t handle,io_op_t op_mode,uint8_t channel,p_log_page_vld_t vld_p) npi_txdma_log_page_vld_config() argument
739 npi_txdma_channel_reset(npi_handle_t handle,uint8_t channel) npi_txdma_channel_reset() argument
766 npi_txdma_channel_init_enable(npi_handle_t handle,uint8_t channel) npi_txdma_channel_init_enable() argument
790 npi_txdma_channel_enable(npi_handle_t handle,uint8_t channel) npi_txdma_channel_enable() argument
814 npi_txdma_channel_disable(npi_handle_t handle,uint8_t channel) npi_txdma_channel_disable() argument
838 npi_txdma_channel_resume(npi_handle_t handle,uint8_t channel) npi_txdma_channel_resume() argument
861 npi_txdma_channel_mmk_clear(npi_handle_t handle,uint8_t channel) npi_txdma_channel_mmk_clear() argument
885 npi_txdma_channel_mbox_enable(npi_handle_t handle,uint8_t channel) npi_txdma_channel_mbox_enable() argument
919 npi_txdma_channel_control(npi_handle_t handle,txdma_cs_cntl_t control,uint8_t channel) npi_txdma_channel_control() argument
1036 npi_txdma_control_status(npi_handle_t handle,io_op_t op_mode,uint8_t channel,p_tx_cs_t cs_p) npi_txdma_control_status() argument
1101 npi_txdma_event_mask(npi_handle_t handle,io_op_t op_mode,uint8_t channel,p_tx_dma_ent_msk_t mask_p) npi_txdma_event_mask() argument
1167 npi_txdma_event_mask_config(npi_handle_t handle,io_op_t op_mode,uint8_t channel,txdma_ent_msk_cfg_t * mask_cfgp) npi_txdma_event_mask_config() argument
1232 npi_txdma_event_mask_mk_out(npi_handle_t handle,uint8_t channel) npi_txdma_event_mask_mk_out() argument
1269 npi_txdma_event_mask_mk_in(npi_handle_t handle,uint8_t channel) npi_txdma_event_mask_mk_in() argument
1314 npi_txdma_ring_addr_set(npi_handle_t handle,uint8_t channel,uint64_t start_addr,uint32_t len) npi_txdma_ring_addr_set() argument
1360 npi_txdma_ring_config(npi_handle_t handle,io_op_t op_mode,uint8_t channel,uint64_t * reg_data) npi_txdma_ring_config() argument
1418 npi_txdma_mbox_config(npi_handle_t handle,io_op_t op_mode,uint8_t channel,uint64_t * mbox_addr) npi_txdma_mbox_config() argument
1491 npi_txdma_desc_gather_set(npi_handle_t handle,p_tx_desc_t desc_p,uint8_t gather_index,boolean_t mark,uint8_t ngathers,uint64_t dma_ioaddr,uint32_t transfer_len) npi_txdma_desc_gather_set() argument
1553 npi_txdma_desc_gather_sop_set(npi_handle_t handle,p_tx_desc_t desc_p,boolean_t mark_mode,uint8_t ngathers) npi_txdma_desc_gather_sop_set() argument
1569 npi_txdma_desc_gather_sop_set_1(npi_handle_t handle,p_tx_desc_t desc_p,boolean_t mark_mode,uint8_t ngathers,uint32_t extra) npi_txdma_desc_gather_sop_set_1() argument
1588 npi_txdma_desc_set_xfer_len(npi_handle_t handle,p_tx_desc_t desc_p,uint32_t transfer_len) npi_txdma_desc_set_xfer_len() argument
1606 npi_txdma_desc_set_zero(npi_handle_t handle,uint16_t entries) npi_txdma_desc_set_zero() argument
1624 npi_txdma_desc_mem_get(npi_handle_t handle,uint16_t index,p_tx_desc_t desc_p) npi_txdma_desc_mem_get() argument
1657 npi_txdma_desc_kick_reg_set(npi_handle_t handle,uint8_t channel,uint16_t tail_index,boolean_t wrap) npi_txdma_desc_kick_reg_set() argument
1710 npi_txdma_desc_kick_reg_get(npi_handle_t handle,uint8_t channel,p_tx_ring_kick_t kick_p) npi_txdma_desc_kick_reg_get() argument
1750 npi_txdma_ring_head_get(npi_handle_t handle,uint8_t channel,p_tx_ring_hdl_t hdl_p) npi_txdma_ring_head_get() argument
1771 npi_txdma_channel_mbox_get(npi_handle_t handle,uint8_t channel,p_txdma_mailbox_t mbox_p) npi_txdma_channel_mbox_get() argument
1781 npi_txdma_channel_pre_state_get(npi_handle_t handle,uint8_t channel,p_tx_dma_pre_st_t prep) npi_txdma_channel_pre_state_get() argument
1801 npi_txdma_ring_error_get(npi_handle_t handle,uint8_t channel,p_txdma_ring_errlog_t ring_errlog_p) npi_txdma_ring_error_get() argument
1830 npi_txdma_inj_par_error_clear(npi_handle_t handle) npi_txdma_inj_par_error_clear() argument
1838 npi_txdma_inj_par_error_set(npi_handle_t handle,uint32_t err_bits) npi_txdma_inj_par_error_set() argument
1850 npi_txdma_inj_par_error_update(npi_handle_t handle,uint32_t err_bits) npi_txdma_inj_par_error_update() argument
1863 npi_txdma_inj_par_error_get(npi_handle_t handle,uint32_t * err_bits) npi_txdma_inj_par_error_get() argument
1875 npi_txdma_dbg_sel_set(npi_handle_t handle,uint8_t dbg_sel) npi_txdma_dbg_sel_set() argument
1888 npi_txdma_training_vector_set(npi_handle_t handle,uint32_t training_vector) npi_txdma_training_vector_set() argument
1915 npi_txdma_dump_desc_one(npi_handle_t handle,p_tx_desc_t desc_p,int desc_index) npi_txdma_dump_desc_one() argument
1953 npi_txdma_dump_hdr(npi_handle_t handle,p_tx_pkt_header_t hdrp) npi_txdma_dump_hdr() argument
1979 npi_txdma_inj_int_error_set(npi_handle_t handle,uint8_t channel,p_tdmc_intr_dbg_t erp) npi_txdma_inj_int_error_set() argument
2002 npi_txdma_control_reset_wait(npi_handle_t handle,uint8_t channel) npi_txdma_control_reset_wait() argument
2027 npi_txdma_control_stop_wait(npi_handle_t handle,uint8_t channel) npi_txdma_control_stop_wait() argument
2052 npi_txdma_control_resume_wait(npi_handle_t handle,uint8_t channel) npi_txdma_control_resume_wait() argument
[all...]
H A Dnpi_ipp.c111 npi_ipp_dump_regs(npi_handle_t handle, uint8_t port) in npi_ipp_dump_regs() argument
118 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_ipp_dump_regs()
125 NXGE_REG_RD64(handle, (uint32_t)offset, &value); in npi_ipp_dump_regs()
127 NXGE_REG_RD64(handle, offset, &value); in npi_ipp_dump_regs()
129 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_ipp_dump_regs()
134 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_ipp_dump_regs()
141 npi_ipp_read_regs(npi_handle_t handle, uint8_t port) in npi_ipp_read_regs() argument
148 NPI_DEBUG_MSG((handle.function, NPI_IPP_CTL, in npi_ipp_read_regs()
155 NXGE_REG_RD64(handle, (uint32_t)offset, &value); in npi_ipp_read_regs()
157 NXGE_REG_RD64(handle, offse in npi_ipp_read_regs()
167 npi_ipp_reset(npi_handle_t handle,uint8_t portn) npi_ipp_reset() argument
199 npi_ipp_config(npi_handle_t handle,config_op_t op,uint8_t portn,ipp_config_t config) npi_ipp_config() argument
253 npi_ipp_set_max_pktsize(npi_handle_t handle,uint8_t portn,uint32_t bytes) npi_ipp_set_max_pktsize() argument
280 npi_ipp_iconfig(npi_handle_t handle,config_op_t op,uint8_t portn,ipp_iconfig_t iconfig) npi_ipp_iconfig() argument
331 npi_ipp_get_status(npi_handle_t handle,uint8_t portn,ipp_status_t * status) npi_ipp_get_status() argument
344 npi_ipp_get_pfifo_rd_ptr(npi_handle_t handle,uint8_t portn,uint16_t * rd_ptr) npi_ipp_get_pfifo_rd_ptr() argument
356 npi_ipp_get_pfifo_wr_ptr(npi_handle_t handle,uint8_t portn,uint16_t * wr_ptr) npi_ipp_get_pfifo_wr_ptr() argument
368 npi_ipp_get_dfifo_rd_ptr(npi_handle_t handle,uint8_t portn,uint16_t * rd_ptr) npi_ipp_get_dfifo_rd_ptr() argument
381 npi_ipp_get_dfifo_wr_ptr(npi_handle_t handle,uint8_t portn,uint16_t * wr_ptr) npi_ipp_get_dfifo_wr_ptr() argument
394 npi_ipp_write_pfifo(npi_handle_t handle,uint8_t portn,uint8_t addr,uint32_t d0,uint32_t d1,uint32_t d2,uint32_t d3,uint32_t d4) npi_ipp_write_pfifo() argument
426 npi_ipp_read_pfifo(npi_handle_t handle,uint8_t portn,uint8_t addr,uint32_t * d0,uint32_t * d1,uint32_t * d2,uint32_t * d3,uint32_t * d4) npi_ipp_read_pfifo() argument
450 npi_ipp_write_dfifo(npi_handle_t handle,uint8_t portn,uint16_t addr,uint32_t d0,uint32_t d1,uint32_t d2,uint32_t d3,uint32_t d4) npi_ipp_write_dfifo() argument
482 npi_ipp_read_dfifo(npi_handle_t handle,uint8_t portn,uint16_t addr,uint32_t * d0,uint32_t * d1,uint32_t * d2,uint32_t * d3,uint32_t * d4) npi_ipp_read_dfifo() argument
506 npi_ipp_get_ecc_syndrome(npi_handle_t handle,uint8_t portn,uint16_t * syndrome) npi_ipp_get_ecc_syndrome() argument
519 npi_ipp_get_dfifo_eopm_rdptr(npi_handle_t handle,uint8_t portn,uint16_t * rdptr) npi_ipp_get_dfifo_eopm_rdptr() argument
533 npi_ipp_get_state_mach(npi_handle_t handle,uint8_t portn,uint32_t * sm) npi_ipp_get_state_mach() argument
546 npi_ipp_get_ecc_err_count(npi_handle_t handle,uint8_t portn,uint8_t * err_cnt) npi_ipp_get_ecc_err_count() argument
556 npi_ipp_get_pkt_dis_count(npi_handle_t handle,uint8_t portn,uint16_t * dis_cnt) npi_ipp_get_pkt_dis_count() argument
566 npi_ipp_get_cs_err_count(npi_handle_t handle,uint8_t portn,uint16_t * err_cnt) npi_ipp_get_cs_err_count() argument
[all...]
H A Dnpi_rxdma.c111 npi_rxdma_cfg_rdc_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op);
113 npi_rxdma_cfg_rdc_rcr_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op,
122 * handle: opaque handle interpreted by the underlying OS
131 npi_rxdma_dump_rdc_regs(npi_handle_t handle, uint8_t rdc) in npi_rxdma_dump_rdc_regs() argument
142 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, in npi_rxdma_dump_rdc_regs()
152 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_rxdma_dump_rdc_regs()
156 RXDMA_REG_READ64(handle, rdc_dmc_offset[i], rdc, &value); in npi_rxdma_dump_rdc_regs()
157 offset = NXGE_RXDMA_OFFSET(rdc_dmc_offset[i], handle.is_vraddr, in npi_rxdma_dump_rdc_regs()
159 NPI_REG_DUMP_MSG((handle in npi_rxdma_dump_rdc_regs()
184 npi_rxdma_dump_fzc_regs(npi_handle_t handle) npi_rxdma_dump_fzc_regs() argument
214 npi_rxdma_cfg_logical_page_disable(npi_handle_t handle,uint8_t rdc,uint8_t page_num) npi_rxdma_cfg_logical_page_disable() argument
253 npi_rxdma_cfg_logical_page(npi_handle_t handle,uint8_t rdc,dma_log_page_t * pg_cfg) npi_rxdma_cfg_logical_page() argument
332 npi_rxdma_cfg_logical_page_handle(npi_handle_t handle,uint8_t rdc,uint64_t page_handle) npi_rxdma_cfg_logical_page_handle() argument
359 npi_rxdma_cfg_rdc_ctl(npi_handle_t handle,uint8_t rdc,uint8_t op) npi_rxdma_cfg_rdc_ctl() argument
456 npi_rxdma_cfg_rdc_enable(npi_handle_t handle,uint8_t rdc) npi_rxdma_cfg_rdc_enable() argument
462 npi_rxdma_cfg_rdc_disable(npi_handle_t handle,uint8_t rdc) npi_rxdma_cfg_rdc_disable() argument
468 npi_rxdma_cfg_rdc_reset(npi_handle_t handle,uint8_t rdc) npi_rxdma_cfg_rdc_reset() argument
488 npi_rxdma_cfg_default_port_rdc(npi_handle_t handle,uint8_t portnm,uint8_t rdc) npi_rxdma_cfg_default_port_rdc() argument
521 npi_rxdma_cfg_rdc_rcr_ctl(npi_handle_t handle,uint8_t rdc,uint8_t op,uint16_t param) npi_rxdma_cfg_rdc_rcr_ctl() argument
565 npi_rxdma_cfg_rdc_rcr_timeout_disable(npi_handle_t handle,uint8_t rdc) npi_rxdma_cfg_rdc_rcr_timeout_disable() argument
572 npi_rxdma_cfg_rdc_rcr_threshold(npi_handle_t handle,uint8_t rdc,uint16_t rcr_threshold) npi_rxdma_cfg_rdc_rcr_threshold() argument
581 npi_rxdma_cfg_rdc_rcr_timeout(npi_handle_t handle,uint8_t rdc,uint8_t rcr_timeout) npi_rxdma_cfg_rdc_rcr_timeout() argument
594 npi_rxdma_cfg_rdc_ring(npi_handle_t handle,uint8_t rdc,rdc_desc_cfg_t * rdc_desc_cfg,boolean_t new_off) npi_rxdma_cfg_rdc_ring() argument
857 npi_rxdma_red_discard_stat_get(npi_handle_t handle,uint8_t rdc,rx_disc_cnt_t * cnt) npi_rxdma_red_discard_stat_get() argument
901 npi_rxdma_red_discard_oflow_clear(npi_handle_t handle,uint8_t rdc) npi_rxdma_red_discard_oflow_clear() argument
947 npi_rxdma_misc_discard_stat_get(npi_handle_t handle,uint8_t rdc,rx_disc_cnt_t * cnt) npi_rxdma_misc_discard_stat_get() argument
990 npi_rxdma_misc_discard_oflow_clear(npi_handle_t handle,uint8_t rdc) npi_rxdma_misc_discard_oflow_clear() argument
1034 npi_rxdma_ring_perr_stat_get(npi_handle_t handle,rdmc_par_err_log_t * pre_log,rdmc_par_err_log_t * sha_log) npi_rxdma_ring_perr_stat_get() argument
1104 npi_rxdma_ring_perr_stat_clear(npi_handle_t handle) npi_rxdma_ring_perr_stat_clear() argument
1163 npi_rxdma_rdmc_memory_io(npi_handle_t handle,rdmc_mem_access_t * data,uint8_t op) npi_rxdma_rdmc_memory_io() argument
1241 npi_rxdma_cfg_clock_div_set(npi_handle_t handle,uint16_t count) npi_rxdma_cfg_clock_div_set() argument
1261 npi_rxdma_cfg_red_rand_init(npi_handle_t handle,uint16_t init_value) npi_rxdma_cfg_red_rand_init() argument
1278 npi_rxdma_cfg_red_rand_disable(npi_handle_t handle) npi_rxdma_cfg_red_rand_disable() argument
1294 npi_rxdma_cfg_32bitmode_enable(npi_handle_t handle) npi_rxdma_cfg_32bitmode_enable() argument
1308 npi_rxdma_cfg_32bitmode_disable(npi_handle_t handle) npi_rxdma_cfg_32bitmode_disable() argument
1321 npi_rxdma_cfg_ram_access_enable(npi_handle_t handle) npi_rxdma_cfg_ram_access_enable() argument
1334 npi_rxdma_cfg_ram_access_disable(npi_handle_t handle) npi_rxdma_cfg_ram_access_disable() argument
1347 npi_rxdma_cfg_port_ddr_weight(npi_handle_t handle,uint8_t portnm,uint32_t weight) npi_rxdma_cfg_port_ddr_weight() argument
1371 npi_rxdma_port_usage_get(npi_handle_t handle,uint8_t portnm,uint32_t * blocks) npi_rxdma_port_usage_get() argument
1395 npi_rxdma_cfg_wred_param(npi_handle_t handle,uint8_t rdc,rdc_red_para_t * wred_params) npi_rxdma_cfg_wred_param() argument
1466 npi_rxdma_rdc_table_config(npi_handle_t handle,uint8_t table,dc_map_t rdc_map,int count) npi_rxdma_rdc_table_config() argument
1530 npi_rxdma_cfg_rdc_table_default_rdc(npi_handle_t handle,uint8_t table,uint8_t rdc) npi_rxdma_cfg_rdc_table_default_rdc() argument
1554 npi_rxdma_dump_rdc_table(npi_handle_t handle,uint8_t table) npi_rxdma_dump_rdc_table() argument
1588 npi_rxdma_rdc_rbr_stat_get(npi_handle_t handle,uint8_t rdc,rbr_stat_t * rbr_stat) npi_rxdma_rdc_rbr_stat_get() argument
1619 npi_rxdma_rdc_rbr_head_get(npi_handle_t handle,uint8_t rdc,addr44_t * hdptr) npi_rxdma_rdc_rbr_head_get() argument
1644 npi_rxdma_rdc_rcr_qlen_get(npi_handle_t handle,uint8_t rdc,uint16_t * rcr_qlen) npi_rxdma_rdc_rcr_qlen_get() argument
1669 npi_rxdma_rdc_rcr_tail_get(npi_handle_t handle,uint8_t rdc,addr44_t * tail_addr) npi_rxdma_rdc_rcr_tail_get() argument
1719 npi_rxdma_rxctl_fifo_error_intr_set(npi_handle_t handle,rx_ctl_dat_fifo_mask_t * mask) npi_rxdma_rxctl_fifo_error_intr_set() argument
1757 npi_rxdma_rxctl_fifo_error_intr_get(npi_handle_t handle,rx_ctl_dat_fifo_stat_t * stat) npi_rxdma_rxctl_fifo_error_intr_get() argument
1766 npi_rxdma_rdc_rcr_pktread_update(npi_handle_t handle,uint8_t channel,uint16_t pkts_read) npi_rxdma_rdc_rcr_pktread_update() argument
1798 npi_rxdma_rdc_rcr_bufread_update(npi_handle_t handle,uint8_t channel,uint16_t bufs_read) npi_rxdma_rdc_rcr_bufread_update() argument
1830 npi_rxdma_rdc_rcr_read_update(npi_handle_t handle,uint8_t channel,uint16_t pkts_read,uint16_t bufs_read) npi_rxdma_rdc_rcr_read_update() argument
1897 npi_rxdma_channel_mex_set(npi_handle_t handle,uint8_t channel) npi_rxdma_channel_mex_set() argument
1919 npi_rxdma_channel_rcrto_clear(npi_handle_t handle,uint8_t channel) npi_rxdma_channel_rcrto_clear() argument
1941 npi_rxdma_channel_pt_drop_pkt_clear(npi_handle_t handle,uint8_t channel) npi_rxdma_channel_pt_drop_pkt_clear() argument
1964 npi_rxdma_channel_wred_dop_clear(npi_handle_t handle,uint8_t channel) npi_rxdma_channel_wred_dop_clear() argument
1987 npi_rxdma_channel_rcr_shfull_clear(npi_handle_t handle,uint8_t channel) npi_rxdma_channel_rcr_shfull_clear() argument
2010 npi_rxdma_channel_rcr_full_clear(npi_handle_t handle,uint8_t channel) npi_rxdma_channel_rcr_full_clear() argument
2017 npi_rxdma_channel_rbr_empty_clear(npi_handle_t handle,uint8_t channel) npi_rxdma_channel_rbr_empty_clear() argument
2024 npi_rxdma_channel_cs_clear_all(npi_handle_t handle,uint8_t channel) npi_rxdma_channel_cs_clear_all() argument
2056 npi_rxdma_channel_control(npi_handle_t handle,rxdma_cs_cntl_t control,uint8_t channel) npi_rxdma_channel_control() argument
2172 npi_rxdma_control_status(npi_handle_t handle,io_op_t op_mode,uint8_t channel,p_rx_dma_ctl_stat_t cs_p) npi_rxdma_control_status() argument
2234 npi_rxdma_event_mask(npi_handle_t handle,io_op_t op_mode,uint8_t channel,p_rx_dma_ent_msk_t mask_p) npi_rxdma_event_mask() argument
2297 npi_rxdma_event_mask_config(npi_handle_t handle,io_op_t op_mode,uint8_t channel,rxdma_ent_msk_cfg_t * mask_cfgp) npi_rxdma_event_mask_config() argument
[all...]
H A Dnpi_txc.c133 * handle - NPI handle
143 npi_txc_dump_tdc_fzc_regs(npi_handle_t handle, uint8_t tdc) in npi_txc_dump_tdc_fzc_regs() argument
150 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, in npi_txc_dump_tdc_fzc_regs()
157 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_txc_dump_tdc_fzc_regs()
164 NXGE_REG_RD64(handle, offset, &value); in npi_txc_dump_tdc_fzc_regs()
165 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_txc_dump_tdc_fzc_regs()
170 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_txc_dump_tdc_fzc_regs()
187 npi_txc_dump_fzc_regs(npi_handle_t handle) in npi_txc_dump_fzc_regs() argument
193 NPI_REG_DUMP_MSG((handle in npi_txc_dump_fzc_regs()
223 npi_txc_dump_port_fzc_regs(npi_handle_t handle,uint8_t port) npi_txc_dump_port_fzc_regs() argument
267 npi_txc_dma_max_burst(npi_handle_t handle,io_op_t op_mode,uint8_t channel,uint32_t * dma_max_burst_p) npi_txc_dma_max_burst() argument
319 npi_txc_dma_max_burst_set(npi_handle_t handle,uint8_t channel,uint32_t max_burst) npi_txc_dma_max_burst_set() argument
354 npi_txc_dma_bytes_transmitted(npi_handle_t handle,uint8_t channel,uint32_t * dma_bytes_p) npi_txc_dma_bytes_transmitted() argument
392 npi_txc_control(npi_handle_t handle,io_op_t op_mode,p_txc_control_t txc_control_p) npi_txc_control() argument
428 npi_txc_global_enable(npi_handle_t handle) npi_txc_global_enable() argument
454 npi_txc_global_disable(npi_handle_t handle) npi_txc_global_disable() argument
481 npi_txc_control_clear(npi_handle_t handle,uint8_t port) npi_txc_control_clear() argument
504 npi_txc_training_set(npi_handle_t handle,uint32_t vector) npi_txc_training_set() argument
525 npi_txc_training_get(npi_handle_t handle,uint32_t * vector_p) npi_txc_training_get() argument
551 npi_txc_port_enable(npi_handle_t handle,uint8_t port) npi_txc_port_enable() argument
578 npi_txc_port_disable(npi_handle_t handle,uint8_t port) npi_txc_port_disable() argument
607 npi_txc_port_dma_enable(npi_handle_t handle,uint8_t port,uint32_t port_dma_list_bitmap) npi_txc_port_dma_enable() argument
619 npi_txc_port_dma_list_get(npi_handle_t handle,uint8_t port,uint32_t * port_dma_list_bitmap) npi_txc_port_dma_list_get() argument
648 npi_txc_port_dma_channel_enable(npi_handle_t handle,uint8_t port,uint8_t channel) npi_txc_port_dma_channel_enable() argument
686 npi_txc_port_dma_channel_disable(npi_handle_t handle,uint8_t port,uint8_t channel) npi_txc_port_dma_channel_disable() argument
723 npi_txc_reorder_set(npi_handle_t handle,uint8_t port,uint8_t * reorder) npi_txc_reorder_set() argument
753 npi_txc_reorder_get(npi_handle_t handle,uint8_t port,uint32_t * reorder) npi_txc_reorder_get() argument
785 npi_txc_pkt_stuffed_get(npi_handle_t handle,uint8_t port,uint32_t * pkt_assy_p,uint32_t * pkt_reorder_p) npi_txc_pkt_stuffed_get() argument
820 npi_txc_pkt_xmt_to_mac_get(npi_handle_t handle,uint8_t port,uint32_t * mac_bytes_p,uint32_t * mac_pkts_p) npi_txc_pkt_xmt_to_mac_get() argument
853 npi_txc_ro_states_get(npi_handle_t handle,uint8_t port,txc_ro_states_t * states) npi_txc_ro_states_get() argument
919 npi_txc_ro_ecc_state_clr(npi_handle_t handle,uint8_t port) npi_txc_ro_ecc_state_clr() argument
948 npi_txc_sf_states_get(npi_handle_t handle,uint8_t port,txc_sf_states_t * states) npi_txc_sf_states_get() argument
991 npi_txc_sf_ecc_state_clr(npi_handle_t handle,uint8_t port) npi_txc_sf_ecc_state_clr() argument
1011 npi_txc_global_istatus_get(npi_handle_t handle,txc_int_stat_t * istatus) npi_txc_global_istatus_get() argument
1031 npi_txc_global_istatus_clear(npi_handle_t handle,uint64_t istatus) npi_txc_global_istatus_clear() argument
1037 npi_txc_global_imask_set(npi_handle_t handle,uint8_t portn,uint8_t istatus) npi_txc_global_imask_set() argument
[all...]
H A Dnpi_vir.c110 npi_vir_dump_pio_fzc_regs_one(npi_handle_t handle) in npi_vir_dump_pio_fzc_regs_one() argument
115 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_vir_dump_pio_fzc_regs_one()
121 NXGE_REG_RD64(handle, pio_offset[i], &value); in npi_vir_dump_pio_fzc_regs_one()
122 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_vir_dump_pio_fzc_regs_one()
130 NXGE_REG_RD64(handle, fzc_pio_offset[i], &value); in npi_vir_dump_pio_fzc_regs_one()
131 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_vir_dump_pio_fzc_regs_one()
137 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_vir_dump_pio_fzc_regs_one()
143 npi_vir_dump_ldgnum(npi_handle_t handle) in npi_vir_dump_ldgnum() argument
148 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_vir_dump_ldgnum()
156 NXGE_REG_RD64(handle, offse in npi_vir_dump_ldgnum()
172 npi_vir_dump_ldsv(npi_handle_t handle) npi_vir_dump_ldsv() argument
201 npi_vir_dump_imask0(npi_handle_t handle) npi_vir_dump_imask0() argument
245 npi_vir_dump_sid(npi_handle_t handle) npi_vir_dump_sid() argument
290 npi_dev_func_sr_init(npi_handle_t handle) npi_dev_func_sr_init() argument
343 npi_dev_func_sr_lock_enter(npi_handle_t handle) npi_dev_func_sr_lock_enter() argument
417 npi_dev_func_sr_lock_free(npi_handle_t handle) npi_dev_func_sr_lock_free() argument
464 npi_dev_func_sr_funcid_get(npi_handle_t handle,uint8_t * funcid_p) npi_dev_func_sr_funcid_get() argument
498 npi_dev_func_sr_sr_raw_get(npi_handle_t handle,uint16_t * sr_p) npi_dev_func_sr_sr_raw_get() argument
536 npi_dev_func_sr_sr_get(npi_handle_t handle,uint16_t * sr_p) npi_dev_func_sr_sr_get() argument
576 npi_dev_func_sr_sr_get_set_clear(npi_handle_t handle,uint16_t impl_sr) npi_dev_func_sr_sr_get_set_clear() argument
613 npi_dev_func_sr_sr_set_only(npi_handle_t handle,uint16_t impl_sr) npi_dev_func_sr_sr_set_only() argument
648 npi_dev_func_sr_busy(npi_handle_t handle,boolean_t * busy_p) npi_dev_func_sr_busy() argument
681 npi_dev_func_sr_tas_get(npi_handle_t handle,uint8_t * tas_p) npi_dev_func_sr_tas_get() argument
708 npi_fzc_mpc_set(npi_handle_t handle,boolean_t mpc) npi_fzc_mpc_set() argument
732 npi_fzc_mpc_get(npi_handle_t handle,boolean_t * mpc_p) npi_fzc_mpc_get() argument
759 npi_fzc_dma_bind_set(npi_handle_t handle,fzc_dma_bind_t dma_bind) npi_fzc_dma_bind_set() argument
808 npi_fzc_dma_bind_get(npi_handle_t handle,fzc_dma_bind_t dma_bind,uint64_t * pValue) npi_fzc_dma_bind_get() argument
847 npi_fzc_ldg_num_set(npi_handle_t handle,uint8_t ld,uint8_t ldg) npi_fzc_ldg_num_set() argument
891 npi_fzc_ldg_num_get(npi_handle_t handle,uint8_t ld,uint8_t * ldg_p) npi_fzc_ldg_num_get() argument
925 npi_ldsv_ldfs_get(npi_handle_t handle,uint8_t ldg,uint64_t * vector0_p,uint64_t * vector1_p,uint64_t * vector2_p) npi_ldsv_ldfs_get() argument
959 npi_ldsv_get(npi_handle_t handle,uint8_t ldg,ldsv_type_t vector,uint64_t * ldf_p) npi_ldsv_get() argument
1016 npi_ldsv_ld_get(npi_handle_t handle,uint8_t ldg,uint8_t ld,ldsv_type_t vector,ldf_type_t ldf_type,boolean_t * flag_p) npi_ldsv_ld_get() argument
1093 npi_ldsv_ld_ldf0_get(npi_handle_t handle,uint8_t ldg,uint8_t ld,boolean_t * flag_p) npi_ldsv_ld_ldf0_get() argument
1120 npi_ldsv_ld_ldf1_get(npi_handle_t handle,uint8_t ldg,uint8_t ld,boolean_t * flag_p) npi_ldsv_ld_ldf1_get() argument
1146 npi_intr_mask_set(npi_handle_t handle,uint8_t ld,uint8_t ldf_mask) npi_intr_mask_set() argument
1184 npi_intr_mask_get(npi_handle_t handle,uint8_t ld,uint8_t * ldf_mask_p) npi_intr_mask_get() argument
1219 npi_intr_ldg_mgmt_set(npi_handle_t handle,uint8_t ldg,boolean_t arm,uint8_t timer) npi_intr_ldg_mgmt_set() argument
1273 npi_intr_ldg_mgmt_timer_get(npi_handle_t handle,uint8_t ldg,uint8_t * timer_p) npi_intr_ldg_mgmt_timer_get() argument
1310 npi_intr_ldg_mgmt_arm(npi_handle_t handle,uint8_t ldg) npi_intr_ldg_mgmt_arm() argument
1349 npi_fzc_ldg_timer_res_set(npi_handle_t handle,uint32_t res) npi_fzc_ldg_timer_res_set() argument
1378 npi_fzc_ldg_timer_res_get(npi_handle_t handle,uint8_t * res_p) npi_fzc_ldg_timer_res_get() argument
1403 npi_fzc_sid_set(npi_handle_t handle,fzc_sid_t sid) npi_fzc_sid_set() argument
1468 npi_fzc_sid_get(npi_handle_t handle,p_fzc_sid_t sid_p) npi_fzc_sid_get() argument
1508 npi_fzc_sys_err_mask_set(npi_handle_t handle,uint64_t mask) npi_fzc_sys_err_mask_set() argument
1528 npi_fzc_sys_err_stat_get(npi_handle_t handle,p_sys_err_stat_t statp) npi_fzc_sys_err_stat_get() argument
1535 npi_fzc_rst_ctl_get(npi_handle_t handle,p_rst_ctl_t rstp) npi_fzc_rst_ctl_get() argument
1553 npi_fzc_rst_ctl_reset_mac(npi_handle_t handle,uint8_t port) npi_fzc_rst_ctl_reset_mac() argument
[all...]
H A Dnpi_mac.c38 #define XMAC_WAIT_REG(handle, portn, reg, val) {\ argument
42 XMAC_REG_RD(handle, portn, reg, &val);\
47 #define BMAC_WAIT_REG(handle, portn, reg, val) {\ argument
51 BMAC_REG_RD(handle, portn, reg, &val);\
56 #define MIF_WAIT_REG(handle, m_frame, t_delay, interval, max_delay) { \ argument
59 MIF_REG_RD(handle, MIF_OUTPUT_FRAME_REG, &m_frame.value); \
505 npi_mac_dump_regs(npi_handle_t handle, uint8_t port) in npi_mac_dump_regs() argument
517 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_mac_dump_regs()
522 XMAC_REG_RD(handle, port, (uint32_t)xmac_offset[i], in npi_mac_dump_regs()
525 XMAC_REG_RD(handle, por in npi_mac_dump_regs()
567 npi_mac_pcs_link_intr_enable(npi_handle_t handle,uint8_t portn) npi_mac_pcs_link_intr_enable() argument
581 npi_mac_pcs_link_intr_disable(npi_handle_t handle,uint8_t portn) npi_mac_pcs_link_intr_disable() argument
595 npi_xmac_xpcs_link_intr_enable(npi_handle_t handle,uint8_t portn) npi_xmac_xpcs_link_intr_enable() argument
609 npi_xmac_xpcs_link_intr_disable(npi_handle_t handle,uint8_t portn) npi_xmac_xpcs_link_intr_disable() argument
623 npi_mac_mif_link_intr_disable(npi_handle_t handle,uint8_t portn) npi_mac_mif_link_intr_disable() argument
642 npi_mac_hashtab_entry(npi_handle_t handle,io_op_t op,uint8_t portn,uint8_t entryn,uint16_t * data) npi_mac_hashtab_entry() argument
683 npi_mac_hostinfo_entry(npi_handle_t handle,io_op_t op,uint8_t portn,uint8_t entryn,hostinfo_t * hostinfo) npi_mac_hostinfo_entry() argument
737 npi_mac_altaddr_enable(npi_handle_t handle,uint8_t portn,uint8_t addrn) npi_mac_altaddr_enable() argument
779 npi_mac_altaddr_disable(npi_handle_t handle,uint8_t portn,uint8_t addrn) npi_mac_altaddr_disable() argument
817 npi_mac_altaddr_entry(npi_handle_t handle,io_op_t op,uint8_t portn,uint8_t entryn,npi_mac_addr_t * data) npi_mac_altaddr_entry() argument
893 npi_mac_port_attr(npi_handle_t handle,io_op_t op,uint8_t portn,npi_attr_t * attrp) npi_mac_port_attr() argument
1745 npi_xmac_reset(npi_handle_t handle,uint8_t portn,npi_mac_reset_t mode) npi_xmac_reset() argument
1806 npi_xmac_xif_config(npi_handle_t handle,config_op_t op,uint8_t portn,xmac_xif_config_t config) npi_xmac_xif_config() argument
1941 npi_xmac_tx_config(npi_handle_t handle,config_op_t op,uint8_t portn,xmac_tx_config_t config) npi_xmac_tx_config() argument
2024 npi_xmac_rx_config(npi_handle_t handle,config_op_t op,uint8_t portn,xmac_rx_config_t config) npi_xmac_rx_config() argument
2170 npi_xmac_tx_iconfig(npi_handle_t handle,config_op_t op,uint8_t portn,xmac_tx_iconfig_t iconfig) npi_xmac_tx_iconfig() argument
2220 npi_xmac_rx_iconfig(npi_handle_t handle,config_op_t op,uint8_t portn,xmac_rx_iconfig_t iconfig) npi_xmac_rx_iconfig() argument
2270 npi_xmac_ctl_iconfig(npi_handle_t handle,config_op_t op,uint8_t portn,xmac_ctl_iconfig_t iconfig) npi_xmac_ctl_iconfig() argument
2321 npi_xmac_tx_get_istatus(npi_handle_t handle,uint8_t portn,xmac_tx_iconfig_t * istatus) npi_xmac_tx_get_istatus() argument
2335 npi_xmac_rx_get_istatus(npi_handle_t handle,uint8_t portn,xmac_rx_iconfig_t * istatus) npi_xmac_rx_get_istatus() argument
2349 npi_xmac_ctl_get_istatus(npi_handle_t handle,uint8_t portn,xmac_ctl_iconfig_t * istatus) npi_xmac_ctl_get_istatus() argument
2363 npi_xmac_xpcs_reset(npi_handle_t handle,uint8_t portn) npi_xmac_xpcs_reset() argument
2389 npi_xmac_xpcs_enable(npi_handle_t handle,uint8_t portn) npi_xmac_xpcs_enable() argument
2403 npi_xmac_xpcs_disable(npi_handle_t handle,uint8_t portn) npi_xmac_xpcs_disable() argument
2417 npi_xmac_xpcs_read(npi_handle_t handle,uint8_t portn,uint8_t xpcs_reg,uint32_t * value) npi_xmac_xpcs_read() argument
2497 npi_xmac_xpcs_write(npi_handle_t handle,uint8_t portn,uint8_t xpcs_reg,uint32_t value) npi_xmac_xpcs_write() argument
2545 npi_bmac_reset(npi_handle_t handle,uint8_t portn,npi_mac_reset_t mode) npi_bmac_reset() argument
2585 npi_mac_pcs_reset(npi_handle_t handle,uint8_t portn) npi_mac_pcs_reset() argument
2610 npi_mac_get_link_status(npi_handle_t handle,uint8_t portn,boolean_t * link_up) npi_mac_get_link_status() argument
2629 npi_bmac_tx_config(npi_handle_t handle,config_op_t op,uint8_t portn,bmac_tx_config_t config) npi_bmac_tx_config() argument
2695 npi_bmac_rx_config(npi_handle_t handle,config_op_t op,uint8_t portn,bmac_rx_config_t config) npi_bmac_rx_config() argument
2809 npi_bmac_rx_iconfig(npi_handle_t handle,config_op_t op,uint8_t portn,bmac_rx_iconfig_t iconfig) npi_bmac_rx_iconfig() argument
2859 npi_bmac_xif_config(npi_handle_t handle,config_op_t op,uint8_t portn,bmac_xif_config_t config) npi_bmac_xif_config() argument
2957 npi_bmac_tx_iconfig(npi_handle_t handle,config_op_t op,uint8_t portn,bmac_tx_iconfig_t iconfig) npi_bmac_tx_iconfig() argument
3007 npi_bmac_ctl_iconfig(npi_handle_t handle,config_op_t op,uint8_t portn,bmac_ctl_iconfig_t iconfig) npi_bmac_ctl_iconfig() argument
3057 npi_bmac_tx_get_istatus(npi_handle_t handle,uint8_t portn,bmac_tx_iconfig_t * istatus) npi_bmac_tx_get_istatus() argument
3071 npi_bmac_rx_get_istatus(npi_handle_t handle,uint8_t portn,bmac_rx_iconfig_t * istatus) npi_bmac_rx_get_istatus() argument
3085 npi_bmac_ctl_get_istatus(npi_handle_t handle,uint8_t portn,bmac_ctl_iconfig_t * istatus) npi_bmac_ctl_get_istatus() argument
3099 npi_mac_mif_mdio_read(npi_handle_t handle,uint8_t portn,uint8_t device,uint16_t xcvr_reg,uint16_t * value) npi_mac_mif_mdio_read() argument
3161 npi_mac_mif_mii_read(npi_handle_t handle,uint8_t portn,uint8_t xcvr_reg,uint16_t * value) npi_mac_mif_mii_read() argument
3190 npi_mac_mif_mdio_write(npi_handle_t handle,uint8_t portn,uint8_t device,uint16_t xcvr_reg,uint16_t value) npi_mac_mif_mdio_write() argument
3248 npi_mac_mif_mii_write(npi_handle_t handle,uint8_t portn,uint8_t xcvr_reg,uint16_t value) npi_mac_mif_mii_write() argument
3277 npi_mac_pcs_mii_read(npi_handle_t handle,uint8_t portn,uint8_t xcvr_reg,uint16_t * value) npi_mac_pcs_mii_read() argument
3362 npi_mac_pcs_mii_write(npi_handle_t handle,uint8_t portn,uint8_t xcvr_reg,uint16_t value) npi_mac_pcs_mii_write() argument
3407 npi_mac_mif_link_intr_enable(npi_handle_t handle,uint8_t portn,uint8_t xcvr_reg,uint16_t mask) npi_mac_mif_link_intr_enable() argument
3439 npi_mac_mif_mdio_link_intr_enable(npi_handle_t handle,uint8_t portn,uint8_t device,uint16_t xcvr_reg,uint16_t mask) npi_mac_mif_mdio_link_intr_enable() argument
3479 npi_mac_mif_set_indirect_mode(npi_handle_t handle,boolean_t on_off) npi_mac_mif_set_indirect_mode() argument
3489 npi_mac_mif_set_atca_mode(npi_handle_t handle,boolean_t on_off) npi_mac_mif_set_atca_mode() argument
3499 npi_bmac_send_pause(npi_handle_t handle,uint8_t portn,uint16_t pause_time) npi_bmac_send_pause() argument
3512 npi_xmac_xif_led(npi_handle_t handle,uint8_t portn,boolean_t on_off) npi_xmac_xif_led() argument
3534 npi_xmac_zap_tx_counters(npi_handle_t handle,uint8_t portn) npi_xmac_zap_tx_counters() argument
3545 npi_xmac_zap_rx_counters(npi_handle_t handle,uint8_t portn) npi_xmac_zap_rx_counters() argument
[all...]
/titanic_51/usr/src/common/net/wanboot/
H A Dbootconf.c88 * B_FALSE - error (return code in handle->bc_error_code, line number
89 * on which the error occurred in handle->bc_error_pos)
92 parse_bootconf(bc_handle_t *handle, const char *bootconf) in parse_bootconf() argument
99 handle->bc_error_code = BC_E_ACCESS; in parse_bootconf()
104 handle->bc_error_code = BC_E_NVLIST; in parse_bootconf()
114 ++(handle->bc_error_pos); in parse_bootconf()
120 handle->bc_error_code = BC_E_IOERR; in parse_bootconf()
123 handle->bc_error_code = BC_E_TOO_LONG; in parse_bootconf()
158 handle->bc_error_code = BC_E_SYNTAX; in parse_bootconf()
199 handle in parse_bootconf()
276 valid_encryption(bc_handle_t * handle,boolean_t * is_encrypted) valid_encryption() argument
311 valid_signature(bc_handle_t * handle,boolean_t * is_signed) valid_signature() argument
346 valid_client_authentication(bc_handle_t * handle,boolean_t * is_authenticated) valid_client_authentication() argument
380 valid_server_authentication(bc_handle_t * handle,boolean_t * is_authenticated) valid_server_authentication() argument
414 valid_root_server(bc_handle_t * handle,boolean_t * is_https) valid_root_server() argument
460 valid_boot_logger(bc_handle_t * handle,boolean_t * is_https) valid_boot_logger() argument
495 validate_bootconf(bc_handle_t * handle) validate_bootconf() argument
560 bootconf_end(bc_handle_t * handle) bootconf_end() argument
573 bootconf_init(bc_handle_t * handle,const char * bootconf) bootconf_init() argument
612 bootconf_get(bc_handle_t * handle,const char * name) bootconf_get() argument
[all...]
/titanic_51/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c296 * get a client handle to use for future RPCSEC calls.
302 _kadm5_initialize_rpcsec_gss_handle(kadm5_server_handle_t handle, in _kadm5_initialize_rpcsec_gss_handle() argument
329 char *server = handle->params.admin_server; in _kadm5_initialize_rpcsec_gss_handle()
337 if (handle->params.kpasswd_server != NULL) in _kadm5_initialize_rpcsec_gss_handle()
338 server = handle->params.kpasswd_server; in _kadm5_initialize_rpcsec_gss_handle()
352 addr.sin_port = htons((ushort_t)handle->params.kadmind_port); in _kadm5_initialize_rpcsec_gss_handle()
355 printf("kadmin_port %d\n", handle->params.kadmind_port); in _kadm5_initialize_rpcsec_gss_handle()
417 handle->clnt = clnt_tli_create(fd, nconf, NULL, in _kadm5_initialize_rpcsec_gss_handle()
421 handle->clnt = clnt_tli_create(fd, nconf, NULL, in _kadm5_initialize_rpcsec_gss_handle()
427 if (handle in _kadm5_initialize_rpcsec_gss_handle()
592 kadm5_server_handle_t handle; _kadm5_init_any() local
1011 kadm5_server_handle_t handle = kadm5_destroy() local
1071 _kadm5_check_handle(void * handle) _kadm5_check_handle() argument
1087 kadm5_init_iprop(void * handle) kadm5_init_iprop() argument
[all...]
/titanic_51/usr/src/uts/common/io/hxge/
H A Dhpi_pfc.c35 hpi_pfc_tcam_check_completion(hpi_handle_t handle, tcam_op_t op_type) in hpi_pfc_tcam_check_completion() argument
44 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion()
49 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion()
53 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_pfc_tcam_check_completion()
62 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion()
68 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion()
72 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_pfc_tcam_check_completion()
78 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_pfc_tcam_check_completion()
87 hpi_pfc_tcam_entry_read(hpi_handle_t handle, uint32_t location, in hpi_pfc_tcam_entry_read() argument
96 WRITE_TCAM_REG_MASK0(handle, tcam_pt in hpi_pfc_tcam_entry_read()
117 hpi_pfc_tcam_asc_ram_entry_read(hpi_handle_t handle,uint32_t location,uint64_t * ram_data) hpi_pfc_tcam_asc_ram_entry_read() argument
143 hpi_pfc_tcam_asc_ram_entry_write(hpi_handle_t handle,uint32_t location,uint64_t ram_data) hpi_pfc_tcam_asc_ram_entry_write() argument
171 hpi_pfc_set_config(hpi_handle_t handle,pfc_config_t config) hpi_pfc_set_config() argument
182 hpi_pfc_get_config(hpi_handle_t handle,pfc_config_t * configp) hpi_pfc_get_config() argument
193 hpi_pfc_set_tcam_enable(hpi_handle_t handle,boolean_t tcam) hpi_pfc_set_tcam_enable() argument
211 hpi_pfc_set_l2_hash(hpi_handle_t handle,boolean_t l2_hash) hpi_pfc_set_l2_hash() argument
229 hpi_pfc_set_tcp_cksum(hpi_handle_t handle,boolean_t cksum) hpi_pfc_set_tcp_cksum() argument
247 hpi_pfc_set_default_dma(hpi_handle_t handle,uint32_t dma_channel_no) hpi_pfc_set_default_dma() argument
262 hpi_pfc_mac_addr_enable(hpi_handle_t handle,uint32_t slot) hpi_pfc_mac_addr_enable() argument
285 hpi_pfc_mac_addr_disable(hpi_handle_t handle,uint32_t slot) hpi_pfc_mac_addr_disable() argument
308 hpi_pfc_set_force_csum(hpi_handle_t handle,boolean_t force) hpi_pfc_set_force_csum() argument
323 hpi_pfc_cfg_vlan_table_clear(hpi_handle_t handle) hpi_pfc_cfg_vlan_table_clear() argument
341 hpi_pfc_cfg_vlan_table_entry_clear(hpi_handle_t handle,vlan_id_t vlan_id) hpi_pfc_cfg_vlan_table_entry_clear() argument
364 hpi_pfc_cfg_vlan_table_entry_set(hpi_handle_t handle,vlan_id_t vlan_id) hpi_pfc_cfg_vlan_table_entry_set() argument
387 hpi_pfc_cfg_vlan_control_set(hpi_handle_t handle,boolean_t parity,boolean_t valid,vlan_id_t vlan_id) hpi_pfc_cfg_vlan_control_set() argument
412 hpi_pfc_get_vlan_parity_log(hpi_handle_t handle,pfc_vlan_par_err_log_t * logp) hpi_pfc_get_vlan_parity_log() argument
423 hpi_pfc_set_mac_address(hpi_handle_t handle,uint32_t slot,uint64_t address) hpi_pfc_set_mac_address() argument
448 hpi_pfc_clear_mac_address(hpi_handle_t handle,uint32_t slot) hpi_pfc_clear_mac_address() argument
469 hpi_pfc_clear_multicast_hash_table(hpi_handle_t handle,uint32_t slot) hpi_pfc_clear_multicast_hash_table() argument
483 hpi_pfc_set_multicast_hash_table(hpi_handle_t handle,uint32_t slot,uint64_t address) hpi_pfc_set_multicast_hash_table() argument
498 hpi_pfc_set_l2_class_slot(hpi_handle_t handle,uint16_t etype,boolean_t valid,int slot) hpi_pfc_set_l2_class_slot() argument
524 hpi_pfc_set_l3_class_config(hpi_handle_t handle,tcam_class_t slot,tcam_key_cfg_t cfg) hpi_pfc_set_l3_class_config() argument
552 hpi_pfc_get_l3_class_config(hpi_handle_t handle,tcam_class_t slot,tcam_key_cfg_t * cfg) hpi_pfc_get_l3_class_config() argument
578 hpi_pfc_set_tcam_control(hpi_handle_t handle,pfc_tcam_ctrl_t * tcontrolp) hpi_pfc_set_tcam_control() argument
589 hpi_pfc_tcam_entry_invalidate(hpi_handle_t handle,uint32_t location) hpi_pfc_tcam_entry_invalidate() argument
600 hpi_pfc_tcam_invalidate_all(hpi_handle_t handle) hpi_pfc_tcam_invalidate_all() argument
615 hpi_pfc_tcam_entry_write(hpi_handle_t handle,uint32_t location,hxge_tcam_entry_t * tcam_ptr) hpi_pfc_tcam_entry_write() argument
653 hpi_pfc_get_tcam_parity_log(hpi_handle_t handle,pfc_tcam_par_err_log_t * logp) hpi_pfc_get_tcam_parity_log() argument
664 hpi_pfc_get_tcam_auto_init(hpi_handle_t handle,pfc_auto_init_t * autoinitp) hpi_pfc_get_tcam_auto_init() argument
675 hpi_pfc_set_tcp_control_discard(hpi_handle_t handle,boolean_t discard) hpi_pfc_set_tcp_control_discard() argument
696 hpi_pfc_set_tcp_control_fin(hpi_handle_t handle,boolean_t fin) hpi_pfc_set_tcp_control_fin() argument
716 hpi_pfc_set_tcp_control_syn(hpi_handle_t handle,boolean_t syn) hpi_pfc_set_tcp_control_syn() argument
736 hpi_pfc_set_tcp_control_rst(hpi_handle_t handle,boolean_t rst) hpi_pfc_set_tcp_control_rst() argument
756 hpi_pfc_set_tcp_control_psh(hpi_handle_t handle,boolean_t push) hpi_pfc_set_tcp_control_psh() argument
776 hpi_pfc_set_tcp_control_ack(hpi_handle_t handle,boolean_t ack) hpi_pfc_set_tcp_control_ack() argument
796 hpi_pfc_set_hash_seed_value(hpi_handle_t handle,uint32_t seed) hpi_pfc_set_hash_seed_value() argument
811 hpi_pfc_get_interrupt_status(hpi_handle_t handle,pfc_int_status_t * statusp) hpi_pfc_get_interrupt_status() argument
822 hpi_pfc_clear_interrupt_status(hpi_handle_t handle) hpi_pfc_clear_interrupt_status() argument
833 hpi_pfc_set_interrupt_mask(hpi_handle_t handle,boolean_t drop,boolean_t tcam_parity_error,boolean_t vlan_parity_error) hpi_pfc_set_interrupt_mask() argument
863 hpi_pfc_get_drop_log(hpi_handle_t handle,pfc_drop_log_t * logp) hpi_pfc_get_drop_log() argument
874 hpi_pfc_set_drop_log_mask(hpi_handle_t handle,boolean_t vlan_drop,boolean_t tcam_drop,boolean_t class_code_drop,boolean_t l2_addr_drop,boolean_t tcp_ctrl_drop) hpi_pfc_set_drop_log_mask() argument
901 hpi_pfc_get_bad_csum_counter(hpi_handle_t handle,uint64_t * countp) hpi_pfc_get_bad_csum_counter() argument
912 hpi_pfc_get_drop_counter(hpi_handle_t handle,uint64_t * countp) hpi_pfc_get_drop_counter() argument
923 hpi_pfc_get_number_mac_addrs(hpi_handle_t handle,uint32_t * n_of_addrs) hpi_pfc_get_number_mac_addrs() argument
930 hpi_pfc_mac_addr_get_i(hpi_handle_t handle,uint8_t * data,int slot) hpi_pfc_mac_addr_get_i() argument
956 hpi_pfc_num_macs_get(hpi_handle_t handle,uint8_t * data) hpi_pfc_num_macs_get() argument
[all...]
H A Dhpi_txdma.c34 static hpi_status_t hpi_txdma_control_reset_wait(hpi_handle_t handle,
38 hpi_txdma_log_page_handle_set(hpi_handle_t handle, uint8_t channel, in hpi_txdma_log_page_handle_set() argument
44 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_txdma_log_page_handle_set()
50 TXDMA_REG_WRITE64(handle, TDC_PAGE_HANDLE, channel, hdl_p->value); in hpi_txdma_log_page_handle_set()
56 hpi_txdma_channel_reset(hpi_handle_t handle, uint8_t channel) in hpi_txdma_channel_reset() argument
58 HPI_DEBUG_MSG((handle.function, HPI_TDC_CTL, in hpi_txdma_channel_reset()
60 return (hpi_txdma_channel_control(handle, TXDMA_RESET, channel)); in hpi_txdma_channel_reset()
64 hpi_txdma_channel_init_enable(hpi_handle_t handle, uint8_t channel) in hpi_txdma_channel_init_enable() argument
66 return (hpi_txdma_channel_control(handle, TXDMA_INIT_START, channel)); in hpi_txdma_channel_init_enable()
70 hpi_txdma_channel_enable(hpi_handle_t handle, uint8_ argument
76 hpi_txdma_channel_disable(hpi_handle_t handle,uint8_t channel) hpi_txdma_channel_disable() argument
82 hpi_txdma_channel_mbox_enable(hpi_handle_t handle,uint8_t channel) hpi_txdma_channel_mbox_enable() argument
88 hpi_txdma_channel_control(hpi_handle_t handle,txdma_cs_cntl_t control,uint8_t channel) hpi_txdma_channel_control() argument
167 hpi_txdma_control_status(hpi_handle_t handle,io_op_t op_mode,uint8_t channel,tdc_stat_t * cs_p) hpi_txdma_control_status() argument
205 hpi_txdma_event_mask(hpi_handle_t handle,io_op_t op_mode,uint8_t channel,tdc_int_mask_t * mask_p) hpi_txdma_event_mask() argument
243 hpi_txdma_ring_config(hpi_handle_t handle,io_op_t op_mode,uint8_t channel,uint64_t * reg_data) hpi_txdma_ring_config() argument
274 hpi_txdma_mbox_config(hpi_handle_t handle,io_op_t op_mode,uint8_t channel,uint64_t * mbox_addr) hpi_txdma_mbox_config() argument
321 hpi_txdma_desc_gather_set(hpi_handle_t handle,p_tx_desc_t desc_p,uint8_t gather_index,boolean_t mark,uint8_t ngathers,uint64_t dma_ioaddr,uint32_t transfer_len) hpi_txdma_desc_gather_set() argument
362 hpi_txdma_desc_set_zero(hpi_handle_t handle,uint16_t entries) hpi_txdma_desc_set_zero() argument
383 hpi_txdma_ring_head_get(hpi_handle_t handle,uint8_t channel,tdc_tdr_head_t * hdl_p) hpi_txdma_ring_head_get() argument
404 hpi_txdma_dump_desc_one(hpi_handle_t handle,p_tx_desc_t desc_p,int desc_index) hpi_txdma_dump_desc_one() argument
437 hpi_txdma_control_reset_wait(hpi_handle_t handle,uint8_t channel) hpi_txdma_control_reset_wait() argument
466 hpi_txdma_control_stop_wait(hpi_handle_t handle,uint8_t channel) hpi_txdma_control_stop_wait() argument
[all...]
H A Dhpi_rxdma.c42 hpi_rxdma_cfg_logical_page_handle(hpi_handle_t handle, uint8_t rdc, in hpi_rxdma_cfg_logical_page_handle() argument
48 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_rxdma_cfg_logical_page_handle()
55 page_hdl.bits.handle = (uint32_t)page_handle; in hpi_rxdma_cfg_logical_page_handle()
57 RXDMA_REG_WRITE64(handle, RDC_PAGE_HANDLE, rdc, page_hdl.value); in hpi_rxdma_cfg_logical_page_handle()
63 hpi_rxdma_cfg_rdc_wait_for_qst(hpi_handle_t handle, uint8_t rdc) in hpi_rxdma_cfg_rdc_wait_for_qst() argument
69 RXDMA_REG_READ64(handle, RDC_RX_CFG1, rdc, &cfg.value); in hpi_rxdma_cfg_rdc_wait_for_qst()
73 RXDMA_REG_READ64(handle, RDC_RX_CFG1, rdc, &cfg.value); in hpi_rxdma_cfg_rdc_wait_for_qst()
84 hpi_rxdma_cfg_rdc_ctl(hpi_handle_t handle, uint8_t rdc, uint8_t op) in hpi_rxdma_cfg_rdc_ctl() argument
92 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_rxdma_cfg_rdc_ctl()
99 RXDMA_REG_READ64(handle, RDC_RX_CFG in hpi_rxdma_cfg_rdc_ctl()
158 hpi_rxdma_cfg_rdc_enable(hpi_handle_t handle,uint8_t rdc) hpi_rxdma_cfg_rdc_enable() argument
164 hpi_rxdma_cfg_rdc_disable(hpi_handle_t handle,uint8_t rdc) hpi_rxdma_cfg_rdc_disable() argument
170 hpi_rxdma_cfg_rdc_reset(hpi_handle_t handle,uint8_t rdc) hpi_rxdma_cfg_rdc_reset() argument
176 hpi_rxdma_cfg_rdc_rcr_ctl(hpi_handle_t handle,uint8_t rdc,uint8_t op,uint16_t param) hpi_rxdma_cfg_rdc_rcr_ctl() argument
214 hpi_rxdma_cfg_rdc_rcr_threshold(hpi_handle_t handle,uint8_t rdc,uint16_t rcr_threshold) hpi_rxdma_cfg_rdc_rcr_threshold() argument
222 hpi_rxdma_cfg_rdc_rcr_timeout(hpi_handle_t handle,uint8_t rdc,uint8_t rcr_timeout) hpi_rxdma_cfg_rdc_rcr_timeout() argument
233 hpi_rxdma_cfg_rdc_ring(hpi_handle_t handle,uint8_t rdc,rdc_desc_cfg_t * rdc_desc_cfg) hpi_rxdma_cfg_rdc_ring() argument
450 hpi_rxdma_ring_perr_stat_get(hpi_handle_t handle,rdc_pref_par_log_t * pre_log,rdc_pref_par_log_t * sha_log) hpi_rxdma_ring_perr_stat_get() argument
467 hpi_rxdma_cfg_clock_div_set(hpi_handle_t handle,uint16_t count) hpi_rxdma_cfg_clock_div_set() argument
488 hpi_rxdma_rdc_rbr_stat_get(hpi_handle_t handle,uint8_t rdc,rdc_rbr_qlen_t * rbr_stat) hpi_rxdma_rdc_rbr_stat_get() argument
503 hpi_rxdma_rdc_rcr_qlen_get(hpi_handle_t handle,uint8_t rdc,uint16_t * rcr_qlen) hpi_rxdma_rdc_rcr_qlen_get() argument
523 hpi_rxdma_channel_rbr_empty_clear(hpi_handle_t handle,uint8_t channel) hpi_rxdma_channel_rbr_empty_clear() argument
544 hpi_rxdma_control_status(hpi_handle_t handle,io_op_t op_mode,uint8_t channel,rdc_stat_t * cs_p) hpi_rxdma_control_status() argument
585 hpi_rxdma_event_mask(hpi_handle_t handle,io_op_t op_mode,uint8_t channel,rdc_int_mask_t * mask_p) hpi_rxdma_event_mask() argument
[all...]
/titanic_51/usr/src/lib/libdevinfo/
H A Ddevinfo_finddev.c102 struct finddevhdl *handle; in finddev_readdir_alt() local
112 handle = calloc(1, sizeof (struct finddevhdl)); in finddev_readdir_alt()
113 if (handle == NULL) { in finddev_readdir_alt()
118 handle->npaths = 0; in finddev_readdir_alt()
119 handle->curpath = 0; in finddev_readdir_alt()
120 handle->paths = NULL; in finddev_readdir_alt()
131 handle->npaths = n; in finddev_readdir_alt()
132 handle->paths = calloc(n, sizeof (char *)); in finddev_readdir_alt()
133 if (handle->paths == NULL) { in finddev_readdir_alt()
134 free(handle); in finddev_readdir_alt()
180 struct finddevhdl *handle; finddev_readdir_devfs() local
321 struct finddevhdl *handle = (struct finddevhdl *)arg; finddev_close() local
335 struct finddevhdl *handle = (struct finddevhdl *)arg; finddev_next() local
[all...]
/titanic_51/usr/src/lib/libshare/common/
H A Dscfutil.c60 * sa_scf_fini(handle)
62 * Must be called when done. Called with the handle allocated in
68 sa_scf_fini(scfutilhandle_t *handle) in sa_scf_fini() argument
70 if (handle != NULL) { in sa_scf_fini()
72 if (handle->scope != NULL) { in sa_scf_fini()
74 scf_scope_destroy(handle->scope); in sa_scf_fini()
76 if (handle->instance != NULL) in sa_scf_fini()
77 scf_instance_destroy(handle->instance); in sa_scf_fini()
78 if (handle->service != NULL) in sa_scf_fini()
79 scf_service_destroy(handle in sa_scf_fini()
102 scfutilhandle_t *handle; sa_scf_init() local
241 sa_extract_pgroup(xmlNodePtr root,scfutilhandle_t * handle,scf_propertygroup_t * pg,char * nodetype,char * proto,char * sectype) sa_extract_pgroup() argument
337 sa_extract_attrs(xmlNodePtr root,scfutilhandle_t * handle,scf_instance_t * instance) sa_extract_attrs() argument
465 sa_share_from_pgroup(xmlNodePtr root,scfutilhandle_t * handle,scf_propertygroup_t * pg,char * id) sa_share_from_pgroup() argument
635 find_share_by_id(sa_handle_t handle,char * shareid) find_share_by_id() argument
701 sa_share_props_from_pgroup(xmlNodePtr root,scfutilhandle_t * handle,scf_propertygroup_t * pg,char * id,sa_handle_t sahandle) sa_share_props_from_pgroup() argument
871 sa_extract_group(xmlNodePtr root,scfutilhandle_t * handle,scf_instance_t * instance,sa_handle_t sahandle) sa_extract_group() argument
1056 sa_extract_defaults(xmlNodePtr root,scfutilhandle_t * handle,scf_instance_t * instance) sa_extract_defaults() argument
1108 sa_get_config(scfutilhandle_t * handle,xmlNodePtr root,sa_handle_t sahandle) sa_get_config() argument
1151 sa_get_instance(scfutilhandle_t * handle,char * instname) sa_get_instance() argument
1168 sa_create_instance(scfutilhandle_t * handle,char * instname) sa_create_instance() argument
1195 sa_delete_instance(scfutilhandle_t * handle,char * instname) sa_delete_instance() argument
1218 sa_create_pgroup(scfutilhandle_t * handle,char * pgroup) sa_create_pgroup() argument
1270 sa_delete_pgroup(scfutilhandle_t * handle,char * pgroup) sa_delete_pgroup() argument
1308 sa_start_transaction(scfutilhandle_t * handle,char * propgroup) sa_start_transaction() argument
1352 sa_end_transaction(scfutilhandle_t * handle,sa_handle_impl_t sahandle) sa_end_transaction() argument
1378 sa_abort_transaction(scfutilhandle_t * handle) sa_abort_transaction() argument
1438 sa_set_property(scfutilhandle_t * handle,char * propname,char * valstr) sa_set_property() argument
1526 sa_set_resource_property(scfutilhandle_t * handle,sa_share_t share) sa_set_resource_property() argument
1653 sa_commit_share(scfutilhandle_t * handle,sa_group_t group,sa_share_t share) sa_commit_share() argument
1816 remove_resources(scfutilhandle_t * handle,sa_share_t share,char * shareid) remove_resources() argument
1859 sa_delete_share(scfutilhandle_t * handle,sa_group_t group,sa_share_t share) sa_delete_share() argument
[all...]

12345678910>>...45