Symbol: handle
crypto/openssh/audit-bsm.c
181
scf_handle_t *handle = NULL;
crypto/openssh/audit-bsm.c
192
handle = scf_handle_create(SCF_VERSION);
crypto/openssh/audit-bsm.c
193
if (handle == NULL)
crypto/openssh/audit-bsm.c
196
ret = scf_handle_bind(handle);
crypto/openssh/audit-bsm.c
200
property = scf_property_create(handle);
crypto/openssh/audit-bsm.c
204
ret = scf_handle_decode_fmri(handle,
crypto/openssh/audit-bsm.c
210
value = scf_value_create(handle);
crypto/openssh/audit-bsm.c
224
scf_handle_destroy(handle);
crypto/openssh/misc.h
39
int handle; /* Handle for dynamic listen ports */
crypto/openssh/mux.c
642
channel_update_permission(ssh, rfwd->handle,
crypto/openssh/mux.c
650
channel_update_permission(ssh, rfwd->handle, -1);
crypto/openssh/mux.c
820
fwd.handle = channel_request_remote_forwarding(ssh, &fwd);
crypto/openssh/mux.c
821
if (fwd.handle < 0)
crypto/openssh/readconf.c
428
fwd->handle = newfwd->handle;
crypto/openssh/sftp-client.c
1337
sftp_fsync(struct sftp_conn *conn, u_char *handle, u_int handle_len)
crypto/openssh/sftp-client.c
1355
(r = sshbuf_put_string(msg, handle, handle_len)) != 0)
crypto/openssh/sftp-client.c
1459
sftp_fstatvfs(struct sftp_conn *conn, const u_char *handle, u_int handle_len,
crypto/openssh/sftp-client.c
1479
(r = sshbuf_put_string(msg, handle, handle_len)) != 0)
crypto/openssh/sftp-client.c
1523
u_int len, const u_char *handle, u_int handle_len)
crypto/openssh/sftp-client.c
1532
(r = sshbuf_put_string(msg, handle, handle_len)) != 0 ||
crypto/openssh/sftp-client.c
1545
u_char *handle;
crypto/openssh/sftp-client.c
1574
if ((handle = get_handle(conn, id, &handle_len,
crypto/openssh/sftp-client.c
1578
*handlep = handle;
crypto/openssh/sftp-client.c
1602
u_char *handle;
crypto/openssh/sftp-client.c
1647
&handle, &handle_len) != 0)
crypto/openssh/sftp-client.c
1670
sftp_close(conn, handle, handle_len);
crypto/openssh/sftp-client.c
1671
free(handle);
crypto/openssh/sftp-client.c
1717
req->len, handle, handle_len);
crypto/openssh/sftp-client.c
1791
req->offset, req->len, handle, handle_len);
crypto/openssh/sftp-client.c
1845
sftp_close(conn, handle, handle_len);
crypto/openssh/sftp-client.c
1850
sftp_close(conn, handle, handle_len);
crypto/openssh/sftp-client.c
1852
if (sftp_close(conn, handle, handle_len) != 0 || interrupted)
crypto/openssh/sftp-client.c
1885
free(handle);
crypto/openssh/sftp-client.c
2039
u_char type, *handle, *data;
crypto/openssh/sftp-client.c
2104
&handle, &handle_len) != 0) {
crypto/openssh/sftp-client.c
2146
(r = sshbuf_put_string(msg, handle,
crypto/openssh/sftp-client.c
2226
sftp_fsetstat(conn, handle, handle_len, &t);
crypto/openssh/sftp-client.c
2236
sftp_fsetstat(conn, handle, handle_len, &a);
crypto/openssh/sftp-client.c
2239
(void)sftp_fsync(conn, handle, handle_len);
crypto/openssh/sftp-client.c
2241
if (sftp_close(conn, handle, handle_len) != 0)
crypto/openssh/sftp-client.c
2244
free(handle);
crypto/openssh/sftp-client.c
307
u_char *handle;
crypto/openssh/sftp-client.c
338
if ((r = sshbuf_get_string(msg, &handle, len)) != 0)
crypto/openssh/sftp-client.c
342
return handle;
crypto/openssh/sftp-client.c
675
sftp_close(struct sftp_conn *conn, const u_char *handle, u_int handle_len)
crypto/openssh/sftp-client.c
687
(r = sshbuf_put_string(msg, handle, handle_len)) != 0)
crypto/openssh/sftp-client.c
709
u_char type, *handle;
crypto/openssh/sftp-client.c
726
handle = get_handle(conn, id, &handle_len,
crypto/openssh/sftp-client.c
728
if (handle == NULL) {
crypto/openssh/sftp-client.c
747
(r = sshbuf_put_string(msg, handle, handle_len)) != 0)
crypto/openssh/sftp-client.c
828
sftp_close(conn, handle, handle_len);
crypto/openssh/sftp-client.c
829
free(handle);
crypto/openssh/sftp-client.c
952
sftp_fstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len,
crypto/openssh/sftp-client.c
960
send_string_request(conn, id, SSH2_FXP_FSTAT, handle,
crypto/openssh/sftp-client.c
986
sftp_fsetstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len,
crypto/openssh/sftp-client.c
994
send_string_attrs_request(conn, id, SSH2_FXP_FSETSTAT, handle,
crypto/openssh/sftp-server.c
1037
int handle, fd, r;
crypto/openssh/sftp-server.c
1040
if ((r = get_handle(iqueue, &handle)) != 0 ||
crypto/openssh/sftp-server.c
1044
debug("request %u: fsetstat handle %d", id, handle);
crypto/openssh/sftp-server.c
1045
fd = handle_to_fd(handle);
crypto/openssh/sftp-server.c
1049
char *name = handle_to_name(handle);
crypto/openssh/sftp-server.c
1103
int r, handle, status = SSH2_FX_FAILURE;
crypto/openssh/sftp-server.c
1114
handle = handle_new(HANDLE_DIR, path, 0, 0, dirp);
crypto/openssh/sftp-server.c
1115
if (handle < 0) {
crypto/openssh/sftp-server.c
1118
send_handle(id, handle);
crypto/openssh/sftp-server.c
1134
int r, handle;
crypto/openssh/sftp-server.c
1136
if ((r = get_handle(iqueue, &handle)) != 0)
crypto/openssh/sftp-server.c
1140
handle_to_name(handle), handle);
crypto/openssh/sftp-server.c
1141
dirp = handle_to_dir(handle);
crypto/openssh/sftp-server.c
1142
path = handle_to_name(handle);
crypto/openssh/sftp-server.c
1413
int r, handle, fd;
crypto/openssh/sftp-server.c
1416
if ((r = get_handle(iqueue, &handle)) != 0)
crypto/openssh/sftp-server.c
1419
id, handle_to_name(handle), handle);
crypto/openssh/sftp-server.c
1420
if ((fd = handle_to_fd(handle)) < 0) {
crypto/openssh/sftp-server.c
1452
int handle, fd, r, status = SSH2_FX_OP_UNSUPPORTED;
crypto/openssh/sftp-server.c
1454
if ((r = get_handle(iqueue, &handle)) != 0)
crypto/openssh/sftp-server.c
1456
debug3("request %u: fsync (handle %u)", id, handle);
crypto/openssh/sftp-server.c
1457
verbose("fsync \"%s\"", handle_to_name(handle));
crypto/openssh/sftp-server.c
1458
if ((fd = handle_to_fd(handle)) < 0)
crypto/openssh/sftp-server.c
1460
else if (handle_is_ok(handle, HANDLE_FILE)) {
crypto/openssh/sftp-server.c
370
handle_to_string(int handle, u_char **stringp, int *hlenp)
crypto/openssh/sftp-server.c
375
put_u32(*stringp, handle);
crypto/openssh/sftp-server.c
381
handle_from_string(const u_char *handle, u_int hlen)
crypto/openssh/sftp-server.c
387
val = get_u32(handle);
crypto/openssh/sftp-server.c
395
handle_to_name(int handle)
crypto/openssh/sftp-server.c
397
if (handle_is_ok(handle, HANDLE_DIR)||
crypto/openssh/sftp-server.c
398
handle_is_ok(handle, HANDLE_FILE))
crypto/openssh/sftp-server.c
399
return handles[handle].name;
crypto/openssh/sftp-server.c
404
handle_to_dir(int handle)
crypto/openssh/sftp-server.c
406
if (handle_is_ok(handle, HANDLE_DIR))
crypto/openssh/sftp-server.c
407
return handles[handle].dirp;
crypto/openssh/sftp-server.c
412
handle_to_fd(int handle)
crypto/openssh/sftp-server.c
414
if (handle_is_ok(handle, HANDLE_FILE))
crypto/openssh/sftp-server.c
415
return handles[handle].fd;
crypto/openssh/sftp-server.c
420
handle_to_flags(int handle)
crypto/openssh/sftp-server.c
422
if (handle_is_ok(handle, HANDLE_FILE))
crypto/openssh/sftp-server.c
423
return handles[handle].flags;
crypto/openssh/sftp-server.c
428
handle_update_read(int handle, ssize_t bytes)
crypto/openssh/sftp-server.c
430
if (handle_is_ok(handle, HANDLE_FILE) && bytes > 0)
crypto/openssh/sftp-server.c
431
handles[handle].bytes_read += bytes;
crypto/openssh/sftp-server.c
435
handle_update_write(int handle, ssize_t bytes)
crypto/openssh/sftp-server.c
437
if (handle_is_ok(handle, HANDLE_FILE) && bytes > 0)
crypto/openssh/sftp-server.c
438
handles[handle].bytes_write += bytes;
crypto/openssh/sftp-server.c
442
handle_bytes_read(int handle)
crypto/openssh/sftp-server.c
444
if (handle_is_ok(handle, HANDLE_FILE))
crypto/openssh/sftp-server.c
445
return (handles[handle].bytes_read);
crypto/openssh/sftp-server.c
450
handle_bytes_write(int handle)
crypto/openssh/sftp-server.c
452
if (handle_is_ok(handle, HANDLE_FILE))
crypto/openssh/sftp-server.c
453
return (handles[handle].bytes_write);
crypto/openssh/sftp-server.c
458
handle_close(int handle)
crypto/openssh/sftp-server.c
462
if (handle_is_ok(handle, HANDLE_FILE)) {
crypto/openssh/sftp-server.c
463
ret = close(handles[handle].fd);
crypto/openssh/sftp-server.c
464
free(handles[handle].name);
crypto/openssh/sftp-server.c
465
handle_unused(handle);
crypto/openssh/sftp-server.c
466
} else if (handle_is_ok(handle, HANDLE_DIR)) {
crypto/openssh/sftp-server.c
467
ret = closedir(handles[handle].dirp);
crypto/openssh/sftp-server.c
468
free(handles[handle].name);
crypto/openssh/sftp-server.c
469
handle_unused(handle);
crypto/openssh/sftp-server.c
477
handle_log_close(int handle, char *emsg)
crypto/openssh/sftp-server.c
479
if (handle_is_ok(handle, HANDLE_FILE)) {
crypto/openssh/sftp-server.c
482
handle_to_name(handle),
crypto/openssh/sftp-server.c
483
(unsigned long long)handle_bytes_read(handle),
crypto/openssh/sftp-server.c
484
(unsigned long long)handle_bytes_write(handle));
crypto/openssh/sftp-server.c
488
handle_to_name(handle));
crypto/openssh/sftp-server.c
505
u_char *handle;
crypto/openssh/sftp-server.c
510
if ((r = sshbuf_get_string(queue, &handle, &hlen)) != 0)
crypto/openssh/sftp-server.c
513
*hp = handle_from_string(handle, hlen);
crypto/openssh/sftp-server.c
514
free(handle);
crypto/openssh/sftp-server.c
604
send_handle(u_int32_t id, int handle)
crypto/openssh/sftp-server.c
609
handle_to_string(handle, &string, &hlen);
crypto/openssh/sftp-server.c
610
debug("request %u: sent handle %d", id, handle);
crypto/openssh/sftp-server.c
747
int r, handle, fd, flags, mode, status = SSH2_FX_FAILURE;
crypto/openssh/sftp-server.c
769
handle = handle_new(HANDLE_FILE, name, fd, flags, NULL);
crypto/openssh/sftp-server.c
770
if (handle < 0) {
crypto/openssh/sftp-server.c
773
send_handle(id, handle);
crypto/openssh/sftp-server.c
786
int r, handle, ret, status = SSH2_FX_FAILURE;
crypto/openssh/sftp-server.c
788
if ((r = get_handle(iqueue, &handle)) != 0)
crypto/openssh/sftp-server.c
791
debug3("request %u: close handle %u", id, handle);
crypto/openssh/sftp-server.c
792
handle_log_close(handle, NULL);
crypto/openssh/sftp-server.c
793
ret = handle_close(handle);
crypto/openssh/sftp-server.c
804
int r, handle, fd, ret, status = SSH2_FX_FAILURE;
crypto/openssh/sftp-server.c
807
if ((r = get_handle(iqueue, &handle)) != 0 ||
crypto/openssh/sftp-server.c
813
id, handle_to_name(handle), handle, (unsigned long long)off, len);
crypto/openssh/sftp-server.c
814
if ((fd = handle_to_fd(handle)) == -1)
crypto/openssh/sftp-server.c
828
error_f("seek \"%.100s\": %s", handle_to_name(handle),
crypto/openssh/sftp-server.c
837
error_f("read \"%.100s\": %s", handle_to_name(handle),
crypto/openssh/sftp-server.c
845
handle_update_read(handle, ret);
crypto/openssh/sftp-server.c
858
int r, handle, fd, ret, status;
crypto/openssh/sftp-server.c
861
if ((r = get_handle(iqueue, &handle)) != 0 ||
crypto/openssh/sftp-server.c
867
id, handle_to_name(handle), handle, (unsigned long long)off, len);
crypto/openssh/sftp-server.c
868
fd = handle_to_fd(handle);
crypto/openssh/sftp-server.c
873
if (!(handle_to_flags(handle) & O_APPEND) &&
crypto/openssh/sftp-server.c
876
error_f("seek \"%.100s\": %s", handle_to_name(handle),
crypto/openssh/sftp-server.c
884
handle_to_name(handle), strerror(errno));
crypto/openssh/sftp-server.c
887
handle_update_write(handle, ret);
crypto/openssh/sftp-server.c
941
int fd, r, handle, status = SSH2_FX_FAILURE;
crypto/openssh/sftp-server.c
943
if ((r = get_handle(iqueue, &handle)) != 0)
crypto/openssh/sftp-server.c
946
id, handle_to_name(handle), handle);
crypto/openssh/sftp-server.c
947
fd = handle_to_fd(handle);
crypto/openssh/ssh-pkcs11.c
128
dlclose(p->handle);
crypto/openssh/ssh-pkcs11.c
1531
void *handle = NULL;
crypto/openssh/ssh-pkcs11.c
1556
if ((handle = dlopen(provider_id, RTLD_NOW)) == NULL) {
crypto/openssh/ssh-pkcs11.c
1560
if ((getfunctionlist = dlsym(handle, "C_GetFunctionList")) == NULL)
crypto/openssh/ssh-pkcs11.c
1564
p->handle = handle;
crypto/openssh/ssh-pkcs11.c
1673
if (handle)
crypto/openssh/ssh-pkcs11.c
1674
dlclose(handle);
crypto/openssh/ssh-pkcs11.c
60
void *handle;
crypto/openssh/ssh.c
1901
rfwd->handle, -1);
crypto/openssh/ssh.c
1910
rfwd->handle, rfwd->allocated_port);
crypto/openssh/ssh.c
1913
channel_update_permission(ssh, rfwd->handle, -1);
crypto/openssh/ssh.c
2070
if ((options.remote_forwards[i].handle =
crypto/openssh/sshd.c
569
goto handle;
crypto/openssh/sshd.c
603
handle:
include/arpa/nameser.h
124
#define ns_msg_id(handle) ((handle)._id + 0)
include/arpa/nameser.h
125
#define ns_msg_base(handle) ((handle)._msg + 0)
include/arpa/nameser.h
126
#define ns_msg_end(handle) ((handle)._eom + 0)
include/arpa/nameser.h
127
#define ns_msg_size(handle) ((handle)._eom - (handle)._msg)
include/arpa/nameser.h
128
#define ns_msg_count(handle, section) ((handle)._counts[section] + 0)
include/nsswitch.h
221
void *handle; /* handle from dlopen */
lib/libc/citrus/citrus_module.c
262
_citrus_find_getops(_citrus_module_t handle, const char *modname,
lib/libc/citrus/citrus_module.c
270
p = dlsym((void *)handle, name);
lib/libc/citrus/citrus_module.c
279
void *handle;
lib/libc/citrus/citrus_module.c
298
handle = libc_dlopen(p, RTLD_LAZY);
lib/libc/citrus/citrus_module.c
299
if (!handle) {
lib/libc/citrus/citrus_module.c
304
*rhandle = (_citrus_module_t)handle;
lib/libc/citrus/citrus_module.c
310
_citrus_unload_module(_citrus_module_t handle)
lib/libc/citrus/citrus_module.c
313
if (handle)
lib/libc/citrus/citrus_module.c
314
dlclose((void *)handle);
lib/libc/citrus/citrus_stdenc.c
56
_citrus_module_t handle;
lib/libc/citrus/citrus_stdenc.c
74
ret = _citrus_load_module(&handle, encname);
lib/libc/citrus/citrus_stdenc.c
78
ce->ce_module = handle;
lib/libc/gen/dlfcn.c
104
dlfunc(void * handle __unused, const char * name __unused)
lib/libc/gen/dlfcn.c
112
dlvsym(void *handle __unused,const char *name __unused,
lib/libc/gen/dlfcn.c
128
dlinfo(void *handle __unused, int request __unused, void *p __unused)
lib/libc/gen/dlfcn.c
73
dlclose(void *handle __unused)
lib/libc/gen/dlfcn.c
96
dlsym(void *handle __unused, const char *name __unused)
lib/libc/iconv/iconv.c
105
struct _citrus_iconv *handle;
lib/libc/iconv/iconv.c
107
handle = (struct _citrus_iconv *)ptr;
lib/libc/iconv/iconv.c
108
return ((_iconv_open(out, in, handle) == (iconv_t)-1) ? -1 : 0);
lib/libc/iconv/iconv.c
112
iconv_close(iconv_t handle)
lib/libc/iconv/iconv.c
115
if (ISBADF(handle)) {
lib/libc/iconv/iconv.c
120
_citrus_iconv_close((struct _citrus_iconv *)(void *)handle);
lib/libc/iconv/iconv.c
126
iconv(iconv_t handle, char **in, size_t *szin, char **out, size_t *szout)
lib/libc/iconv/iconv.c
131
if (ISBADF(handle)) {
lib/libc/iconv/iconv.c
136
err = _citrus_iconv_convert((struct _citrus_iconv *)(void *)handle,
lib/libc/iconv/iconv.c
147
__iconv(iconv_t handle, char **in, size_t *szin, char **out,
lib/libc/iconv/iconv.c
153
if (ISBADF(handle)) {
lib/libc/iconv/iconv.c
158
err = _citrus_iconv_convert((struct _citrus_iconv *)(void *)handle,
lib/libc/iconv/iconv.c
58
_iconv_open(const char *out, const char *in, struct _citrus_iconv *handle)
lib/libc/iconv/iconv.c
77
ret = _citrus_iconv_open(&handle, in, out_noslashes);
lib/libc/iconv/iconv.c
80
ret = _citrus_iconv_open(&handle, in, out);
lib/libc/iconv/iconv.c
88
handle->cv_shared->ci_discard_ilseq = strcasestr(out, "//IGNORE");
lib/libc/iconv/iconv.c
89
handle->cv_shared->ci_ilseq_invalid = false;
lib/libc/iconv/iconv.c
90
handle->cv_shared->ci_hooks = NULL;
lib/libc/iconv/iconv.c
92
return ((iconv_t)(void *)handle);
lib/libc/locale/cXXrtomb_iconv.h
59
struct _citrus_iconv *handle;
lib/libc/locale/cXXrtomb_iconv.h
68
handle = &cs->iconv;
lib/libc/locale/cXXrtomb_iconv.h
72
if (_citrus_iconv_open(&handle, UTF_XX_INTERNAL,
lib/libc/locale/cXXrtomb_iconv.h
78
handle->cv_shared->ci_discard_ilseq = true;
lib/libc/locale/cXXrtomb_iconv.h
79
handle->cv_shared->ci_hooks = NULL;
lib/libc/locale/cXXrtomb_iconv.h
94
err = _citrus_iconv_convert(handle, &src, &srcleft, &dst, &dstleft,
lib/libc/locale/mbrtocXX_iconv.h
111
err = _citrus_iconv_convert(handle, &src, &srcleft,
lib/libc/locale/mbrtocXX_iconv.h
62
struct _citrus_iconv *handle;
lib/libc/locale/mbrtocXX_iconv.h
70
handle = &cs->iconv;
lib/libc/locale/mbrtocXX_iconv.h
74
if (_citrus_iconv_open(&handle,
lib/libc/locale/mbrtocXX_iconv.h
80
handle->cv_shared->ci_discard_ilseq = true;
lib/libc/locale/mbrtocXX_iconv.h
81
handle->cv_shared->ci_hooks = NULL;
lib/libc/nameser/ns_parse.c
103
memset(handle, 0x5e, sizeof *handle);
lib/libc/nameser/ns_parse.c
104
handle->_msg = msg;
lib/libc/nameser/ns_parse.c
105
handle->_eom = eom;
lib/libc/nameser/ns_parse.c
108
NS_GET16(handle->_id, msg);
lib/libc/nameser/ns_parse.c
111
NS_GET16(handle->_flags, msg);
lib/libc/nameser/ns_parse.c
115
NS_GET16(handle->_counts[i], msg);
lib/libc/nameser/ns_parse.c
118
if (handle->_counts[i] == 0)
lib/libc/nameser/ns_parse.c
119
handle->_sections[i] = NULL;
lib/libc/nameser/ns_parse.c
122
handle->_counts[i]);
lib/libc/nameser/ns_parse.c
126
handle->_sections[i] = msg;
lib/libc/nameser/ns_parse.c
131
setsection(handle, ns_s_max);
lib/libc/nameser/ns_parse.c
136
ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
lib/libc/nameser/ns_parse.c
144
if (section != handle->_sect)
lib/libc/nameser/ns_parse.c
145
setsection(handle, section);
lib/libc/nameser/ns_parse.c
149
rrnum = handle->_rrnum;
lib/libc/nameser/ns_parse.c
150
if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
lib/libc/nameser/ns_parse.c
152
if (rrnum < handle->_rrnum)
lib/libc/nameser/ns_parse.c
153
setsection(handle, section);
lib/libc/nameser/ns_parse.c
154
if (rrnum > handle->_rrnum) {
lib/libc/nameser/ns_parse.c
155
b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
lib/libc/nameser/ns_parse.c
156
rrnum - handle->_rrnum);
lib/libc/nameser/ns_parse.c
160
handle->_msg_ptr += b;
lib/libc/nameser/ns_parse.c
161
handle->_rrnum = rrnum;
lib/libc/nameser/ns_parse.c
165
b = dn_expand(handle->_msg, handle->_eom,
lib/libc/nameser/ns_parse.c
166
handle->_msg_ptr, rr->name, NS_MAXDNAME);
lib/libc/nameser/ns_parse.c
169
handle->_msg_ptr += b;
lib/libc/nameser/ns_parse.c
170
if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom)
lib/libc/nameser/ns_parse.c
172
NS_GET16(rr->type, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
173
NS_GET16(rr->rr_class, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
179
if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom)
lib/libc/nameser/ns_parse.c
181
NS_GET32(rr->ttl, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
182
NS_GET16(rr->rdlength, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
183
if (handle->_msg_ptr + rr->rdlength > handle->_eom)
lib/libc/nameser/ns_parse.c
185
rr->rdata = handle->_msg_ptr;
lib/libc/nameser/ns_parse.c
186
handle->_msg_ptr += rr->rdlength;
lib/libc/nameser/ns_parse.c
188
if (++handle->_rrnum > handle->_counts[(int)section])
lib/libc/nameser/ns_parse.c
189
setsection(handle, (ns_sect)((int)section + 1));
lib/libc/nameser/ns_parse.c
70
int ns_msg_getflag(ns_msg handle, int flag) {
lib/libc/nameser/ns_parse.c
71
return(((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift);
lib/libc/nameser/ns_parse.c
99
ns_initparse(const u_char *msg, int msglen, ns_msg *handle) {
lib/libc/nameser/ns_print.c
82
ns_sprintrr(const ns_msg *handle, const ns_rr *rr,
lib/libc/nameser/ns_print.c
88
n = ns_sprintrrf(ns_msg_base(*handle), ns_msg_size(*handle),
lib/libc/net/nsdispatch.c
338
void *handle;
lib/libc/net/nsdispatch.c
380
handle = libc_dlopen(NULL, RTLD_LAZY | RTLD_GLOBAL);
lib/libc/net/nsdispatch.c
381
if (handle != NULL) {
lib/libc/net/nsdispatch.c
382
nss_cache_cycle_prevention_func = dlsym(handle,
lib/libc/net/nsdispatch.c
384
dlclose(handle);
lib/libc/net/nsdispatch.c
485
mod.handle = nss_builtin_handle;
lib/libc/net/nsdispatch.c
493
mod.handle = libc_dlopen(buf, RTLD_LOCAL|RTLD_LAZY);
lib/libc/net/nsdispatch.c
494
if (mod.handle == NULL) {
lib/libc/net/nsdispatch.c
503
fn = (nss_module_register_fn)dlfunc(mod.handle,
lib/libc/net/nsdispatch.c
506
dlclose(mod.handle);
lib/libc/net/nsdispatch.c
507
mod.handle = NULL;
lib/libc/net/nsdispatch.c
514
if (mod.handle != nss_builtin_handle)
lib/libc/net/nsdispatch.c
515
dlclose(mod.handle);
lib/libc/net/nsdispatch.c
516
mod.handle = NULL;
lib/libc/net/nsdispatch.c
535
if (mod->handle == NULL)
lib/libc/net/nsdispatch.c
539
if (mod->handle != nss_builtin_handle)
lib/libc/net/nsdispatch.c
540
dlclose(mod->handle);
lib/libc/net/nsdispatch.c
585
if (mod != NULL && mod->handle != NULL) {
lib/libc/resolv/res_debug.c
145
ns_msg *handle, ns_sect section,
lib/libc/resolv/res_debug.c
167
opcode = (ns_opcode) ns_msg_getflag(*handle, ns_f_opcode);
lib/libc/resolv/res_debug.c
170
if (ns_parserr(handle, section, rrnum, &rr)) {
lib/libc/resolv/res_debug.c
239
n = ns_sprintrr(handle, &rr, NULL, NULL,
lib/libc/resolv/res_debug.c
274
ns_msg handle;
lib/libc/resolv/res_debug.c
278
if (ns_initparse(msg, len, &handle) < 0) {
lib/libc/resolv/res_debug.c
282
opcode = ns_msg_getflag(handle, ns_f_opcode);
lib/libc/resolv/res_debug.c
283
rcode = ns_msg_getflag(handle, ns_f_rcode);
lib/libc/resolv/res_debug.c
284
id = ns_msg_id(handle);
lib/libc/resolv/res_debug.c
285
qdcount = ns_msg_count(handle, ns_s_qd);
lib/libc/resolv/res_debug.c
286
ancount = ns_msg_count(handle, ns_s_an);
lib/libc/resolv/res_debug.c
287
nscount = ns_msg_count(handle, ns_s_ns);
lib/libc/resolv/res_debug.c
288
arcount = ns_msg_count(handle, ns_s_ar);
lib/libc/resolv/res_debug.c
301
if (ns_msg_getflag(handle, ns_f_qr))
lib/libc/resolv/res_debug.c
303
if (ns_msg_getflag(handle, ns_f_aa))
lib/libc/resolv/res_debug.c
305
if (ns_msg_getflag(handle, ns_f_tc))
lib/libc/resolv/res_debug.c
307
if (ns_msg_getflag(handle, ns_f_rd))
lib/libc/resolv/res_debug.c
309
if (ns_msg_getflag(handle, ns_f_ra))
lib/libc/resolv/res_debug.c
311
if (ns_msg_getflag(handle, ns_f_z))
lib/libc/resolv/res_debug.c
313
if (ns_msg_getflag(handle, ns_f_ad))
lib/libc/resolv/res_debug.c
315
if (ns_msg_getflag(handle, ns_f_cd))
lib/libc/resolv/res_debug.c
335
do_section(statp, &handle, ns_s_qd, RES_PRF_QUES, file);
lib/libc/resolv/res_debug.c
336
do_section(statp, &handle, ns_s_an, RES_PRF_ANS, file);
lib/libc/resolv/res_debug.c
337
do_section(statp, &handle, ns_s_ns, RES_PRF_AUTH, file);
lib/libc/resolv/res_debug.c
338
do_section(statp, &handle, ns_s_ar, RES_PRF_ADD, file);
lib/libc/rpc/clnt_bcast.c
249
void *handle;
lib/libc/rpc/clnt_bcast.c
296
if ((handle = __rpc_setconf(nettype)) == NULL) {
lib/libc/rpc/clnt_bcast.c
300
while ((nconf = __rpc_getconf(handle)) != NULL) {
lib/libc/rpc/clnt_bcast.c
641
__rpc_endconf(handle);
lib/libc/rpc/clnt_generic.c
198
void *handle;
lib/libc/rpc/clnt_generic.c
215
if ((handle = __rpc_setconf((char *)nettype)) == NULL) {
lib/libc/rpc/clnt_generic.c
221
if ((nconf = __rpc_getconf(handle)) == NULL) {
lib/libc/rpc/clnt_generic.c
266
__rpc_endconf(handle);
lib/libc/rpc/rpc_generic.c
303
struct handle *handle;
lib/libc/rpc/rpc_generic.c
305
handle = (struct handle *) malloc(sizeof (struct handle));
lib/libc/rpc/rpc_generic.c
306
if (handle == NULL) {
lib/libc/rpc/rpc_generic.c
309
switch (handle->nettype = getnettype(nettype)) {
lib/libc/rpc/rpc_generic.c
313
if (!(handle->nhandle = setnetpath()))
lib/libc/rpc/rpc_generic.c
315
handle->nflag = TRUE;
lib/libc/rpc/rpc_generic.c
322
if (!(handle->nhandle = setnetconfig())) {
lib/libc/rpc/rpc_generic.c
326
handle->nflag = FALSE;
lib/libc/rpc/rpc_generic.c
332
return (handle);
lib/libc/rpc/rpc_generic.c
335
free(handle);
lib/libc/rpc/rpc_generic.c
346
struct handle *handle;
lib/libc/rpc/rpc_generic.c
349
handle = (struct handle *)vhandle;
lib/libc/rpc/rpc_generic.c
350
if (handle == NULL) {
lib/libc/rpc/rpc_generic.c
354
if (handle->nflag)
lib/libc/rpc/rpc_generic.c
355
nconf = getnetpath(handle->nhandle);
lib/libc/rpc/rpc_generic.c
357
nconf = getnetconfig(handle->nhandle);
lib/libc/rpc/rpc_generic.c
364
switch (handle->nettype) {
lib/libc/rpc/rpc_generic.c
422
struct handle *handle;
lib/libc/rpc/rpc_generic.c
424
handle = (struct handle *) vhandle;
lib/libc/rpc/rpc_generic.c
425
if (handle == NULL) {
lib/libc/rpc/rpc_generic.c
428
if (handle->nflag) {
lib/libc/rpc/rpc_generic.c
429
endnetpath(handle->nhandle);
lib/libc/rpc/rpc_generic.c
431
endnetconfig(handle->nhandle);
lib/libc/rpc/rpc_generic.c
433
free(handle);
lib/libc/rpc/rpcb_clnt.c
1195
void *handle;
lib/libc/rpc/rpcb_clnt.c
1206
if ((handle = __rpc_setconf("netpath")) == NULL) {
lib/libc/rpc/rpcb_clnt.c
1212
if ((nconf = __rpc_getconf(handle)) == NULL) {
lib/libc/rpc/rpcb_clnt.c
1221
__rpc_endconf(handle);
lib/libc/rpc/rpcb_clnt.c
862
void *handle;
lib/libc/rpc/rpcb_clnt.c
868
if ((handle = __rpc_setconf("datagram_v")) != NULL) {
lib/libc/rpc/rpcb_clnt.c
869
while ((nconf_clts = __rpc_getconf(handle))
lib/libc/rpc/rpcb_clnt.c
879
__rpc_endconf(handle);
lib/libc/rpc/svc_generic.c
127
__rpc_endconf(handle);
lib/libc/rpc/svc_generic.c
84
void *handle;
lib/libc/rpc/svc_generic.c
88
if ((handle = __rpc_setconf(nettype)) == NULL) {
lib/libc/rpc/svc_generic.c
92
while ((nconf = __rpc_getconf(handle)) != NULL) {
lib/libc/rpc/svc_simple.c
107
void *handle;
lib/libc/rpc/svc_simple.c
118
if ((handle = __rpc_setconf(nettype)) == NULL) {
lib/libc/rpc/svc_simple.c
124
while ((nconf = __rpc_getconf(handle)) != NULL) {
lib/libc/rpc/svc_simple.c
227
__rpc_endconf(handle);
lib/libcuse/cuse_lib.c
628
cuse_dev_set_per_file_handle(struct cuse_dev *cdev, void *handle)
lib/libcuse/cuse_lib.c
636
pe->per_file_handle = handle;
lib/libcuse/cuse_lib.c
637
ioctl(f_cuse, CUSE_IOCTL_SET_PFH, &handle);
lib/libdevinfo/devinfo.c
381
devinfo_handle_to_device(devinfo_handle_t handle)
lib/libdevinfo/devinfo.c
388
if (handle == DEVINFO_ROOT_DEVICE) {
lib/libdevinfo/devinfo.c
399
if (dd->dd_dev.dd_handle == handle)
lib/libdevinfo/devinfo.c
408
devinfo_handle_to_resource(devinfo_handle_t handle)
lib/libdevinfo/devinfo.c
413
if (dr->dr_res.dr_handle == handle)
lib/libdevinfo/devinfo.c
422
devinfo_handle_to_rman(devinfo_handle_t handle)
lib/libdevinfo/devinfo.c
427
if (dm->dm_rman.dm_handle == handle)
lib/libdevinfo/devinfo.h
101
*devinfo_handle_to_resource(devinfo_handle_t handle);
lib/libdevinfo/devinfo.h
103
*devinfo_handle_to_rman(devinfo_handle_t handle);
lib/libdevinfo/devinfo.h
99
*devinfo_handle_to_device(devinfo_handle_t handle);
lib/libdmsg/dmsg.h
356
void *handle;
lib/libdmsg/dmsg.h
359
void (*exit_callback)(void *handle);
lib/libdmsg/service.c
80
info->exit_callback(info->handle);
lib/libsdp/sdp.h
596
uint32_t datalen, uint32_t *handle);
lib/libsdp/sdp.h
597
int32_t sdp_unregister_service (void *xss, uint32_t handle);
lib/libsdp/sdp.h
598
int32_t sdp_change_service (void *xss, uint32_t handle,
lib/libsdp/service.c
134
if (handle != NULL) {
lib/libsdp/service.c
135
*handle = (uint32_t) ss->rsp[--len];
lib/libsdp/service.c
136
*handle |= (uint32_t) ss->rsp[--len] << 8;
lib/libsdp/service.c
137
*handle |= (uint32_t) ss->rsp[--len] << 16;
lib/libsdp/service.c
138
*handle |= (uint32_t) ss->rsp[--len] << 24;
lib/libsdp/service.c
145
sdp_unregister_service(void *xss, uint32_t handle)
lib/libsdp/service.c
159
if (sizeof(pdu) + sizeof(handle) > SDP_LOCAL_MTU) {
lib/libsdp/service.c
167
pdu.len = htons(sizeof(handle));
lib/libsdp/service.c
169
handle = htonl(handle);
lib/libsdp/service.c
174
iov[1].iov_base = (void *) &handle;
lib/libsdp/service.c
175
iov[1].iov_len = sizeof(handle);
lib/libsdp/service.c
190
sdp_change_service(void *xss, uint32_t handle,
lib/libsdp/service.c
204
if (sizeof(pdu) + sizeof(handle) + datalen > SDP_LOCAL_MTU) {
lib/libsdp/service.c
211
pdu.len = htons(sizeof(handle) + datalen);
lib/libsdp/service.c
213
handle = htons(handle);
lib/libsdp/service.c
218
iov[1].iov_base = (void *) &handle;
lib/libsdp/service.c
219
iov[1].iov_len = sizeof(handle);
lib/libsdp/service.c
80
uint8_t *data, uint32_t datalen, uint32_t *handle)
lib/libthread_db/libthread_xu.c
385
static td_thrhandle_t handle;
lib/libthread_db/libthread_xu.c
420
handle.th_ta = ta;
lib/libthread_db/libthread_xu.c
421
handle.th_tid = lwp;
lib/libthread_db/libthread_xu.c
422
handle.th_thread = pt;
lib/libthread_db/libthread_xu.c
423
msg->th_p = &handle;
lib/libthread_db/libthread_xu.c
625
static td_thrhandle_t handle;
lib/libthread_db/libthread_xu.c
659
handle.th_ta = ta;
lib/libthread_db/libthread_xu.c
660
handle.th_tid = lwp;
lib/libthread_db/libthread_xu.c
661
handle.th_thread = pt;
lib/libthread_db/libthread_xu.c
662
msg->th_p = &handle;
lib/libusb/libusb.h
518
int libusb_hotplug_register_callback(libusb_context *ctx, libusb_hotplug_event events, libusb_hotplug_flag flags, int vendor_id, int product_id, int dev_class, libusb_hotplug_callback_fn cb_fn, void *user_data, libusb_hotplug_callback_handle *handle);
lib/libusb/libusb.h
519
void libusb_hotplug_deregister_callback(libusb_context *ctx, libusb_hotplug_callback_handle handle);
lib/libusb/libusb10_hotplug.c
177
libusb_hotplug_callback_handle handle;
lib/libusb/libusb10_hotplug.c
188
handle = malloc(sizeof(*handle));
lib/libusb/libusb10_hotplug.c
189
if (handle == NULL)
lib/libusb/libusb10_hotplug.c
198
handle->events = events;
lib/libusb/libusb10_hotplug.c
199
handle->vendor = vendor_id;
lib/libusb/libusb10_hotplug.c
200
handle->product = product_id;
lib/libusb/libusb10_hotplug.c
201
handle->devclass = dev_class;
lib/libusb/libusb10_hotplug.c
202
handle->fn = cb_fn;
lib/libusb/libusb10_hotplug.c
203
handle->user_data = user_data;
lib/libusb/libusb10_hotplug.c
207
if (libusb_hotplug_filter(ctx, handle, adev,
lib/libusb/libusb10_hotplug.c
210
free(handle);
lib/libusb/libusb10_hotplug.c
211
handle = NULL;
lib/libusb/libusb10_hotplug.c
215
if (handle != NULL)
lib/libusb/libusb10_hotplug.c
216
TAILQ_INSERT_TAIL(&ctx->hotplug_cbh, handle, entry);
lib/libusb/libusb10_hotplug.c
220
*phandle = handle;
lib/libusb/libusb10_hotplug.c
225
libusb_hotplug_callback_handle handle)
lib/libusb/libusb10_hotplug.c
229
if (ctx == NULL || handle == NULL)
lib/libusb/libusb10_hotplug.c
233
TAILQ_REMOVE(&ctx->hotplug_cbh, handle, entry);
lib/libusb/libusb10_hotplug.c
236
free(handle);
libexec/rtld-elf/rtld.c
1449
dlcheck(void *handle)
libexec/rtld-elf/rtld.c
1454
if (obj == (Obj_Entry *) handle)
libexec/rtld-elf/rtld.c
1458
_rtld_error("Invalid shared object handle %p", handle);
libexec/rtld-elf/rtld.c
284
void *handle;
libexec/rtld-elf/rtld.c
2949
dlclose(void *handle)
libexec/rtld-elf/rtld.c
2955
root = dlcheck(handle);
libexec/rtld-elf/rtld.c
2960
LD_UTRACE(UTRACE_DLCLOSE_START, handle, NULL, 0, root->dl_refcount,
libexec/rtld-elf/rtld.c
297
ld_utrace_log(int event, void *handle, void *mapbase, size_t mapsize,
libexec/rtld-elf/rtld.c
2982
LD_UTRACE(UTRACE_DLCLOSE_STOP, handle, NULL, 0, 0, NULL);
libexec/rtld-elf/rtld.c
307
ut.handle = handle;
libexec/rtld-elf/rtld.c
3184
do_dlsym(void *handle, const char *name, void *retaddr, const Ver_Entry *ve,
libexec/rtld-elf/rtld.c
3205
if (handle == NULL || handle == RTLD_NEXT ||
libexec/rtld-elf/rtld.c
3206
handle == RTLD_DEFAULT || handle == RTLD_SELF ||
libexec/rtld-elf/rtld.c
3207
handle == RTLD_ALL) {
libexec/rtld-elf/rtld.c
3209
if (handle != RTLD_ALL) {
libexec/rtld-elf/rtld.c
3218
if (handle == NULL) { /* Just the caller's shared object. */
libexec/rtld-elf/rtld.c
3224
} else if (handle == RTLD_NEXT || /* Objects after caller's */
libexec/rtld-elf/rtld.c
3225
handle == RTLD_SELF || /* ... caller included */
libexec/rtld-elf/rtld.c
3226
handle == RTLD_ALL) { /* All Objects */
libexec/rtld-elf/rtld.c
3227
if (handle == RTLD_NEXT)
libexec/rtld-elf/rtld.c
3254
assert(handle == RTLD_DEFAULT);
libexec/rtld-elf/rtld.c
3262
if ((obj = dlcheck(handle)) == NULL) {
libexec/rtld-elf/rtld.c
3324
dlsym(void *handle, const char *name)
libexec/rtld-elf/rtld.c
3326
return do_dlsym(handle, name, __builtin_return_address(0), NULL,
libexec/rtld-elf/rtld.c
3331
dlfunc(void *handle, const char *name)
libexec/rtld-elf/rtld.c
3338
rv.d = do_dlsym(handle, name, __builtin_return_address(0), NULL,
libexec/rtld-elf/rtld.c
3344
dlvsym(void *handle, const char *name, const char *version)
libexec/rtld-elf/rtld.c
3352
return do_dlsym(handle, name, __builtin_return_address(0), &ventry,
libexec/rtld-elf/rtld.c
3431
dlinfo(void *handle, int request, void *p)
libexec/rtld-elf/rtld.c
3439
if (handle == NULL || handle == RTLD_SELF) {
libexec/rtld-elf/rtld.c
3446
obj = dlcheck(handle);
libexec/rtld-elf/rtld_lock.h
44
void (*at_fork)(void *handle);
sbin/hammer2/cmd_service.c
920
info->handle = dc;
sbin/hammer2/cmd_service.c
927
disk_disconnect(void *handle)
sbin/hammer2/cmd_service.c
929
struct diskcon *dc = handle;
sbin/hammer2/cmd_service.c
95
static void disk_disconnect(void *handle);
sbin/init/init.c
155
static void handle(sig_t, ...);
sbin/init/init.c
332
handle(badsys, SIGSYS, 0);
sbin/init/init.c
333
handle(disaster, SIGABRT, SIGFPE, SIGILL, SIGSEGV,
sbin/init/init.c
335
handle(transition_handler, SIGHUP, SIGINT, SIGTERM, SIGTSTP,
sbin/init/init.c
337
handle(alrm_handler, SIGALRM, 0);
stand/boot/common/fs.h
217
int32_t handle; /* reference to filesystem to be changed */
stand/boot/efi/libefi/efipart.c
134
&handle);
stand/boot/efi/libefi/efipart.c
138
hout[nout] = handle;
stand/boot/efi/libefi/efipart.c
67
EFI_HANDLE *hin, *hout, *aliases, handle;
stand/boot/efi/libefi/handles.c
108
if (entry[idx].handle != h)
stand/boot/efi/libefi/handles.c
34
EFI_HANDLE handle;
stand/boot/efi/libefi/handles.c
56
entry[idx].handle = handles[unit];
stand/boot/efi/libefi/handles.c
77
return (entry[idx].handle);
stand/boot/efi/libefi/handles.c
88
if (entry[idx].handle != h && entry[idx].alias != h)
stand/boot/efi/libefi/libefi.c
52
OpenProtocolByHandle(EFI_HANDLE handle, EFI_GUID *protocol, void **interface)
stand/boot/efi/libefi/libefi.c
54
return (BS->OpenProtocol(handle, protocol, interface, IH, NULL,
sys/bus/gpio/gpio_acpi/gpio_acpi.c
189
ACPI_HANDLE handle;
sys/bus/gpio/gpio_acpi/gpio_acpi.c
192
handle = acpi_get_handle(sc->parent);
sys/bus/gpio/gpio_acpi/gpio_acpi.c
194
s = AcpiInstallAddressSpaceHandler(handle, ACPI_ADR_SPACE_GPIO,
sys/bus/gpio/gpio_acpi/gpio_acpi.c
205
ACPI_HANDLE handle;
sys/bus/gpio/gpio_acpi/gpio_acpi.c
208
handle = acpi_get_handle(sc->parent);
sys/bus/gpio/gpio_acpi/gpio_acpi.c
209
s = AcpiRemoveAddressSpaceHandler(handle, ACPI_ADR_SPACE_GPIO,
sys/bus/gpio/gpio_acpi/gpio_acpi.c
313
ACPI_HANDLE handle, h;
sys/bus/gpio/gpio_acpi/gpio_acpi.c
317
handle = acpi_get_handle(device_get_parent(info->dev));
sys/bus/gpio/gpio_acpi/gpio_acpi.c
323
if (info->pin <= 255 && ACPI_SUCCESS(AcpiGetHandle(handle, buf, &h))) {
sys/bus/gpio/gpio_acpi/gpio_acpi.c
324
s = AcpiEvaluateObject(handle, buf, NULL, NULL);
sys/bus/gpio/gpio_acpi/gpio_acpi.c
335
s = AcpiEvaluateObject(handle, "_EVT", &arglist, NULL);
sys/bus/gpio/gpio_acpi/gpio_acpi.c
393
ACPI_HANDLE handle = acpi_get_handle(sc->parent);
sys/bus/gpio/gpio_acpi/gpio_acpi.c
405
s = AcpiGetEventResources(handle, &b);
sys/bus/gpio/gpio_intel/gpio_cherryview.c
183
ACPI_HANDLE handle;
sys/bus/gpio/gpio_intel/gpio_cherryview.c
185
handle = acpi_get_handle(sc->dev);
sys/bus/gpio/gpio_intel/gpio_cherryview.c
186
if (acpi_MatchUid(handle, "1")) {
sys/bus/gpio/gpio_intel/gpio_cherryview.c
188
} else if (acpi_MatchUid(handle, "2")) {
sys/bus/gpio/gpio_intel/gpio_cherryview.c
190
} else if (acpi_MatchUid(handle, "3")) {
sys/bus/gpio/gpio_intel/gpio_cherryview.c
192
} else if (acpi_MatchUid(handle, "4")) {
sys/bus/smbus/smbacpi/smbacpi.c
108
ACPI_HANDLE handle;
sys/bus/smbus/smbacpi/smbacpi.c
111
handle = acpi_get_handle(sc->parent);
sys/bus/smbus/smbacpi/smbacpi.c
112
s = AcpiRemoveAddressSpaceHandler(handle, ACPI_ADR_SPACE_GSBUS,
sys/bus/smbus/smbacpi/smbacpi.c
92
ACPI_HANDLE handle;
sys/bus/smbus/smbacpi/smbacpi.c
95
handle = acpi_get_handle(sc->parent);
sys/bus/smbus/smbacpi/smbacpi.c
97
s = AcpiInstallAddressSpaceHandler(handle, ACPI_ADR_SPACE_GSBUS,
sys/cpu/x86_64/include/bus_dma.h
123
bus_space_handle_t handle,
sys/cpu/x86_64/include/bus_dma.h
127
bus_space_handle_t handle,
sys/cpu/x86_64/include/bus_dma.h
131
bus_space_handle_t handle,
sys/cpu/x86_64/include/bus_dma.h
135
bus_space_read_1(bus_space_tag_t tag, bus_space_handle_t handle,
sys/cpu/x86_64/include/bus_dma.h
140
return (inb(handle + offset));
sys/cpu/x86_64/include/bus_dma.h
141
return (*(volatile u_int8_t *)(handle + offset));
sys/cpu/x86_64/include/bus_dma.h
145
bus_space_read_2(bus_space_tag_t tag, bus_space_handle_t handle,
sys/cpu/x86_64/include/bus_dma.h
150
return (inw(handle + offset));
sys/cpu/x86_64/include/bus_dma.h
151
return (*(volatile u_int16_t *)(handle + offset));
sys/cpu/x86_64/include/bus_dma.h
155
bus_space_read_4(bus_space_tag_t tag, bus_space_handle_t handle,
sys/cpu/x86_64/include/bus_dma.h
160
return (inl(handle + offset));
sys/cpu/x86_64/include/bus_dma.h
161
return (*(volatile u_int32_t *)(handle + offset));
sys/cpu/x86_64/include/bus_dma.h
166
bus_space_read_8(bus_space_tag_t tag, bus_space_handle_t handle,
sys/cpu/x86_64/include/bus_dma.h
171
return (*(volatile u_int64_t *)(handle + offset));
sys/cpu/x86_64/include/bus_dma.h
88
bus_space_kva(bus_space_tag_t tag, bus_space_handle_t handle, bus_size_t offset)
sys/cpu/x86_64/include/bus_dma.h
92
return ((void *)(handle + offset));
sys/dev/acpica/acpi.c
1296
acpi_eval_osc(device_t dev, ACPI_HANDLE handle, const char *uuidstr,
sys/dev/acpica/acpi.c
1326
status = AcpiEvaluateObject(handle, "_OSC", &arglist, &retbuf);
sys/dev/acpica/acpi.c
143
static void acpi_probe_order(ACPI_HANDLE handle, int *order);
sys/dev/acpica/acpi.c
1460
ACPI_HANDLE handle;
sys/dev/acpica/acpi.c
1466
handle = acpi_get_handle(dev);
sys/dev/acpica/acpi.c
147
static ACPI_STATUS acpi_probe_child(ACPI_HANDLE handle, UINT32 level,
sys/dev/acpica/acpi.c
1474
if (handle == NULL ||
sys/dev/acpica/acpi.c
1475
acpi_MatchHid(handle, "PNP0500") ||
sys/dev/acpica/acpi.c
1476
acpi_MatchHid(handle, "PNP0501") ||
sys/dev/acpica/acpi.c
1477
acpi_MatchHid(handle, "PNP0502") ||
sys/dev/acpica/acpi.c
1478
acpi_MatchHid(handle, "PNP0510") ||
sys/dev/acpica/acpi.c
1479
acpi_MatchHid(handle, "PNP0511"))
sys/dev/acpica/acpi.c
1488
status = acpi_GetInteger(handle, sxd, dstate);
sys/dev/acpica/acpi.c
1490
status = AcpiEvaluateObject(handle, sxd, NULL, NULL);
sys/dev/acpica/acpi.c
152
static int acpi_wake_sleep_prep(ACPI_HANDLE handle, int sstate);
sys/dev/acpica/acpi.c
153
static int acpi_wake_run_prep(ACPI_HANDLE handle, int sstate);
sys/dev/acpica/acpi.c
1749
acpi_probe_order(ACPI_HANDLE handle, int *order)
sys/dev/acpica/acpi.c
1759
AcpiGetType(handle, &type);
sys/dev/acpica/acpi.c
1760
if (acpi_MatchHid(handle, "PNP0C01") || acpi_MatchHid(handle, "PNP0C02"))
sys/dev/acpica/acpi.c
1762
else if (acpi_MatchHid(handle, "PNP0C09"))
sys/dev/acpica/acpi.c
1764
else if (acpi_MatchHid(handle, "PNP0C0F"))
sys/dev/acpica/acpi.c
1818
acpi_probe_child(ACPI_HANDLE handle, UINT32 level, void *context, void **status)
sys/dev/acpica/acpi.c
1833
if (acpi_avoid(handle))
sys/dev/acpica/acpi.c
1837
if (ACPI_SUCCESS(AcpiGetType(handle, &type))) {
sys/dev/acpica/acpi.c
1838
handle_str = acpi_name(handle);
sys/dev/acpica/acpi.c
1851
if (acpi_parse_prw(handle, &prw) == 0)
sys/dev/acpica/acpi.c
1852
AcpiSetupGpeForWake(handle, prw.gpe_handle, prw.gpe_bit);
sys/dev/acpica/acpi.c
1868
acpi_probe_order(handle, &order);
sys/dev/acpica/acpi.c
1874
acpi_set_handle(child, handle);
sys/dev/acpica/acpi.c
1875
AcpiAttachData(handle, acpi_fake_objhandler, child);
sys/dev/acpica/acpi.c
1888
if (acpi_MatchHid(handle, "PNP0C0F"))
sys/dev/acpica/acpi.c
1894
if (ACPI_SUCCESS(AcpiGetHandle(handle, "_DCK", &h)))
sys/dev/acpica/acpi.c
1908
acpi_parse_resources(child, handle, &acpi_res_parse_set, NULL);
sys/dev/acpica/acpi.c
2145
acpi_SetInteger(ACPI_HANDLE handle, char *path, UINT32 number)
sys/dev/acpica/acpi.c
2155
return (AcpiEvaluateObject(handle, path, &args, NULL));
sys/dev/acpica/acpi.c
2162
acpi_GetInteger(ACPI_HANDLE handle, char *path, UINT32 *number)
sys/dev/acpica/acpi.c
2168
if (handle == NULL)
sys/dev/acpica/acpi.c
2169
handle = ACPI_ROOT_OBJECT;
sys/dev/acpica/acpi.c
2177
status = AcpiEvaluateObject(handle, path, NULL, &buf);
sys/dev/acpica/acpi.c
2197
status = AcpiEvaluateObject(handle, path, NULL, &buf);
sys/dev/acpica/acpi.c
2730
acpi_wake_sleep_prep(ACPI_HANDLE handle, int sstate)
sys/dev/acpica/acpi.c
2736
if (acpi_parse_prw(handle, &prw) != 0)
sys/dev/acpica/acpi.c
2738
dev = acpi_get_device(handle);
sys/dev/acpica/acpi.c
2751
acpi_name(handle), sstate);
sys/dev/acpica/acpi.c
2753
acpi_pwr_wake_enable(handle, 1);
sys/dev/acpica/acpi.c
2754
acpi_SetInteger(handle, "_PSW", 1);
sys/dev/acpica/acpi.c
2757
acpi_name(handle), sstate);
sys/dev/acpica/acpi.c
2764
acpi_wake_run_prep(ACPI_HANDLE handle, int sstate)
sys/dev/acpica/acpi.c
2773
if (acpi_parse_prw(handle, &prw) != 0)
sys/dev/acpica/acpi.c
2775
dev = acpi_get_device(handle);
sys/dev/acpica/acpi.c
2787
device_printf(dev, "run_prep re-enabled %s\n", acpi_name(handle));
sys/dev/acpica/acpi.c
2789
acpi_SetInteger(handle, "_PSW", 0);
sys/dev/acpica/acpi.c
2790
acpi_pwr_wake_enable(handle, 0);
sys/dev/acpica/acpi.c
2793
acpi_name(handle));
sys/dev/acpica/acpi.c
2800
acpi_wake_prep(ACPI_HANDLE handle, UINT32 level, void *context, void **status)
sys/dev/acpica/acpi.c
2807
acpi_wake_sleep_prep(handle, sstate);
sys/dev/acpica/acpi.c
2809
acpi_wake_run_prep(handle, sstate);
sys/dev/acpica/acpi.c
3074
acpi_name(ACPI_HANDLE handle)
sys/dev/acpica/acpi.c
3082
if (handle && ACPI_SUCCESS(AcpiGetName(handle, ACPI_FULL_PATHNAME, &buf)))
sys/dev/acpica/acpi.c
3092
acpi_avoid(ACPI_HANDLE handle)
sys/dev/acpica/acpi.c
3097
np = acpi_name(handle);
sys/dev/acpica/acpi.c
804
ACPI_HANDLE handle;
sys/dev/acpica/acpi.c
815
handle = acpi_get_handle(child);
sys/dev/acpica/acpi.c
816
if (handle)
sys/dev/acpica/acpi.c
817
AcpiEvaluateObject(handle, "_S0D", NULL, NULL);
sys/dev/acpica/acpi_acad.c
166
ACPI_HANDLE handle;
sys/dev/acpica/acpi_acad.c
170
handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_acad.c
193
AcpiInstallNotifyHandler(handle, ACPI_ALL_NOTIFY,
sys/dev/acpica/acpi_asus/acpi_asus.c
1021
status = acpi_SetInteger(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1025
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1040
status = acpi_SetInteger(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1052
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1055
status = acpi_SetInteger(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1066
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1076
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1086
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1106
status = acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1112
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1117
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1127
status = acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1152
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1160
status = acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1169
status = acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
1177
status = acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
118
ACPI_HANDLE handle;
sys/dev/acpica/acpi_asus/acpi_asus.c
1185
status = acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_asus/acpi_asus.c
568
sc->handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_asus/acpi_asus.c
579
AcpiEvaluateObject(sc->handle, "INIT", &Args, &Buf);
sys/dev/acpica/acpi_asus/acpi_asus.c
804
AcpiEvaluateObject(sc->handle, "BSTS", NULL, NULL);
sys/dev/acpica/acpi_asus/acpi_asus.c
810
AcpiInstallNotifyHandler(sc->handle, ACPI_SYSTEM_NOTIFY,
sys/dev/acpica/acpi_asus/acpi_asus.c
819
NULL : sc->handle), sc->model->lcdd, &(sc->lcdd_handle));
sys/dev/acpica/acpi_asus/acpi_asus.c
860
AcpiRemoveNotifyHandler(sc->handle, ACPI_SYSTEM_NOTIFY,
sys/dev/acpica/acpi_asus/acpi_asus.c
918
acpi_SetInteger(sc->handle, method, state);
sys/dev/acpica/acpi_cmbat.c
126
ACPI_HANDLE handle, h;
sys/dev/acpica/acpi_cmbat.c
130
handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_cmbat.c
137
sc->bix_present = ACPI_SUCCESS(AcpiGetHandle(handle, "_BIX", &h));
sys/dev/acpica/acpi_cmbat.c
151
AcpiInstallNotifyHandler(handle, ACPI_ALL_NOTIFY,
sys/dev/acpica/acpi_cmbat.c
162
ACPI_HANDLE handle;
sys/dev/acpica/acpi_cmbat.c
164
handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_cmbat.c
165
AcpiRemoveNotifyHandler(handle, ACPI_ALL_NOTIFY, acpi_cmbat_notify_handler);
sys/dev/acpica/acpi_cpu.c
110
ACPI_HANDLE handle;
sys/dev/acpica/acpi_cpu.c
117
handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_cpu.c
124
status = AcpiEvaluateObject(handle, NULL, NULL, &buf);
sys/dev/acpica/acpi_cpu.c
159
ACPI_HANDLE handle;
sys/dev/acpica/acpi_cpu.c
166
handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_cpu.c
209
status = acpi_eval_osc(dev, handle,
sys/dev/acpica/acpi_cpu.c
227
AcpiEvaluateObject(handle, "_PDC", &arglist, NULL);
sys/dev/acpica/acpi_cpu.c
238
acpi_set_handle(child, handle);
sys/dev/acpica/acpi_cpu.c
245
acpi_set_handle(child, handle);
sys/dev/acpica/acpi_cpu.c
252
AcpiInstallNotifyHandler(handle, ACPI_DEVICE_NOTIFY, acpi_cpu_notify, sc);
sys/dev/acpica/acpi_cpu.c
325
acpi_cpu_notify(ACPI_HANDLE handle __unused, UINT32 notify, void *xsc)
sys/dev/acpica/acpi_cpu_pstate.c
254
ACPI_HANDLE handle;
sys/dev/acpica/acpi_cpu_pstate.c
265
handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_cpu_pstate.c
279
status = AcpiEvaluateObject(handle, "_PSD", NULL, &buf);
sys/dev/acpica/acpi_cpu_pstate.c
290
status = AcpiEvaluateObject(handle, "_PCT", NULL, &buf);
sys/dev/acpica/acpi_cpu_pstate.c
312
status = AcpiEvaluateObject(handle, "_PSS", NULL, &buf);
sys/dev/acpica/acpi_dock/acpi_dock.c
154
acpi_dock_is_ejd_device(ACPI_HANDLE dock_handle, ACPI_HANDLE handle)
sys/dev/acpica/acpi_dock/acpi_dock.c
165
ret_status = AcpiEvaluateObject(handle, "_EJD", NULL, &ejd_buffer);
sys/dev/acpica/acpi_dock/acpi_dock.c
200
acpi_dock_insert_child(ACPI_HANDLE handle, UINT32 level, void *context,
sys/dev/acpica/acpi_dock/acpi_dock.c
209
if (!acpi_dock_is_ejd_device(dock_handle, handle))
sys/dev/acpica/acpi_dock/acpi_dock.c
213
"inserting device for %s\n", acpi_name(handle));
sys/dev/acpica/acpi_dock/acpi_dock.c
226
AcpiNsWalkNamespace(ACPI_TYPE_ANY, handle,
sys/dev/acpica/acpi_dock/acpi_dock.c
230
dev = acpi_get_device(handle);
sys/dev/acpica/acpi_dock/acpi_dock.c
233
acpi_name(handle));
sys/dev/acpica/acpi_dock/acpi_dock.c
284
acpi_dock_eject_child(ACPI_HANDLE handle, UINT32 level, void *context,
sys/dev/acpica/acpi_dock/acpi_dock.c
293
if (!acpi_dock_is_ejd_device(dock_handle, handle))
sys/dev/acpica/acpi_dock/acpi_dock.c
297
"ejecting device for %s\n", acpi_name(handle));
sys/dev/acpica/acpi_dock/acpi_dock.c
299
dev = acpi_get_device(handle);
sys/dev/acpica/acpi_dock/acpi_dock.c
306
acpi_SetInteger(handle, "_EJ0", 0);
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
107
ACPI_HANDLE handle;
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
250
sc->handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
253
AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
291
status = acpi_SetInteger(sc->handle, "SMOU", 1);
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
346
AcpiRemoveNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
503
status = acpi_GetInteger(sc->handle, nv.name, &nv.value);
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
566
status = acpi_SetInteger(sc->handle, control, value);
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
587
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
596
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
603
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
611
if (sc->gbls.exists || ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
618
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
625
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
632
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
639
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
670
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
684
acpi_UserNotify("FUJITSU", sc->handle, FN_MUTE);
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
690
acpi_UserNotify("FUJITSU", sc->handle, FN_VOLUME);
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
696
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
711
acpi_UserNotify("FUJITSU", sc->handle, FN_POINTER_ENABLE);
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
720
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
734
acpi_UserNotify("FUJITSU", sc->handle, FN_LCD_BRIGHTNESS);
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
743
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
755
acpi_UserNotify("FUJITSU", sc->handle, FN_LCD_BRIGHTNESS);
sys/dev/acpica/acpi_hpet.c
424
sc->handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_hpet.c
67
ACPI_HANDLE handle;
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
157
sc->handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
177
status = AcpiEvaluateObject(sc->handle, "", NULL, NULL);
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
186
status = AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
197
acpi_panasonic_power_profile, sc->handle, 0);
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
213
AcpiRemoveNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
231
hkey_sound_mute(sc->handle, HKEY_SET, &mute);
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
249
error = handler(sc->handle, HKEY_GET, &arg);
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
259
error = handler(sc->handle, HKEY_SET, &arg);
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
503
ACPI_HANDLE handle;
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
506
handle = (ACPI_HANDLE)arg;
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
510
hkey_lcd_brightness(handle, HKEY_GET, &brightness);
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
511
hkey_lcd_brightness(handle, HKEY_SET, &brightness);
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
67
ACPI_HANDLE handle;
sys/dev/acpica/acpi_pci.c
201
acpi_pci_update_device(ACPI_HANDLE handle, device_t pci_child)
sys/dev/acpica/acpi_pci.c
210
child = acpi_get_device(handle);
sys/dev/acpica/acpi_pci.c
228
acpi_name(handle)));
sys/dev/acpica/acpi_pci.c
235
status = AcpiDetachData(handle, acpi_fake_objhandler);
sys/dev/acpica/acpi_pci.c
238
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_pci.c
239
status = AcpiAttachData(handle, acpi_fake_objhandler, pci_child);
sys/dev/acpica/acpi_pci.c
242
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_pci.c
246
acpi_pci_save_handle(ACPI_HANDLE handle, UINT32 level, void *context,
sys/dev/acpica/acpi_pci.c
256
if (ACPI_FAILURE(acpi_GetInteger(handle, "_ADR", &address)))
sys/dev/acpica/acpi_pci.c
266
dinfo->ap_handle = handle;
sys/dev/acpica/acpi_pci.c
267
acpi_pci_update_device(handle, devlist[i]);
sys/dev/acpica/acpi_pci.c
74
static ACPI_STATUS acpi_pci_save_handle(ACPI_HANDLE handle, UINT32 level,
sys/dev/acpica/acpi_pci.c
78
static void acpi_pci_update_device(ACPI_HANDLE handle, device_t pci_child);
sys/dev/acpica/acpi_pci_link.c
135
acpi_short_name(ACPI_HANDLE handle, char *buffer, size_t buflen)
sys/dev/acpica/acpi_pci_link.c
141
return (AcpiGetName(handle, ACPI_SINGLE_NAME, &buf));
sys/dev/acpica/acpi_pcib.c
111
if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, entry->Source, &handle)))
sys/dev/acpica/acpi_pcib.c
113
child = acpi_get_device(handle);
sys/dev/acpica/acpi_pcib.c
121
acpi_name(handle));
sys/dev/acpica/acpi_pcib.c
94
ACPI_HANDLE handle;
sys/dev/acpica/acpi_pvpanic/acpi_pvpanic.c
108
sc->handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_pvpanic/acpi_pvpanic.c
53
ACPI_HANDLE handle;
sys/dev/acpica/acpi_resource.c
416
acpi_parse_resources(device_t dev, ACPI_HANDLE handle,
sys/dev/acpica/acpi_resource.c
427
status = AcpiWalkResources(handle, "_CRS", acpi_parse_resource, &arc);
sys/dev/acpica/acpi_resource.c
430
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
1010
if ((ACPI_SUCCESS(AcpiGetHandle(sc->handle, "\\UCMS", &sc->light_handle)) ||
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
1011
ACPI_SUCCESS(AcpiGetHandle(sc->handle, "\\CMOS", &sc->light_handle)) ||
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
1012
ACPI_SUCCESS(AcpiGetHandle(sc->handle, "\\CMS", &sc->light_handle))) &&
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
1019
else if (ACPI_SUCCESS(AcpiGetHandle(sc->handle, "\\LGHT", &sc->light_handle))) {
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
1041
if (ACPI_SUCCESS(acpi_GetInteger(sc->handle, THINKPAD_NAME_WLAN_BT_GET, &dummy)))
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
1051
(ACPI_SUCCESS(AcpiGetHandle(sc->handle, "GFAN", &sc->fan_handle)) ||
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
1052
ACPI_SUCCESS(AcpiGetHandle(sc->handle, "\\FSPD", &sc->fan_handle)));
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
1262
return acpi_SetInteger(sc->handle, THINKPAD_NAME_WLAN_BT_SET, val);
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
1314
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
161
ACPI_HANDLE handle;
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
438
status = AcpiEvaluateObject(sc->handle, "MMTS", &input, NULL);
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
476
sc->handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
496
sc->events_mask_supported = ACPI_SUCCESS(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
505
if (ACPI_SUCCESS (acpi_GetInteger(sc->handle, "MHKV", &hkey))) {
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
510
if (ACPI_FAILURE(acpi_GetInteger(sc->handle,
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
525
if (ACPI_SUCCESS(AcpiEvaluateObject (sc->handle,
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
582
AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
649
AcpiRemoveNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY, acpi_thinkpad_notify);
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
710
status = AcpiEvaluateObject(sc->handle,
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
762
acpi_GetInteger(sc->handle, THINKPAD_NAME_EVENTS_STATUS_GET, &val);
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
767
acpi_GetInteger(sc->handle, THINKPAD_NAME_EVENTS_MASK_GET, &val);
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
830
acpi_GetInteger(sc->handle, THINKPAD_NAME_WLAN_BT_GET, &val);
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
836
acpi_GetInteger(sc->handle, THINKPAD_NAME_WLAN_BT_GET, &val);
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
905
status = acpi_SetInteger(sc->handle, THINKPAD_NAME_EVENTS_STATUS_SET, arg);
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
997
if (ACPI_SUCCESS(AcpiGetHandle(sc->handle, "MMTS", &sc->mic_led_handle)))
sys/dev/acpica/acpi_toshiba/acpi_toshiba.c
126
ACPI_HANDLE handle;
sys/dev/acpica/acpi_toshiba/acpi_toshiba.c
241
sc->handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_toshiba/acpi_toshiba.c
259
status = AcpiEvaluateObject(sc->handle, METHOD_HCI_ENABLE,
sys/dev/acpica/acpi_toshiba/acpi_toshiba.c
266
AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_toshiba/acpi_toshiba.c
280
AcpiRemoveNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_toshiba/acpi_toshiba.c
302
error = handler(sc->handle, HCI_GET, &arg);
sys/dev/acpica/acpi_toshiba/acpi_toshiba.c
312
error = handler(sc->handle, HCI_SET, &arg);
sys/dev/acpica/acpi_video/acpi_video.c
1012
vo_get_brightness(ACPI_HANDLE handle)
sys/dev/acpica/acpi_video/acpi_video.c
1018
status = acpi_GetInteger(handle, "_BQC", &level);
sys/dev/acpica/acpi_video/acpi_video.c
1020
kprintf("can't evaluate %s._BQC - %s\n", acpi_name(handle),
sys/dev/acpica/acpi_video/acpi_video.c
1031
vo_set_brightness(ACPI_HANDLE handle, int level)
sys/dev/acpica/acpi_video/acpi_video.c
1036
status = acpi_SetInteger(handle, "_BCM", level);
sys/dev/acpica/acpi_video/acpi_video.c
1039
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_video/acpi_video.c
1043
vo_get_device_status(ACPI_HANDLE handle)
sys/dev/acpica/acpi_video/acpi_video.c
1050
status = acpi_GetInteger(handle, "_DCS", &dcs);
sys/dev/acpica/acpi_video/acpi_video.c
1053
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_video/acpi_video.c
1059
vo_get_graphics_state(ACPI_HANDLE handle)
sys/dev/acpica/acpi_video/acpi_video.c
1065
status = acpi_GetInteger(handle, "_DGS", &dgs);
sys/dev/acpica/acpi_video/acpi_video.c
1068
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_video/acpi_video.c
1074
vo_set_device_state(ACPI_HANDLE handle, UINT32 state)
sys/dev/acpica/acpi_video/acpi_video.c
1079
status = acpi_SetInteger(handle, "_DSS", state);
sys/dev/acpica/acpi_video/acpi_video.c
1082
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_video/acpi_video.c
263
sc->handle = acpi_get_handle(dev);
sys/dev/acpica/acpi_video/acpi_video.c
266
AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_video/acpi_video.c
279
vid_set_switch_policy(sc->handle, DOS_SWITCH_BY_OSPM |
sys/dev/acpica/acpi_video/acpi_video.c
295
vid_set_switch_policy(sc->handle, DOS_SWITCH_BY_BIOS);
sys/dev/acpica/acpi_video/acpi_video.c
297
AcpiRemoveNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_video/acpi_video.c
326
if ((vo_get_device_status(vo->handle) & DCS_ACTIVE) == 0)
sys/dev/acpica/acpi_video/acpi_video.c
329
level = vo_get_brightness(vo->handle);
sys/dev/acpica/acpi_video/acpi_video.c
331
vo_set_brightness(vo->handle, level);
sys/dev/acpica/acpi_video/acpi_video.c
345
vid_set_switch_policy(sc->handle, DOS_SWITCH_BY_BIOS);
sys/dev/acpica/acpi_video/acpi_video.c
351
acpi_video_notify_handler(ACPI_HANDLE handle, UINT32 notify, void *context)
sys/dev/acpica/acpi_video/acpi_video.c
367
dss = vo_get_graphics_state(vo->handle);
sys/dev/acpica/acpi_video/acpi_video.c
368
dcs = vo_get_device_status(vo->handle);
sys/dev/acpica/acpi_video/acpi_video.c
376
lasthand = vo->handle;
sys/dev/acpica/acpi_video/acpi_video.c
387
vo->handle = NULL;
sys/dev/acpica/acpi_video/acpi_video.c
390
if (vo->handle == NULL) {
sys/dev/acpica/acpi_video/acpi_video.c
420
vo_set_brightness(vo->handle,
sys/dev/acpica/acpi_video/acpi_video.c
429
acpi_video_bind_outputs_subr(ACPI_HANDLE handle, UINT32 adr, void *context)
sys/dev/acpica/acpi_video/acpi_video.c
439
acpi_video_vo_bind(vo, handle);
sys/dev/acpica/acpi_video/acpi_video.c
44
ACPI_HANDLE handle;
sys/dev/acpica/acpi_video/acpi_video.c
445
acpi_video_vo_bind(vo, handle);
sys/dev/acpica/acpi_video/acpi_video.c
454
vid_enum_outputs(sc->handle, acpi_video_bind_outputs_subr, sc);
sys/dev/acpica/acpi_video/acpi_video.c
515
vo->handle = NULL;
sys/dev/acpica/acpi_video/acpi_video.c
594
acpi_video_vo_bind(struct acpi_video_output *vo, ACPI_HANDLE handle)
sys/dev/acpica/acpi_video/acpi_video.c
599
vo->handle = handle;
sys/dev/acpica/acpi_video/acpi_video.c
600
vo->vo_numlevels = vo_get_brightness_levels(handle, &vo->vo_levels);
sys/dev/acpica/acpi_video/acpi_video.c
612
AcpiInstallNotifyHandler(handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_video/acpi_video.c
628
AcpiRemoveNotifyHandler(vo->handle, ACPI_DEVICE_NOTIFY,
sys/dev/acpica/acpi_video/acpi_video.c
64
ACPI_HANDLE handle;
sys/dev/acpica/acpi_video/acpi_video.c
672
acpi_video_vo_notify_handler(ACPI_HANDLE handle, UINT32 notify, void *context)
sys/dev/acpica/acpi_video/acpi_video.c
679
if (vo->handle != handle)
sys/dev/acpica/acpi_video/acpi_video.c
692
level = vo_get_brightness(handle);
sys/dev/acpica/acpi_video/acpi_video.c
698
acpi_name(handle));
sys/dev/acpica/acpi_video/acpi_video.c
736
vo_set_brightness(handle, new_level);
sys/dev/acpica/acpi_video/acpi_video.c
752
if (vo->handle == NULL)
sys/dev/acpica/acpi_video/acpi_video.c
755
state = (vo_get_device_status(vo->handle) & DCS_ACTIVE) ? 1 : 0;
sys/dev/acpica/acpi_video/acpi_video.c
759
vo_set_device_state(vo->handle,
sys/dev/acpica/acpi_video/acpi_video.c
775
if (vo->handle == NULL) {
sys/dev/acpica/acpi_video/acpi_video.c
801
vo_set_brightness(vo->handle, (level == -1) ? preset : level);
sys/dev/acpica/acpi_video/acpi_video.c
816
if (vo->handle == NULL) {
sys/dev/acpica/acpi_video/acpi_video.c
842
vo_set_brightness(vo->handle, level);
sys/dev/acpica/acpi_video/acpi_video.c
876
vid_set_switch_policy(ACPI_HANDLE handle, UINT32 policy)
sys/dev/acpica/acpi_video/acpi_video.c
880
status = acpi_SetInteger(handle, "_DOS", policy);
sys/dev/acpica/acpi_video/acpi_video.c
883
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_video/acpi_video.c
894
vid_enum_outputs_subr(ACPI_HANDLE handle, UINT32 level __unused,
sys/dev/acpica/acpi_video/acpi_video.c
904
status = acpi_GetInteger(handle, "_ADR", &adr);
sys/dev/acpica/acpi_video/acpi_video.c
912
argset->callback(handle, val, argset->context);
sys/dev/acpica/acpi_video/acpi_video.c
921
vid_enum_outputs(ACPI_HANDLE handle,
sys/dev/acpica/acpi_video/acpi_video.c
932
status = AcpiEvaluateObject(handle, "_DOD", NULL, &dod_buf);
sys/dev/acpica/acpi_video/acpi_video.c
936
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_video/acpi_video.c
943
acpi_name(handle));
sys/dev/acpica/acpi_video/acpi_video.c
955
status = AcpiWalkNamespace(ACPI_TYPE_DEVICE, handle, 1,
sys/dev/acpica/acpi_video/acpi_video.c
959
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_video/acpi_video.c
967
vo_get_brightness_levels(ACPI_HANDLE handle, int **levelp)
sys/dev/acpica/acpi_video/acpi_video.c
976
status = AcpiEvaluateObject(handle, "_BCL", NULL, &bcl_buf);
sys/dev/acpica/acpi_video/acpi_video.c
980
acpi_name(handle), AcpiFormatException(status));
sys/dev/acpica/acpi_video/acpi_video.c
986
acpi_name(handle));
sys/dev/acpica/acpivar.h
287
__ACPI_BUS_ACCESSOR(acpi, handle, ACPI, HANDLE, ACPI_HANDLE)
sys/dev/acpica/acpivar.h
295
acpi_get_device(ACPI_HANDLE handle)
sys/dev/acpica/acpivar.h
298
AcpiGetData(handle, acpi_fake_objhandler, &dev);
sys/dev/acpica/acpivar.h
359
ACPI_STATUS acpi_GetInteger(ACPI_HANDLE handle, char *path,
sys/dev/acpica/acpivar.h
361
ACPI_STATUS acpi_SetInteger(ACPI_HANDLE handle, char *path,
sys/dev/acpica/acpivar.h
381
ACPI_STATUS acpi_eval_osc(device_t dev, ACPI_HANDLE handle,
sys/dev/acpica/acpivar.h
412
ACPI_STATUS acpi_parse_resources(device_t dev, ACPI_HANDLE handle,
sys/dev/acpica/acpivar.h
462
char *acpi_name(ACPI_HANDLE handle);
sys/dev/acpica/acpivar.h
463
int acpi_avoid(ACPI_HANDLE handle);
sys/dev/agp/agp.c
932
void agp_free_memory(device_t dev, void *handle)
sys/dev/agp/agp.c
934
struct agp_memory *mem = (struct agp_memory *) handle;
sys/dev/agp/agp.c
938
int agp_bind_memory(device_t dev, void *handle, vm_offset_t offset)
sys/dev/agp/agp.c
940
struct agp_memory *mem = (struct agp_memory *) handle;
sys/dev/agp/agp.c
944
int agp_unbind_memory(device_t dev, void *handle)
sys/dev/agp/agp.c
946
struct agp_memory *mem = (struct agp_memory *) handle;
sys/dev/agp/agp.c
950
void agp_memory_info(device_t dev, void *handle, struct
sys/dev/agp/agp.c
953
struct agp_memory *mem = (struct agp_memory *) handle;
sys/dev/agp/agpvar.h
105
void agp_free_memory(device_t dev, void *handle);
sys/dev/agp/agpvar.h
112
int agp_bind_memory(device_t dev, void *handle, vm_offset_t offset);
sys/dev/agp/agpvar.h
118
int agp_unbind_memory(device_t dev, void *handle);
sys/dev/agp/agpvar.h
124
void agp_memory_info(device_t dev, void *handle, struct agp_memory_info *mi);
sys/dev/apple/fw/apple_fw.c
188
ACPI_HANDLE handle;
sys/dev/apple/fw/apple_fw.c
192
status = AcpiGetHandle(NULL, "\\OSYS", &handle);
sys/dev/apple/fw/apple_fw.c
199
node = AcpiNsValidateHandle(handle);
sys/dev/apple/fw/apple_fw_dsm.c
127
apple_fw_dsm_walk_cb(ACPI_HANDLE handle, UINT32 level, void *context,
sys/dev/apple/fw/apple_fw_dsm.c
142
status = AcpiGetHandle(handle, "_DSM", &dsm_handle);
sys/dev/apple/fw/apple_fw_dsm.c
147
status = apple_fw_eval_dsm(handle, 1, &result);
sys/dev/apple/fw/apple_fw_dsm.c
173
status = AcpiGetName(handle, ACPI_FULL_PATHNAME, &pathbuf);
sys/dev/apple/fw/apple_fw_dsm.c
178
status = AcpiGetObjectInfo(handle, &info);
sys/dev/apple/fw/apple_fw_dsm.c
193
if (ACPI_SUCCESS(AcpiGetName(handle, ACPI_SINGLE_NAME, &nbuf)))
sys/dev/apple/fw/apple_fw_dsm.c
41
apple_fw_eval_dsm(ACPI_HANDLE handle, int func, ACPI_BUFFER *result)
sys/dev/apple/fw/apple_fw_dsm.c
66
return (AcpiEvaluateObject(handle, "_DSM", &arg_list, result));
sys/dev/crypto/tpm/tpm_crb.c
152
ACPI_HANDLE handle;
sys/dev/crypto/tpm/tpm_crb.c
158
handle = acpi_get_handle(dev);
sys/dev/crypto/tpm/tpm_crb.c
201
status = AcpiWalkResources(handle, "_CRS", tpmcrb_fix_buff_offsets,
sys/dev/crypto/tpm/tpm_tis.c
210
ACPI_HANDLE handle;
sys/dev/crypto/tpm/tpm_tis.c
213
handle = acpi_get_handle(sc->dev);
sys/dev/crypto/tpm/tpm_tis.c
226
status = AcpiWalkResources(handle, "_CRS",
sys/dev/disk/isp/isp.c
2052
fcp->portdb[i].handle, fcp->portdb[i].portid);
sys/dev/disk/isp/isp.c
2084
isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags, int gs)
sys/dev/disk/isp/isp.c
2099
return (isp_port_login(isp, handle, portid));
sys/dev/disk/isp/isp.c
2101
return (isp_port_logout(isp, handle, portid));
sys/dev/disk/isp/isp.c
2112
plp->plogx_nphdl = handle;
sys/dev/disk/isp/isp.c
2226
isp_prt(isp, ISP_LOGERR, "Chan %d PLOGX PortID 0x%06x to N-Port handle 0x%x: %s", chan, portid, handle, msg);
sys/dev/disk/isp/isp.c
2236
isp_port_login(ispsoftc_t *isp, uint16_t handle, uint32_t portid)
sys/dev/disk/isp/isp.c
2242
mbs.param[1] = handle;
sys/dev/disk/isp/isp.c
2245
mbs.param[1] = handle << 8;
sys/dev/disk/isp/isp.c
2263
handle, mbs.param[1] & 0xff);
sys/dev/disk/isp/isp.c
2283
mbs.param[0], portid, handle);
sys/dev/disk/isp/isp.c
2289
isp_port_logout(ispsoftc_t *isp, uint16_t handle, uint32_t portid)
sys/dev/disk/isp/isp.c
2295
mbs.param[1] = handle;
sys/dev/disk/isp/isp.c
2298
mbs.param[1] = handle << 8;
sys/dev/disk/isp/isp.c
2344
pdb->handle = un.bill.pdb_handle;
sys/dev/disk/isp/isp.c
2363
pdb->handle = un.fred.pdb_loopid;
sys/dev/disk/isp/isp.c
2649
lp->handle = pdb.handle;
sys/dev/disk/isp/isp.c
2809
(void) isp_plogx(isp, chan, lp->handle,
sys/dev/disk/isp/isp.c
2895
uint16_t handle, lim = 0;
sys/dev/disk/isp/isp.c
2947
for (handle = 0; handle < lim; handle++) {
sys/dev/disk/isp/isp.c
2952
if (handle >= FL_ID && handle <= SNS_ID) {
sys/dev/disk/isp/isp.c
2956
if (handle >= NPH_RESERVED && handle <= NPH_FL_ID) {
sys/dev/disk/isp/isp.c
2965
uint64_t node_wwn = isp_get_wwn(isp, chan, handle, 1);
sys/dev/disk/isp/isp.c
2979
r = isp_getpdb(isp, chan, handle, &pdb, 1);
sys/dev/disk/isp/isp.c
2983
chan, handle, r);
sys/dev/disk/isp/isp.c
3006
if (IS_2100(isp) && pdb.handle != handle) {
sys/dev/disk/isp/isp.c
3022
tmp.handle = pdb.handle;
sys/dev/disk/isp/isp.c
3036
isp_get_wwn(isp, chan, handle, 1);
sys/dev/disk/isp/isp.c
3038
isp_get_wwn(isp, chan, handle, 0);
sys/dev/disk/isp/isp.c
3046
a, b, c, handle);
sys/dev/disk/isp/isp.c
3097
lp->handle == tmp.handle &&
sys/dev/disk/isp/isp.c
3104
"Valid", chan, tmp.portid, tmp.handle);
sys/dev/disk/isp/isp.c
3112
lp->handle = tmp.handle;
sys/dev/disk/isp/isp.c
3120
chan, tmp.portid, tmp.handle);
sys/dev/disk/isp/isp.c
3158
lp->handle = tmp.handle;
sys/dev/disk/isp/isp.c
3163
chan, tmp.portid, tmp.handle);
sys/dev/disk/isp/isp.c
3350
uint16_t handle, oldhandle, loopid;
sys/dev/disk/isp/isp.c
3612
r = isp_getpdb(isp, chan, lp->handle, &pdb, 0);
sys/dev/disk/isp/isp.c
3636
if (pdb.handle != lp->handle ||
sys/dev/disk/isp/isp.c
3641
fconf, chan, dbidx, pdb.handle, pdb.portid,
sys/dev/disk/isp/isp.c
3644
lp->handle, portid,
sys/dev/disk/isp/isp.c
3687
lp->handle = pdb.handle;
sys/dev/disk/isp/isp.c
3758
chan, portid, dbidx, lp->handle, lp->state);
sys/dev/disk/isp/isp.c
3799
handle = pdb.handle;
sys/dev/disk/isp/isp.c
3824
lp->handle = handle;
sys/dev/disk/isp/isp.c
3856
lp->handle = handle;
sys/dev/disk/isp/isp.c
3890
uint16_t handle;
sys/dev/disk/isp/isp.c
3898
handle = isp_nxt_handle(isp, chan, *ohp);
sys/dev/disk/isp/isp.c
3905
r = isp_getpdb(isp, chan, handle, p, 0);
sys/dev/disk/isp/isp.c
3907
(void) isp_plogx(isp, chan, handle, portid, PLOGX_FLG_CMD_LOGO | PLOGX_FLG_IMPLICIT | PLOGX_FLG_FREE_NPHDL, 1);
sys/dev/disk/isp/isp.c
3917
r = isp_plogx(isp, chan, handle, portid, PLOGX_FLG_CMD_PLOGI, 1);
sys/dev/disk/isp/isp.c
3922
*ohp = handle;
sys/dev/disk/isp/isp.c
3936
r = isp_plogx(isp, chan, handle, portid, PLOGX_FLG_CMD_PLOGI, 1);
sys/dev/disk/isp/isp.c
3941
*ohp = handle;
sys/dev/disk/isp/isp.c
3950
*ohp = handle;
sys/dev/disk/isp/isp.c
3951
handle = isp_nxt_handle(isp, chan, handle);
sys/dev/disk/isp/isp.c
3971
r = isp_getpdb(isp, chan, handle, p, 0);
sys/dev/disk/isp/isp.c
3976
isp_prt(isp, ISP_LOGERR, "Chan %d new device 0x%06x@0x%x disappeared", chan, portid, handle);
sys/dev/disk/isp/isp.c
3980
if (p->handle != handle || p->portid != portid) {
sys/dev/disk/isp/isp.c
3982
chan, portid, handle, p->portid, p->handle);
sys/dev/disk/isp/isp.c
4144
isp_nxt_handle(ispsoftc_t *isp, int chan, uint16_t handle)
sys/dev/disk/isp/isp.c
4147
if (handle == NIL_HANDLE) {
sys/dev/disk/isp/isp.c
4149
handle = 0;
sys/dev/disk/isp/isp.c
4151
handle = SNS_ID+1;
sys/dev/disk/isp/isp.c
4154
handle += 1;
sys/dev/disk/isp/isp.c
4155
if (handle >= FL_ID && handle <= SNS_ID) {
sys/dev/disk/isp/isp.c
4156
handle = SNS_ID+1;
sys/dev/disk/isp/isp.c
4158
if (handle >= NPH_RESERVED && handle <= NPH_FL_ID) {
sys/dev/disk/isp/isp.c
4159
handle = NPH_FL_ID+1;
sys/dev/disk/isp/isp.c
4162
if (handle == NPH_MAX_2K) {
sys/dev/disk/isp/isp.c
4163
handle = 0;
sys/dev/disk/isp/isp.c
4166
if (handle == NPH_MAX) {
sys/dev/disk/isp/isp.c
4167
handle = 0;
sys/dev/disk/isp/isp.c
4171
if (handle == FCPARAM(isp, chan)->isp_loopid) {
sys/dev/disk/isp/isp.c
4172
return (isp_nxt_handle(isp, chan, handle));
sys/dev/disk/isp/isp.c
4179
if (FCPARAM(isp, chan)->portdb[i].handle == handle) {
sys/dev/disk/isp/isp.c
4180
return (isp_nxt_handle(isp, chan, handle));
sys/dev/disk/isp/isp.c
4183
return (handle);
sys/dev/disk/isp/isp.c
4194
uint32_t handle, cdblen;
sys/dev/disk/isp/isp.c
4265
target = fcp->portdb[hdlidx].handle;
sys/dev/disk/isp/isp.c
4436
if (isp_allocate_xs(isp, xs, &handle)) {
sys/dev/disk/isp/isp.c
4442
reqp->req_handle = handle;
sys/dev/disk/isp/isp.c
4452
isp_destroy_handle(isp, handle);
sys/dev/disk/isp/isp.c
4475
uint32_t handle;
sys/dev/disk/isp/isp.c
4542
tmf->tmf_nphdl = lp->handle;
sys/dev/disk/isp/isp.c
4549
isp_prt(isp, ISP_LOGALL, "Chan %d Reset N-Port Handle 0x%04x @ Port 0x%06x", chan, lp->handle, lp->portid);
sys/dev/disk/isp/isp.c
4611
handle = isp_find_handle(isp, xs);
sys/dev/disk/isp/isp.c
4612
if (handle == 0) {
sys/dev/disk/isp/isp.c
4640
"0x%06x %p", chan, lp->handle, lp->portid, xs);
sys/dev/disk/isp/isp.c
4644
ab->abrt_handle = lp->handle;
sys/dev/disk/isp/isp.c
4645
ab->abrt_cmd_handle = handle;
sys/dev/disk/isp/isp.c
4698
mbs.param[2] = handle;
sys/dev/disk/isp/isp.c
4827
if ((p->flags & PLOGX_FLG_CMD_MASK) != PLOGX_FLG_CMD_PLOGI || (p->handle != NIL_HANDLE)) {
sys/dev/disk/isp/isp.c
4828
return (isp_plogx(isp, p->channel, p->handle, p->portid, p->flags, 0));
sys/dev/disk/isp/isp.c
4831
p->handle = isp_nxt_handle(isp, p->channel, p->handle);
sys/dev/disk/isp/isp.c
4832
r = isp_plogx(isp, p->channel, p->handle, p->portid, p->flags, 0);
sys/dev/disk/isp/isp.c
4834
p->handle = r >> 16;
sys/dev/disk/isp/isp.c
5734
if (ISP_H2HT(hdp->handle) != ISP_HANDLE_INITIATOR) {
sys/dev/disk/isp/isp_freebsd.c
1449
uint32_t dmaresult, handle;
sys/dev/disk/isp/isp_freebsd.c
1706
if (isp_allocate_xs_tgt(isp, ccb, &handle)) {
sys/dev/disk/isp/isp_freebsd.c
1724
cto->ct_syshandle = handle;
sys/dev/disk/isp/isp_freebsd.c
1727
cto->ct_syshandle = handle;
sys/dev/disk/isp/isp_freebsd.c
1730
cto->ct_syshandle = handle;
sys/dev/disk/isp/isp_freebsd.c
1745
isp_destroy_tgt_handle(isp, handle);
sys/dev/disk/isp/isp_freebsd.c
2070
isp_del_wwn_entry(isp, 0, iid, lp->handle, lp->portid);
sys/dev/disk/isp/isp_freebsd.c
2196
nphdl = lp->handle;
sys/dev/disk/isp/isp_freebsd.c
2351
uint32_t tval, handle;
sys/dev/disk/isp/isp_freebsd.c
2359
handle = ((ct_entry_t *)arg)->ct_syshandle;
sys/dev/disk/isp/isp_freebsd.c
2361
handle = ((ct2_entry_t *)arg)->ct_syshandle;
sys/dev/disk/isp/isp_freebsd.c
2363
ccb = isp_find_xs_tgt(isp, handle);
sys/dev/disk/isp/isp_freebsd.c
2368
isp_destroy_tgt_handle(isp, handle);
sys/dev/disk/isp/isp_freebsd.c
2756
nphdl = lp->handle;
sys/dev/disk/isp/isp_freebsd.c
2879
inot->initiator_id = lp->handle;
sys/dev/disk/isp/isp_freebsd.c
3880
uint32_t ohandle = ISP_HANDLE_FREE, handle;
sys/dev/disk/isp/isp_freebsd.c
3885
handle = isp_find_handle(isp, xs);
sys/dev/disk/isp/isp_freebsd.c
3887
if (handle != ISP_HANDLE_FREE && !XS_CMD_WPEND_P(xs)) {
sys/dev/disk/isp/isp_freebsd.c
3888
isp_xs_prt(isp, xs, ISP_LOGWARN, "first watchdog (handle 0x%x) timed out- deferring for grace period", handle);
sys/dev/disk/isp/isp_freebsd.c
3899
if (handle != ISP_HANDLE_FREE) {
sys/dev/disk/isp/isp_freebsd.c
3905
ohandle = handle;
sys/dev/disk/isp/isp_freebsd.c
3906
handle = isp_find_handle(isp, xs);
sys/dev/disk/isp/isp_freebsd.c
3908
if (handle != ISP_HANDLE_FREE) {
sys/dev/disk/isp/isp_freebsd.c
3926
xs = isp_find_xs(isp, handle);
sys/dev/disk/isp/isp_freebsd.c
3941
ISP_DMAFREE(isp, xs, handle);
sys/dev/disk/isp/isp_freebsd.c
3943
isp_destroy_handle(isp, handle);
sys/dev/disk/isp/isp_freebsd.c
3944
isp_prt(isp, ISP_LOGERR, "%s: timeout for handle 0x%x", __func__, handle);
sys/dev/disk/isp/isp_freebsd.c
4131
if (!ISP_VALID_HANDLE(isp, isp->isp_xflist[i].handle)) {
sys/dev/disk/isp/isp_freebsd.c
4141
isp->isp_xflist[i].handle, chan, XS_TGT(xs), XS_LUN(xs));
sys/dev/disk/isp/isp_freebsd.c
486
ifc->loopid = lp->handle;
sys/dev/disk/isp/isp_freebsd.c
5139
isp_prt(isp, ISP_LOGCONFIG, prom2, bus, lp->portid, lp->handle, roles[lp->roles], "arrived at", tgt, (uint32_t) (lp->port_wwn >> 32), (uint32_t) lp->port_wwn);
sys/dev/disk/isp/isp_freebsd.c
5142
isp_prt(isp, ISP_LOGCONFIG, prom, bus, lp->portid, lp->handle, roles[lp->roles], "arrived", (uint32_t) (lp->port_wwn >> 32), (uint32_t) lp->port_wwn);
sys/dev/disk/isp/isp_freebsd.c
5162
isp_prt(isp, ISP_LOGCONFIG, prom, bus, lp->portid, lp->handle, roles[lp->roles], "changed and departed",
sys/dev/disk/isp/isp_freebsd.c
5172
isp_prt(isp, ISP_LOGCONFIG, prom2, bus, lp->portid, lp->handle, roles[lp->roles], "changed at", tgt,
sys/dev/disk/isp/isp_freebsd.c
5175
isp_prt(isp, ISP_LOGCONFIG, prom, bus, lp->portid, lp->handle, roles[lp->roles], "changed", (uint32_t) (lp->port_wwn >> 32), (uint32_t) lp->port_wwn);
sys/dev/disk/isp/isp_freebsd.c
5186
isp_prt(isp, ISP_LOGCONFIG, prom2, bus, lp->portid, lp->handle, roles[lp->roles], "stayed at", tgt,
sys/dev/disk/isp/isp_freebsd.c
5189
isp_prt(isp, ISP_LOGCONFIG, prom, bus, lp->portid, lp->handle, roles[lp->roles], "stayed",
sys/dev/disk/isp/isp_freebsd.c
5217
isp_prt(isp, ISP_LOGCONFIG, prom2, bus, lp->portid, lp->handle, roles[lp->roles], "gone zombie at", tgt, (uint32_t) (lp->port_wwn >> 32), (uint32_t) lp->port_wwn);
sys/dev/disk/isp/isp_freebsd.c
5219
isp_prt(isp, ISP_LOGCONFIG, prom, bus, lp->portid, lp->handle, roles[lp->roles], "departed", (uint32_t) (lp->port_wwn >> 32), (uint32_t) lp->port_wwn);
sys/dev/disk/isp/isp_freebsd.c
594
if (lp->handle == loopid) {
sys/dev/disk/isp/isp_freebsd.c
608
tmf->tmf_nphdl = lp->handle;
sys/dev/disk/isp/isp_library.c
2243
hdp->handle = (hdp - isp->isp_tgtlist);
sys/dev/disk/isp/isp_library.c
2244
hdp->handle |= (ISP_HANDLE_TARGET << ISP_HANDLE_USAGE_SHIFT);
sys/dev/disk/isp/isp_library.c
2250
hdp->handle |= (isp->isp_seqno++ << ISP_HANDLE_SEQ_SHIFT);
sys/dev/disk/isp/isp_library.c
2252
*handlep = hdp->handle;
sys/dev/disk/isp/isp_library.c
2257
isp_find_xs_tgt(ispsoftc_t *isp, uint32_t handle)
sys/dev/disk/isp/isp_library.c
2259
if (!ISP_VALID_TGT_HANDLE(isp, handle)) {
sys/dev/disk/isp/isp_library.c
2260
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
sys/dev/disk/isp/isp_library.c
2263
return (isp->isp_tgtlist[(handle & ISP_HANDLE_CMD_MASK)].cmd);
sys/dev/disk/isp/isp_library.c
2276
foundhdl = isp->isp_tgtlist[i].handle;
sys/dev/disk/isp/isp_library.c
2284
isp_destroy_tgt_handle(ispsoftc_t *isp, uint32_t handle)
sys/dev/disk/isp/isp_library.c
2286
if (!ISP_VALID_TGT_HANDLE(isp, handle)) {
sys/dev/disk/isp/isp_library.c
2287
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
sys/dev/disk/isp/isp_library.c
2289
isp->isp_tgtlist[(handle & ISP_HANDLE_CMD_MASK)].handle = ISP_HANDLE_FREE;
sys/dev/disk/isp/isp_library.c
2290
isp->isp_tgtlist[(handle & ISP_HANDLE_CMD_MASK)].cmd = isp->isp_tgtfree;
sys/dev/disk/isp/isp_library.c
2291
isp->isp_tgtfree = &isp->isp_tgtlist[(handle & ISP_HANDLE_CMD_MASK)];
sys/dev/disk/isp/isp_library.c
2335
if (lp->handle == loopid) {
sys/dev/disk/isp/isp_library.c
242
hdp->handle = (hdp - isp->isp_xflist);
sys/dev/disk/isp/isp_library.c
2420
if (lp->handle == nphdl) {
sys/dev/disk/isp/isp_library.c
243
hdp->handle |= (ISP_HANDLE_INITIATOR << ISP_HANDLE_USAGE_SHIFT);
sys/dev/disk/isp/isp_library.c
2436
if (lp->handle != nphdl) {
sys/dev/disk/isp/isp_library.c
2438
__func__, chan, nphdl, (unsigned long long)ini, s_id, (unsigned long long) lp->port_wwn, lp->handle, lp->portid);
sys/dev/disk/isp/isp_library.c
244
hdp->handle |= (isp->isp_seqno++ << ISP_HANDLE_SEQ_SHIFT);
sys/dev/disk/isp/isp_library.c
245
*handlep = hdp->handle;
sys/dev/disk/isp/isp_library.c
2469
(unsigned long long) lp->port_wwn, lp->handle, lp->portid);
sys/dev/disk/isp/isp_library.c
2494
lp->handle = nphdl;
sys/dev/disk/isp/isp_library.c
250
isp_find_xs(ispsoftc_t *isp, uint32_t handle)
sys/dev/disk/isp/isp_library.c
252
if (!ISP_VALID_INI_HANDLE(isp, handle)) {
sys/dev/disk/isp/isp_library.c
253
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
sys/dev/disk/isp/isp_library.c
256
return (isp->isp_xflist[(handle & ISP_HANDLE_CMD_MASK)].cmd);
sys/dev/disk/isp/isp_library.c
2591
isp_del_wwn_entry(isp, chan, lp->port_wwn, lp->handle, lp->portid);
sys/dev/disk/isp/isp_library.c
2620
isp_del_wwn_entry(isp, mp->nt_channel, lp->port_wwn, lp->handle, lp->portid);
sys/dev/disk/isp/isp_library.c
2626
isp_del_wwn_entry(isp, mp->nt_channel, lp->port_wwn, lp->handle, lp->portid);
sys/dev/disk/isp/isp_library.c
2632
isp_del_wwn_entry(isp, mp->nt_channel, lp->port_wwn, lp->handle, lp->portid);
sys/dev/disk/isp/isp_library.c
269
foundhdl = isp->isp_xflist[i].handle;
sys/dev/disk/isp/isp_library.c
277
isp_handle_index(ispsoftc_t *isp, uint32_t handle)
sys/dev/disk/isp/isp_library.c
279
if (!ISP_VALID_HANDLE(isp, handle)) {
sys/dev/disk/isp/isp_library.c
280
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
sys/dev/disk/isp/isp_library.c
283
return (handle & ISP_HANDLE_CMD_MASK);
sys/dev/disk/isp/isp_library.c
288
isp_destroy_handle(ispsoftc_t *isp, uint32_t handle)
sys/dev/disk/isp/isp_library.c
290
if (!ISP_VALID_INI_HANDLE(isp, handle)) {
sys/dev/disk/isp/isp_library.c
291
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
sys/dev/disk/isp/isp_library.c
293
isp->isp_xflist[(handle & ISP_HANDLE_CMD_MASK)].handle = ISP_HANDLE_FREE;
sys/dev/disk/isp/isp_library.c
294
isp->isp_xflist[(handle & ISP_HANDLE_CMD_MASK)].cmd = isp->isp_xffree;
sys/dev/disk/isp/isp_library.c
295
isp->isp_xffree = &isp->isp_xflist[(handle & ISP_HANDLE_CMD_MASK)];
sys/dev/disk/isp/isp_library.c
449
chan, i, lp->handle, dbs[lp->state], lp->autologin, mb, roles[lp->roles], lp->portid, roles[lp->new_roles], lp->new_portid,
sys/dev/disk/isp/isp_library.c
618
if (hdp->handle == ISP_HANDLE_FREE) {
sys/dev/disk/isp/isp_library.c
623
ISP_DMAFREE(isp, xs, hdp->handle);
sys/dev/disk/isp/isp_library.c
628
hdp->handle = 0;
sys/dev/disk/isp/isp_library.c
637
if (hdp->handle == ISP_HANDLE_FREE) {
sys/dev/disk/isp/isp_library.c
640
ISP_DMAFREE(isp, hdp->cmd, hdp->handle);
sys/dev/disk/isp/isp_library.c
644
ctio->ct_syshandle = hdp->handle;
sys/dev/disk/isp/isp_library.c
649
ctio->ct_syshandle = hdp->handle;
sys/dev/disk/isp/isp_library.c
654
ctio->ct_syshandle = hdp->handle;
sys/dev/disk/isp/ispmbox.h
1301
uint16_t handle;
sys/dev/disk/isp/ispmbox.h
1342
uint16_t handle;
sys/dev/disk/isp/ispmbox.h
1625
uint16_t handle;
sys/dev/disk/isp/ispvar.h
297
uint32_t handle; /* handle associated with this command */
sys/dev/disk/isp/ispvar.h
312
ISP_H2SEQ(hdl) == ISP_H2SEQ((c)->isp_xflist[hdl & ISP_HANDLE_CMD_MASK].handle))
sys/dev/disk/isp/ispvar.h
316
ISP_H2SEQ(hdl) == ISP_H2SEQ((c)->isp_tgtlist[hdl & ISP_HANDLE_CMD_MASK].handle))
sys/dev/disk/isp/ispvar.h
380
uint16_t handle;
sys/dev/disk/mpt/mpt.h
507
uint16_t handle;
sys/dev/disk/mpt/mpt.h
827
#define MPT_CBI(handle) (handle >> MPT_CONTEXT_CB_SHIFT)
sys/dev/disk/mpt/mpt_cam.c
647
phyinfo->handle =
sys/dev/disk/mpt/mpt_cam.c
779
phyinfo->handle);
sys/dev/disk/nata/ata-pci.c
263
bus_teardown_intr(dev, ctlr->r_irq, ctlr->handle);
sys/dev/disk/nata/ata-pci.c
603
intr_func, ctlr, &ctlr->handle, NULL))) {
sys/dev/disk/nata/ata-pci.c
620
bus_teardown_intr(dev, ctlr->r_irq, ctlr->handle);
sys/dev/disk/nata/ata-pci.h
54
void *handle;
sys/dev/disk/nata/chipsets/ata-promise.c
233
if (bus_teardown_intr(dev, ctlr->r_irq, ctlr->handle) ||
sys/dev/disk/nata/chipsets/ata-promise.c
235
ata_promise_sx4_intr, ctlr, &ctlr->handle, NULL)) {
sys/dev/disk/nata/chipsets/ata-promise.c
267
if (bus_teardown_intr(dev, ctlr->r_irq, ctlr->handle) ||
sys/dev/disk/nata/chipsets/ata-promise.c
269
ata_promise_mio_intr, ctlr, &ctlr->handle, NULL)) {
sys/dev/disk/sdhci/sdhci_acpi.c
209
sc->handle = acpi_get_handle(dev);
sys/dev/disk/sdhci/sdhci_acpi.c
215
acpi_MatchUid(sc->handle, sdhci_devices[i].uid))) {
sys/dev/disk/sdhci/sdhci_acpi.c
52
ACPI_HANDLE handle;
sys/dev/disk/xdisk/xdisk.c
359
xa_iocom_t *xaio = iocom->handle;
sys/dev/disk/xdisk/xdisk.c
382
xa_iocom_t *xaio = state->iocom->handle;
sys/dev/drm/amd/amdgpu/amdgpu.h
1047
ACPI_HANDLE handle;
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
109
static int acp_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
111
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
184
static int acp_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
193
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
403
static int acp_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
409
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
469
static int acp_suspend(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
471
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
479
static int acp_resume(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
481
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
489
static int acp_early_init(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
494
static bool acp_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
499
static int acp_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
504
static int acp_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
509
static int acp_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
515
static int acp_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
518
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
95
static int acp_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_acp.c
97
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
114
status = AcpiEvaluateObject(atif->handle, NULL, &atif_arg,
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
222
ACPI_HANDLE handle = NULL;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
230
status = AcpiGetHandle(dhandle, "ATIF", &handle);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
236
&handle);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
244
AcpiGetName(handle, ACPI_FULL_PATHNAME, &buffer);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
246
return handle;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
453
static ACPI_OBJECT *amdgpu_atcs_call(ACPI_HANDLE handle, int function,
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
477
status = AcpiEvaluateObject(handle, "ATCS", &atcs_arg, &buffer);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
519
static int amdgpu_atcs_verify_interface(ACPI_HANDLE handle,
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
527
info = amdgpu_atcs_call(handle, ATCS_FUNCTION_VERIFY_INTERFACE, NULL);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
583
ACPI_HANDLE handle;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
588
handle = acpi_get_handle(adev->dev->bsddev);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
589
if (!handle)
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
595
info = amdgpu_atcs_call(handle, ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION, NULL);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
619
ACPI_HANDLE handle;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
632
handle = acpi_get_handle(adev->dev->bsddev)
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
633
if (!handle)
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
653
info = amdgpu_atcs_call(handle, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, &params);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
69
ACPI_HANDLE handle;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
700
static void amdgpu_acpi_event(ACPI_HANDLE handle,
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
733
ACPI_HANDLE handle, atif_handle;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
739
handle = acpi_get_handle(adev->dev->bsddev);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
741
if (!adev->bios || !handle)
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
745
ret = amdgpu_atcs_verify_interface(handle, atcs);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
751
atif_handle = amdgpu_atif_probe_handle(handle);
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
760
atif->handle = atif_handle;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
809
adev->acpi.handle = handle;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
811
AcpiInstallNotifyHandler(handle, ACPI_DEVICE_NOTIFY,
sys/dev/drm/amd/amdgpu/amdgpu_bo_list.c
266
uint32_t handle = args->in.list_handle;
sys/dev/drm/amd/amdgpu/amdgpu_bo_list.c
290
handle = r;
sys/dev/drm/amd/amdgpu/amdgpu_bo_list.c
294
amdgpu_bo_list_destroy(fpriv, handle);
sys/dev/drm/amd/amdgpu/amdgpu_bo_list.c
295
handle = 0;
sys/dev/drm/amd/amdgpu/amdgpu_bo_list.c
305
old = idr_replace(&fpriv->bo_list_handles, list, handle);
sys/dev/drm/amd/amdgpu/amdgpu_bo_list.c
323
args->out.list_handle = handle;
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1087
deps[i].handle);
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1105
uint32_t handle)
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1109
r = drm_syncobj_find_fence(p->filp, handle, 0, &fence);
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1131
r = amdgpu_syncobj_lookup_and_add_to_sync(p, deps[i].handle);
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1157
p->post_dep_syncobjs[i] = drm_syncobj_find(p->filp, deps[i].handle);
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1244
cs->out.handle = seq;
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1363
fence = amdgpu_ctx_get_fence(ctx, entity, wait->in.handle);
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1437
r = drm_syncobj_get_handle(filp, syncobj, &info->out.handle);
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1446
r = drm_syncobj_get_fd(syncobj, (int*)&info->out.handle);
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
1465
info->out.handle = fd;
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
46
gobj = drm_gem_object_lookup(p->filp, data->handle);
sys/dev/drm/amd/amdgpu/amdgpu_ctx.c
442
struct dma_fence *fence, uint64_t* handle)
sys/dev/drm/amd/amdgpu/amdgpu_ctx.c
462
if (handle)
sys/dev/drm/amd/amdgpu/amdgpu_ctx.c
463
*handle = seq;
sys/dev/drm/amd/amdgpu/amdgpu_dpm.c
986
amdgpu_get_vce_clock_state(void *handle, u32 idx)
sys/dev/drm/amd/amdgpu/amdgpu_dpm.c
988
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_dpm.h
506
amdgpu_get_vce_clock_state(void *handle, u32 idx);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
101
int handle;
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
105
idr_for_each_entry(&file->object_idr, gobj, handle) {
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
219
uint32_t handle;
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
274
r = drm_gem_handle_create(filp, gobj, &handle);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
281
args->out.handle = handle;
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
296
uint32_t handle;
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
351
r = drm_gem_handle_create(filp, gobj, &handle);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
357
args->handle = handle;
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
372
uint32_t handle, uint64_t *offset_p)
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
377
gobj = drm_gem_object_lookup(filp, handle);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
396
uint32_t handle = args->in.handle;
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
398
return amdgpu_mode_dumb_mmap(filp, dev, handle, (uint64_t *)&args->out.addr_ptr);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
435
uint32_t handle = args->in.handle;
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
440
gobj = drm_gem_object_lookup(filp, handle);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
470
DRM_DEBUG("%d \n", args->handle);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
471
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
606
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
692
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
755
uint32_t handle;
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
771
r = drm_gem_handle_create(file_priv, gobj, &handle);
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
777
args->handle = handle;
sys/dev/drm/amd/amdgpu/amdgpu_gem.h
72
uint32_t handle, uint64_t *offset_p);
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
1048
int handle;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
1080
idr_for_each_entry(&fpriv->bo_list_handles, list, handle)
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
815
struct drm_amdgpu_info_num_handles handle;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
821
handle.uvd_max_handles = adev->uvd.max_handles;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
822
handle.uvd_used_handles = amdgpu_uvd_used_handles(adev);
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
824
return copy_to_user(out, &handle,
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
825
min((size_t)size, sizeof(handle))) ? -EFAULT : 0;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
38
static int psp_early_init(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
40
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
414
static int psp_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
417
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
447
static int psp_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
449
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
47
static int psp_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
473
static int psp_suspend(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
476
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
49
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
491
static int psp_resume(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
494
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
550
static int psp_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
556
static int psp_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
82
static int psp_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
84
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
1119
int amdgpu_uvd_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
1136
msg[2] = cpu_to_le32(handle);
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
1151
int amdgpu_uvd_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
1168
msg[2] = cpu_to_le32(handle);
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
425
uint32_t handle = atomic_read(&adev->uvd.handles[i]);
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
427
if (handle != 0 && adev->uvd.filp[i] == filp) {
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
430
r = amdgpu_uvd_get_destroy_msg(ring, handle, false,
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
712
int32_t *msg, msg_type, handle;
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
731
handle = msg[2];
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
733
if (handle == 0) {
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
745
if (atomic_read(&adev->uvd.handles[i]) == handle) {
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
747
handle);
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
751
if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) {
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
769
if (atomic_read(&adev->uvd.handles[i]) == handle) {
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
778
DRM_ERROR("Invalid UVD handle 0x%x!\n", handle);
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
784
atomic_cmpxchg(&adev->uvd.handles[i], handle, 0);
sys/dev/drm/amd/amdgpu/amdgpu_uvd.h
75
int amdgpu_uvd_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_uvd.h
77
int amdgpu_uvd_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
407
uint32_t handle = atomic_read(&adev->vce.handles[i]);
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
409
if (!handle || adev->vce.filp[i] != filp)
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
412
r = amdgpu_vce_get_destroy_msg(ring, handle, false, NULL);
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
431
int amdgpu_vce_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
453
ib->ptr[ib->length_dw++] = handle;
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
510
int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
529
ib->ptr[ib->length_dw++] = handle;
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
673
uint32_t handle, uint32_t *allocated)
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
679
if (atomic_read(&p->adev->vce.handles[i]) == handle) {
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
690
if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) {
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
716
uint32_t tmp, handle = 0;
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
796
handle = amdgpu_get_ib_value(p, ib_idx, idx + 2);
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
797
session_idx = amdgpu_vce_validate_handle(p, handle,
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
951
uint32_t tmp, handle = 0;
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
966
handle = amdgpu_get_ib_value(p, ib_idx, idx + 2);
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
967
session_idx = amdgpu_vce_validate_handle(p, handle,
sys/dev/drm/amd/amdgpu/amdgpu_vce.h
61
int amdgpu_vce_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_vce.h
63
int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_vcn.c
517
static int amdgpu_vcn_dec_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_vcn.c
535
msg[4] = cpu_to_le32(handle);
sys/dev/drm/amd/amdgpu/amdgpu_vcn.c
551
static int amdgpu_vcn_dec_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_vcn.c
569
msg[4] = cpu_to_le32(handle);
sys/dev/drm/amd/amdgpu/amdgpu_vcn.c
647
static int amdgpu_vcn_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_vcn.c
667
ib->ptr[ib->length_dw++] = handle;
sys/dev/drm/amd/amdgpu/amdgpu_vcn.c
699
static int amdgpu_vcn_enc_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/amdgpu_vcn.c
719
ib->ptr[ib->length_dw++] = handle;
sys/dev/drm/amd/amdgpu/amdgpu_vcn.c
823
static int amdgpu_vcn_jpeg_set_reg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
1216
static int ci_dpm_get_fan_speed_percent(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
1221
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
1244
static int ci_dpm_set_fan_speed_percent(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
1250
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
1279
static void ci_dpm_set_fan_control_mode(void *handle, u32 mode)
sys/dev/drm/amd/amdgpu/ci_dpm.c
1281
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
1302
static u32 ci_dpm_get_fan_control_mode(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
1304
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
4353
static int ci_dpm_force_performance_level(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
4356
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
5263
static int ci_dpm_pre_set_power_state(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
5265
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
5277
static void ci_dpm_post_set_power_state(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
5279
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
5453
static int ci_dpm_set_power_state(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
5455
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
5526
static void ci_dpm_display_configuration_changed(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
5528
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6084
ci_dpm_debugfs_print_current_performance_level(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
6087
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6111
static void ci_dpm_print_power_state(void *handle, void *current_ps)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6117
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6139
static int ci_check_state_equal(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
6149
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6183
static u32 ci_dpm_get_sclk(void *handle, bool low)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6185
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6195
static u32 ci_dpm_get_mclk(void *handle, bool low)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6197
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6208
static int ci_dpm_get_temp(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6212
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6244
static int ci_dpm_early_init(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6246
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6255
static int ci_dpm_late_init(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6258
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6275
static int ci_dpm_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6278
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6327
static int ci_dpm_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6329
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6343
static int ci_dpm_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6347
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6371
static int ci_dpm_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6373
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6386
static int ci_dpm_suspend(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6388
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6408
static int ci_dpm_resume(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6411
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6431
static bool ci_dpm_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6437
static int ci_dpm_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6443
static int ci_dpm_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6526
static int ci_dpm_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
6532
static int ci_dpm_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
6538
static int ci_dpm_print_clock_levels(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
6541
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6606
static int ci_dpm_force_clock_level(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
6609
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6654
static int ci_dpm_get_sclk_od(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6656
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6671
static int ci_dpm_set_sclk_od(void *handle, uint32_t value)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6673
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6690
static int ci_dpm_get_mclk_od(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6692
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6707
static int ci_dpm_set_mclk_od(void *handle, uint32_t value)
sys/dev/drm/amd/amdgpu/ci_dpm.c
6709
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6726
static int ci_dpm_read_sensor(void *handle, int idx,
sys/dev/drm/amd/amdgpu/ci_dpm.c
6731
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
6769
static int ci_set_powergating_by_smu(void *handle,
sys/dev/drm/amd/amdgpu/ci_dpm.c
6774
ci_dpm_powergate_uvd(handle, gate);
sys/dev/drm/amd/amdgpu/ci_dpm.c
887
static void ci_dpm_powergate_uvd(void *handle, bool gate)
sys/dev/drm/amd/amdgpu/ci_dpm.c
889
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/ci_dpm.c
906
static bool ci_dpm_vblank_too_short(void *handle)
sys/dev/drm/amd/amdgpu/ci_dpm.c
908
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik.c
1764
static int cik_common_early_init(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1766
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik.c
1903
static int cik_common_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1908
static int cik_common_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1913
static int cik_common_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1915
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik.c
1927
static int cik_common_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1932
static int cik_common_suspend(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1934
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik.c
1939
static int cik_common_resume(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1941
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik.c
1946
static bool cik_common_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1951
static int cik_common_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1956
static int cik_common_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/cik.c
1962
static int cik_common_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/cik.c
1968
static int cik_common_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/cik_ih.c
302
static int cik_ih_early_init(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
304
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
316
static int cik_ih_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
319
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
330
static int cik_ih_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
332
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
341
static int cik_ih_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
344
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
353
static int cik_ih_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
355
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
362
static int cik_ih_suspend(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
364
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
369
static int cik_ih_resume(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
371
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
376
static bool cik_ih_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
378
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
387
static int cik_ih_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
391
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
403
static int cik_ih_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/cik_ih.c
405
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_ih.c
433
static int cik_ih_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/cik_ih.c
439
static int cik_ih_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/cik_sdma.c
1006
static int cik_sdma_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
1008
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
1018
static int cik_sdma_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
1021
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
1030
static int cik_sdma_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
1032
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
1040
static int cik_sdma_suspend(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
1042
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
1047
static int cik_sdma_resume(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
1049
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
1051
cik_sdma_soft_reset(handle);
sys/dev/drm/amd/amdgpu/cik_sdma.c
1056
static bool cik_sdma_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
1058
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
1068
static int cik_sdma_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
1072
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
1085
static int cik_sdma_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
1088
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
1222
static int cik_sdma_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/cik_sdma.c
1226
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
1237
static int cik_sdma_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/cik_sdma.c
55
static int cik_sdma_soft_reset(void *handle);
sys/dev/drm/amd/amdgpu/cik_sdma.c
946
static int cik_sdma_early_init(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
948
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cik_sdma.c
960
static int cik_sdma_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/cik_sdma.c
963
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
281
static int cz_ih_early_init(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
283
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
295
static int cz_ih_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
298
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
309
static int cz_ih_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
311
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
320
static int cz_ih_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
323
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
332
static int cz_ih_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
334
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
341
static int cz_ih_suspend(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
343
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
348
static int cz_ih_resume(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
350
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
355
static bool cz_ih_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
357
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
366
static int cz_ih_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
370
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
382
static int cz_ih_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/cz_ih.c
385
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/cz_ih.c
412
static int cz_ih_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/cz_ih.c
419
static int cz_ih_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2349
uint32_t handle,
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2360
if (!handle) {
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2373
obj = drm_gem_object_lookup(file_priv, handle);
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2375
DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id);
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2716
static int dce_v10_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2718
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2743
static int dce_v10_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2746
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2811
static int dce_v10_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2813
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2829
static int dce_v10_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2832
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2854
static int dce_v10_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2857
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2870
static int dce_v10_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2872
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2877
return dce_v10_0_hw_fini(handle);
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2880
static int dce_v10_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2882
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2888
ret = dce_v10_0_hw_init(handle);
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2901
static bool dce_v10_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2906
static int dce_v10_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2911
static bool dce_v10_0_check_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2913
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2918
static int dce_v10_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2921
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
3265
static int dce_v10_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/dce_v10_0.c
3271
static int dce_v10_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2428
uint32_t handle,
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2439
if (!handle) {
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2452
obj = drm_gem_object_lookup(file_priv, handle);
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2454
DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id);
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2824
static int dce_v11_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2826
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2864
static int dce_v11_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2867
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2933
static int dce_v11_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2935
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2951
static int dce_v11_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2954
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2987
static int dce_v11_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2990
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3003
static int dce_v11_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3005
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3010
return dce_v11_0_hw_fini(handle);
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3013
static int dce_v11_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3015
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3021
ret = dce_v11_0_hw_init(handle);
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3034
static bool dce_v11_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3039
static int dce_v11_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3044
static int dce_v11_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3047
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3392
static int dce_v11_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/dce_v11_0.c
3398
static int dce_v11_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2250
uint32_t handle,
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2261
if (!handle) {
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2274
obj = drm_gem_object_lookup(file_priv, handle);
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2276
DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id);
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2604
static int dce_v8_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2606
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2640
static int dce_v8_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2643
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2708
static int dce_v8_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2710
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2726
static int dce_v8_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2729
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2749
static int dce_v8_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2752
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2765
static int dce_v8_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2767
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2772
return dce_v8_0_hw_fini(handle);
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2775
static int dce_v8_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2777
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2783
ret = dce_v8_0_hw_init(handle);
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2796
static bool dce_v8_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2801
static int dce_v8_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2806
static int dce_v8_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2809
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_v8_0.c
3154
static int dce_v8_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/dce_v8_0.c
3160
static int dce_v8_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/dce_virtual.c
258
static int dce_virtual_early_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
260
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_virtual.c
370
static int dce_virtual_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
373
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_virtual.c
414
static int dce_virtual_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
416
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_virtual.c
429
static int dce_virtual_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
431
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_virtual.c
478
static int dce_virtual_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
480
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/dce_virtual.c
490
static int dce_virtual_suspend(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
492
return dce_virtual_hw_fini(handle);
sys/dev/drm/amd/amdgpu/dce_virtual.c
495
static int dce_virtual_resume(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
497
return dce_virtual_hw_init(handle);
sys/dev/drm/amd/amdgpu/dce_virtual.c
500
static bool dce_virtual_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
505
static int dce_virtual_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
510
static int dce_virtual_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/dce_virtual.c
515
static int dce_virtual_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/dce_virtual.c
521
static int dce_virtual_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4296
static int gfx_v7_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4298
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4311
static int gfx_v7_0_late_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4313
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4498
static int gfx_v7_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4501
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4593
static int gfx_v7_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4596
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4623
static int gfx_v7_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4626
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4642
static int gfx_v7_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4644
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4655
static int gfx_v7_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4657
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4662
static int gfx_v7_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4664
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4669
static bool gfx_v7_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4671
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4679
static int gfx_v7_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4683
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4696
static int gfx_v7_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4700
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4982
static int gfx_v7_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4986
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
5005
static int gfx_v7_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
5009
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
2021
static int gfx_v8_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
2026
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
2165
static int gfx_v8_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
2168
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4864
static int gfx_v8_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4867
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4911
static bool gfx_v8_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4913
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4922
static bool gfx_v8_0_rlc_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4924
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4932
static int gfx_v8_0_wait_for_rlc_idle(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4935
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4938
if (gfx_v8_0_rlc_is_idle(handle))
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4946
static int gfx_v8_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4949
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4952
if (gfx_v8_0_is_idle(handle))
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4960
static int gfx_v8_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4962
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4991
static int gfx_v8_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4993
return gfx_v8_0_hw_fini(handle);
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4996
static int gfx_v8_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
4998
return gfx_v8_0_hw_init(handle);
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5001
static bool gfx_v8_0_check_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5003
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5063
static int gfx_v8_0_pre_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5065
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5105
static int gfx_v8_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5107
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5167
static int gfx_v8_0_post_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5169
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5333
static int gfx_v8_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5335
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5348
static int gfx_v8_0_late_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5350
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5437
static int gfx_v8_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5440
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5508
static void gfx_v8_0_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5510
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
6031
static int gfx_v8_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
6034
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1702
static int gfx_v9_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1707
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1828
static int gfx_v9_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1831
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3345
static int gfx_v9_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3348
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3403
static int gfx_v9_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3405
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3445
static int gfx_v9_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3447
return gfx_v9_0_hw_fini(handle);
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3450
static int gfx_v9_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3452
return gfx_v9_0_hw_init(handle);
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3455
static bool gfx_v9_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3457
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3466
static int gfx_v9_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3469
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3472
if (gfx_v9_0_is_idle(handle))
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3479
static int gfx_v9_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3483
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3582
static int gfx_v9_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3584
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3596
static int gfx_v9_0_late_init(void *handle)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3598
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3899
static int gfx_v9_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3902
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3948
static int gfx_v9_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3951
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3970
static void gfx_v9_0_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
3972
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1092
static int gmc_v7_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1094
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1108
static int gmc_v7_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1111
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1132
static int gmc_v7_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1134
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1142
static int gmc_v7_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1144
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1151
static int gmc_v7_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1154
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1165
static bool gmc_v7_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1167
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1177
static int gmc_v7_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1181
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1198
static int gmc_v7_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1200
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1340
static int gmc_v7_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1344
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
1360
static int gmc_v7_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
52
static int gmc_v7_0_wait_for_idle(void *handle);
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
931
static int gmc_v7_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
933
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
949
static int gmc_v7_0_late_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
951
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
980
static int gmc_v7_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v7_0.c
984
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1049
static int gmc_v8_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1051
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1067
static int gmc_v8_0_late_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1069
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1100
static int gmc_v8_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1104
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1218
static int gmc_v8_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1220
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1234
static int gmc_v8_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1237
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1266
static int gmc_v8_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1268
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1276
static int gmc_v8_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1278
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1285
static int gmc_v8_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1288
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1299
static bool gmc_v8_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1301
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1311
static int gmc_v8_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1315
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1333
static bool gmc_v8_0_check_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1336
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1358
static int gmc_v8_0_pre_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1360
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1373
static int gmc_v8_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1375
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1404
static int gmc_v8_0_post_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1406
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1684
static int gmc_v8_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1687
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1705
static int gmc_v8_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1711
static void gmc_v8_0_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
1713
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v8_0.c
53
static int gmc_v8_0_wait_for_idle(void *handle);
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1040
static int gmc_v9_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1042
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1145
static int gmc_v9_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1148
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1180
static int gmc_v9_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1182
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1196
static int gmc_v9_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1198
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1203
static int gmc_v9_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1206
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1217
static bool gmc_v9_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1223
static int gmc_v9_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1229
static int gmc_v9_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1235
static int gmc_v9_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1238
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1243
static void gmc_v9_0_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1245
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
1250
static int gmc_v9_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
601
static int gmc_v9_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
603
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
720
static int gmc_v9_0_late_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
722
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
925
static int gmc_v9_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
929
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
281
static int iceland_ih_early_init(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
283
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
295
static int iceland_ih_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
298
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
309
static int iceland_ih_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
311
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
320
static int iceland_ih_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
323
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
332
static int iceland_ih_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
334
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
341
static int iceland_ih_suspend(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
343
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
348
static int iceland_ih_resume(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
350
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
355
static bool iceland_ih_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
357
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
366
static int iceland_ih_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
370
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
382
static int iceland_ih_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/iceland_ih.c
385
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/iceland_ih.c
412
static int iceland_ih_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/iceland_ih.c
418
static int iceland_ih_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/kv_dpm.c
1247
static void kv_dpm_enable_bapm(void *handle, bool enable)
sys/dev/drm/amd/amdgpu/kv_dpm.c
1249
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
1675
static void kv_dpm_powergate_uvd(void *handle, bool gate)
sys/dev/drm/amd/amdgpu/kv_dpm.c
1677
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
1703
static void kv_dpm_powergate_vce(void *handle, bool gate)
sys/dev/drm/amd/amdgpu/kv_dpm.c
1705
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
1880
static int kv_dpm_force_performance_level(void *handle,
sys/dev/drm/amd/amdgpu/kv_dpm.c
1884
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
1905
static int kv_dpm_pre_set_power_state(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
1907
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
1921
static int kv_dpm_set_power_state(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
1923
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
1996
static void kv_dpm_post_set_power_state(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
1998
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
2865
kv_dpm_debugfs_print_current_performance_level(void *handle,
sys/dev/drm/amd/amdgpu/kv_dpm.c
2868
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
2893
kv_dpm_print_power_state(void *handle, void *request_ps)
sys/dev/drm/amd/amdgpu/kv_dpm.c
2898
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
2924
static void kv_dpm_display_configuration_changed(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
2929
static u32 kv_dpm_get_sclk(void *handle, bool low)
sys/dev/drm/amd/amdgpu/kv_dpm.c
2931
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
2941
static u32 kv_dpm_get_mclk(void *handle, bool low)
sys/dev/drm/amd/amdgpu/kv_dpm.c
2943
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
2950
static int kv_dpm_get_temp(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
2954
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
2968
static int kv_dpm_early_init(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
2970
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
2979
static int kv_dpm_late_init(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
2982
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
2993
static int kv_dpm_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
2996
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
3041
static int kv_dpm_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
3043
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
3054
static int kv_dpm_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
3057
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
3074
static int kv_dpm_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
3076
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
3087
static int kv_dpm_suspend(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
3089
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
3102
static int kv_dpm_resume(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
3105
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
3123
static bool kv_dpm_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
3128
static int kv_dpm_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
3134
static int kv_dpm_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/kv_dpm.c
3217
static int kv_dpm_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/kv_dpm.c
3223
static int kv_dpm_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/kv_dpm.c
3238
static int kv_check_state_equal(void *handle,
sys/dev/drm/amd/amdgpu/kv_dpm.c
3248
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
3281
static int kv_dpm_read_sensor(void *handle, int idx,
sys/dev/drm/amd/amdgpu/kv_dpm.c
3284
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/kv_dpm.c
3315
static int kv_set_powergating_by_smu(void *handle,
sys/dev/drm/amd/amdgpu/kv_dpm.c
3320
kv_dpm_powergate_uvd(handle, gate);
sys/dev/drm/amd/amdgpu/kv_dpm.c
3323
kv_dpm_powergate_vce(handle, gate);
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
1113
static int sdma_v2_4_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
1120
static int sdma_v2_4_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
838
static int sdma_v2_4_early_init(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
840
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
852
static int sdma_v2_4_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
856
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
899
static int sdma_v2_4_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
901
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
911
static int sdma_v2_4_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
914
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
925
static int sdma_v2_4_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
927
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
934
static int sdma_v2_4_suspend(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
936
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
941
static int sdma_v2_4_resume(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
943
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
948
static bool sdma_v2_4_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
950
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
960
static int sdma_v2_4_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
964
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
977
static int sdma_v2_4_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
980
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1109
static int sdma_v3_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1111
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1130
static int sdma_v3_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1134
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1184
static int sdma_v3_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1186
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1196
static int sdma_v3_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1199
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1210
static int sdma_v3_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1212
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1220
static int sdma_v3_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1222
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1227
static int sdma_v3_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1229
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1234
static bool sdma_v3_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1236
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1246
static int sdma_v3_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1250
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1263
static bool sdma_v3_0_check_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1265
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1284
static int sdma_v3_0_pre_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1286
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1303
static int sdma_v3_0_post_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1305
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1322
static int sdma_v3_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1324
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1513
static int sdma_v3_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1516
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1536
static int sdma_v3_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1542
static void sdma_v3_0_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
1544
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1276
static int sdma_v4_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1278
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1294
static int sdma_v4_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1298
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1348
static int sdma_v4_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1350
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1364
static int sdma_v4_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1367
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1380
static int sdma_v4_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1382
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1397
static int sdma_v4_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1399
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1404
static int sdma_v4_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1406
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1411
static bool sdma_v4_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1413
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1426
static int sdma_v4_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1430
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1443
static int sdma_v4_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1623
static int sdma_v4_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1626
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1647
static int sdma_v4_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1650
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1664
static void sdma_v4_0_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
1666
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
3065
static bool si_dpm_vblank_too_short(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
3067
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
3858
static int si_dpm_force_performance_level(void *handle,
sys/dev/drm/amd/amdgpu/si_dpm.c
3861
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
6560
static int si_dpm_get_fan_speed_percent(void *handle,
sys/dev/drm/amd/amdgpu/si_dpm.c
6565
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
6586
static int si_dpm_set_fan_speed_percent(void *handle,
sys/dev/drm/amd/amdgpu/si_dpm.c
6589
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
6620
static void si_dpm_set_fan_control_mode(void *handle, u32 mode)
sys/dev/drm/amd/amdgpu/si_dpm.c
6622
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
6638
static u32 si_dpm_get_fan_control_mode(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
6640
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
6935
static int si_dpm_pre_set_power_state(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
6937
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
6974
static int si_dpm_set_power_state(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
6976
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7077
static void si_dpm_post_set_power_state(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7079
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7095
static void si_dpm_display_configuration_changed(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7097
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7479
static void si_dpm_debugfs_print_current_performance_level(void *handle,
sys/dev/drm/amd/amdgpu/si_dpm.c
7482
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7579
static int si_dpm_late_init(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7582
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7685
static int si_dpm_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7688
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7735
static int si_dpm_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7737
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7748
static int si_dpm_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7752
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7769
static int si_dpm_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7771
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7782
static int si_dpm_suspend(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7784
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7797
static int si_dpm_resume(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7800
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7818
static bool si_dpm_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7824
static int si_dpm_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7830
static int si_dpm_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7835
static int si_dpm_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/si_dpm.c
7841
static int si_dpm_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/si_dpm.c
7848
static int si_dpm_get_temp(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7852
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7867
static u32 si_dpm_get_sclk(void *handle, bool low)
sys/dev/drm/amd/amdgpu/si_dpm.c
7869
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7879
static u32 si_dpm_get_mclk(void *handle, bool low)
sys/dev/drm/amd/amdgpu/si_dpm.c
7881
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7891
static void si_dpm_print_power_state(void *handle,
sys/dev/drm/amd/amdgpu/si_dpm.c
7894
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7915
static int si_dpm_early_init(void *handle)
sys/dev/drm/amd/amdgpu/si_dpm.c
7918
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7936
static int si_check_state_equal(void *handle,
sys/dev/drm/amd/amdgpu/si_dpm.c
7946
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/si_dpm.c
7980
static int si_dpm_read_sensor(void *handle, int idx,
sys/dev/drm/amd/amdgpu/si_dpm.c
7983
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/soc15.c
1021
static void soc15_common_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/soc15.c
1023
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/soc15.c
1054
static int soc15_common_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/soc15.c
620
static int soc15_common_early_init(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
622
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/soc15.c
797
static int soc15_common_late_init(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
799
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/soc15.c
807
static int soc15_common_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
809
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/soc15.c
817
static int soc15_common_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
822
static int soc15_common_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
824
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/soc15.c
838
static int soc15_common_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
840
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/soc15.c
850
static int soc15_common_suspend(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
852
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/soc15.c
857
static int soc15_common_resume(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
859
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/soc15.c
864
static bool soc15_common_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
869
static int soc15_common_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
874
static int soc15_common_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/soc15.c
974
static int soc15_common_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/soc15.c
977
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
301
static int tonga_ih_early_init(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
303
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
315
static int tonga_ih_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
318
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
332
static int tonga_ih_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
334
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
343
static int tonga_ih_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
346
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
355
static int tonga_ih_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
357
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
364
static int tonga_ih_suspend(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
366
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
371
static int tonga_ih_resume(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
373
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
378
static bool tonga_ih_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
380
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
389
static int tonga_ih_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
393
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
405
static bool tonga_ih_check_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
407
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
424
static int tonga_ih_pre_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
426
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
434
static int tonga_ih_post_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
436
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
444
static int tonga_ih_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/tonga_ih.c
446
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/tonga_ih.c
475
static int tonga_ih_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/tonga_ih.c
481
static int tonga_ih_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
104
static int uvd_v4_2_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
107
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
134
static int uvd_v4_2_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
137
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
155
static int uvd_v4_2_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
157
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
213
static int uvd_v4_2_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
215
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
226
static int uvd_v4_2_suspend(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
229
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
238
static int uvd_v4_2_resume(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
241
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
47
static int uvd_v4_2_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
638
static bool uvd_v4_2_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
640
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
645
static int uvd_v4_2_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
648
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
657
static int uvd_v4_2_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
659
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
688
static int uvd_v4_2_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
694
static int uvd_v4_2_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
704
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
93
static int uvd_v4_2_early_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
95
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
101
static int uvd_v5_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
104
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
131
static int uvd_v5_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
134
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
150
static int uvd_v5_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
152
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
210
static int uvd_v5_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
212
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
223
static int uvd_v5_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
226
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
236
static int uvd_v5_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
239
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
44
static int uvd_v5_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
561
static bool uvd_v5_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
563
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
568
static int uvd_v5_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
571
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
580
static int uvd_v5_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
582
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
771
static int uvd_v5_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
774
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
779
if (uvd_v5_0_wait_for_idle(handle))
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
793
static int uvd_v5_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
803
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
818
static void uvd_v5_0_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
820
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
90
static int uvd_v5_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v5_0.c
92
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1121
static bool uvd_v6_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1123
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1128
static int uvd_v6_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1131
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1134
if (uvd_v6_0_is_idle(handle))
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1141
static bool uvd_v6_0_check_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1143
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1161
static int uvd_v6_0_pre_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1163
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1172
static int uvd_v6_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1174
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1203
static int uvd_v6_0_post_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1205
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1428
static int uvd_v6_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1431
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1436
if (uvd_v6_0_wait_for_idle(handle))
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1449
static int uvd_v6_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1459
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1476
static void uvd_v6_0_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
1478
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
214
static int uvd_v6_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
234
ib->ptr[ib->length_dw++] = handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
276
uint32_t handle,
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
296
ib->ptr[ib->length_dw++] = handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
364
static int uvd_v6_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
366
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
385
static int uvd_v6_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
389
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
444
static int uvd_v6_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
447
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
468
static int uvd_v6_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
470
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
51
static int uvd_v6_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
543
static int uvd_v6_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
545
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
556
static int uvd_v6_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
559
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
568
static int uvd_v6_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v6_0.c
571
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1440
static bool uvd_v7_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1442
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1447
static int uvd_v7_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1450
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1453
if (uvd_v7_0_is_idle(handle))
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1460
static bool uvd_v7_0_check_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1462
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1482
static int uvd_v7_0_pre_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1484
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1493
static int uvd_v7_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1495
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1524
static int uvd_v7_0_post_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1526
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1699
static int uvd_v7_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1702
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1715
if (uvd_v7_0_wait_for_idle(handle))
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1725
static int uvd_v7_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1735
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
1751
static int uvd_v7_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
222
static int uvd_v7_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
242
ib->ptr[ib->length_dw++] = handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
283
static int uvd_v7_0_enc_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
303
ib->ptr[ib->length_dw++] = handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
372
static int uvd_v7_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
374
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
406
static int uvd_v7_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
411
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
496
static int uvd_v7_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
499
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
523
static int uvd_v7_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
525
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
607
static int uvd_v7_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
609
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
628
static int uvd_v7_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
631
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
640
static int uvd_v7_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
643
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
204
static bool vce_v2_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
206
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
211
static int vce_v2_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
213
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
217
if (vce_v2_0_is_idle(handle))
sys/dev/drm/amd/amdgpu/vce_v2_0.c
401
static int vce_v2_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
403
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
413
static int vce_v2_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
417
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
447
static int vce_v2_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
450
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
459
static int vce_v2_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
462
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
482
static int vce_v2_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
487
static int vce_v2_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
490
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
499
static int vce_v2_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
502
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
511
static int vce_v2_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vce_v2_0.c
513
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
554
static int vce_v2_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/vce_v2_0.c
560
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v2_0.c
572
static int vce_v2_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/vce_v2_0.c
582
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
400
static int vce_v3_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
402
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
419
static int vce_v3_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
421
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
456
static int vce_v3_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
459
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
468
static int vce_v3_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
471
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
493
static int vce_v3_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
496
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
498
r = vce_v3_0_wait_for_idle(handle);
sys/dev/drm/amd/amdgpu/vce_v3_0.c
506
static int vce_v3_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
509
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
518
static int vce_v3_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
521
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
581
static bool vce_v3_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
583
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
592
static int vce_v3_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
595
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
598
if (vce_v3_0_is_idle(handle))
sys/dev/drm/amd/amdgpu/vce_v3_0.c
610
static bool vce_v3_0_check_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
612
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
651
static int vce_v3_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
653
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
68
static int vce_v3_0_wait_for_idle(void *handle);
sys/dev/drm/amd/amdgpu/vce_v3_0.c
682
static int vce_v3_0_pre_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
684
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
69
static int vce_v3_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/vce_v3_0.c
695
static int vce_v3_0_post_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
697
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
744
static int vce_v3_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/vce_v3_0.c
747
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
785
static int vce_v3_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/vce_v3_0.c
795
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v3_0.c
812
static void vce_v3_0_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/vce_v3_0.c
814
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
403
static int vce_v4_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
405
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
418
static int vce_v4_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
420
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
490
static int vce_v4_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
493
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
510
static int vce_v4_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
513
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
538
static int vce_v4_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
540
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
557
static int vce_v4_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
559
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
579
static int vce_v4_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
581
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
658
static int vce_v4_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/vce_v4_0.c
666
static bool vce_v4_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
668
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
677
static int vce_v4_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
680
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
683
if (vce_v4_0_is_idle(handle))
sys/dev/drm/amd/amdgpu/vce_v4_0.c
695
static bool vce_v4_0_check_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
697
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
736
static int vce_v4_0_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
738
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
767
static int vce_v4_0_pre_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
769
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
780
static int vce_v4_0_post_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vce_v4_0.c
782
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
885
static int vce_v4_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/vce_v4_0.c
888
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
931
static int vce_v4_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/vce_v4_0.c
941
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
1206
static bool vcn_v1_0_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
1208
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
1213
static int vcn_v1_0_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
1215
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
1224
static int vcn_v1_0_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
1227
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
1232
if (vcn_v1_0_is_idle(handle))
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
153
static int vcn_v1_0_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
156
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
174
static int vcn_v1_0_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
176
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
1998
static int vcn_v1_0_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
2009
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
220
static int vcn_v1_0_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
222
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
240
static int vcn_v1_0_suspend(void *handle)
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
243
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
261
static int vcn_v1_0_resume(void *handle)
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
264
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
51
static int vcn_v1_0_set_powergating_state(void *handle, enum amd_powergating_state state);
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
60
static int vcn_v1_0_early_init(void *handle)
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
62
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
81
static int vcn_v1_0_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
85
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vega10_ih.c
376
static int vega10_ih_early_init(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
378
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vega10_ih.c
384
static int vega10_ih_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
387
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vega10_ih.c
401
static int vega10_ih_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
403
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vega10_ih.c
411
static int vega10_ih_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
414
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vega10_ih.c
423
static int vega10_ih_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
425
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vega10_ih.c
432
static int vega10_ih_suspend(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
434
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vega10_ih.c
439
static int vega10_ih_resume(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
441
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vega10_ih.c
446
static bool vega10_ih_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
452
static int vega10_ih_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
458
static int vega10_ih_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vega10_ih.c
465
static int vega10_ih_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/vega10_ih.c
471
static int vega10_ih_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/vi.c
1189
static int vi_common_late_init(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1191
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vi.c
1199
static int vi_common_sw_init(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1201
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vi.c
1209
static int vi_common_sw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1214
static int vi_common_hw_init(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1216
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vi.c
1230
static int vi_common_hw_fini(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1232
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vi.c
1243
static int vi_common_suspend(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1245
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vi.c
1250
static int vi_common_resume(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1252
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vi.c
1257
static bool vi_common_is_idle(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1262
static int vi_common_wait_for_idle(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1267
static int vi_common_soft_reset(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
1359
static int vi_common_set_clockgating_state_by_smu(void *handle,
sys/dev/drm/amd/amdgpu/vi.c
1364
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vi.c
1483
static int vi_common_set_clockgating_state(void *handle,
sys/dev/drm/amd/amdgpu/vi.c
1486
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vi.c
1525
static int vi_common_set_powergating_state(void *handle,
sys/dev/drm/amd/amdgpu/vi.c
1531
static void vi_common_get_clockgating_state(void *handle, u32 *flags)
sys/dev/drm/amd/amdgpu/vi.c
1533
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/amdgpu/vi.c
965
static int vi_common_early_init(void *handle)
sys/dev/drm/amd/amdgpu/vi.c
967
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2081
static int dm_early_init(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2083
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
217
static bool dm_is_idle(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
223
static int dm_wait_for_idle(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
229
static bool dm_check_soft_reset(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
234
static int dm_soft_reset(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
328
static int dm_set_clockgating_state(void *handle,
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
334
static int dm_set_powergating_state(void *handle,
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
341
static int dm_early_init(void* handle);
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
592
static int dm_sw_init(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
594
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
599
static int dm_sw_fini(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
601
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
639
static int dm_late_init(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
641
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
682
static int dm_hw_init(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
684
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
692
static int dm_hw_fini(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
694
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
703
static int dm_suspend(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
705
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
822
static int dm_resume(void *handle)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
824
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/include/amd_shared.h
152
int (*early_init)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
154
int (*late_init)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
156
int (*sw_init)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
158
int (*sw_fini)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
160
int (*hw_init)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
162
int (*hw_fini)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
164
void (*late_fini)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
166
int (*suspend)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
168
int (*resume)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
170
bool (*is_idle)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
172
int (*wait_for_idle)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
174
bool (*check_soft_reset)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
176
int (*pre_soft_reset)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
178
int (*soft_reset)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
180
int (*post_soft_reset)(void *handle);
sys/dev/drm/amd/include/amd_shared.h
182
int (*set_clockgating_state)(void *handle,
sys/dev/drm/amd/include/amd_shared.h
185
int (*set_powergating_state)(void *handle,
sys/dev/drm/amd/include/amd_shared.h
188
void (*get_clockgating_state)(void *handle, u32 *flags);
sys/dev/drm/amd/include/kgd_pp_interface.h
206
int (*pre_set_power_state)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
207
int (*set_power_state)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
208
void (*post_set_power_state)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
209
void (*display_configuration_changed)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
210
void (*print_power_state)(void *handle, void *ps);
sys/dev/drm/amd/include/kgd_pp_interface.h
211
bool (*vblank_too_short)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
212
void (*enable_bapm)(void *handle, bool enable);
sys/dev/drm/amd/include/kgd_pp_interface.h
213
int (*check_state_equal)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
218
void (*set_fan_control_mode)(void *handle, u32 mode);
sys/dev/drm/amd/include/kgd_pp_interface.h
219
u32 (*get_fan_control_mode)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
220
int (*set_fan_speed_percent)(void *handle, u32 speed);
sys/dev/drm/amd/include/kgd_pp_interface.h
221
int (*get_fan_speed_percent)(void *handle, u32 *speed);
sys/dev/drm/amd/include/kgd_pp_interface.h
222
int (*force_clock_level)(void *handle, enum pp_clock_type type, uint32_t mask);
sys/dev/drm/amd/include/kgd_pp_interface.h
223
int (*print_clock_levels)(void *handle, enum pp_clock_type type, char *buf);
sys/dev/drm/amd/include/kgd_pp_interface.h
224
int (*force_performance_level)(void *handle, enum amd_dpm_forced_level level);
sys/dev/drm/amd/include/kgd_pp_interface.h
225
int (*get_sclk_od)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
226
int (*set_sclk_od)(void *handle, uint32_t value);
sys/dev/drm/amd/include/kgd_pp_interface.h
227
int (*get_mclk_od)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
228
int (*set_mclk_od)(void *handle, uint32_t value);
sys/dev/drm/amd/include/kgd_pp_interface.h
229
int (*read_sensor)(void *handle, int idx, void *value, int *size);
sys/dev/drm/amd/include/kgd_pp_interface.h
230
enum amd_dpm_forced_level (*get_performance_level)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
231
enum amd_pm_state_type (*get_current_power_state)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
232
int (*get_fan_speed_rpm)(void *handle, uint32_t *rpm);
sys/dev/drm/amd/include/kgd_pp_interface.h
233
int (*set_fan_speed_rpm)(void *handle, uint32_t rpm);
sys/dev/drm/amd/include/kgd_pp_interface.h
234
int (*get_pp_num_states)(void *handle, struct pp_states_info *data);
sys/dev/drm/amd/include/kgd_pp_interface.h
235
int (*get_pp_table)(void *handle, char **table);
sys/dev/drm/amd/include/kgd_pp_interface.h
236
int (*set_pp_table)(void *handle, const char *buf, size_t size);
sys/dev/drm/amd/include/kgd_pp_interface.h
237
void (*debugfs_print_current_performance_level)(void *handle, struct seq_file *m);
sys/dev/drm/amd/include/kgd_pp_interface.h
238
int (*switch_power_profile)(void *handle, enum PP_SMC_POWER_PROFILE type, bool en);
sys/dev/drm/amd/include/kgd_pp_interface.h
240
struct amd_vce_state *(*get_vce_clock_state)(void *handle, u32 idx);
sys/dev/drm/amd/include/kgd_pp_interface.h
241
int (*dispatch_tasks)(void *handle, enum amd_pp_task task_id,
sys/dev/drm/amd/include/kgd_pp_interface.h
243
int (*load_firmware)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
244
int (*wait_for_fw_loading_complete)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
245
int (*set_powergating_by_smu)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
247
int (*set_clockgating_by_smu)(void *handle, uint32_t msg_id);
sys/dev/drm/amd/include/kgd_pp_interface.h
248
int (*set_power_limit)(void *handle, uint32_t n);
sys/dev/drm/amd/include/kgd_pp_interface.h
249
int (*get_power_limit)(void *handle, uint32_t *limit, bool default_limit);
sys/dev/drm/amd/include/kgd_pp_interface.h
250
int (*get_power_profile_mode)(void *handle, char *buf);
sys/dev/drm/amd/include/kgd_pp_interface.h
251
int (*set_power_profile_mode)(void *handle, long *input, uint32_t size);
sys/dev/drm/amd/include/kgd_pp_interface.h
252
int (*odn_edit_dpm_table)(void *handle, uint32_t type, long *input, uint32_t size);
sys/dev/drm/amd/include/kgd_pp_interface.h
254
u32 (*get_sclk)(void *handle, bool low);
sys/dev/drm/amd/include/kgd_pp_interface.h
255
u32 (*get_mclk)(void *handle, bool low);
sys/dev/drm/amd/include/kgd_pp_interface.h
256
int (*display_configuration_change)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
258
int (*get_display_power_level)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
260
int (*get_current_clocks)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
262
int (*get_clock_by_type)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
265
int (*get_clock_by_type_with_latency)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
268
int (*get_clock_by_type_with_voltage)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
271
int (*set_watermarks_for_clocks_ranges)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
273
int (*display_clock_voltage_request)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
275
int (*get_display_mode_validation_clocks)(void *handle,
sys/dev/drm/amd/include/kgd_pp_interface.h
277
int (*notify_smu_enable_pwe)(void *handle);
sys/dev/drm/amd/include/kgd_pp_interface.h
278
int (*enable_mgpu_fan_boost)(void *handle);
sys/dev/drm/amd/powerplay/amd_powerplay.c
1000
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1022
static int pp_display_configuration_change(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
1025
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1036
static int pp_get_display_power_level(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
1039
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
105
static int pp_sw_fini(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
1051
static int pp_get_current_clocks(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
1056
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
107
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1103
static int pp_get_clock_by_type(void *handle, enum amd_pp_clock_type type, struct amd_pp_clocks *clocks)
sys/dev/drm/amd/powerplay/amd_powerplay.c
1105
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1120
static int pp_get_clock_by_type_with_latency(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
1124
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1136
static int pp_get_clock_by_type_with_voltage(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
1140
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1154
static int pp_set_watermarks_for_clocks_ranges(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
1157
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1171
static int pp_display_clock_voltage_request(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
1174
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
118
static int pp_hw_init(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
1187
static int pp_get_display_mode_validation_clocks(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
1190
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1207
static int pp_dpm_powergate_mmhub(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
1209
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
121
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1222
static int pp_dpm_powergate_gfx(void *handle, bool gate)
sys/dev/drm/amd/powerplay/amd_powerplay.c
1224
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1237
static void pp_dpm_powergate_acp(void *handle, bool gate)
sys/dev/drm/amd/powerplay/amd_powerplay.c
1239
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1252
static void pp_dpm_powergate_sdma(void *handle, bool gate)
sys/dev/drm/amd/powerplay/amd_powerplay.c
1254
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1267
static int pp_set_powergating_by_smu(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
1275
pp_dpm_powergate_uvd(handle, gate);
sys/dev/drm/amd/powerplay/amd_powerplay.c
1278
pp_dpm_powergate_vce(handle, gate);
sys/dev/drm/amd/powerplay/amd_powerplay.c
1281
pp_dpm_powergate_mmhub(handle);
sys/dev/drm/amd/powerplay/amd_powerplay.c
1284
ret = pp_dpm_powergate_gfx(handle, gate);
sys/dev/drm/amd/powerplay/amd_powerplay.c
1287
pp_dpm_powergate_acp(handle, gate);
sys/dev/drm/amd/powerplay/amd_powerplay.c
1290
pp_dpm_powergate_sdma(handle, gate);
sys/dev/drm/amd/powerplay/amd_powerplay.c
1298
static int pp_notify_smu_enable_pwe(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
1300
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
1317
static int pp_enable_mgpu_fan_boost(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
1319
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
132
static int pp_hw_fini(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
134
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
173
static int pp_late_init(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
175
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
190
static void pp_late_fini(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
192
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
200
static bool pp_is_idle(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
205
static int pp_wait_for_idle(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
210
static int pp_sw_reset(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
215
static int pp_set_powergating_state(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
221
static int pp_suspend(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
223
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
229
static int pp_resume(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
231
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
237
static int pp_set_clockgating_state(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
275
static int pp_dpm_load_fw(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
277
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
290
static int pp_dpm_fw_loading_complete(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
295
static int pp_set_clockgating_by_smu(void *handle, uint32_t msg_id)
sys/dev/drm/amd/powerplay/amd_powerplay.c
297
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
346
static int pp_dpm_force_performance_level(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
349
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
367
void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
369
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
381
static uint32_t pp_dpm_get_sclk(void *handle, bool low)
sys/dev/drm/amd/powerplay/amd_powerplay.c
383
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
399
static uint32_t pp_dpm_get_mclk(void *handle, bool low)
sys/dev/drm/amd/powerplay/amd_powerplay.c
401
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
417
static void pp_dpm_powergate_vce(void *handle, bool gate)
sys/dev/drm/amd/powerplay/amd_powerplay.c
419
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
433
static void pp_dpm_powergate_uvd(void *handle, bool gate)
sys/dev/drm/amd/powerplay/amd_powerplay.c
435
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
449
static int pp_dpm_dispatch_tasks(void *handle, enum amd_pp_task task_id,
sys/dev/drm/amd/powerplay/amd_powerplay.c
453
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
465
static enum amd_pm_state_type pp_dpm_get_current_power_state(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
467
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
500
static void pp_dpm_set_fan_control_mode(void *handle, uint32_t mode)
sys/dev/drm/amd/powerplay/amd_powerplay.c
502
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
516
static uint32_t pp_dpm_get_fan_control_mode(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
518
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
534
static int pp_dpm_set_fan_speed_percent(void *handle, uint32_t percent)
sys/dev/drm/amd/powerplay/amd_powerplay.c
536
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
552
static int pp_dpm_get_fan_speed_percent(void *handle, uint32_t *speed)
sys/dev/drm/amd/powerplay/amd_powerplay.c
554
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
571
static int pp_dpm_get_fan_speed_rpm(void *handle, uint32_t *rpm)
sys/dev/drm/amd/powerplay/amd_powerplay.c
573
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
588
static int pp_dpm_set_fan_speed_rpm(void *handle, uint32_t rpm)
sys/dev/drm/amd/powerplay/amd_powerplay.c
590
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
606
static int pp_dpm_get_pp_num_states(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
609
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
645
static int pp_dpm_get_pp_table(void *handle, char **table)
sys/dev/drm/amd/powerplay/amd_powerplay.c
647
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
660
static int amd_powerplay_reset(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
662
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
676
static int pp_dpm_set_pp_table(void *handle, const char *buf, size_t size)
sys/dev/drm/amd/powerplay/amd_powerplay.c
678
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
697
ret = amd_powerplay_reset(handle);
sys/dev/drm/amd/powerplay/amd_powerplay.c
713
static int pp_dpm_force_clock_level(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
716
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
738
static int pp_dpm_print_clock_levels(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
741
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
75
static int pp_early_init(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
757
static int pp_dpm_get_sclk_od(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
759
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
775
static int pp_dpm_set_sclk_od(void *handle, uint32_t value)
sys/dev/drm/amd/powerplay/amd_powerplay.c
777
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
78
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
794
static int pp_dpm_get_mclk_od(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
796
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
812
static int pp_dpm_set_mclk_od(void *handle, uint32_t value)
sys/dev/drm/amd/powerplay/amd_powerplay.c
814
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
830
static int pp_dpm_read_sensor(void *handle, int idx,
sys/dev/drm/amd/powerplay/amd_powerplay.c
833
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
861
pp_dpm_get_vce_clock_state(void *handle, unsigned idx)
sys/dev/drm/amd/powerplay/amd_powerplay.c
863
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
873
static int pp_get_power_profile_mode(void *handle, char *buf)
sys/dev/drm/amd/powerplay/amd_powerplay.c
875
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
888
static int pp_set_power_profile_mode(void *handle, long *input, uint32_t size)
sys/dev/drm/amd/powerplay/amd_powerplay.c
890
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
912
static int pp_odn_edit_dpm_table(void *handle, uint32_t type, long *input, uint32_t size)
sys/dev/drm/amd/powerplay/amd_powerplay.c
914
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
92
static int pp_sw_init(void *handle)
sys/dev/drm/amd/powerplay/amd_powerplay.c
927
static int pp_dpm_switch_power_profile(void *handle,
sys/dev/drm/amd/powerplay/amd_powerplay.c
930
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
94
struct amdgpu_device *adev = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
966
static int pp_set_power_limit(void *handle, uint32_t limit)
sys/dev/drm/amd/powerplay/amd_powerplay.c
968
struct pp_hwmgr *hwmgr = handle;
sys/dev/drm/amd/powerplay/amd_powerplay.c
998
static int pp_get_power_limit(void *handle, uint32_t *limit, bool default_limit)
sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.c
195
amdgpu_bo_free_kernel(&priv->smu_tables.entry[SMU10_WMTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.c
198
amdgpu_bo_free_kernel(&priv->smu_tables.entry[SMU10_CLOCKTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.c
239
&priv->smu_tables.entry[SMU10_WMTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.c
255
&priv->smu_tables.entry[SMU10_CLOCKTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.c
269
amdgpu_bo_free_kernel(&priv->smu_tables.entry[SMU10_WMTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.h
38
struct amdgpu_bo *handle;
sys/dev/drm/amd/powerplay/smumgr/smu7_smumgr.c
558
&smu_data->header_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu7_smumgr.c
573
&smu_data->smu_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu7_smumgr.c
578
amdgpu_bo_free_kernel(&smu_data->header_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu7_smumgr.c
596
amdgpu_bo_free_kernel(&smu_data->header_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu7_smumgr.c
601
amdgpu_bo_free_kernel(&smu_data->smu_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu7_smumgr.h
36
struct amdgpu_bo *handle;
sys/dev/drm/amd/powerplay/smumgr/smu8_smumgr.c
768
&smu8_smu->toc_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu8_smumgr.c
778
&smu8_smu->smu_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu8_smumgr.c
826
amdgpu_bo_free_kernel(&smu8_smu->smu_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu8_smumgr.c
830
amdgpu_bo_free_kernel(&smu8_smu->toc_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu8_smumgr.c
847
amdgpu_bo_free_kernel(&smu8_smu->toc_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu8_smumgr.c
850
amdgpu_bo_free_kernel(&smu8_smu->smu_buffer.handle,
sys/dev/drm/amd/powerplay/smumgr/smu8_smumgr.h
66
struct amdgpu_bo *handle; /* as bo handle used when release bo */
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
195
&priv->smu_tables.entry[PPTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
210
&priv->smu_tables.entry[WMTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
226
&priv->smu_tables.entry[AVFSTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
243
&priv->smu_tables.entry[TOOLSTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
258
&priv->smu_tables.entry[AVFSFUSETABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
273
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TOOLSTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
277
amdgpu_bo_free_kernel(&priv->smu_tables.entry[AVFSTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
281
amdgpu_bo_free_kernel(&priv->smu_tables.entry[WMTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
285
amdgpu_bo_free_kernel(&priv->smu_tables.entry[PPTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
299
amdgpu_bo_free_kernel(&priv->smu_tables.entry[PPTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
302
amdgpu_bo_free_kernel(&priv->smu_tables.entry[WMTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
305
amdgpu_bo_free_kernel(&priv->smu_tables.entry[AVFSTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
309
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TOOLSTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.c
312
amdgpu_bo_free_kernel(&priv->smu_tables.entry[AVFSFUSETABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega10_smumgr.h
34
struct amdgpu_bo *handle;
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
221
&priv->smu_tables.entry[TABLE_PPTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
235
&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
251
&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
266
&priv->smu_tables.entry[TABLE_AVFS_FUSE_OVERRIDE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
281
&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
293
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_AVFS_FUSE_OVERRIDE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
298
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
302
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
306
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
321
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
324
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
328
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
331
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_AVFS_FUSE_OVERRIDE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.c
334
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega12_smumgr.h
35
struct amdgpu_bo *handle;
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
397
&priv->smu_tables.entry[TABLE_PPTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
411
&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
425
&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
439
&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
453
&priv->smu_tables.entry[TABLE_SMU_METRICS].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
467
&priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
479
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_SMU_METRICS].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
483
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
487
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
491
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
495
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
510
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
513
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
516
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
519
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
522
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_SMU_METRICS].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.c
525
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].handle,
sys/dev/drm/amd/powerplay/smumgr/vega20_smumgr.h
34
struct amdgpu_bo *handle;
sys/dev/drm/drm_agpsupport.c
215
void *handle;
sys/dev/drm/drm_agpsupport.c
230
handle = drm_agp_allocate_memory(pages, type);
sys/dev/drm/drm_agpsupport.c
231
if (handle == NULL) {
sys/dev/drm/drm_agpsupport.c
236
entry->handle = handle;
sys/dev/drm/drm_agpsupport.c
245
agp_memory_info(dev->agp->agpdev, entry->handle, &info);
sys/dev/drm/drm_agpsupport.c
247
request->handle = (unsigned long) entry->handle;
sys/dev/drm/drm_agpsupport.c
280
void *handle)
sys/dev/drm/drm_agpsupport.c
285
if (entry->handle == handle)
sys/dev/drm/drm_agpsupport.c
291
static int drm_agp_unbind_memory(void *handle)
sys/dev/drm/drm_agpsupport.c
296
if (!agpdev || !handle)
sys/dev/drm/drm_agpsupport.c
299
return -agp_unbind_memory(agpdev, handle);
sys/dev/drm/drm_agpsupport.c
321
entry = drm_agp_lookup_entry(dev, (void *)request->handle);
sys/dev/drm/drm_agpsupport.c
324
ret = drm_agp_unbind_memory(entry->handle);
sys/dev/drm/drm_agpsupport.c
342
static int drm_agp_bind_memory(void *handle, off_t start)
sys/dev/drm/drm_agpsupport.c
347
if (!agpdev || !handle)
sys/dev/drm/drm_agpsupport.c
350
return -agp_bind_memory(agpdev, handle, start * PAGE_SIZE);
sys/dev/drm/drm_agpsupport.c
377
entry = drm_agp_lookup_entry(dev, (void *)request->handle);
sys/dev/drm/drm_agpsupport.c
383
retcode = drm_agp_bind_memory(entry->handle, page);
sys/dev/drm/drm_agpsupport.c
402
static int drm_agp_free_memory(void *handle)
sys/dev/drm/drm_agpsupport.c
407
if (!agpdev || !handle)
sys/dev/drm/drm_agpsupport.c
410
agp_free_memory(agpdev, handle);
sys/dev/drm/drm_agpsupport.c
434
entry = drm_agp_lookup_entry(dev, (void*)request->handle);
sys/dev/drm/drm_agpsupport.c
446
drm_agp_unbind_memory(entry->handle);
sys/dev/drm/drm_agpsupport.c
448
drm_agp_free_memory(entry->handle);
sys/dev/drm/drm_agpsupport.c
532
drm_agp_unbind_memory(entry->handle);
sys/dev/drm/drm_agpsupport.c
533
drm_agp_free_memory(entry->handle);
sys/dev/drm/drm_bufs.c
181
map->handle = NULL;
sys/dev/drm/drm_bufs.c
219
map->handle = ioremap_wc(map->offset,
sys/dev/drm/drm_bufs.c
222
map->handle = ioremap(map->offset, map->size);
sys/dev/drm/drm_bufs.c
223
if (!map->handle) {
sys/dev/drm/drm_bufs.c
244
map->handle = vmalloc_user(map->size);
sys/dev/drm/drm_bufs.c
246
map->size, order_base_2(map->size), map->handle);
sys/dev/drm/drm_bufs.c
247
if (!map->handle) {
sys/dev/drm/drm_bufs.c
251
map->offset = (unsigned long)map->handle;
sys/dev/drm/drm_bufs.c
255
vfree(map->handle);
sys/dev/drm/drm_bufs.c
259
dev->sigdata.lock = dev->master->lock.hw_lock = map->handle; /* Pointer to lock */
sys/dev/drm/drm_bufs.c
316
map->handle = (void *)(uintptr_t)(dev->sg->vaddr + offset);
sys/dev/drm/drm_bufs.c
329
map->handle = dmah->vaddr;
sys/dev/drm/drm_bufs.c
341
iounmap(map->handle);
sys/dev/drm/drm_bufs.c
352
user_token = (map->type == _DRM_SHM) ? (unsigned long)map->handle :
sys/dev/drm/drm_bufs.c
358
iounmap(map->handle);
sys/dev/drm/drm_bufs.c
420
map->handle = (void *)(unsigned long)maplist->user_token;
sys/dev/drm/drm_bufs.c
481
map->handle = (void *)(unsigned long) r_list->user_token;
sys/dev/drm/drm_bufs.c
524
iounmap(map->handle);
sys/dev/drm/drm_bufs.c
530
vfree(map->handle);
sys/dev/drm/drm_bufs.c
543
dmah.vaddr = map->handle;
sys/dev/drm/drm_bufs.c
614
r_list->user_token == (unsigned long)request->handle &&
sys/dev/drm/drm_context.c
141
pos->handle != DRM_KERNEL_CONTEXT) {
sys/dev/drm/drm_context.c
143
dev->driver->context_dtor(dev, pos->handle);
sys/dev/drm/drm_context.c
145
drm_legacy_ctxbitmap_free(dev, pos->handle);
sys/dev/drm/drm_context.c
191
request->handle = NULL;
sys/dev/drm/drm_context.c
194
request->handle =
sys/dev/drm/drm_context.c
202
if (request->handle == NULL)
sys/dev/drm/drm_context.c
234
&& r_list->user_token == (unsigned long) request->handle)
sys/dev/drm/drm_context.c
338
ctx.handle = i;
sys/dev/drm/drm_context.c
36
drm_context_t handle;
sys/dev/drm/drm_context.c
369
ctx->handle = drm_legacy_ctxbitmap_next(dev);
sys/dev/drm/drm_context.c
370
if (ctx->handle == DRM_KERNEL_CONTEXT) {
sys/dev/drm/drm_context.c
372
ctx->handle = drm_legacy_ctxbitmap_next(dev);
sys/dev/drm/drm_context.c
374
DRM_DEBUG("%d\n", ctx->handle);
sys/dev/drm/drm_context.c
375
if (ctx->handle < 0) {
sys/dev/drm/drm_context.c
388
ctx_entry->handle = ctx->handle;
sys/dev/drm/drm_context.c
442
DRM_DEBUG("%d\n", ctx->handle);
sys/dev/drm/drm_context.c
443
return drm_context_switch(dev, dev->last_context, ctx->handle);
sys/dev/drm/drm_context.c
466
DRM_DEBUG("%d\n", ctx->handle);
sys/dev/drm/drm_context.c
467
drm_context_switch_complete(dev, file_priv, ctx->handle);
sys/dev/drm/drm_context.c
492
DRM_DEBUG("%d\n", ctx->handle);
sys/dev/drm/drm_context.c
493
if (ctx->handle != DRM_KERNEL_CONTEXT) {
sys/dev/drm/drm_context.c
495
dev->driver->context_dtor(dev, ctx->handle);
sys/dev/drm/drm_context.c
496
drm_legacy_ctxbitmap_free(dev, ctx->handle);
sys/dev/drm/drm_context.c
504
if (pos->handle == ctx->handle) {
sys/dev/drm/drm_crtc_internal.h
79
int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle,
sys/dev/drm/drm_dumb_buffers.c
125
args->handle,
sys/dev/drm/drm_dumb_buffers.c
128
return drm_gem_dumb_map_offset(file_priv, dev, args->handle,
sys/dev/drm/drm_dumb_buffers.c
132
int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle,
sys/dev/drm/drm_dumb_buffers.c
139
return dev->driver->dumb_destroy(file_priv, dev, handle);
sys/dev/drm/drm_dumb_buffers.c
141
return drm_gem_dumb_destroy(file_priv, dev, handle);
sys/dev/drm/drm_dumb_buffers.c
149
return drm_mode_destroy_dumb(dev, args->handle, file_priv);
sys/dev/drm/drm_dumb_buffers.c
88
args->handle = 0;
sys/dev/drm/drm_framebuffer.c
130
r.handles[0] = or->handle;
sys/dev/drm/drm_framebuffer.c
550
r->handle = 0;
sys/dev/drm/drm_framebuffer.c
555
ret = fb->funcs->create_handle(fb, file_priv, &r->handle);
sys/dev/drm/drm_gem.c
336
drm_gem_handle_delete(struct drm_file *filp, u32 handle)
sys/dev/drm/drm_gem.c
352
obj = idr_replace(&filp->object_idr, NULL, handle);
sys/dev/drm/drm_gem.c
358
drm_gem_object_release_handle(handle, obj, filp);
sys/dev/drm/drm_gem.c
362
idr_remove(&filp->object_idr, handle);
sys/dev/drm/drm_gem.c
382
u32 handle, u64 *offset)
sys/dev/drm/drm_gem.c
387
obj = drm_gem_object_lookup(file, handle);
sys/dev/drm/drm_gem.c
420
uint32_t handle)
sys/dev/drm/drm_gem.c
422
return drm_gem_handle_delete(file, handle);
sys/dev/drm/drm_gem.c
446
u32 handle;
sys/dev/drm/drm_gem.c
469
handle = ret;
sys/dev/drm/drm_gem.c
481
*handlep = handle;
sys/dev/drm/drm_gem.c
488
idr_remove(&file_priv->object_idr, handle);
sys/dev/drm/drm_gem.c
621
drm_gem_object_lookup(struct drm_file *filp, u32 handle)
sys/dev/drm/drm_gem.c
628
obj = idr_find(&filp->object_idr, handle);
sys/dev/drm/drm_gem.c
656
ret = drm_gem_handle_delete(file_priv, args->handle);
sys/dev/drm/drm_gem.c
683
obj = drm_gem_object_lookup(file_priv, args->handle);
sys/dev/drm/drm_gem.c
729
u32 handle;
sys/dev/drm/drm_gem.c
744
ret = drm_gem_handle_create_tail(file_priv, obj, &handle);
sys/dev/drm/drm_gem.c
749
args->handle = handle;
sys/dev/drm/drm_gem_framebuffer_helper.c
124
unsigned int *handle)
sys/dev/drm/drm_gem_framebuffer_helper.c
126
return drm_gem_handle_create(file, fb->obj[0], handle);
sys/dev/drm/drm_legacy.h
98
void *handle;
sys/dev/drm/drm_memory.c
66
map->handle = ioremap(map->offset, map->size);
sys/dev/drm/drm_memory.c
72
map->handle = ioremap_wc(map->offset, map->size);
sys/dev/drm/drm_memory.c
78
if (!map->handle || !map->size)
sys/dev/drm/drm_memory.c
81
pmap_unmapdev((vm_offset_t) map->handle, map->size);
sys/dev/drm/drm_plane.c
839
.handles = { req->handle },
sys/dev/drm/drm_plane.c
855
if (req->handle) {
sys/dev/drm/drm_plane.c
958
ret = crtc->funcs->cursor_set2(crtc, file_priv, req->handle,
sys/dev/drm/drm_plane.c
961
ret = crtc->funcs->cursor_set(crtc, file_priv, req->handle,
sys/dev/drm/drm_prime.c
106
member->handle = handle;
sys/dev/drm/drm_prime.c
130
if (handle > pos->handle)
sys/dev/drm/drm_prime.c
142
uint32_t handle)
sys/dev/drm/drm_prime.c
151
if (member->handle == handle)
sys/dev/drm/drm_prime.c
153
else if (member->handle < handle)
sys/dev/drm/drm_prime.c
164
uint32_t *handle)
sys/dev/drm/drm_prime.c
174
*handle = member->handle;
sys/dev/drm/drm_prime.c
600
struct drm_file *file_priv, uint32_t handle,
sys/dev/drm/drm_prime.c
608
DRM_DEBUG("[in] handle=%u\n", handle);
sys/dev/drm/drm_prime.c
611
obj = drm_gem_object_lookup(file_priv, handle);
sys/dev/drm/drm_prime.c
619
dmabuf = drm_prime_lookup_buf_by_handle(&file_priv->prime, handle);
sys/dev/drm/drm_prime.c
663
dmabuf, handle);
sys/dev/drm/drm_prime.c
794
uint32_t *handle)
sys/dev/drm/drm_prime.c
812
dma_buf, handle);
sys/dev/drm/drm_prime.c
83
uint32_t handle;
sys/dev/drm/drm_prime.c
835
ret = drm_gem_handle_create_tail(file_priv, obj, handle);
sys/dev/drm/drm_prime.c
842
dma_buf, *handle);
sys/dev/drm/drm_prime.c
856
drm_gem_handle_delete(file_priv, *handle);
sys/dev/drm/drm_prime.c
885
args->handle, args->flags, &args->fd);
sys/dev/drm/drm_prime.c
900
args->fd, &args->handle);
sys/dev/drm/drm_prime.c
95
struct dma_buf *dma_buf, uint32_t handle)
sys/dev/drm/drm_scatter.c
110
request->handle = entry->vaddr;
sys/dev/drm/drm_scatter.c
134
if (!entry || entry->vaddr != request->handle)
sys/dev/drm/drm_syncobj.c
233
u32 handle, u64 point,
sys/dev/drm/drm_syncobj.c
236
struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle);
sys/dev/drm/drm_syncobj.c
324
struct drm_syncobj *syncobj, u32 *handle)
sys/dev/drm/drm_syncobj.c
343
*handle = ret;
sys/dev/drm/drm_syncobj.c
349
u32 *handle, uint32_t flags)
sys/dev/drm/drm_syncobj.c
358
ret = drm_syncobj_get_handle(file_private, syncobj, handle);
sys/dev/drm/drm_syncobj.c
364
u32 handle)
sys/dev/drm/drm_syncobj.c
369
syncobj = idr_remove(&file_private->syncobj_idr, handle);
sys/dev/drm/drm_syncobj.c
432
u32 handle, int *p_fd)
sys/dev/drm/drm_syncobj.c
434
struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle);
sys/dev/drm/drm_syncobj.c
446
int fd, u32 *handle)
sys/dev/drm/drm_syncobj.c
475
*handle = ret;
sys/dev/drm/drm_syncobj.c
486
int fd, int handle)
sys/dev/drm/drm_syncobj.c
494
syncobj = drm_syncobj_find(file_private, handle);
sys/dev/drm/drm_syncobj.c
507
int handle, int *p_fd)
sys/dev/drm/drm_syncobj.c
517
ret = drm_syncobj_find_fence(file_private, handle, 0, &fence);
sys/dev/drm/drm_syncobj.c
591
&args->handle, args->flags);
sys/dev/drm/drm_syncobj.c
606
return drm_syncobj_destroy(file_private, args->handle);
sys/dev/drm/drm_syncobj.c
626
return drm_syncobj_export_sync_file(file_private, args->handle,
sys/dev/drm/drm_syncobj.c
629
return drm_syncobj_handle_to_fd(file_private, args->handle,
sys/dev/drm/drm_syncobj.c
652
args->handle);
sys/dev/drm/drm_syncobj.c
655
&args->handle);
sys/dev/drm/drm_syncobj.c
84
u32 handle)
sys/dev/drm/drm_syncobj.c
91
syncobj = idr_find(&file_private->syncobj_idr, handle);
sys/dev/drm/drm_vm.c
130
phys = vtophys((char *)map->handle + offset);
sys/dev/drm/i915/gvt/gvt.h
148
unsigned long handle; /* vGPU handle used by hypervisor MPT modules */
sys/dev/drm/i915/gvt/gvt.h
361
__u64 handle;
sys/dev/drm/i915/gvt/hypercall.h
43
int (*attach_vgpu)(void *vgpu, unsigned long *handle);
sys/dev/drm/i915/gvt/hypercall.h
44
void (*detach_vgpu)(unsigned long handle);
sys/dev/drm/i915/gvt/hypercall.h
45
int (*inject_msi)(unsigned long handle, u32 addr, u16 data);
sys/dev/drm/i915/gvt/hypercall.h
47
int (*set_wp_page)(unsigned long handle, u64 gfn);
sys/dev/drm/i915/gvt/hypercall.h
48
int (*unset_wp_page)(unsigned long handle, u64 gfn);
sys/dev/drm/i915/gvt/hypercall.h
49
int (*read_gpa)(unsigned long handle, unsigned long gpa, void *buf,
sys/dev/drm/i915/gvt/hypercall.h
51
int (*write_gpa)(unsigned long handle, unsigned long gpa, void *buf,
sys/dev/drm/i915/gvt/hypercall.h
53
unsigned long (*gfn_to_mfn)(unsigned long handle, unsigned long gfn);
sys/dev/drm/i915/gvt/hypercall.h
54
int (*map_gfn_to_mfn)(unsigned long handle, unsigned long gfn,
sys/dev/drm/i915/gvt/hypercall.h
56
int (*set_trap_area)(unsigned long handle, u64 start, u64 end,
sys/dev/drm/i915/gvt/mpt.h
104
intel_gvt_host.mpt->detach_vgpu(vgpu->handle);
sys/dev/drm/i915/gvt/mpt.h
138
ret = intel_gvt_host.mpt->inject_msi(vgpu->handle, addr, data);
sys/dev/drm/i915/gvt/mpt.h
172
ret = intel_gvt_host.mpt->set_wp_page(vgpu->handle, p->gfn);
sys/dev/drm/i915/gvt/mpt.h
197
ret = intel_gvt_host.mpt->unset_wp_page(vgpu->handle, p->gfn);
sys/dev/drm/i915/gvt/mpt.h
218
return intel_gvt_host.mpt->read_gpa(vgpu->handle, gpa, buf, len);
sys/dev/drm/i915/gvt/mpt.h
234
return intel_gvt_host.mpt->write_gpa(vgpu->handle, gpa, buf, len);
sys/dev/drm/i915/gvt/mpt.h
248
return intel_gvt_host.mpt->gfn_to_mfn(vgpu->handle, gfn);
sys/dev/drm/i915/gvt/mpt.h
271
return intel_gvt_host.mpt->map_gfn_to_mfn(vgpu->handle, gfn, mfn, nr,
sys/dev/drm/i915/gvt/mpt.h
292
return intel_gvt_host.mpt->set_trap_area(vgpu->handle, start, end, map);
sys/dev/drm/i915/gvt/mpt.h
88
return intel_gvt_host.mpt->attach_vgpu(vgpu, &vgpu->handle);
sys/dev/drm/i915/i915_drv.h
3165
uint32_t handle, uint64_t *offset);
sys/dev/drm/i915/i915_gem.c
1318
obj = i915_gem_object_lookup(file, args->handle);
sys/dev/drm/i915/i915_gem.c
1663
obj = i915_gem_object_lookup(file, args->handle);
sys/dev/drm/i915/i915_gem.c
1779
obj = i915_gem_object_lookup(file, args->handle);
sys/dev/drm/i915/i915_gem.c
1859
obj = i915_gem_object_lookup(file, args->handle);
sys/dev/drm/i915/i915_gem.c
1943
obj = i915_gem_object_lookup(file, args->handle);
sys/dev/drm/i915/i915_gem.c
1949
DRM_DEBUG("[in] handle=%u, offset=0x%llx, size=0x%llx, flags=%lld, gem_obj=%p\n", args->handle, args->offset, args->size, args->flags, obj);
sys/dev/drm/i915/i915_gem.c
2065
DRM_DEBUG("[out] handle=%u, addr_ptr=0x%lx\n", args->handle, addr);
sys/dev/drm/i915/i915_gem.c
2233
struct drm_i915_gem_object *obj = to_intel_bo(vm_obj->handle);
sys/dev/drm/i915/i915_gem.c
2248
area->vm_private_data = vm_obj->handle;
sys/dev/drm/i915/i915_gem.c
2635
uint32_t handle,
sys/dev/drm/i915/i915_gem.c
2641
obj = i915_gem_object_lookup(file, handle);
sys/dev/drm/i915/i915_gem.c
2675
return i915_gem_mmap_gtt(file, dev, args->handle, (uint64_t *)&args->offset);
sys/dev/drm/i915/i915_gem.c
4039
vma = radix_tree_delete(&ctx->handles_vma, lut->handle);
sys/dev/drm/i915/i915_gem.c
4533
obj = i915_gem_object_lookup_rcu(file, args->handle);
sys/dev/drm/i915/i915_gem.c
4590
obj = i915_gem_object_lookup(file, args->handle);
sys/dev/drm/i915/i915_gem.c
4972
obj = i915_gem_object_lookup_rcu(file, args->handle);
sys/dev/drm/i915/i915_gem.c
5044
obj = i915_gem_object_lookup(file_priv, args->handle);
sys/dev/drm/i915/i915_gem.c
6383
i915_gem_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot,
sys/dev/drm/i915/i915_gem.c
6391
i915_gem_pager_dtor(void *handle)
sys/dev/drm/i915/i915_gem.c
6393
struct drm_gem_object *obj = handle;
sys/dev/drm/i915/i915_gem.c
743
u32 handle;
sys/dev/drm/i915/i915_gem.c
755
ret = drm_gem_handle_create(file, &obj->base, &handle);
sys/dev/drm/i915/i915_gem.c
761
DRM_DEBUG("[out] handle=%u, size=0x%lx\n", handle, size);
sys/dev/drm/i915/i915_gem.c
762
*handle_p = handle;
sys/dev/drm/i915/i915_gem.c
775
args->size, &args->handle);
sys/dev/drm/i915/i915_gem.c
800
args->size, &args->handle);
sys/dev/drm/i915/i915_gem_execbuffer.c
2135
syncobj = drm_syncobj_find(file, fence.handle);
sys/dev/drm/i915/i915_gem_execbuffer.c
2538
exec2_list[i].handle = exec_list[i].handle;
sys/dev/drm/i915/i915_gem_execbuffer.c
476
entry->handle, (int)(entry - eb->exec));
sys/dev/drm/i915/i915_gem_execbuffer.c
519
vma->exec_handle = entry->handle;
sys/dev/drm/i915/i915_gem_execbuffer.c
521
&eb->buckets[hash_32(entry->handle,
sys/dev/drm/i915/i915_gem_execbuffer.c
776
u32 handle = eb->exec[i].handle;
sys/dev/drm/i915/i915_gem_execbuffer.c
780
vma = radix_tree_lookup(handles_vma, handle);
sys/dev/drm/i915/i915_gem_execbuffer.c
784
obj = i915_gem_object_lookup(eb->file, handle);
sys/dev/drm/i915/i915_gem_execbuffer.c
802
err = radix_tree_insert(handles_vma, handle, vma);
sys/dev/drm/i915/i915_gem_execbuffer.c
814
lut->handle = handle;
sys/dev/drm/i915/i915_gem_execbuffer.c
838
eb_get_vma(const struct i915_execbuffer *eb, unsigned long handle)
sys/dev/drm/i915/i915_gem_execbuffer.c
841
if (handle >= -eb->lut_size)
sys/dev/drm/i915/i915_gem_execbuffer.c
843
return eb->vma[handle];
sys/dev/drm/i915/i915_gem_execbuffer.c
848
head = &eb->buckets[hash_32(handle, eb->lut_size)];
sys/dev/drm/i915/i915_gem_execbuffer.c
850
if (vma->exec_handle == handle)
sys/dev/drm/i915/i915_gem_object.h
308
i915_gem_object_lookup_rcu(struct drm_file *file, u32 handle)
sys/dev/drm/i915/i915_gem_object.h
313
return idr_find(&file->object_idr, handle);
sys/dev/drm/i915/i915_gem_object.h
317
i915_gem_object_lookup(struct drm_file *file, u32 handle)
sys/dev/drm/i915/i915_gem_object.h
322
obj = i915_gem_object_lookup_rcu(file, handle);
sys/dev/drm/i915/i915_gem_object.h
333
drm_gem_object_lookup(struct drm_file *file, u32 handle);
sys/dev/drm/i915/i915_gem_object.h
51
u32 handle;
sys/dev/drm/i915/i915_gem_tiling.c
338
obj = i915_gem_object_lookup(file, args->handle);
sys/dev/drm/i915/i915_gem_tiling.c
424
obj = i915_gem_object_lookup_rcu(file, args->handle);
sys/dev/drm/i915/i915_gem_userptr.c
784
u32 handle;
sys/dev/drm/i915/i915_gem_userptr.c
843
ret = drm_gem_handle_create(file, &obj->base, &handle);
sys/dev/drm/i915/i915_gem_userptr.c
850
args->handle = handle;
sys/dev/drm/i915/i915_gpu_error.c
1402
e->handle = ctx->user_handle;
sys/dev/drm/i915/i915_gpu_error.c
461
header, ctx->comm, ctx->pid, ctx->handle, ctx->hw_id,
sys/dev/drm/i915/i915_gpu_error.c
776
ee->context.handle,
sys/dev/drm/i915/i915_gpu_error.h
126
u32 handle;
sys/dev/drm/i915/intel_display.c
14494
unsigned int *handle)
sys/dev/drm/i915/intel_display.c
14503
return drm_gem_handle_create(file, &obj->base, handle);
sys/dev/drm/i915/intel_vbt_defs.h
353
u16 handle;
sys/dev/drm/include/drm/drm_agpsupport.h
38
void drm_free_agp(struct agp_memory * handle, int pages);
sys/dev/drm/include/drm/drm_agpsupport.h
39
int drm_bind_agp(struct agp_memory * handle, unsigned int start);
sys/dev/drm/include/drm/drm_agpsupport.h
40
int drm_unbind_agp(struct agp_memory * handle);
sys/dev/drm/include/drm/drm_agpsupport.h
76
static inline void drm_free_agp(struct agp_memory * handle, int pages)
sys/dev/drm/include/drm/drm_agpsupport.h
80
static inline int drm_bind_agp(struct agp_memory * handle, unsigned int start)
sys/dev/drm/include/drm/drm_agpsupport.h
85
static inline int drm_unbind_agp(struct agp_memory * handle)
sys/dev/drm/include/drm/drm_client.h
113
u32 handle;
sys/dev/drm/include/drm/drm_crtc.h
403
uint32_t handle, uint32_t width, uint32_t height);
sys/dev/drm/include/drm/drm_crtc.h
425
uint32_t handle, uint32_t width, uint32_t height,
sys/dev/drm/include/drm/drm_drv.h
471
uint32_t handle, uint32_t flags, int *prime_fd);
sys/dev/drm/include/drm/drm_drv.h
478
int prime_fd, uint32_t *handle);
sys/dev/drm/include/drm/drm_drv.h
545
struct drm_device *dev, uint32_t handle,
sys/dev/drm/include/drm/drm_drv.h
562
uint32_t handle);
sys/dev/drm/include/drm/drm_framebuffer.h
71
unsigned int *handle);
sys/dev/drm/include/drm/drm_gem.h
208
int i915_gem_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot,
sys/dev/drm/include/drm/drm_gem.h
210
void i915_gem_pager_dtor(void * handle);
sys/dev/drm/include/drm/drm_gem.h
301
int drm_gem_handle_delete(struct drm_file *filp, u32 handle);
sys/dev/drm/include/drm/drm_gem.h
312
struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle);
sys/dev/drm/include/drm/drm_gem.h
314
u32 handle, u64 *offset);
sys/dev/drm/include/drm/drm_gem.h
317
uint32_t handle);
sys/dev/drm/include/drm/drm_gem_framebuffer_helper.h
19
unsigned int *handle);
sys/dev/drm/include/drm/drm_legacy.h
138
void *handle; /**< User-space: "Handle" to pass to mmap() */
sys/dev/drm/include/drm/drm_os_linux.h
30
#define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset))
sys/dev/drm/include/drm/drm_os_linux.h
32
#define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset))
sys/dev/drm/include/drm/drm_os_linux.h
34
#define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset))
sys/dev/drm/include/drm/drm_os_linux.h
36
#define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset))
sys/dev/drm/include/drm/drm_os_linux.h
38
#define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset))
sys/dev/drm/include/drm/drm_os_linux.h
40
#define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset))
sys/dev/drm/include/drm/drm_os_linux.h
43
#define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset))
sys/dev/drm/include/drm/drm_os_linux.h
45
#define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset))
sys/dev/drm/include/drm/drm_prime.h
71
struct drm_file *file_priv, uint32_t handle, uint32_t flags,
sys/dev/drm/include/drm/drm_prime.h
81
struct drm_file *file_priv, int prime_fd, uint32_t *handle);
sys/dev/drm/include/drm/drm_syncobj.h
133
u32 handle);
sys/dev/drm/include/drm/drm_syncobj.h
137
u32 handle, u64 point,
sys/dev/drm/include/drm/drm_syncobj.h
145
struct drm_syncobj *syncobj, u32 *handle);
sys/dev/drm/include/linux/io.h
43
arch_phys_wc_del(int handle)
sys/dev/drm/include/linux/io.h
45
BUG_ON(handle != 0);
sys/dev/drm/include/linux/pm_qos.h
38
void pm_qos_update_request(struct pm_qos_request *handle, int target_value);
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
145
__u32 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
304
__u32 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
342
__u32 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
357
__u32 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
373
__u32 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
397
__u64 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
448
__u32 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
487
__u32 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
539
__u64 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
583
__u64 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
587
__u32 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
592
__u32 handle;
sys/dev/drm/include/uapi/drm/amdgpu_drm.h
606
__u32 handle;
sys/dev/drm/include/uapi/drm/drm.h
207
void *handle; /**< Handle of map */
sys/dev/drm/include/uapi/drm/drm.h
221
void *handle; /**< User-space: "Handle" to pass to mmap() */
sys/dev/drm/include/uapi/drm/drm.h
419
drm_context_t handle;
sys/dev/drm/include/uapi/drm/drm.h
435
drm_drawable_t handle;
sys/dev/drm/include/uapi/drm/drm.h
446
drm_drawable_t handle;
sys/dev/drm/include/uapi/drm/drm.h
540
unsigned long handle; /**< Used for binding / unbinding */
sys/dev/drm/include/uapi/drm/drm.h
551
unsigned long handle; /**< From drm_agp_buffer */
sys/dev/drm/include/uapi/drm/drm.h
581
unsigned long handle; /**< Used for mapping / unmapping */
sys/dev/drm/include/uapi/drm/drm.h
597
__u32 handle;
sys/dev/drm/include/uapi/drm/drm.h
604
__u32 handle;
sys/dev/drm/include/uapi/drm/drm.h
616
__u32 handle;
sys/dev/drm/include/uapi/drm/drm.h
702
__u32 handle;
sys/dev/drm/include/uapi/drm/drm.h
726
__u32 handle;
sys/dev/drm/include/uapi/drm/drm.h
732
__u32 handle;
sys/dev/drm/include/uapi/drm/drm.h
739
__u32 handle;
sys/dev/drm/include/uapi/drm/drm_mode.h
474
__u32 handle;
sys/dev/drm/include/uapi/drm/drm_mode.h
589
__u32 handle;
sys/dev/drm/include/uapi/drm/drm_mode.h
600
__u32 handle;
sys/dev/drm/include/uapi/drm/drm_mode.h
710
__u32 handle;
sys/dev/drm/include/uapi/drm/drm_mode.h
718
__u32 handle;
sys/dev/drm/include/uapi/drm/drm_mode.h
729
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
1083
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
1095
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
1101
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
1180
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
1209
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
1240
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
1286
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
1465
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
650
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
656
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
672
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
688
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
716
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
728
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
739
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
817
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
867
__u32 handle;
sys/dev/drm/include/uapi/drm/i915_drm.h
939
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
816
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
835
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
857
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
863
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
869
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
877
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
883
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
888
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
894
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
907
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
920
__u32 handle; /* buffer */
sys/dev/drm/include/uapi/drm/radeon_drm.h
942
__u32 handle;
sys/dev/drm/include/uapi/drm/radeon_drm.h
977
__u32 handle;
sys/dev/drm/linux_pm_qos.c
33
pm_qos_update_request(struct pm_qos_request *handle, int target_value)
sys/dev/drm/radeon/radeon.h
1696
uint32_t handle, struct radeon_fence **fence);
sys/dev/drm/radeon/radeon.h
1698
uint32_t handle, struct radeon_fence **fence);
sys/dev/drm/radeon/radeon.h
1739
uint32_t handle, struct radeon_fence **fence);
sys/dev/drm/radeon/radeon.h
1741
uint32_t handle, struct radeon_fence **fence);
sys/dev/drm/radeon/radeon.h
2433
ACPI_HANDLE handle;
sys/dev/drm/radeon/radeon.h
595
uint32_t handle, uint64_t *offset_p);
sys/dev/drm/radeon/radeon_acpi.c
103
static ACPI_OBJECT *radeon_atif_call(ACPI_HANDLE handle, int function,
sys/dev/drm/radeon/radeon_acpi.c
127
status = AcpiEvaluateObject(handle, "ATIF", &atif_arg, &buffer);
sys/dev/drm/radeon/radeon_acpi.c
198
static int radeon_atif_verify_interface(ACPI_HANDLE handle,
sys/dev/drm/radeon/radeon_acpi.c
206
info = radeon_atif_call(handle, ATIF_FUNCTION_VERIFY_INTERFACE, NULL);
sys/dev/drm/radeon/radeon_acpi.c
245
static int radeon_atif_get_notification_params(ACPI_HANDLE handle,
sys/dev/drm/radeon/radeon_acpi.c
253
info = radeon_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_PARAMETERS, NULL);
sys/dev/drm/radeon/radeon_acpi.c
307
static int radeon_atif_get_sbios_requests(ACPI_HANDLE handle,
sys/dev/drm/radeon/radeon_acpi.c
314
info = radeon_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS, NULL);
sys/dev/drm/radeon/radeon_acpi.c
351
ACPI_HANDLE handle;
sys/dev/drm/radeon/radeon_acpi.c
363
handle = rdev->acpi.handle;
sys/dev/drm/radeon/radeon_acpi.c
364
count = radeon_atif_get_sbios_requests(handle, &req);
sys/dev/drm/radeon/radeon_acpi.c
414
static union acpi_object *radeon_atcs_call(ACPI_HANDLE handle, int function,
sys/dev/drm/radeon/radeon_acpi.c
438
status = AcpiEvaluateObject(handle, "ATCS", &atcs_arg, &buffer);
sys/dev/drm/radeon/radeon_acpi.c
480
static int radeon_atcs_verify_interface(ACPI_HANDLE handle,
sys/dev/drm/radeon/radeon_acpi.c
488
info = radeon_atcs_call(handle, ATCS_FUNCTION_VERIFY_INTERFACE, NULL);
sys/dev/drm/radeon/radeon_acpi.c
545
acpi_handle handle;
sys/dev/drm/radeon/radeon_acpi.c
550
handle = DEVICE_ACPI_HANDLE(&rdev->pdev->dev);
sys/dev/drm/radeon/radeon_acpi.c
551
if (!handle)
sys/dev/drm/radeon/radeon_acpi.c
557
info = radeon_atcs_call(handle, ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION, NULL);
sys/dev/drm/radeon/radeon_acpi.c
584
acpi_handle handle;
sys/dev/drm/radeon/radeon_acpi.c
594
handle = DEVICE_ACPI_HANDLE(&rdev->pdev->dev);
sys/dev/drm/radeon/radeon_acpi.c
595
if (!handle)
sys/dev/drm/radeon/radeon_acpi.c
615
info = radeon_atcs_call(handle, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, &params);
sys/dev/drm/radeon/radeon_acpi.c
662
static void radeon_acpi_event(ACPI_HANDLE handle, UINT32 type,
sys/dev/drm/radeon/radeon_acpi.c
694
ACPI_HANDLE handle;
sys/dev/drm/radeon/radeon_acpi.c
700
handle = acpi_get_handle(rdev->dev->bsddev);
sys/dev/drm/radeon/radeon_acpi.c
703
if (!ASIC_IS_AVIVO(rdev) || !rdev->bios || !handle)
sys/dev/drm/radeon/radeon_acpi.c
707
ret = radeon_atcs_verify_interface(handle, atcs);
sys/dev/drm/radeon/radeon_acpi.c
713
ret = radeon_atif_verify_interface(handle, atif);
sys/dev/drm/radeon/radeon_acpi.c
758
ret = radeon_atif_get_notification_params(handle,
sys/dev/drm/radeon/radeon_acpi.c
769
rdev->acpi.handle = handle;
sys/dev/drm/radeon/radeon_acpi.c
771
AcpiInstallNotifyHandler(handle, ACPI_DEVICE_NOTIFY,
sys/dev/drm/radeon/radeon_acpi.c
786
AcpiRemoveNotifyHandler(rdev->acpi.handle, ACPI_DEVICE_NOTIFY,
sys/dev/drm/radeon/radeon_cs.c
104
gobj = drm_gem_object_lookup(p->filp, r->handle);
sys/dev/drm/radeon/radeon_cs.c
107
r->handle);
sys/dev/drm/radeon/radeon_cursor.c
276
uint32_t handle,
sys/dev/drm/radeon/radeon_cursor.c
288
if (!handle) {
sys/dev/drm/radeon/radeon_cursor.c
301
obj = drm_gem_object_lookup(file_priv, handle);
sys/dev/drm/radeon/radeon_cursor.c
303
DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, radeon_crtc->crtc_id);
sys/dev/drm/radeon/radeon_drv.c
142
uint32_t handle, uint64_t *offset_p);
sys/dev/drm/radeon/radeon_gem.c
261
uint32_t handle;
sys/dev/drm/radeon/radeon_gem.c
277
r = drm_gem_handle_create(filp, gobj, &handle);
sys/dev/drm/radeon/radeon_gem.c
285
args->handle = handle;
sys/dev/drm/radeon/radeon_gem.c
299
uint32_t handle;
sys/dev/drm/radeon/radeon_gem.c
360
r = drm_gem_handle_create(filp, gobj, &handle);
sys/dev/drm/radeon/radeon_gem.c
366
args->handle = handle;
sys/dev/drm/radeon/radeon_gem.c
396
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/radeon/radeon_gem.c
412
uint32_t handle, uint64_t *offset_p)
sys/dev/drm/radeon/radeon_gem.c
417
gobj = drm_gem_object_lookup(filp, handle);
sys/dev/drm/radeon/radeon_gem.c
438
return radeon_mode_dumb_mmap(filp, dev, args->handle, (uint64_t *)&args->addr_ptr);
sys/dev/drm/radeon/radeon_gem.c
450
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/radeon/radeon_gem.c
479
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/radeon/radeon_gem.c
511
DRM_DEBUG("%d \n", args->handle);
sys/dev/drm/radeon/radeon_gem.c
512
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/radeon/radeon_gem.c
530
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/radeon/radeon_gem.c
665
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/radeon/radeon_gem.c
720
gobj = drm_gem_object_lookup(filp, args->handle);
sys/dev/drm/radeon/radeon_gem.c
761
uint32_t handle;
sys/dev/drm/radeon/radeon_gem.c
775
r = drm_gem_handle_create(file_priv, gobj, &handle);
sys/dev/drm/radeon/radeon_gem.c
781
args->handle = handle;
sys/dev/drm/radeon/radeon_mode.h
870
uint32_t handle,
sys/dev/drm/radeon/radeon_test.c
265
uint32_t handle = ring->idx ^ 0xdeafbeef;
sys/dev/drm/radeon/radeon_test.c
269
r = radeon_uvd_get_create_msg(rdev, ring->idx, handle, NULL);
sys/dev/drm/radeon/radeon_test.c
275
r = radeon_uvd_get_destroy_msg(rdev, ring->idx, handle, fence);
sys/dev/drm/radeon/radeon_test.c
283
r = radeon_vce_get_create_msg(rdev, ring->idx, handle, NULL);
sys/dev/drm/radeon/radeon_test.c
289
r = radeon_vce_get_destroy_msg(rdev, ring->idx, handle, fence);
sys/dev/drm/radeon/radeon_uvd.c
257
uint32_t handle = atomic_read(&rdev->uvd.handles[i]);
sys/dev/drm/radeon/radeon_uvd.c
258
if (handle != 0) {
sys/dev/drm/radeon/radeon_uvd.c
264
R600_RING_TYPE_UVD_INDEX, handle, &fence);
sys/dev/drm/radeon/radeon_uvd.c
332
uint32_t handle = atomic_read(&rdev->uvd.handles[i]);
sys/dev/drm/radeon/radeon_uvd.c
333
if (handle != 0 && rdev->uvd.filp[i] == filp) {
sys/dev/drm/radeon/radeon_uvd.c
339
R600_RING_TYPE_UVD_INDEX, handle, &fence);
sys/dev/drm/radeon/radeon_uvd.c
468
int32_t *msg, msg_type, handle;
sys/dev/drm/radeon/radeon_uvd.c
498
handle = msg[2];
sys/dev/drm/radeon/radeon_uvd.c
500
if (handle == 0) {
sys/dev/drm/radeon/radeon_uvd.c
517
if (atomic_read(&p->rdev->uvd.handles[i]) == handle) {
sys/dev/drm/radeon/radeon_uvd.c
518
DRM_ERROR("Handle 0x%x already in use!\n", handle);
sys/dev/drm/radeon/radeon_uvd.c
522
if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) {
sys/dev/drm/radeon/radeon_uvd.c
543
if (atomic_read(&p->rdev->uvd.handles[i]) == handle) {
sys/dev/drm/radeon/radeon_uvd.c
552
DRM_ERROR("Invalid UVD handle 0x%x!\n", handle);
sys/dev/drm/radeon/radeon_uvd.c
558
atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0);
sys/dev/drm/radeon/radeon_uvd.c
778
uint32_t handle, struct radeon_fence **fence)
sys/dev/drm/radeon/radeon_uvd.c
796
msg[2] = cpu_to_le32(handle);
sys/dev/drm/radeon/radeon_uvd.c
814
uint32_t handle, struct radeon_fence **fence)
sys/dev/drm/radeon/radeon_uvd.c
832
msg[2] = cpu_to_le32(handle);
sys/dev/drm/radeon/radeon_vce.c
320
uint32_t handle = atomic_read(&rdev->vce.handles[i]);
sys/dev/drm/radeon/radeon_vce.c
321
if (!handle || rdev->vce.filp[i] != filp)
sys/dev/drm/radeon/radeon_vce.c
327
handle, NULL);
sys/dev/drm/radeon/radeon_vce.c
347
uint32_t handle, struct radeon_fence **fence)
sys/dev/drm/radeon/radeon_vce.c
366
ib.ptr[ib.length_dw++] = cpu_to_le32(handle);
sys/dev/drm/radeon/radeon_vce.c
414
uint32_t handle, struct radeon_fence **fence)
sys/dev/drm/radeon/radeon_vce.c
433
ib.ptr[ib.length_dw++] = cpu_to_le32(handle);
sys/dev/drm/radeon/radeon_vce.c
520
uint32_t handle, bool *allocated)
sys/dev/drm/radeon/radeon_vce.c
528
if (atomic_read(&p->rdev->vce.handles[i]) == handle) {
sys/dev/drm/radeon/radeon_vce.c
539
if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) {
sys/dev/drm/radeon/radeon_vce.c
561
uint32_t tmp, handle = 0;
sys/dev/drm/radeon/radeon_vce.c
583
handle = radeon_get_ib_value(p, p->idx + 2);
sys/dev/drm/radeon/radeon_vce.c
584
session_idx = radeon_vce_validate_handle(p, handle,
sys/dev/drm/radeon/radeon_vce.c
680
atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0);
sys/dev/drm/ttm/ttm_bo_vm.c
503
struct ttm_buffer_object *bo = vm_obj->handle;
sys/dev/drm/ttm/ttm_bo_vm.c
728
ttm_bo_vm_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot,
sys/dev/drm/ttm/ttm_bo_vm.c
749
ttm_bo_vm_dtor(void *handle)
sys/dev/drm/ttm/ttm_bo_vm.c
751
struct ttm_buffer_object *bo = handle;
sys/dev/misc/ipmi/ipmi_smbios.c
55
uint16_t handle;
sys/dev/netif/bnx/if_bnx.c
2943
int handle = 0;
sys/dev/netif/bnx/if_bnx.c
2986
handle = 1;
sys/dev/netif/bnx/if_bnx.c
2995
handle = 1;
sys/dev/netif/bnx/if_bnx.c
2998
return handle;
sys/dev/raid/hpt27xx/ldm.h
143
void * handle;
sys/dev/raid/hpt27xx/ldm.h
144
HPT_UINT (*shrink)(void *handle, HPT_UINT npages);
sys/dev/raid/hpt27xx/ldm.h
145
int (*resume)(void *handle);
sys/dev/raid/hpt27xx/osm.h
179
void os_del_timer(void *handle);
sys/dev/raid/hpt27xx/wj.h
42
void wj_del_entry(PVBUS vbus, void *handle);
sys/dev/raid/hpt27xx/wj.h
50
#define wj_del_entry(vbus, handle) 0
sys/dev/raid/hptmv/raid5n.h
44
#define dataxfer_add_item(handle, host, cache, bytes, tocache) \
sys/dev/raid/hptmv/raid5n.h
47
#define dataxfer_exec(handle, done, tag) done(_VBUS_P tag, 0)
sys/dev/raid/hptmv/raid5n.h
62
#define xor_add_item(handle, dest, src, nsrc, bytes) \
sys/dev/raid/hptmv/raid5n.h
69
#define xor_exec(handle, done, tag) done(_VBUS_P tag, 0)
sys/dev/raid/hptrr/ldm.h
138
void * handle;
sys/dev/raid/hptrr/ldm.h
139
HPT_UINT (*shrink)(void *handle, HPT_UINT npages);
sys/dev/raid/hptrr/ldm.h
140
int (*resume)(void *handle);
sys/dev/raid/hptrr/osm.h
145
void os_del_timer(void *handle);
sys/dev/raid/iir/iir.c
1911
gdt_read_event(int handle, gdt_evt_str *estr)
sys/dev/raid/iir/iir.c
1916
GDT_DPRINTF(GDT_D_MISC, ("gdt_read_event(%d)\n", handle));
sys/dev/raid/iir/iir.c
1919
if (handle < -1)
sys/dev/raid/iir/iir.c
1923
if (handle == -1)
sys/dev/raid/iir/iir.c
1926
eindex = handle;
sys/dev/raid/iir/iir.h
563
int handle;
sys/dev/raid/iir/iir.h
746
int gdt_read_event(int handle, gdt_evt_str *estr);
sys/dev/raid/iir/iir_ctrl.c
342
p->handle = gdt_read_event(p->handle, &p->dvr);
sys/dev/raid/mpr/mpr.c
2500
mpr_evt_callback_t *cb, void *data, struct mpr_event_handle **handle)
sys/dev/raid/mpr/mpr.c
2516
*handle = eh;
sys/dev/raid/mpr/mpr.c
2522
mpr_update_events(struct mpr_softc *sc, struct mpr_event_handle *handle,
sys/dev/raid/mpr/mpr.c
2533
if ((mask != NULL) && (handle != NULL))
sys/dev/raid/mpr/mpr.c
2534
bcopy(mask, &handle->mask[0], 16);
sys/dev/raid/mpr/mpr.c
2623
mpr_deregister_events(struct mpr_softc *sc, struct mpr_event_handle *handle)
sys/dev/raid/mpr/mpr.c
2626
TAILQ_REMOVE(&sc->event_list, handle, eh_list);
sys/dev/raid/mpr/mpr.c
2627
kfree(handle, M_MPR);
sys/dev/raid/mpr/mpr_config.c
1316
*mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form, u16 handle)
sys/dev/raid/mpr/mpr_config.c
1388
request->PageAddress = htole32(form | handle);
sys/dev/raid/mpr/mpr_config.c
644
*mpi_reply, Mpi2SasDevicePage0_t *config_page, u32 form, u16 handle)
sys/dev/raid/mpr/mpr_config.c
718
request->PageAddress = htole32(form | handle);
sys/dev/raid/mpr/mpr_config.c
781
*mpi_reply, Mpi26PCIeDevicePage0_t *config_page, u32 form, u16 handle)
sys/dev/raid/mpr/mpr_config.c
855
request->PageAddress = htole32(form | handle);
sys/dev/raid/mpr/mpr_config.c
918
*mpi_reply, Mpi26PCIeDevicePage2_t *config_page, u32 form, u16 handle)
sys/dev/raid/mpr/mpr_config.c
992
request->PageAddress = htole32(form | handle);
sys/dev/raid/mpr/mpr_mapping.c
2662
mpr_mapping_get_tid(struct mpr_softc *sc, uint64_t sas_address, u16 handle)
sys/dev/raid/mpr/mpr_mapping.c
2669
if (mt_entry->dev_handle == handle && mt_entry->physical_id ==
sys/dev/raid/mpr/mpr_mapping.c
2687
mpr_mapping_get_tid_from_handle(struct mpr_softc *sc, u16 handle)
sys/dev/raid/mpr/mpr_mapping.c
2689
return (_mapping_get_mt_idx_from_handle(sc, handle));
sys/dev/raid/mpr/mpr_mapping.c
289
_mapping_get_enc_idx_from_handle(struct mpr_softc *sc, u16 handle)
sys/dev/raid/mpr/mpr_mapping.c
298
if (et_entry->enc_handle == handle)
sys/dev/raid/mpr/mpr_mapping.c
445
_mapping_get_mt_idx_from_handle(struct mpr_softc *sc, u16 handle)
sys/dev/raid/mpr/mpr_mapping.c
452
if (mt_entry->dev_handle == handle)
sys/dev/raid/mpr/mpr_mapping.h
120
u64 *sas_address, u16 handle, u32 device_info, u8 *is_SATA_SSD);
sys/dev/raid/mpr/mpr_sas.c
1076
if (targ->handle == 0x0) {
sys/dev/raid/mpr/mpr_sas.c
1248
sc->sassc->targets[i].handle = 0x0;
sys/dev/raid/mpr/mpr_sas.c
1457
if (target->handle == 0) {
sys/dev/raid/mpr/mpr_sas.c
1464
req->DevHandle = htole16(target->handle);
sys/dev/raid/mpr/mpr_sas.c
151
uint16_t handle)
sys/dev/raid/mpr/mpr_sas.c
158
if (target->handle == handle)
sys/dev/raid/mpr/mpr_sas.c
1610
if (targ->handle == 0) {
sys/dev/raid/mpr/mpr_sas.c
1621
req->DevHandle = htole16(targ->handle);
sys/dev/raid/mpr/mpr_sas.c
1700
targ->tid, targ->handle, ccb->ccb_h.timeout,
sys/dev/raid/mpr/mpr_sas.c
1846
req->DevHandle = htole16(targ->handle);
sys/dev/raid/mpr/mpr_sas.c
1934
if (targ->handle == 0x0) {
sys/dev/raid/mpr/mpr_sas.c
2036
req->DevHandle = htole16(targ->handle);
sys/dev/raid/mpr/mpr_sas.c
2196
htole16(targ->handle);
sys/dev/raid/mpr/mpr_sas.c
2202
cm->cm_desc.SCSIIO.DevHandle = htole16(targ->handle);
sys/dev/raid/mpr/mpr_sas.c
3223
if (targ->handle == 0x0) {
sys/dev/raid/mpr/mpr_sas.c
3273
"a valid parent handle!\n", __func__, targ->handle);
sys/dev/raid/mpr/mpr_sas.c
3283
"a valid parent target!\n", __func__, targ->handle);
sys/dev/raid/mpr/mpr_sas.c
3292
targ->handle, parent_target->handle);
sys/dev/raid/mpr/mpr_sas.c
3303
targ->handle, targ->parent_handle);
sys/dev/raid/mpr/mpr_sas.c
3311
targ->handle, targ->parent_handle);
sys/dev/raid/mpr/mpr_sas.c
3323
"handle %d\n", __func__, targ->handle);
sys/dev/raid/mpr/mpr_sas.c
3362
req->DevHandle = htole16(targ->handle);
sys/dev/raid/mpr/mpr_sas.c
3499
if (target->handle == 0)
sys/dev/raid/mpr/mpr_sas.c
3619
if (target->handle == 0x0)
sys/dev/raid/mpr/mpr_sas.c
3677
path_str, target->handle);
sys/dev/raid/mpr/mpr_sas.c
375
uint16_t handle;
sys/dev/raid/mpr/mpr_sas.c
380
handle = (uint16_t)(uintptr_t)tm->cm_complete_data;
sys/dev/raid/mpr/mpr_sas.c
386
"0x%04x\n", __func__, handle);
sys/dev/raid/mpr/mpr_sas.c
394
"device 0x%x\n", le16toh(reply->IOCStatus), handle);
sys/dev/raid/mpr/mpr_sas.c
403
targ->tid, handle);
sys/dev/raid/mpr/mpr_sas.c
414
targ->handle = 0x0;
sys/dev/raid/mpr/mpr_sas.c
440
mprsas_prepare_volume_remove(struct mprsas_softc *sassc, uint16_t handle)
sys/dev/raid/mpr/mpr_sas.c
450
targ = mprsas_find_target_by_handle(sassc, 0, handle);
sys/dev/raid/mpr/mpr_sas.c
455
"%s %d : invalid handle 0x%x \n", __func__,__LINE__, handle);
sys/dev/raid/mpr/mpr_sas.c
471
req->DevHandle = targ->handle;
sys/dev/raid/mpr/mpr_sas.c
483
cm->cm_complete_data = (void *)(uintptr_t)handle;
sys/dev/raid/mpr/mpr_sas.c
502
mprsas_prepare_remove(struct mprsas_softc *sassc, uint16_t handle)
sys/dev/raid/mpr/mpr_sas.c
513
targ = mprsas_find_target_by_handle(sassc, 0, handle);
sys/dev/raid/mpr/mpr_sas.c
518
__func__, handle);
sys/dev/raid/mpr/mpr_sas.c
535
req->DevHandle = htole16(targ->handle);
sys/dev/raid/mpr/mpr_sas.c
547
cm->cm_complete_data = (void *)(uintptr_t)handle;
sys/dev/raid/mpr/mpr_sas.c
563
uint16_t handle;
sys/dev/raid/mpr/mpr_sas.c
568
handle = (uint16_t)(uintptr_t)tm->cm_complete_data;
sys/dev/raid/mpr/mpr_sas.c
579
tm->cm_flags, handle);
sys/dev/raid/mpr/mpr_sas.c
585
"0x%04x\n", __func__, handle);
sys/dev/raid/mpr/mpr_sas.c
593
"device 0x%x\n", le16toh(reply->IOCStatus), handle);
sys/dev/raid/mpr/mpr_sas.c
606
req->DevHandle = htole16(handle);
sys/dev/raid/mpr/mpr_sas.c
610
tm->cm_complete_data = (void *)(uintptr_t)handle;
sys/dev/raid/mpr/mpr_sas.c
615
targ->tid, handle);
sys/dev/raid/mpr/mpr_sas.c
635
uint16_t handle;
sys/dev/raid/mpr/mpr_sas.c
642
handle = (uint16_t)(uintptr_t)tm->cm_complete_data;
sys/dev/raid/mpr/mpr_sas.c
652
tm->cm_flags, handle);
sys/dev/raid/mpr/mpr_sas.c
660
"0x%04x\n", __func__, handle);
sys/dev/raid/mpr/mpr_sas.c
666
__func__, handle, le16toh(reply->IOCStatus));
sys/dev/raid/mpr/mpr_sas.c
677
targ->handle = 0x0;
sys/dev/raid/mpr/mpr_sas.h
42
uint16_t handle;
sys/dev/raid/mpr/mpr_sas_lsi.c
1033
u64 *sas_address, u16 handle, u32 device_info, u8 *is_SATA_SSD)
sys/dev/raid/mpr/mpr_sas_lsi.c
1048
rc = mprsas_get_sata_identify(sc, handle, &mpi_reply,
sys/dev/raid/mpr/mpr_sas_lsi.c
1076
__func__, handle, try_count);
sys/dev/raid/mpr/mpr_sas_lsi.c
1079
__func__, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
1127
mprsas_get_sata_identify(struct mpr_softc *sc, u16 handle,
sys/dev/raid/mpr/mpr_sas_lsi.c
1148
mpi_request->DevHandle = htole16(handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
116
static int mprsas_add_device(struct mpr_softc *sc, u16 handle, u8 linkrate);
sys/dev/raid/mpr/mpr_sas_lsi.c
117
static int mprsas_add_pcie_device(struct mpr_softc *sc, u16 handle,
sys/dev/raid/mpr/mpr_sas_lsi.c
119
static int mprsas_get_sata_identify(struct mpr_softc *sc, u16 handle,
sys/dev/raid/mpr/mpr_sas_lsi.c
1199
handle, reply->IOCStatus);
sys/dev/raid/mpr/mpr_sas_lsi.c
124
u64 *sas_address, u16 handle, u32 device_info, u8 *is_SATA_SSD);
sys/dev/raid/mpr/mpr_sas_lsi.c
126
u16 handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
1266
mprsas_add_pcie_device(struct mpr_softc *sc, u16 handle, u8 linkrate)
sys/dev/raid/mpr/mpr_sas_lsi.c
1283
MPI26_PCIE_DEVICE_PGAD_FORM_HANDLE, handle))) {
sys/dev/raid/mpr/mpr_sas_lsi.c
1315
MPI26_PCIE_DEVICE_PGAD_FORM_HANDLE, handle))) {
sys/dev/raid/mpr/mpr_sas_lsi.c
1321
id = mpr_mapping_get_tid(sc, pcie_wwid, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
1325
__FILE__, __LINE__, __func__, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
1357
targ->handle = handle;
sys/dev/raid/mpr/mpr_sas_lsi.c
1385
targ->handle, targ->encl_handle, targ->encl_slot);
sys/dev/raid/mpr/mpr_sas_lsi.c
1404
mprsas_volume_add(struct mpr_softc *sc, u16 handle)
sys/dev/raid/mpr/mpr_sas_lsi.c
1416
mpr_config_get_volume_wwid(sc, handle, &wwid);
sys/dev/raid/mpr/mpr_sas_lsi.c
1424
id = mpr_mapping_get_raid_tid(sc, wwid, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
1427
"WWID 0x%016llx\n", __func__, handle,
sys/dev/raid/mpr/mpr_sas_lsi.c
1435
targ->handle = handle;
sys/dev/raid/mpr/mpr_sas_lsi.c
1488
if (target->handle == 0x0) {
sys/dev/raid/mpr/mpr_sas_lsi.c
1516
"handle %d\n", path_str, target->handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
1672
if (target->handle == 0x0) {
sys/dev/raid/mpr/mpr_sas_lsi.c
402
targ->handle = 0x0;
sys/dev/raid/mpr/mpr_sas_lsi.c
721
uint16_t handle;
sys/dev/raid/mpr/mpr_sas_lsi.c
731
handle = le16toh(port_entry->AttachedDevHandle);
sys/dev/raid/mpr/mpr_sas_lsi.c
741
__func__, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
744
if (mprsas_add_pcie_device(sc, handle,
sys/dev/raid/mpr/mpr_sas_lsi.c
748
"0x%x\n", __func__, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
749
mprsas_prepare_remove(sassc, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
753
mprsas_prepare_remove(sassc, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
799
mprsas_add_device(struct mpr_softc *sc, u16 handle, u8 linkrate)
sys/dev/raid/mpr/mpr_sas_lsi.c
817
MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, handle) != 0) {
sys/dev/raid/mpr/mpr_sas_lsi.c
820
handle, mpi_reply.IOCStatus);
sys/dev/raid/mpr/mpr_sas_lsi.c
851
"page0 = %jx\n", handle, sas_address);
sys/dev/raid/mpr/mpr_sas_lsi.c
860
handle, device_info, &is_SATA_SSD);
sys/dev/raid/mpr/mpr_sas_lsi.c
865
__func__, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
868
"from SATA device = %jx\n", handle, sas_address);
sys/dev/raid/mpr/mpr_sas_lsi.c
887
id = mpr_mapping_get_tid(sc, sas_address, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
893
__FILE__, __LINE__, __func__, handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
917
if (targ->handle != 0x0) {
sys/dev/raid/mpr/mpr_sas_lsi.c
919
"target id %d handle 0x%04x\n", id, targ->handle);
sys/dev/raid/mpr/mpr_sas_lsi.c
936
targ->handle = handle;
sys/dev/raid/mpr/mpr_sas_lsi.c
971
targ->handle, targ->encl_handle, targ->encl_slot);
sys/dev/raid/mpr/mprvar.h
799
*mpi_reply, Mpi26PCIeDevicePage0_t *config_page, u32 form, u16 handle);
sys/dev/raid/mpr/mprvar.h
801
*mpi_reply, Mpi26PCIeDevicePage2_t *config_page, u32 form, u16 handle);
sys/dev/raid/mpr/mprvar.h
806
u16 handle);
sys/dev/raid/mpr/mprvar.h
832
u16 handle);
sys/dev/raid/mpr/mprvar.h
844
void mprsas_prepare_remove(struct mprsas_softc *sassc, uint16_t handle);
sys/dev/raid/mpr/mprvar.h
845
void mprsas_prepare_volume_remove(struct mprsas_softc *sassc, uint16_t handle);
sys/dev/raid/mps/mps.c
1664
mps_evt_callback_t *cb, void *data, struct mps_event_handle **handle)
sys/dev/raid/mps/mps.c
1675
*handle = eh;
sys/dev/raid/mps/mps.c
1681
mps_update_events(struct mps_softc *sc, struct mps_event_handle *handle,
sys/dev/raid/mps/mps.c
1692
if ((mask != NULL) && (handle != NULL))
sys/dev/raid/mps/mps.c
1693
bcopy(mask, &handle->mask[0], 16);
sys/dev/raid/mps/mps.c
1776
mps_deregister_events(struct mps_softc *sc, struct mps_event_handle *handle)
sys/dev/raid/mps/mps.c
1779
TAILQ_REMOVE(&sc->event_list, handle, eh_list);
sys/dev/raid/mps/mps.c
1780
kfree(handle, M_MPT2);
sys/dev/raid/mps/mps_config.c
1138
*mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form, u16 handle)
sys/dev/raid/mps/mps_config.c
1203
request->PageAddress = htole32(form | handle);
sys/dev/raid/mps/mps_config.c
779
*mpi_reply, Mpi2SasDevicePage0_t *config_page, u32 form, u16 handle)
sys/dev/raid/mps/mps_config.c
846
request->PageAddress = htole32(form | handle);
sys/dev/raid/mps/mps_mapping.c
1821
mps_mapping_get_sas_id(struct mps_softc *sc, uint64_t sas_address, u16 handle)
sys/dev/raid/mps/mps_mapping.c
1828
if (mt_entry->dev_handle == handle && mt_entry->physical_id ==
sys/dev/raid/mps/mps_mapping.c
1846
mps_mapping_get_sas_id_from_handle(struct mps_softc *sc, u16 handle)
sys/dev/raid/mps/mps_mapping.c
1848
return (_mapping_get_mt_idx_from_handle(sc, handle));
sys/dev/raid/mps/mps_mapping.c
1860
mps_mapping_get_raid_id(struct mps_softc *sc, u64 wwid, u16 handle)
sys/dev/raid/mps/mps_mapping.c
1867
if (mt_entry->dev_handle == handle && mt_entry->physical_id ==
sys/dev/raid/mps/mps_mapping.c
269
_mapping_get_enc_idx_from_handle(struct mps_softc *sc, u16 handle)
sys/dev/raid/mps/mps_mapping.c
278
if (et_entry->enc_handle == handle)
sys/dev/raid/mps/mps_mapping.c
424
_mapping_get_mt_idx_from_handle(struct mps_softc *sc, u16 handle)
sys/dev/raid/mps/mps_mapping.c
431
if (mt_entry->dev_handle == handle)
sys/dev/raid/mps/mps_mapping.c
644
_mapping_add_to_removal_table(struct mps_softc *sc, u16 handle,
sys/dev/raid/mps/mps_mapping.c
662
remove_entry->dev_handle = handle;
sys/dev/raid/mps/mps_mapping.c
666
remove_entry->dev_handle = handle;
sys/dev/raid/mps/mps_mapping.h
69
u64 *sas_address, u16 handle, u32 device_info);
sys/dev/raid/mps/mps_sas.c
1117
sc->sassc->targets[i].handle = 0x0;
sys/dev/raid/mps/mps_sas.c
1303
if (target->handle == 0) {
sys/dev/raid/mps/mps_sas.c
1310
req->DevHandle = target->handle;
sys/dev/raid/mps/mps_sas.c
1443
if (targ->handle == 0) {
sys/dev/raid/mps/mps_sas.c
1450
req->DevHandle = targ->handle;
sys/dev/raid/mps/mps_sas.c
1572
if (targ->handle == 0x0) {
sys/dev/raid/mps/mps_sas.c
1622
req->DevHandle = targ->handle;
sys/dev/raid/mps/mps_sas.c
1748
cm->cm_desc.SCSIIO.DevHandle = targ->handle;
sys/dev/raid/mps/mps_sas.c
176
mpssas_find_target_by_handle(struct mpssas_softc *sassc, int start, uint16_t handle)
sys/dev/raid/mps/mps_sas.c
183
if (target->handle == handle)
sys/dev/raid/mps/mps_sas.c
2638
if (targ->handle == 0x0) {
sys/dev/raid/mps/mps_sas.c
2688
"parent handle!\n", __func__, targ->handle);
sys/dev/raid/mps/mps_sas.c
2698
"parent target!\n", __func__, targ->handle);
sys/dev/raid/mps/mps_sas.c
2707
targ->handle, parent_target->handle);
sys/dev/raid/mps/mps_sas.c
2719
targ->handle, targ->parent_handle);
sys/dev/raid/mps/mps_sas.c
2727
__func__, targ->handle, targ->parent_handle);
sys/dev/raid/mps/mps_sas.c
2739
__func__, targ->handle);
sys/dev/raid/mps/mps_sas.c
2775
req->DevHandle = targ->handle;
sys/dev/raid/mps/mps_sas.c
2991
if (target->handle == 0)
sys/dev/raid/mps/mps_sas.c
3068
if (target->handle == 0x0) {
sys/dev/raid/mps/mps_sas.c
3331
target->handle = 0x0;
sys/dev/raid/mps/mps_sas.c
352
uint16_t handle;
sys/dev/raid/mps/mps_sas.c
357
handle = (uint16_t)(uintptr_t)tm->cm_complete_data;
sys/dev/raid/mps/mps_sas.c
363
__func__, handle);
sys/dev/raid/mps/mps_sas.c
370
reply->IOCStatus, handle);
sys/dev/raid/mps/mps_sas.c
379
mps_printf(sc, "clearing target %u handle 0x%04x\n", targ->tid, handle);
sys/dev/raid/mps/mps_sas.c
389
targ->handle = 0x0;
sys/dev/raid/mps/mps_sas.c
407
mpssas_prepare_volume_remove(struct mpssas_softc *sassc, uint16_t handle)
sys/dev/raid/mps/mps_sas.c
429
targ = mpssas_find_target_by_handle(sassc, 0, handle);
sys/dev/raid/mps/mps_sas.c
433
kprintf("%s %d : invalid handle 0x%x \n", __func__,__LINE__, handle);
sys/dev/raid/mps/mps_sas.c
448
req->DevHandle = targ->handle;
sys/dev/raid/mps/mps_sas.c
460
cm->cm_complete_data = (void *)(uintptr_t)handle;
sys/dev/raid/mps/mps_sas.c
474
mpssas_prepare_remove(struct mpssas_softc *sassc, uint16_t handle)
sys/dev/raid/mps/mps_sas.c
494
targ = mpssas_find_target_by_handle(sassc, 0, handle);
sys/dev/raid/mps/mps_sas.c
498
kprintf("%s %d : invalid handle 0x%x \n", __func__,__LINE__, handle);
sys/dev/raid/mps/mps_sas.c
514
req->DevHandle = targ->handle;
sys/dev/raid/mps/mps_sas.c
525
cm->cm_complete_data = (void *)(uintptr_t)handle;
sys/dev/raid/mps/mps_sas.c
536
uint16_t handle;
sys/dev/raid/mps/mps_sas.c
541
handle = (uint16_t)(uintptr_t)tm->cm_complete_data;
sys/dev/raid/mps/mps_sas.c
552
handle);
sys/dev/raid/mps/mps_sas.c
560
__func__, handle);
sys/dev/raid/mps/mps_sas.c
567
reply->IOCStatus, handle);
sys/dev/raid/mps/mps_sas.c
582
req->DevHandle = handle;
sys/dev/raid/mps/mps_sas.c
586
tm->cm_complete_data = (void *)(uintptr_t)handle;
sys/dev/raid/mps/mps_sas.c
591
targ->tid, handle);
sys/dev/raid/mps/mps_sas.c
606
uint16_t handle;
sys/dev/raid/mps/mps_sas.c
612
handle = (uint16_t)(uintptr_t)tm->cm_complete_data;
sys/dev/raid/mps/mps_sas.c
622
handle);
sys/dev/raid/mps/mps_sas.c
630
__func__, handle);
sys/dev/raid/mps/mps_sas.c
636
handle, reply->IOCStatus);
sys/dev/raid/mps/mps_sas.c
646
targ->handle = 0x0;
sys/dev/raid/mps/mps_sas.c
947
if (targ->handle == 0x0) {
sys/dev/raid/mps/mps_sas.h
41
uint16_t handle;
sys/dev/raid/mps/mps_sas_lsi.c
114
static int mpssas_add_device(struct mps_softc *sc, u16 handle, u8 linkrate);
sys/dev/raid/mps/mps_sas_lsi.c
115
static int mpssas_get_sata_identify(struct mps_softc *sc, u16 handle,
sys/dev/raid/mps/mps_sas_lsi.c
119
u64 *sas_address, u16 handle, u32 device_info);
sys/dev/raid/mps/mps_sas_lsi.c
121
u16 handle);
sys/dev/raid/mps/mps_sas_lsi.c
311
targ->handle = 0x0;
sys/dev/raid/mps/mps_sas_lsi.c
580
mpssas_add_device(struct mps_softc *sc, u16 handle, u8 linkrate){
sys/dev/raid/mps/mps_sas_lsi.c
597
MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, handle))) {
sys/dev/raid/mps/mps_sas_lsi.c
631
&sata_sas_address, handle, device_info);
sys/dev/raid/mps/mps_sas_lsi.c
634
sata_sas_address, handle);
sys/dev/raid/mps/mps_sas_lsi.c
637
sas_address, handle);
sys/dev/raid/mps/mps_sas_lsi.c
640
handle);
sys/dev/raid/mps/mps_sas_lsi.c
642
id = mps_mapping_get_sas_id(sc, sas_address, handle);
sys/dev/raid/mps/mps_sas_lsi.c
647
handle);
sys/dev/raid/mps/mps_sas_lsi.c
660
targ->handle = handle;
sys/dev/raid/mps/mps_sas_lsi.c
674
targ->handle, targ->encl_handle, targ->encl_slot);
sys/dev/raid/mps/mps_sas_lsi.c
686
u64 *sas_address, u16 handle, u32 device_info)
sys/dev/raid/mps/mps_sas_lsi.c
700
rc = mpssas_get_sata_identify(sc, handle, &mpi_reply,
sys/dev/raid/mps/mps_sas_lsi.c
712
__func__, handle, try_count);
sys/dev/raid/mps/mps_sas_lsi.c
715
__func__, handle);
sys/dev/raid/mps/mps_sas_lsi.c
759
mpssas_get_sata_identify(struct mps_softc *sc, u16 handle,
sys/dev/raid/mps/mps_sas_lsi.c
780
mpi_request->DevHandle = htole16(handle);
sys/dev/raid/mps/mps_sas_lsi.c
820
mpssas_volume_add(struct mps_softc *sc, u16 handle)
sys/dev/raid/mps/mps_sas_lsi.c
830
mps_config_get_volume_wwid(sc, handle, &wwid);
sys/dev/raid/mps/mps_sas_lsi.c
838
id = mps_mapping_get_raid_id(sc, wwid, handle);
sys/dev/raid/mps/mps_sas_lsi.c
841
"WWID 0x%016llx\n", __func__, handle,
sys/dev/raid/mps/mps_sas_lsi.c
849
targ->handle = handle;
sys/dev/raid/mps/mpsvar.h
723
u16 handle);
sys/dev/raid/mps/mpsvar.h
749
u16 handle);
sys/dev/raid/mps/mpsvar.h
751
u16 handle);
sys/dev/raid/mps/mpsvar.h
761
void mpssas_prepare_remove(struct mpssas_softc *sassc, uint16_t handle);
sys/dev/raid/mps/mpsvar.h
762
void mpssas_prepare_volume_remove(struct mpssas_softc *sassc, uint16_t handle);
sys/dev/virtual/amazon/ena/ena-com/ena_plat.h
300
#define ENA_MEM_ALLOC_COHERENT_NODE(dmadev, size, virt, phys, handle, node, \
sys/kern/imgact_elf.c
1104
vp = (struct vnode *)entry->ba.object->handle;
sys/kern/imgact_elf.c
1140
vp = (struct vnode *)entry->ba.object->handle;
sys/kern/kern_dmsg.c
109
kdmsg_iocom_init(kdmsg_iocom_t *iocom, void *handle, uint32_t flags,
sys/kern/kern_dmsg.c
114
iocom->handle = handle;
sys/kern/kern_fp.c
401
void *handle;
sys/kern/kern_fp.c
482
KKASSERT(vp == (struct vnode *)obj->handle);
sys/kern/kern_fp.c
490
handle = NULL;
sys/kern/kern_fp.c
548
handle = (void *)vp;
sys/kern/kern_fp.c
551
maxprot, flags, handle, pos, fp);
sys/kern/subr_diskiocom.c
194
struct disk *dp = msg->state->iocom->handle;
sys/kern/subr_sglist.c
113
void *handle;
sys/kern/subr_sglist.c
126
paddr = pmap_extract(pmap, vaddr, &handle);
sys/kern/subr_sglist.c
129
handle = NULL;
sys/kern/subr_sglist.c
141
pmap_extract_done(handle);
sys/kern/subr_sglist.c
145
pmap_extract_done(handle);
sys/kern/subr_sglist.c
154
paddr = pmap_extract(pmap, vaddr, &handle);
sys/kern/subr_sglist.c
156
pmap_extract_done(handle);
sys/libiconv/iconv.c
233
iconv_open(const char *to, const char *from, void **handle)
sys/libiconv/iconv.c
245
return ICONV_CONVERTER_OPEN(csp->cp_dcp, csp, NULL, handle);
sys/libiconv/iconv.c
264
return ICONV_CONVERTER_OPEN(dcp, cspto, cspfrom, handle);
sys/libiconv/iconv.c
270
iconv_close(void *handle)
sys/libiconv/iconv.c
272
return ICONV_CONVERTER_CLOSE(handle);
sys/libiconv/iconv.c
276
iconv_conv(void *handle, const char **inbuf,
sys/libiconv/iconv.c
279
return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, 0);
sys/libiconv/iconv.c
283
iconv_conv_case(void *handle, const char **inbuf,
sys/libiconv/iconv.c
286
return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, casetype);
sys/libiconv/iconv.c
290
iconv_convchr(void *handle, const char **inbuf,
sys/libiconv/iconv.c
293
return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, 0);
sys/libiconv/iconv.c
297
iconv_convchr_case(void *handle, const char **inbuf,
sys/libiconv/iconv.c
300
return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, casetype);
sys/libiconv/iconv.c
304
towlower(int c, void *handle)
sys/libiconv/iconv.c
306
return ICONV_CONVERTER_TOLOWER(handle, c);
sys/libiconv/iconv.c
310
towupper(int c, void *handle)
sys/libiconv/iconv.c
312
return ICONV_CONVERTER_TOUPPER(handle, c);
sys/libiconv/iconv.c
464
iconv_converter_tolowerstub(int c, void *handle)
sys/libiconv/iconv.c
504
iconv_convstr(void *handle, char *dst, const char *src)
sys/libiconv/iconv.c
510
if (handle == NULL) {
sys/libiconv/iconv.c
515
error = iconv_conv(handle, NULL, NULL, &p, &outlen);
sys/libiconv/iconv.c
518
error = iconv_conv(handle, &src, &inlen, &p, &outlen);
sys/libiconv/iconv.c
526
iconv_convmem(void *handle, void *dst, const void *src, int size)
sys/libiconv/iconv.c
535
if (handle == NULL) {
sys/libiconv/iconv.c
540
error = iconv_conv(handle, NULL, NULL, &d, &outlen);
sys/libiconv/iconv.c
543
error = iconv_conv(handle, &s, &inlen, &d, &outlen);
sys/net/altq/altq_cbq.c
128
cl->stats_.handle == chandle)
sys/net/altq/altq_cbq.c
132
cl->stats_.handle == chandle)
sys/net/altq/altq_cbq.c
383
cl->stats_.handle = a->qid;
sys/net/altq/altq_cbq.h
64
uint32_t handle;
sys/net/altq/altq_rmclass.c
1359
CBQTRACE(rmc_update_class_util, 'milo', cl->stats_.handle);
sys/net/altq/altq_rmclass.c
1495
CBQTRACE(rmc_delay_action, 'yled', cl->stats_.handle);
sys/net/altq/altq_rmclass.c
1578
CBQTRACE(rmc_restart, 'trts', cl->stats_.handle);
sys/net/altq/altq_rmclass.c
789
CBQTRACE(rmc_queue_packet, 'ytpe', cl->stats_.handle);
sys/net/altq/altq_rmclass.h
120
u_int handle;
sys/net/netmap/netmap_freebsd.c
202
netmap_dev_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot,
sys/net/netmap/netmap_freebsd.c
205
struct netmap_vm_handle_t *vmh = handle;
sys/net/netmap/netmap_freebsd.c
208
handle, (intmax_t)size, prot, (intmax_t)foff);
sys/net/netmap/netmap_freebsd.c
217
netmap_dev_pager_dtor(void *handle)
sys/net/netmap/netmap_freebsd.c
219
struct netmap_vm_handle_t *vmh = handle;
sys/net/netmap/netmap_freebsd.c
223
D("handle %p", handle);
sys/net/netmap/netmap_freebsd.c
256
struct netmap_vm_handle_t *vmh = object->handle;
sys/netbt/hci_event.c
373
uint16_t handle, num;
sys/netbt/hci_event.c
381
m_copydata(m, 0, sizeof(handle), &handle);
sys/netbt/hci_event.c
382
m_adj(m, sizeof(handle));
sys/netbt/hci_event.c
383
handle = letoh16(handle);
sys/netbt/hci_event.c
389
link = hci_link_lookup_handle(unit, handle);
sys/netbt/hci_event.c
402
device_get_nameunit(unit->hci_dev), handle,
sys/netbt/hci_link.c
1071
hci_link_lookup_handle(struct hci_unit *unit, uint16_t handle)
sys/netbt/hci_link.c
1078
if (handle == link->hl_handle)
sys/netbt/hci_link.c
421
uint16_t handle, want;
sys/netbt/hci_link.c
448
handle = HCI_CON_HANDLE(hdr.con_handle);
sys/netbt/hci_link.c
451
link = hci_link_lookup_handle(unit, handle);
sys/netbt/hci_link.c
456
device_get_nameunit(unit->hci_dev), handle);
sys/netbt/hci_link.c
464
cp.con_handle = htole16(handle);
sys/netbt/hci_link.c
620
uint16_t handle;
sys/netbt/hci_link.c
651
handle = HCI_MK_CON_HANDLE(link->hl_handle,
sys/netbt/hci_link.c
654
handle = HCI_MK_CON_HANDLE(link->hl_handle,
sys/netbt/hci_link.c
663
hdr->con_handle = htole16(handle);
sys/netbt/hci_link.c
832
uint16_t handle;
sys/netbt/hci_link.c
857
handle = HCI_CON_HANDLE(hdr.con_handle);
sys/netbt/hci_link.c
859
link = hci_link_lookup_handle(unit, handle);
sys/netbt/hci_link.c
862
device_get_nameunit(unit->hci_dev), handle);
sys/netbt/l2cap_upper.c
260
l2cap_detach(struct l2cap_channel **handle)
sys/netbt/l2cap_upper.c
264
chan = *handle;
sys/netbt/l2cap_upper.c
265
*handle = NULL;
sys/netbt/l2cap_upper.c
61
l2cap_attach(struct l2cap_channel **handle,
sys/netbt/l2cap_upper.c
66
KKASSERT(handle != NULL);
sys/netbt/l2cap_upper.c
97
*handle = chan;
sys/netbt/rfcomm_upper.c
274
rfcomm_detach(struct rfcomm_dlc **handle)
sys/netbt/rfcomm_upper.c
276
struct rfcomm_dlc *dlc = *handle;
sys/netbt/rfcomm_upper.c
287
*handle = NULL;
sys/netbt/rfcomm_upper.c
63
rfcomm_attach(struct rfcomm_dlc **handle,
sys/netbt/rfcomm_upper.c
68
KKASSERT(handle != NULL);
sys/netbt/rfcomm_upper.c
94
*handle = dlc;
sys/netbt/sco_upper.c
229
sco_detach(struct sco_pcb **handle)
sys/netbt/sco_upper.c
233
KKASSERT(handle != NULL);
sys/netbt/sco_upper.c
234
pcb = *handle;
sys/netbt/sco_upper.c
235
*handle = NULL;
sys/netbt/sco_upper.c
61
sco_attach(struct sco_pcb **handle,
sys/netbt/sco_upper.c
66
KKASSERT(handle != NULL);
sys/netbt/sco_upper.c
79
*handle = pcb;
sys/netgraph7/cisco/ng_cisco.c
102
struct callout handle;
sys/netgraph7/cisco/ng_cisco.c
194
ng_callout_init(&sc->handle);
sys/netgraph7/cisco/ng_cisco.c
219
ng_callout(&sc->handle, node, NULL, (hz * KEEPALIVE_SECS),
sys/netgraph7/cisco/ng_cisco.c
418
ng_uncallout(&sc->handle, NG_HOOK_NODE(hook));
sys/netgraph7/cisco/ng_cisco.c
577
ng_callout(&sc->handle, node, NULL, (hz * KEEPALIVE_SECS),
sys/netgraph7/lmi/ng_lmi.c
1079
ng_uncallout(&sc->handle, sc->node);
sys/netgraph7/lmi/ng_lmi.c
125
struct callout handle; /* see timeout(9) */
sys/netgraph7/lmi/ng_lmi.c
195
ng_callout_init(&sc->handle);
sys/netgraph7/lmi/ng_lmi.c
270
ng_callout(&sc->handle, node, NULL, NG_LMI_POLL_RATE * hz,
sys/netgraph7/lmi/ng_lmi.c
279
ng_callout(&sc->handle, node, NULL, sc->liv_rate * hz,
sys/netgraph7/lmi/ng_lmi.c
309
ng_callout(&sc->handle, sc->node, NULL, hz, LMI_ticker, NULL, 0);
sys/netgraph7/pppoe/ng_pppoe.c
1079
ng_callout(&neg->handle, node, hook, PPPOE_INITIAL_TIMEOUT * hz,
sys/netgraph7/pppoe/ng_pppoe.c
1208
ng_uncallout(&neg->handle, node);
sys/netgraph7/pppoe/ng_pppoe.c
1253
ng_callout(&neg->handle, node, hook, PPPOE_OFFER_TIMEOUT * hz,
sys/netgraph7/pppoe/ng_pppoe.c
1446
ng_uncallout(&neg->handle, node);
sys/netgraph7/pppoe/ng_pppoe.c
1471
ng_callout(&neg->handle, node, sp->hook,
sys/netgraph7/pppoe/ng_pppoe.c
1510
ng_uncallout(&neg->handle, node);
sys/netgraph7/pppoe/ng_pppoe.c
1582
ng_uncallout(&neg->handle, node);
sys/netgraph7/pppoe/ng_pppoe.c
1648
ng_uncallout(&sp->neg->handle, node);
sys/netgraph7/pppoe/ng_pppoe.c
1789
ng_uncallout(&sp->neg->handle, node);
sys/netgraph7/pppoe/ng_pppoe.c
1828
ng_callout(&neg->handle, node, hook, neg->timeout * hz,
sys/netgraph7/pppoe/ng_pppoe.c
215
struct callout handle; /* see timeout(9) */
sys/netgraph7/pppoe/ng_pppoe.c
812
ng_callout_init(&neg->handle);
sys/platform/pc64/include/pc/bios.h
82
uint16_t handle;
sys/platform/pc64/x86_64/efirt.c
154
efi_pg_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot,
sys/platform/pc64/x86_64/efirt.c
162
efi_pg_dtor(void *handle)
sys/platform/pc64/x86_64/pmap.c
1772
pmap_extract_done(void *handle)
sys/platform/pc64/x86_64/pmap.c
1774
if (handle)
sys/platform/pc64/x86_64/pmap.c
1775
pv_put((pv_entry_t)handle);
sys/platform/vkernel64/platform/pmap.c
683
pmap_extract_done(void *handle)
sys/platform/vkernel64/platform/pmap.c
687
if (handle) {
sys/platform/vkernel64/platform/pmap.c
688
pmap = handle;
sys/sys/dmsg.h
816
void *handle;
sys/sys/dmsg.h
848
void kdmsg_iocom_init(kdmsg_iocom_t *iocom, void *handle, u_int32_t flags,
sys/sys/iconv.h
158
int iconv_open(const char *to, const char *from, void **handle);
sys/sys/iconv.h
159
int iconv_close(void *handle);
sys/sys/iconv.h
160
int iconv_conv(void *handle, const char **inbuf,
sys/sys/iconv.h
162
int iconv_conv_case(void *handle, const char **inbuf,
sys/sys/iconv.h
164
int iconv_convchr(void *handle, const char **inbuf,
sys/sys/iconv.h
166
int iconv_convchr_case(void *handle, const char **inbuf,
sys/sys/iconv.h
169
char* iconv_convstr(void *handle, char *dst, const char *src);
sys/sys/iconv.h
170
void* iconv_convmem(void *handle, void *dst, const void *src, int size);
sys/sys/iconv.h
173
int towlower(int c, void *handle);
sys/sys/iconv.h
174
int towupper(int c, void *handle);
sys/sys/iconv.h
180
int (*open)(const char *to, const char *from, void **handle);
sys/sys/iconv.h
181
int (*close)(void *handle);
sys/sys/iconv.h
182
int (*conv)(void *handle, const char **inbuf, size_t *inbytesleft,
sys/sys/iconv.h
184
int (*conv_case)(void *handle, const char **inbuf, size_t *inbytesleft,
sys/sys/iconv.h
186
int (*convchr)(void *handle, const char **inbuf, size_t *inbytesleft,
sys/sys/iconv.h
188
int (*convchr_case)(void *handle, const char **inbuf, size_t *inbytesleft,
sys/sys/iconv.h
242
int iconv_converter_tolowerstub(int c, void *handle);
sys/sys/soundcard.h
1896
char handle[32];
sys/sys/soundcard.h
1918
char handle[32];
sys/sys/soundcard.h
1960
char handle[32];
sys/sys/timepps.h
130
time_pps_create(int filedes, pps_handle_t *handle)
sys/sys/timepps.h
134
*handle = -1;
sys/sys/timepps.h
138
*handle = filedes;
sys/sys/timepps.h
143
time_pps_destroy(pps_handle_t handle)
sys/sys/timepps.h
145
return (ioctl(handle, PPS_IOC_DESTROY, 0));
sys/sys/timepps.h
149
time_pps_setparams(pps_handle_t handle, const pps_params_t *ppsparams)
sys/sys/timepps.h
151
return (ioctl(handle, PPS_IOC_SETPARAMS, ppsparams));
sys/sys/timepps.h
155
time_pps_getparams(pps_handle_t handle, pps_params_t *ppsparams)
sys/sys/timepps.h
157
return (ioctl(handle, PPS_IOC_GETPARAMS, ppsparams));
sys/sys/timepps.h
161
time_pps_getcap(pps_handle_t handle, int *mode)
sys/sys/timepps.h
163
return (ioctl(handle, PPS_IOC_GETCAP, mode));
sys/sys/timepps.h
167
time_pps_fetch(pps_handle_t handle, const int tsformat,
sys/sys/timepps.h
179
error = ioctl(handle, PPS_IOC_FETCH, &arg);
sys/sys/timepps.h
185
time_pps_kcbind(pps_handle_t handle, const int kernel_consumer,
sys/sys/timepps.h
193
return (ioctl(handle, PPS_IOC_KCBIND, &arg));
sys/vfs/hammer2/hammer2_iocom.c
199
hammer2_dev_t *hmp = msg->state->iocom->handle;
sys/vfs/isofs/cd9660/cd9660_util.c
103
int flags, void *handle, void *lhandle)
sys/vfs/isofs/cd9660/cd9660_util.c
114
isofn += isochar(isofn, isoend, joliet_level, &c, NULL, flags, handle);
sys/vfs/isofs/cd9660/cd9660_util.c
126
NULL, flags, handle);
sys/vfs/isofs/cd9660/cd9660_util.c
142
isofn += isochar(isofn, isoend, joliet_level, &c, NULL, flags, handle);
sys/vfs/isofs/cd9660/cd9660_util.c
149
NULL, flags, handle);
sys/vfs/isofs/cd9660/cd9660_util.c
166
int assoc, int joliet_level, int flags, void *handle)
sys/vfs/isofs/cd9660/cd9660_util.c
176
infn += isochar(infn, infnend, joliet_level, &c, &clen, flags, handle);
sys/vfs/isofs/cd9660/cd9660_util.c
196
int flags, void *handle)
sys/vfs/isofs/cd9660/cd9660_util.c
207
cd9660_iconv->convchr(handle, &string, &i, &outp, &j);
sys/vfs/isofs/cd9660/cd9660_util.c
56
int *clen, int flags, void *handle)
sys/vfs/isofs/cd9660/cd9660_util.c
75
cd9660_iconv->convchr(handle, __DECONST(const char **, &inp),
sys/vfs/msdosfs/msdosfs_conv.c
788
void *handle)
sys/vfs/msdosfs/msdosfs_conv.c
795
msdosfs_iconv->conv(handle, instr, &inlen, &outp, &outlen);
sys/vfs/procfs/procfs_map.c
159
vp = obj->handle;
sys/vm/default_pager.c
72
default_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t offset)
sys/vm/default_pager.c
76
if (handle != NULL)
sys/vm/device_pager.c
102
object = vm_pager_object_lookup(&dev_pager_object_list, handle);
sys/vm/device_pager.c
109
cdev_pager_allocate(void *handle, enum obj_type tp, struct cdev_pager_ops *ops,
sys/vm/device_pager.c
126
if (ops->cdev_pg_ctor(handle, size, prot, foff, cred, &color) != 0)
sys/vm/device_pager.c
133
object = vm_pager_object_lookup(&dev_pager_object_list, handle);
sys/vm/device_pager.c
139
object->handle = handle;
sys/vm/device_pager.c
141
object->un_pager.devp.dev = handle;
sys/vm/device_pager.c
148
dev = handle;
sys/vm/device_pager.c
173
dev_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t foff)
sys/vm/device_pager.c
175
return (cdev_pager_allocate(handle, OBJT_DEVICE, &old_dev_pager_ops,
sys/vm/device_pager.c
312
old_dev_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot,
sys/vm/device_pager.c
319
dev = handle;
sys/vm/device_pager.c
336
static void old_dev_pager_dtor(void *handle)
sys/vm/device_pager.c
340
dev = handle;
sys/vm/device_pager.c
357
dev = object->handle;
sys/vm/device_pager.c
84
static int old_dev_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot,
sys/vm/device_pager.c
86
static void old_dev_pager_dtor(void *handle);
sys/vm/device_pager.c
97
cdev_pager_lookup(void *handle)
sys/vm/phys_pager.c
60
phys_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t foff)
sys/vm/phys_pager.c
72
KKASSERT(handle == NULL);
sys/vm/phys_pager.c
84
KKASSERT(object->handle == NULL);
sys/vm/pmap.h
188
void pmap_extract_done (void *handle);
sys/vm/swap_pager.c
2135
vp = object->handle;
sys/vm/swap_pager.c
474
swap_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t offset)
sys/vm/swap_pager.c
478
KKASSERT(handle == NULL);
sys/vm/vm_contig.c
218
vn_lock(object->handle, LK_EXCLUSIVE|LK_RETRY);
sys/vm/vm_contig.c
220
vn_unlock(((struct vnode *)object->handle));
sys/vm/vm_fault.c
330
if (fs->ba->object->handle != NULL)
sys/vm/vm_map.c
2220
vp = current->ba.object->handle;
sys/vm/vm_map.c
3143
vn_lock(object->handle, LK_EXCLUSIVE | LK_RETRY);
sys/vm/vm_map.c
3153
vn_unlock(((struct vnode *)object->handle));
sys/vm/vm_map.c
767
source->handle == NULL &&
sys/vm/vm_mmap.c
1215
vm_prot_t maxprot, int flags, void *handle, vm_ooffset_t foff,
sys/vm/vm_mmap.c
1321
if (handle) {
sys/vm/vm_mmap.c
1325
object = default_pager_alloc(handle, objsize,
sys/vm/vm_mmap.c
1343
vp = (struct vnode *)handle;
sys/vm/vm_mmap.c
138
void *handle;
sys/vm/vm_mmap.c
1381
handle = (void *)(intptr_t)vp->v_rdev;
sys/vm/vm_mmap.c
1382
object = dev_pager_alloc(handle, objsize, prot, foff);
sys/vm/vm_mmap.c
237
handle = NULL;
sys/vm/vm_mmap.c
278
KKASSERT((struct vnode *)obj->handle == vp);
sys/vm/vm_mmap.c
303
handle = NULL;
sys/vm/vm_mmap.c
375
handle = (void *)vp;
sys/vm/vm_mmap.c
392
flags, handle, pos, fp);
sys/vm/vm_object.c
1000
(vp = (struct vnode *)object->handle) != NULL) {
sys/vm/vm_object.c
1704
(vp = (struct vnode *)object->handle) != NULL) {
sys/vm/vm_object.c
1849
if (object->handle != NULL ||
sys/vm/vm_object.c
412
object->handle = NULL;
sys/vm/vm_object.c
512
vref(object->handle);
sys/vm/vm_object.c
532
vref(object->handle);
sys/vm/vm_object.c
551
struct vnode *vp = (struct vnode *) object->handle;
sys/vm/vm_object.c
652
vp = (struct vnode *)object->handle;
sys/vm/vm_object.c
785
vp = (struct vnode *) object->handle;
sys/vm/vm_object.c
964
vp = object->handle;
sys/vm/vm_object.h
152
void *handle; /* control handle: vp, etc */
sys/vm/vm_pageout.c
1248
vp = object->handle;
sys/vm/vm_pageout.c
1280
object->handle != vp) {
sys/vm/vm_pageout.c
1339
object->handle != vp) {
sys/vm/vm_pageout.c
941
vp = m->object->handle;
sys/vm/vm_pager.c
359
vm_pager_object_lookup(struct pagerlst *pg_list, void *handle)
sys/vm/vm_pager.c
364
if (object->handle == handle) {
sys/vm/vm_pager.h
174
int (*cdev_pg_ctor)(void *handle, vm_ooffset_t size, vm_prot_t prot,
sys/vm/vm_pager.h
176
void (*cdev_pg_dtor)(void *handle);
sys/vm/vm_pager.h
179
vm_object_t cdev_pager_allocate(void *handle, enum obj_type tp,
sys/vm/vm_pager.h
182
vm_object_t cdev_pager_lookup(void *handle);
sys/vm/vm_swapcache.c
448
vp = object->handle;
sys/vm/vm_swapcache.c
754
((vp = object->handle) == NULL) ||
sys/vm/vnode_pager.c
102
vnode_pager_alloc(void *handle, off_t length, vm_prot_t prot, off_t offset,
sys/vm/vnode_pager.c
113
if (handle == NULL)
sys/vm/vnode_pager.c
126
vp = (struct vnode *)handle;
sys/vm/vnode_pager.c
162
object->handle = handle;
sys/vm/vnode_pager.c
215
struct vnode *vp = object->handle;
sys/vm/vnode_pager.c
222
object->handle = NULL;
sys/vm/vnode_pager.c
236
struct vnode *vp = object->handle;
sys/vm/vnode_pager.c
443
vp = object->handle;
sys/vm/vnode_pager.c
660
vp = object->handle;
sys/vm/vnode_pager.c
814
vp = lobject->handle;
sys/vm/vnode_pager.c
817
if (lobject->handle == vp)
sys/vm/vnode_pager.c
825
tsleep(lobject->handle, 0, "vnpgrl", hz);
test/debug/vmobjinfo.c
160
op, obj.type, (intmax_t)obj.size, obj.handle,
tools/regression/lib/libc-regex/testregex.c
138
resizef(void* handle, void* data, size_t size)
tools/regression/lib/libc-regex/testregex.c
142
return stkalloc((Sfio_t*)handle, size);
usr.bin/fstat/fstat.c
448
vtrans((struct vnode *)object.handle, NULL,
usr.bin/kdump/kdump.c
1001
printf("dlclose(%p) (%s, %d)\n", ut->handle, ut->name,
usr.bin/kdump/kdump.c
1005
printf("dlclose(%p) finished\n", ut->handle);
usr.bin/kdump/kdump.c
1008
printf("RTLD: loaded %p @ %p - %p (%s)\n", ut->handle,
usr.bin/kdump/kdump.c
1013
printf("RTLD: unloaded %p @ %p - %p (%s)\n", ut->handle,
usr.bin/kdump/kdump.c
1020
ut->handle, ut->name, ut->refcnt);
usr.bin/kdump/kdump.c
1026
printf("RTLD: init %p for %p (%s)\n", ut->mapbase, ut->handle,
usr.bin/kdump/kdump.c
1030
printf("RTLD: fini %p for %p (%s)\n", ut->mapbase, ut->handle,
usr.bin/kdump/kdump.c
959
void *handle;
usr.bin/kdump/kdump.c
997
printf("%p = dlopen(%s) ref %d\n", ut->handle, ut->name,
usr.bin/rpcinfo/rpcinfo.c
1538
void *handle;
usr.bin/rpcinfo/rpcinfo.c
1542
if ((handle = __rpc_setconf(tlist[i])) == NULL)
usr.bin/rpcinfo/rpcinfo.c
1545
if ((nconf = __rpc_getconf(handle)) == NULL) {
usr.bin/rpcinfo/rpcinfo.c
1555
__rpc_endconf(handle);
usr.bin/top/m_dragonfly.c
465
static struct handle handle;
usr.bin/top/m_dragonfly.c
675
handle.next_proc = pref;
usr.bin/top/m_dragonfly.c
676
handle.remaining = active_procs;
usr.bin/top/m_dragonfly.c
677
handle.show_threads = show_threads;
usr.bin/top/m_dragonfly.c
678
return ((caddr_t) & handle);
usr.bin/top/m_dragonfly.c
690
struct handle *hp;
usr.bin/top/m_dragonfly.c
698
hp = (struct handle *)xhandle;
usr.bin/top/machine.h
121
char *format_process_header(struct process_select *sel, caddr_t handle, int count);
usr.bin/uudecode/uudecode.c
170
void *handle;
usr.bin/uudecode/uudecode.c
204
if ((handle = setmode(p)) == NULL) {
usr.bin/uudecode/uudecode.c
213
mode = getmode(handle, 0) & 0666;
usr.bin/uudecode/uudecode.c
214
free(handle);
usr.sbin/mpsutil/mps_show.c
475
uint16_t IOCStatus, handle, bus, target;
usr.sbin/mpsutil/mps_show.c
500
handle = 0xffff;
usr.sbin/mpsutil/mps_show.c
505
MPI2_SAS_DEVICE_PGAD_FORM_GET_NEXT_HANDLE | handle,
usr.sbin/mpsutil/mps_show.c
515
handle = device->DevHandle;
usr.sbin/mpsutil/mps_show.c
524
error = mps_map_btdh(fd, &handle, &bus, &target);
usr.sbin/mpsutil/mps_show.c
595
uint16_t IOCStatus, handle;
usr.sbin/mpsutil/mps_show.c
606
handle = 0xffff;
usr.sbin/mpsutil/mps_show.c
611
MPI2_SAS_ENCLOS_PGAD_FORM_GET_NEXT_HANDLE | handle,
usr.sbin/mpsutil/mps_show.c
630
handle = enc->EnclosureHandle;
usr.sbin/mpsutil/mps_show.c
644
uint16_t IOCStatus, handle;
usr.sbin/mpsutil/mps_show.c
657
handle = 0xffff;
usr.sbin/mpsutil/mps_show.c
662
MPI2_SAS_EXPAND_PGAD_FORM_GET_NEXT_HNDL | handle,
usr.sbin/mpsutil/mps_show.c
674
handle = exp0->DevHandle;
usr.sbin/sdpd/profile.c
110
SDP_PUT32(((provider_t const *) data)->handle, buf);
usr.sbin/sdpd/provider.c
111
provider->handle = next_handle;
usr.sbin/sdpd/provider.c
165
provider_by_handle(uint32_t handle)
usr.sbin/sdpd/provider.c
170
if (provider->handle == handle)
usr.sbin/sdpd/provider.c
73
bgd->handle = 0;
usr.sbin/sdpd/provider.c
78
bgd->handle = 1;
usr.sbin/sdpd/provider.h
100
provider_p provider_by_handle (uint32_t handle);
usr.sbin/sdpd/provider.h
76
uint32_t handle; /* record handle */
usr.sbin/sdpd/sar.c
154
uint32_t handle;
usr.sbin/sdpd/sar.c
171
SDP_GET32(handle, req);
usr.sbin/sdpd/sar.c
217
if ((provider = provider_by_handle(handle)) == NULL)
usr.sbin/sdpd/scr.c
57
uint32_t handle;
usr.sbin/sdpd/scr.c
70
SDP_GET32(handle, req);
usr.sbin/sdpd/scr.c
73
provider = provider_by_handle(handle);
usr.sbin/sdpd/srr.c
99
SDP_PUT32(provider->handle, rsp);
usr.sbin/sdpd/ssr.c
225
SDP_PUT32(provider->handle, rsp);
usr.sbin/sdpd/sur.c
57
uint32_t handle;
usr.sbin/sdpd/sur.c
70
SDP_GET32(handle, req);
usr.sbin/sdpd/sur.c
73
provider = provider_by_handle(handle);
usr.sbin/sysvipcd/shmd.c
407
struct shm_handle *handle;
usr.sbin/sysvipcd/shmd.c
458
handle = shmseg->shm_internal = malloc(sizeof(struct shm_handle));
usr.sbin/sysvipcd/shmd.c
459
handle->type = shmget_msg->type;
usr.sbin/sysvipcd/shmd.c
460
handle->fd = create_sysv_file(shmget_msg, size, shmseg);
usr.sbin/sysvipcd/shmd.c
461
if (handle->fd == -1) {
usr.sbin/sysvipcd/shmd.c
462
free(handle);
usr.sbin/sysvipcd/shmd.c
463
handle = NULL;
usr.sbin/sysvipcd/shmd.c
470
LIST_INIT(&handle->attached_list);
usr.sbin/sysvipcd/shmd.c
472
if (handle->fd < 0) {
usr.sbin/sysvipcd/shmd.c
525
struct shm_handle *handle;
usr.sbin/sysvipcd/shmd.c
566
handle = (struct shm_handle *)shmseg->shm_internal;
usr.sbin/sysvipcd/shmd.c
567
if (install_fd_client(pid, handle->fd) != 0)
usr.sbin/sysvipcd/shmd.c
582
struct shm_handle *handle;
usr.sbin/sysvipcd/shmd.c
602
handle = shmseg->shm_internal;
usr.sbin/sysvipcd/shmd.c
605
if (handle->type != UNDOGET) {
usr.sbin/sysvipcd/shmd.c
618
if (handle->type != UNDOGET)
usr.sbin/sysvipcd/shmd.c
634
LIST_INSERT_HEAD(&handle->attached_list, pidatt, link);
usr.sbin/sysvipcd/shmd.c
655
struct shm_handle *handle;
usr.sbin/sysvipcd/shmd.c
667
handle = shmseg->shm_internal;
usr.sbin/sysvipcd/shmd.c
670
LIST_FOREACH(pidatt, &handle->attached_list, link)