Searched refs:handle (Results 251 - 275 of 1660) sorted by path

<<11121314151617181920>>

/linux-master/drivers/base/
H A Dcore.c2096 * @sup_handle: fwnode handle of supplier
2249 * This proxy link step is needed to handle the case where the
2324 * all the descendants. This proxy link step is needed to handle the
2555 * method, which should handle actually freeing the structure.
5085 * @dev: Device to handle.
5130 * @dev: Device to handle.
5202 int device_match_acpi_handle(struct device *dev, const void *handle) argument
5204 return ACPI_HANDLE(dev) == handle;
H A Ddevtmpfs.c380 static int handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, function
399 req->err = handle(req->name, req->mode,
/linux-master/drivers/block/
H A Dnbd.c199 static u32 nbd_handle_to_tag(u64 handle) argument
201 return (u32)handle;
204 static u32 nbd_handle_to_cookie(u64 handle) argument
206 return (u32)(handle >> NBD_COOKIE_BITS);
603 u64 handle; local
632 /* initialize handle for tracing purposes */
633 handle = nbd_cmd_handle(cmd);
649 handle = nbd_cmd_handle(cmd);
650 request.cookie = cpu_to_be64(handle);
659 trace_nbd_header_sent(req, handle);
771 u64 handle; local
[all...]
H A Drbd.c371 u64 handle; member in struct:rbd_client_id
1023 /* Allocate this now to avoid having to handle failure below */
3623 return lhs->gid == rhs->gid && lhs->handle == rhs->handle;
3632 cid.handle = rbd_dev->watch_cookie;
3644 rbd_dev->owner_cid.gid, rbd_dev->owner_cid.handle,
3645 cid->gid, cid->handle);
3729 ceph_encode_64(&p, cid.handle);
3883 u64 handle; local
3913 &handle);
4503 struct ceph_osd_linger_request *handle; local
[all...]
H A Dxen-blkfront.c207 blkif_vdev_t handle; member in struct:blkfront_info
608 * completion more easy to handle even if the block I/O request is
698 second->u.rw.handle = first->u.rw.handle;
776 ring_req->u.indirect.handle = info->handle;
780 ring_req->u.rw.handle = info->handle;
1995 info->handle = simple_strtoul(strrchr(dev->nodename, '/')+1, NULL, 0);
/linux-master/drivers/block/xen-blkback/
H A Dblkback.c260 BUG_ON(persistent_gnt->handle ==
266 persistent_gnt->handle);
312 persistent_gnt->handle);
372 BUG_ON(persistent_gnt->handle ==
659 if (pages[i]->handle == BLKBACK_INVALID_HANDLE)
663 GNTMAP_host_map, pages[i]->handle);
664 pages[i]->handle = BLKBACK_INVALID_HANDLE;
835 pages[seg_idx]->handle = BLKBACK_INVALID_HANDLE;
839 pages[seg_idx]->handle = map[new_map_idx].handle;
[all...]
H A Dcommon.h82 blkif_vdev_t handle; /* only for read/write requests */ member in struct:blkif_x86_32_request_rw
90 blkif_vdev_t _pad1; /* was "handle" for read/write requests */
107 blkif_vdev_t handle; member in struct:blkif_x86_32_request_indirect
134 blkif_vdev_t handle; /* only for read/write requests */ member in struct:blkif_x86_64_request_rw
143 blkif_vdev_t _pad1; /* was "handle" for read/write requests */
163 blkif_vdev_t handle; member in struct:blkif_x86_64_request_indirect
217 blkif_vdev_t handle; member in struct:xen_vbd
244 grant_handle_t handle; member in struct:persistent_gnt
305 unsigned int handle; member in struct:xen_blkif
334 grant_handle_t handle; member in struct:grant_page
[all...]
H A Dxenbus.c480 static int xen_vbd_create(struct xen_blkif *blkif, blkif_vdev_t handle, argument
488 vbd->handle = handle;
522 pr_debug("Successful creation of handle=%04x (dom=%u)\n",
523 handle, blkif->domid);
708 unsigned long handle; local
749 /* Front end dir is a number, which is used as the handle. */
750 err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle);
760 err = xen_vbd_create(be->blkif, handle, major, minor,
/linux-master/drivers/block/zram/
H A Dzram_drv.c87 return zram->table[index].handle;
90 static void zram_set_handle(struct zram *zram, u32 index, unsigned long handle) argument
92 zram->table[index].handle = handle;
564 /* skip 0 bit to confuse zram.handle = 0 */
1254 unsigned long handle; local
1288 handle = zram_get_handle(zram, index);
1289 if (!handle)
1292 zs_free(zram->mem_pool, handle);
1312 unsigned long handle; local
1412 unsigned long handle = -ENOMEM; local
[all...]
H A Dzram_drv.h68 unsigned long handle; member in union:zram_table_entry::__anon350
/linux-master/drivers/bluetooth/
H A Dbtintel.c1327 static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data, argument
1338 status = acpi_get_name(handle, ACPI_FULL_PATHNAME, &string);
1356 status = acpi_evaluate_object(handle, NULL, NULL, &buffer);
2433 acpi_handle handle; local
2445 handle = ACPI_HANDLE(GET_HCIDEV_DEV(hdev));
2446 if (!handle) {
2455 acpi_walk_namespace(ACPI_TYPE_PACKAGE, handle, 1, NULL,
2521 status = acpi_evaluate_object(ref->reference.handle, "_RST", NULL, NULL);
2537 acpi_handle handle = ACPI_HANDLE(GET_HCIDEV_DEV(hdev)); local
2545 handle
[all...]
H A Dbtmtksdio.c205 /* Parse and handle the return WMT event */
423 u16 handle = le16_to_cpu(hci_acl_hdr(skb)->handle); local
425 switch (handle) {
H A Dbtusb.c1246 __u16 handle; local
1256 * Validate the handle to detect it and drop it, or else the upper
1260 handle = hci_handle(__le16_to_cpu(hdr->handle));
1262 switch (hci_conn_lookup_type(hdev, handle)) {
2871 /* Parse and handle the return WMT event */
3322 u16 handle = le16_to_cpu(hci_acl_hdr(skb)->handle); local
3324 switch (handle) {
3523 * < 0: fails to handle
[all...]
H A Dhci_bcm.c1023 ACPI_FAILURE(acpi_get_handle(adev->handle, "BTLP", &dev->btlp)) ||
1024 ACPI_FAILURE(acpi_get_handle(adev->handle, "BTPU", &dev->btpu)) ||
1025 ACPI_FAILURE(acpi_get_handle(adev->handle, "BTPD", &dev->btpd)))
/linux-master/drivers/cdx/controller/
H A Dmcdi.c38 unsigned int *handle);
68 return cmd->handle;
352 unsigned int handle,
358 if (cdx_mcdi_cmd_handle(cmd) == handle) {
433 unsigned int handle; local
465 rc = cdx_mcdi_rpc_async_internal(cdx, cmd_item, &handle);
504 unsigned int *handle)
606 cmd->handle = mcdi->prev_handle++;
351 _cdx_mcdi_cancel_cmd(struct cdx_mcdi_iface *mcdi, unsigned int handle, struct list_head *cleanup_list) argument
502 cdx_mcdi_rpc_async_internal(struct cdx_mcdi *cdx, struct cdx_mcdi_cmd *cmd, unsigned int *handle) argument
H A Dmcdi.h66 * @r5_rproc : R5 Remoteproc device handle
113 * @handle: Command handle
134 unsigned int handle; member in struct:cdx_mcdi_cmd
152 * @prev_handle: The last used command handle
/linux-master/drivers/char/
H A Dhpet.c959 acpi_walk_resources(device->handle, METHOD_NAME__CRS,
H A Dlp.c21 * Redesigned interrupt handling for handle printers with buggy handshake
33 * month to use the IEEE1284 functions (that handle the _new_ compatibilty
98 * generates the irq on the _rising_ edge of the STROBE. Now lp handle
187 static int lp_preempt(void *handle) argument
189 struct lp_struct *this_lp = (struct lp_struct *)handle;
/linux-master/drivers/char/ipmi/
H A Dipmi_si_platform.c311 acpi_handle handle; local
319 handle = ACPI_HANDLE(dev);
320 if (!handle)
327 io.addr_info.acpi_info.acpi_handle = handle;
330 status = acpi_evaluate_integer(handle, "_IFT", NULL, &tmp);
362 status = acpi_evaluate_integer(handle, "_GPE", NULL, &tmp);
/linux-master/drivers/char/tpm/
H A Dtpm.h315 int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf,
318 unsigned int *offset, u32 *handle);
H A Dtpm2-cmd.c352 * @handle: context handle
354 void tpm2_flush_context(struct tpm_chip *chip, u32 handle) argument
362 handle);
366 tpm_buf_append_u32(&buf, handle);
H A Dtpm2-sessions.c52 * tpm_buf_append_name() to add a handle to the buffer. This must be
84 u32 *handle, u8 *name);
88 * session handle, nonces, session key and auth) from use to use it is
92 u32 handle; member in struct:tpm2_auth
141 * handle, but they are part of the session by name, which
408 tpm_buf_append_u32(buf, auth->handle);
465 * would happen if someone added a handle via
469 u32 handle = tpm_buf_read_u32(buf, &offset_s); local
471 if (auth->name_h[i] != handle) {
472 dev_err(&chip->dev, "TPM: handle
482 u32 handle = tpm_buf_read_u32(buf, &offset_s); local
591 tpm2_read_public(struct tpm_chip *chip, u32 handle, char *name) argument
632 tpm_buf_append_name(struct tpm_chip *chip, struct tpm_buf *buf, u32 handle, u8 *name) argument
971 tpm2_parse_create_primary(struct tpm_chip *chip, struct tpm_buf *buf, u32 *handle, u32 hierarchy, u8 *name) argument
1148 tpm2_create_primary(struct tpm_chip *chip, u32 hierarchy, u32 *handle, u8 *name) argument
[all...]
H A Dtpm2-space.c72 unsigned int *offset, u32 *handle)
105 *handle = 0;
118 *handle = be32_to_cpup((__be32 *)&tbuf.data[TPM_HEADER_SIZE]);
125 int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf, argument
136 tpm_buf_append_u32(&tbuf, handle);
203 u32 handle; local
209 &offset, &handle);
217 if (handle != space->session_tbl[i]) {
218 dev_warn(&chip->dev, "session restored to wrong handle\n");
227 static bool tpm2_map_to_phandle(struct tpm_space *space, void *handle) argument
71 tpm2_load_context(struct tpm_chip *chip, u8 *buf, unsigned int *offset, u32 *handle) argument
247 __be32 *handle; local
341 tpm2_add_session(struct tpm_chip *chip, u32 handle) argument
[all...]
H A Dtpm_crb.c746 /* Should the FIFO driver handle this? */
801 chip->acpi_dev_handle = device->handle;
/linux-master/drivers/clk/
H A Dclk-scmi.c114 * to handle the left work.
163 * underlying SCMI transport for an SCMI instance is configured to handle
242 const struct scmi_handle *handle = sdev->handle; local
245 if (!handle)
249 handle->devm_protocol_get(sdev, SCMI_PROTOCOL_CLOCK, &ph);
267 is_atomic = handle->is_transport_atomic(handle, &atomic_threshold);

Completed in 399 milliseconds

<<11121314151617181920>>