id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
hfi1_netdev_rx_init(9) | NAME hfi1_netdev_rx_init - Incrememnts netdevs counter. When called first time, it allocates receive queue data and calls netif_napi_add for each queue.
SYNOPSIS int hfi1_netdev_rx_init (struct hfi1_devdata *dd );
ARGUMENTS dd hfi1 dev data
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/netdev_rx.c hfi... |
hfi1_netdev_rx_napi(9) | NAME hfi1_netdev_rx_napi - napi poll function to move eoi inline
SYNOPSIS int hfi1_netdev_rx_napi (struct napi_struct *napi , int budget );
ARGUMENTS napi pointer to napi object
budget netdev budget
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/chip.c hfi1_addr_from_offset(9), read_csr(9)... |
hfi1_num_netdev_contexts(9) | NAME hfi1_num_netdev_contexts - Count of netdev recv contexts to use.
SYNOPSIS u32 hfi1_num_netdev_contexts (struct hfi1_devdata *dd , u32 available_contexts , struct cpumask *cpu_mask );
ARGUMENTS dd device on which to allocate netdev contexts
available_contexts
count of available... |
hfi1_pkey_validation_pma(9) | NAME hfi1_pkey_validation_pma - It validates PKEYs for incoming PMA MAD packets.
SYNOPSIS int hfi1_pkey_validation_pma (struct hfi1_ibport *ibp , const struct opa_mad *in_mad , const struct ib_wc *in_wc );
ARGUMENTS ibp IB port data
in_mad MAD packet with header and data
in_wc Work ... |
hfi1_process_ecn_slowpath(9) | NAME hfi1_process_ecn_slowpath - Process FECN or BECN bits
SYNOPSIS bool hfi1_process_ecn_slowpath (struct rvt_qp *qp , struct hfi1_packet *pkt , bool prescan );
ARGUMENTS qp The packet's destination QP
pkt The packet itself.
prescan Is the caller the RXQ prescan
DESCRIPTION Proc... |
hfi1_process_mad(9) | NAME hfi1_process_mad - process an incoming MAD packet
SYNOPSIS int hfi1_process_mad (struct ib_device *ibdev , int mad_flags , u32 port , const struct ib_wc *in_wc , const struct ib_grh *in_grh , const struct ib_mad *in_mad , struct ib_mad *out_mad , size_t *out_mad_size , u16 *out_mad_pkey_index );
ARGUMENTS... |
hfi1_qp_iter_cb(9) | NAME hfi1_qp_iter_cb - callback for iterator
SYNOPSIS void hfi1_qp_iter_cb (struct rvt_qp *qp , u64 v );
ARGUMENTS qp the qp
v the sl in low bits of v
DESCRIPTION This is called from the iterator callback to work on an individual qp.
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/qp.c ... |
hfi1_qp_wakeup(9) | NAME hfi1_qp_wakeup - wake up on the indicated event
SYNOPSIS void hfi1_qp_wakeup (struct rvt_qp *qp , u32 flag );
ARGUMENTS qp the QP
flag flag the qp on which the qp is stalled
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/qp.h
April 2026 ... |
hfi1_rc_rcv(9) | NAME hfi1_rc_rcv - process an incoming RC packet
SYNOPSIS void hfi1_rc_rcv (struct hfi1_packet *packet );
ARGUMENTS packet data packet information
DESCRIPTION This is called from qp_rcv to process an incoming RC packet for the given QP. May be called at interrupt level.
SEE ALSO Kernel file ./drivers/infiniba... |
hfi1_rc_verbs_aborted(9) | NAME hfi1_rc_verbs_aborted - handle abort status
SYNOPSIS void hfi1_rc_verbs_aborted (struct rvt_qp *qp , struct hfi1_opa_header *opah );
ARGUMENTS qp the QP
opah the opa header
DESCRIPTION This code modifies both ACK bit in BTH[2] and the s_flags to go into send one mode. This serves to thr... |
hfi1_rcd_eoi_intr(9) | NAME hfi1_rcd_eoi_intr - End of Interrupt processing action
SYNOPSIS void hfi1_rcd_eoi_intr (struct hfi1_ctxtdata *rcd );
ARGUMENTS rcd Ptr to hfi1_ctxtdata of receive context
DESCRIPTION Hold IRQs so we can safely clear the interrupt and recheck for a packet that may have arrived after the previous check a... |
hfi1_rcd_free(9) | NAME hfi1_rcd_free - When reference is zero clean up.
SYNOPSIS void hfi1_rcd_free (struct kref *kref );
ARGUMENTS kref pointer to an initialized rcd data structure
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/init.c hfi1_rcd_put(9), hfi1_rcd_get(9), allocate_rcd_index(9), hfi1_rcd_get_by_index... |
hfi1_rcd_get(9) | NAME hfi1_rcd_get - increment reference for rcd
SYNOPSIS int hfi1_rcd_get (struct hfi1_ctxtdata *rcd );
ARGUMENTS rcd pointer to an initialized rcd data structure
DESCRIPTION Use this to get a reference after the init.
RETURN reflect kref_get_unless_zero, which returns non-zero on increment, otherwise 0.
S... |
hfi1_rcd_get_by_index(9) | NAME hfi1_rcd_get_by_index - get by index
SYNOPSIS struct hfi1_ctxtdata * hfi1_rcd_get_by_index (struct hfi1_devdata *dd , u16 ctxt );
ARGUMENTS dd pointer to a valid devdata structure
ctxt the index of an possilbe rcd
DESCRIPTION We need to protect access to the rcd array. If access is need... |
hfi1_rcd_get_by_index_safe(9) | NAME hfi1_rcd_get_by_index_safe - validate the ctxt index before accessing the array
SYNOPSIS struct hfi1_ctxtdata * hfi1_rcd_get_by_index_safe (struct hfi1_devdata *dd , u16 ctxt );
ARGUMENTS dd pointer to a valid devdata structure
ctxt the index of an possilbe rcd
DESCRIPTION This is a wrap... |
hfi1_rcd_head(9) | NAME hfi1_rcd_head - add accessor for rcd head
SYNOPSIS u32 hfi1_rcd_head (struct hfi1_ctxtdata *rcd );
ARGUMENTS rcd the context
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/hfi.h rcvhdrq_size(9), hfi1_get_rc_ohdr(9), hfi1_set_rcd_head(9), hfi1_seq_incr_wrap(9), hfi1_seq_cnt(9), hfi1_set_seq_cnt(9), la... |
hfi1_rcd_put(9) | NAME hfi1_rcd_put - decrement reference for rcd
SYNOPSIS int hfi1_rcd_put (struct hfi1_ctxtdata *rcd );
ARGUMENTS rcd pointer to an initialized rcd data structure
DESCRIPTION Use this to put a reference after the init.
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/init.c hfi1_rcd_free(9), hfi1_r... |
hfi1_rcvhdrtail_kvaddr(9) | NAME hfi1_rcvhdrtail_kvaddr - return tail kvaddr @rcd - the receive context
SYNOPSIS __le64 * hfi1_rcvhdrtail_kvaddr (const struct hfi1_ctxtdata *rcd );
ARGUMENTS rcd -- undescribed --
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/hfi.h rcvhdrq_size(9), hfi1_get_rc_ohdr(9), hfi1_rcd_head(9), hfi1_s... |
hfi1_register_ib_device(9) | NAME hfi1_register_ib_device - register our device with the infiniband core
SYNOPSIS int hfi1_register_ib_device (struct hfi1_devdata *dd );
ARGUMENTS dd the device data structure Return 0 if successful, errno if unsuccessful.
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/verbs.c hfi1_ib_rcv(9), update_... |
hfi1_reset_device(9) | NAME hfi1_reset_device - reset the chip if possible
SYNOPSIS int hfi1_reset_device (int unit );
ARGUMENTS unit the device to reset
DESCRIPTION Whether or not reset is successful, we attempt to re-initialize the chip (that is, much like a driver unload/reload). We clear the INITTED flag so that the various e... |
hfi1_schedule_send(9) | NAME hfi1_schedule_send - schedule progress
SYNOPSIS bool hfi1_schedule_send (struct rvt_qp *qp );
ARGUMENTS qp the QP
DESCRIPTION This schedules qp progress and caller should hold the s_lock. return true if the first leg is scheduled; false if the first leg is not scheduled.
SEE ALSO Kernel file ./driver... |
hfi1_schedule_send_yield(9) | NAME hfi1_schedule_send_yield - test for a yield required for QP send engine
SYNOPSIS bool hfi1_schedule_send_yield (struct rvt_qp *qp , struct hfi1_pkt_state *ps , bool tid );
ARGUMENTS qp a pointer to QP
ps a pointer to a structure with commonly lookup values for the send engine progress
... |
hfi1_schedule_tid_send(9) | NAME hfi1_schedule_tid_send - schedule progress on TID RDMA state machine
SYNOPSIS bool hfi1_schedule_tid_send (struct rvt_qp *qp );
ARGUMENTS qp the QP
DESCRIPTION This schedules qp progress on the TID RDMA state machine. Caller should hold the s_lock. Unlike hfi1_schedule_send, this cannot use hfi1_sen... |
hfi1_seq_cnt(9) | NAME hfi1_seq_cnt - return seq_cnt member
SYNOPSIS u8 hfi1_seq_cnt (struct hfi1_ctxtdata *rcd );
ARGUMENTS rcd the receive context
DESCRIPTION Return seq_cnt member
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/hfi.h rcvhdrq_size(9), hfi1_get_rc_ohdr(9), hfi1_rcd_head(9), hfi1_set_rcd_head(9... |
hfi1_seq_incr_wrap(9) | NAME hfi1_seq_incr_wrap - wrapping increment for sequence
SYNOPSIS u8 hfi1_seq_incr_wrap (u8 seq );
ARGUMENTS seq the current sequence number
RETURN the incremented seq
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/hfi.h rcvhdrq_size(9), hfi1_get_rc_ohdr(9), hfi1_rcd_head(9), hfi1_set_rcd_head(9), ... |
hfi1_set_fast(9) | NAME hfi1_set_fast - change to the fast handler
SYNOPSIS void hfi1_set_fast (struct hfi1_ctxtdata *rcd );
ARGUMENTS rcd the receive context
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/hfi.h rcvhdrq_size(9), hfi1_get_rc_ohdr(9), hfi1_rcd_head(9), hfi1_set_rcd_head(9), hfi1_seq_incr_wrap(9), hfi1_s... |
hfi1_set_rcd_head(9) | NAME hfi1_set_rcd_head - add accessor for rcd head
SYNOPSIS void hfi1_set_rcd_head (struct hfi1_ctxtdata *rcd , u32 head );
ARGUMENTS rcd the context
head the new head
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/hfi.h rcvhdrq_size(9), hfi1_get_rc_ohdr(9), hfi1_rcd_head(9), hfi1_seq_i... |
hfi1_set_seq_cnt(9) | NAME hfi1_set_seq_cnt - return seq_cnt member
SYNOPSIS void hfi1_set_seq_cnt (struct hfi1_ctxtdata *rcd , u8 cnt );
ARGUMENTS rcd the receive context
cnt -- undescribed --
DESCRIPTION Return seq_cnt member
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/hfi.h rcvhdrq_size(9), hfi1_get_r... |
hfi1_setup_eagerbufs(9) | NAME hfi1_setup_eagerbufs - llocate eager buffers, both kernel and user contexts.
SYNOPSIS int hfi1_setup_eagerbufs (struct hfi1_ctxtdata *rcd );
ARGUMENTS rcd the context we are setting up.
DESCRIPTION Allocate the eager TID buffers and program them into hip. They are no longer completely contiguous, we ... |
hfi1_setup_wqe(9) | NAME hfi1_setup_wqe - set up the wqe
SYNOPSIS int hfi1_setup_wqe (struct rvt_qp *qp , struct rvt_swqe *wqe , bool *call_send );
ARGUMENTS qp The qp
wqe The built wqe
call_send Determine if the send should be posted or scheduled.
DESCRIPTION Perform setup of the wqe. This is calle... |
hfi1_tid_group_to_idx(9) | NAME hfi1_tid_group_to_idx - convert an index to a group @rcd - the receive context @grp - the group pointer
SYNOPSIS u16 hfi1_tid_group_to_idx (struct hfi1_ctxtdata *rcd , struct tid_group *grp );
ARGUMENTS rcd -- undescribed --
grp -- undescribed --
SEE ALSO Kernel file ./drivers/infiniband... |
hfi1_uc_rcv(9) | NAME hfi1_uc_rcv - handle an incoming UC packet
SYNOPSIS void hfi1_uc_rcv (struct hfi1_packet *packet );
ARGUMENTS packet the packet structure
DESCRIPTION This is called from qp_rcv to process an incoming UC packet for the given QP. Called at interrupt level.
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/... |
hfi1_ud_rcv(9) | NAME hfi1_ud_rcv - receive an incoming UD packet
SYNOPSIS void hfi1_ud_rcv (struct hfi1_packet *packet );
ARGUMENTS packet the packet structure
DESCRIPTION This is called from qp_rcv to process an incoming UD packet for the given QP. Called at interrupt level.
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1... |
hfi1_user_sdma_process_request(9) | NAME hfi1_user_sdma_process_request - Process and start a user sdma request
SYNOPSIS int hfi1_user_sdma_process_request (struct hfi1_filedata *fd , struct iovec *iovec , unsigned long dim , unsigned long *count );
ARGUMENTS fd valid file descriptor
iovec array of io vectors to process
d... |
hfi1_validate_rcvhdrcnt(9) | NAME hfi1_validate_rcvhdrcnt - validate hdrcnt
SYNOPSIS int hfi1_validate_rcvhdrcnt (struct hfi1_devdata *dd , uint thecnt );
ARGUMENTS dd the device data
thecnt the header count
SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/chip.c hfi1_addr_from_offset(9), read_csr(9), write_csr(9), ge... |
hfi1_verbs_send(9) | NAME hfi1_verbs_send - send a packet
SYNOPSIS int hfi1_verbs_send (struct rvt_qp *qp , struct hfi1_pkt_state *ps );
ARGUMENTS qp the QP to send on
ps the state of the packet to send
DESCRIPTION Return zero if packet is sent or queued OK. Return non-zero and clear qp->s_flags RVT_S_BUSY oth... |
hfsplus_submit_bio(9) | NAME hfsplus_submit_bio - Perform block I/O
SYNOPSIS int hfsplus_submit_bio (struct super_block *sb , sector_t sector , void *buf , void **data , blk_opf_t opf );
ARGUMENTS sb super block of volume for I/O
sector block to read or write, for blocks of HFSPLUS_SECTOR_SIZE bytes
buf ... |
hgafb_blank(9) | NAME hgafb_blank - (un)blank the screen
SYNOPSIS int hgafb_blank (int blank_mode , struct fb_info *info );
ARGUMENTS blank_mode blanking method to use
info unused
DESCRIPTION Blank the screen if blank_mode != 0, else unblank. Implements VESA suspend and powerdown modes on hardware that supports d... |
hgafb_open(9) | NAME hgafb_open - open the framebuffer device
SYNOPSIS int hgafb_open (struct fb_info *info , int init );
ARGUMENTS info pointer to fb_info object containing info for current hga board
init open by console system or userland.
RETURN 0
SEE ALSO Kernel file ./drivers/video/fbdev/hgafb.c hgafb_re... |
hgafb_pan_display(9) | NAME hgafb_pan_display - pan or wrap the display
SYNOPSIS int hgafb_pan_display (struct fb_var_screeninfo *var , struct fb_info *info );
ARGUMENTS var contains new xoffset, yoffset and vmode values
info pointer to fb_info object containing info for current hga board
DESCRIPTION This function l... |
hgafb_release(9) | NAME hgafb_release - open the framebuffer device
SYNOPSIS int hgafb_release (struct fb_info *info , int init );
ARGUMENTS info pointer to fb_info object containing info for current hga board
init open by console system or userland.
RETURN 0
SEE ALSO Kernel file ./drivers/video/fbdev/hgafb.c hg... |
hgafb_setcolreg(9) | NAME hgafb_setcolreg - set color registers
SYNOPSIS int hgafb_setcolreg (u_int regno , u_int red , u_int green , u_int blue , u_int transp , struct fb_info *info );
ARGUMENTS regno register index to set
red red value, unused
green green value, unused
blue blue value,... |
hgcm_call_copy_back_result(9) | NAME hgcm_call_copy_back_result - Copies the result of the call back to the caller info structure and user buffers.
SYNOPSIS int hgcm_call_copy_back_result (const struct vmmdev_hgcm_call *call , struct vmmdev_hgcm_function_parameter *dst_parm , u32 parm_count , void **bounce_bufs );
ARGUMENTS call HGCM call re... |
hgcm_call_init_call(9) | NAME hgcm_call_init_call - Initializes the call request that we're sending to the host.
SYNOPSIS void hgcm_call_init_call (struct vmmdev_hgcm_call *call , u32 client_id , u32 function , const struct vmmdev_hgcm_function_parameter *src_parm , u32 parm_count , void **bounce_bufs );
ARGUMENTS call The call to ini... |
hgcm_call_linear_addr_type_to_pagelist_flags(9) | NAME hgcm_call_linear_addr_type_to_pagelist_flags - Translates linear address types to page list direction flags.
SYNOPSIS u32 hgcm_call_linear_addr_type_to_pagelist_flags (enum vmmdev_hgcm_function_parameter_type type );
ARGUMENTS type The type.
RETURN page list flags.
SEE ALSO Kernel file ./drivers/virt/vb... |
hgcm_call_preprocess(9) | NAME hgcm_call_preprocess - Preprocesses the HGCM call, validate parameters, alloc bounce buffers and figure out how much extra storage we need for page lists.
SYNOPSIS int hgcm_call_preprocess (const struct vmmdev_hgcm_function_parameter *src_parm , u32 parm_count , void ***bounce_bufs_ret , size_t *extra );
ARGUMEN... |
hgcm_cancel_call(9) | NAME hgcm_cancel_call - Tries to cancel a pending HGCM call.
SYNOPSIS int hgcm_cancel_call (struct vbg_dev *gdev , struct vmmdev_hgcm_call *call );
ARGUMENTS gdev The VBoxGuest device extension.
call The call to cancel.
RETURN VBox status code
SEE ALSO Kernel file ./drivers/virt/vboxguest/vbox... |
hgsmi_get_mode_hints(9) | NAME hgsmi_get_mode_hints - Get most recent video mode hints.
SYNOPSIS int hgsmi_get_mode_hints (struct gen_pool *ctx , unsigned int screens , struct vbva_modehint *hints );
ARGUMENTS ctx The context containing the heap to use.
screens The number of screens to query hints for, starting at 0.
... |
hgsmi_process_display_info(9) | NAME hgsmi_process_display_info - Set a video mode via an HGSMI request. The views must have been initialised first using @a VBoxHGSMISendViewInfo and if the mode is being set on the first display then it must be set first us‐ ing registers.
SYNOPSIS void hgsmi_process_display_info (struct gen_pool *ctx , u32 display ... |
hgsmi_query_conf(9) | NAME hgsmi_query_conf - Query the host for an HGSMI configuration parameter via an HGSMI command.
SYNOPSIS int hgsmi_query_conf (struct gen_pool *ctx , u32 index , u32 *value_ret );
ARGUMENTS ctx The context containing the heap used.
index The index of the parameter to query.
value_ret ... |
hgsmi_report_flags_location(9) | NAME hgsmi_report_flags_location - Inform the host of the location of the host flags in VRAM via an HGSMI cmd.
SYNOPSIS int hgsmi_report_flags_location (struct gen_pool *ctx , u32 location );
ARGUMENTS ctx The context of the guest heap to use.
location The offset chosen for the flags within guest V... |
hgsmi_send_caps_info(9) | NAME hgsmi_send_caps_info - Notify the host of HGSMI-related guest capabilities via an HGSMI command.
SYNOPSIS int hgsmi_send_caps_info (struct gen_pool *ctx , u32 caps );
ARGUMENTS ctx The context of the guest heap to use.
caps The capabilities to report, see vbva_caps.
RETURN 0 or negative e... |
hgsmi_update_input_mapping(9) | NAME hgsmi_update_input_mapping - Report the rectangle relative to which absolute pointer events should be expressed. This information remains valid until the next VBVA resize event for any screen, at which time it is reset to the bounding rectangle of all virtual screens.
SYNOPSIS int hgsmi_update_input_mapping (stru... |
hgsmi_update_pointer_shape(9) | NAME hgsmi_update_pointer_shape - Pass the host a new mouse pointer shape via an HGSMI command.
SYNOPSIS int hgsmi_update_pointer_shape (struct gen_pool *ctx , u32 flags , u32 hot_x , u32 hot_y , u32 width , u32 height , u8 *pixels , u32 len );
ARGUMENTS ctx The context containing the heap to be used.
... |
hibernate(9) | NAME hibernate - Carry out system hibernation, including saving the image.
SYNOPSIS int hibernate (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./kernel/power/hibernate.c pm_hibernation_mode_is_suspend(9), hibernation_set_ops(9), platform_begin(9), platform_end(9), platform_pre_snapshot(9), ... |
hibernate_preallocate_memory(9) | NAME hibernate_preallocate_memory - Preallocate memory for hibernation image.
SYNOPSIS int hibernate_preallocate_memory (void );
ARGUMENTS void no arguments
DESCRIPTION To create a hibernation image it is necessary to make a copy of every page frame in use. We also need a number of page frames to be free du... |
hibernate_quiet_exec(9) | NAME hibernate_quiet_exec - Execute a function with all devices frozen.
SYNOPSIS int hibernate_quiet_exec (int (*func)(void *data) , void *data );
ARGUMENTS func Function to execute.
data Data pointer to pass to func.
DESCRIPTION Return the func return value or an error code if it cannot be exe... |
hibernation_platform_enter(9) | NAME hibernation_platform_enter - Power off the system using the platform driver.
SYNOPSIS int hibernation_platform_enter (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./kernel/power/hibernate.c pm_hibernation_mode_is_suspend(9), hibernation_set_ops(9), platform_begin(9), platform_end(9), pl... |
hibernation_restore(9) | NAME hibernation_restore - Quiesce devices and restore from a hibernation image.
SYNOPSIS int hibernation_restore (int platform_mode );
ARGUMENTS platform_mode If set, use platform driver to prepare for the transition.
DESCRIPTION This routine must be called with system_transition_mutex held. If it is successful, c... |
hibernation_set_ops(9) | NAME hibernation_set_ops - Set the global hibernate operations.
SYNOPSIS void hibernation_set_ops (const struct platform_hibernation_ops *ops );
ARGUMENTS ops Hibernation operations to use in subsequent hibernation transitions.
SEE ALSO Kernel file ./kernel/power/hibernate.c pm_hibernation_mode_is_suspend... |
hibernation_snapshot(9) | NAME hibernation_snapshot - Quiesce devices and create a hibernation image.
SYNOPSIS int hibernation_snapshot (int platform_mode );
ARGUMENTS platform_mode If set, use platform driver to prepare for the transition.
DESCRIPTION This routine must be called with system_transition_mutex held.
SEE ALSO Kernel file ./k... |
hid2hci(1) | NAME hid2hci - Bluetooth HID to HCI mode switching utility
SYNOPSIS hid2hci [OPTIONS]
DESCRIPTION hid2hci(1) is used to set up switch supported Bluetooth devices into the HCI mode and back.
OPTIONS --mode=[mode] Sets the mode to the device into. The possible values for mode are hid, hci.
--method=[method] Wh... |
hid_allocate_device(9) | NAME hid_allocate_device - allocate new hid device descriptor
SYNOPSIS struct hid_device * hid_allocate_device (void );
ARGUMENTS void no arguments
DESCRIPTION Allocate and initialize hid device, so that hid_destroy_device might be used to free it. New hid_device pointer is returned on success, otherwise ERR... |
hid_bpf_allocate_context(9) | NAME hid_bpf_allocate_context - Allocate a context to the given HID device
SYNOPSIS __bpf_kfunc struct hid_bpf_ctx * hid_bpf_allocate_context (unsigned int hid_id );
ARGUMENTS hid_id the system unique identifier of the HID device
DESCRIPTION returns A pointer to struct hid_bpf_ctx on success, NULL on error.
SE... |
hid_bpf_get_data(9) | NAME hid_bpf_get_data - Get the kernel memory pointer associated with the context @ctx
SYNOPSIS __bpf_kfunc __u8 * hid_bpf_get_data (struct hid_bpf_ctx *ctx , unsigned int offset , const size_t rdwr_buf_size );
ARGUMENTS ctx The HID-BPF context
offset The offset within the memory
rdwr_buf... |
hid_bpf_hw_output_report(9) | NAME hid_bpf_hw_output_report - Send an output report to a HID device
SYNOPSIS __bpf_kfunc int hid_bpf_hw_output_report (struct hid_bpf_ctx *ctx , __u8 *buf , size_t buf__sz );
ARGUMENTS ctx the HID-BPF context previously allocated in hid_bpf_allocate_context
buf a PTR_TO_MEM buffer
bu... |
hid_bpf_hw_request(9) | NAME hid_bpf_hw_request - Communicate with a HID device
SYNOPSIS __bpf_kfunc int hid_bpf_hw_request (struct hid_bpf_ctx *ctx , __u8 *buf , size_t buf__sz , enum hid_report_type rtype , enum hid_class_request reqtype );
ARGUMENTS ctx the HID-BPF context previously allocated in hid_bpf_allocate_context
... |
hid_bpf_input_report(9) | NAME hid_bpf_input_report - Inject a HID report in the kernel from a HID device
SYNOPSIS __bpf_kfunc int hid_bpf_input_report (struct hid_bpf_ctx *ctx , enum hid_report_type type , u8 *buf , const size_t buf__sz );
ARGUMENTS ctx the HID-BPF context previously allocated in hid_bpf_allocate_context
type... |
hid_bpf_release_context(9) | NAME hid_bpf_release_context - Release the previously allocated context @ctx
SYNOPSIS __bpf_kfunc void hid_bpf_release_context (struct hid_bpf_ctx *ctx );
ARGUMENTS ctx the HID-BPF context to release
SEE ALSO Kernel file ./drivers/hid/bpf/hid_bpf_dispatch.c hid_bpf_get_data(9), hid_bpf_allocate_context(9), h... |
hid_bpf_try_input_report(9) | NAME hid_bpf_try_input_report - Inject a HID report in the kernel from a HID device
SYNOPSIS __bpf_kfunc int hid_bpf_try_input_report (struct hid_bpf_ctx *ctx , enum hid_report_type type , u8 *buf , const size_t buf__sz );
ARGUMENTS ctx the HID-BPF context previously allocated in hid_bpf_allocate_context
... |
hid_compare_device_paths(9) | NAME hid_compare_device_paths - check if both devices share the same path
SYNOPSIS bool hid_compare_device_paths (struct hid_device *hdev_a , struct hid_device *hdev_b , char separator );
ARGUMENTS hdev_a hid device
hdev_b hid device
separator char to use as separator
DESCRIPTION Check if... |
hid_destroy_device(9) | NAME hid_destroy_device - free previously allocated device
SYNOPSIS void hid_destroy_device (struct hid_device *hdev );
ARGUMENTS hdev hid device
DESCRIPTION If you allocate hid_device through hid_allocate_device, you should ever free by this function.
SEE ALSO Kernel file ./drivers/hid/hid-core.c hid_par... |
hid_device_io_start(9) | NAME hid_device_io_start - enable HID input during probe, remove
SYNOPSIS void hid_device_io_start (struct hid_device *hid );
ARGUMENTS hid the device
DESCRIPTION This should only be called during probe or remove and only be called by the thread calling probe or remove. It will allow incoming packets to be d... |
hid_device_io_stop(9) | NAME hid_device_io_stop - disable HID input during probe, remove
SYNOPSIS void hid_device_io_stop (struct hid_device *hid );
ARGUMENTS hid the device
DESCRIPTION Should only be called after hid_device_io_start. It will prevent incoming packets from going to the driver for the duration of probe, remove. ... |
hid_exists_dquirk(9) | NAME hid_exists_dquirk - find any dynamic quirks for a HID device
SYNOPSIS struct hid_device_id * hid_exists_dquirk (const struct hid_device *hdev );
ARGUMENTS hdev the HID device to match
DESCRIPTION Scans dquirks_list for a matching dynamic quirk and returns the pointer to the relevant struct hid_device_id ... |
hid_gets_squirk(9) | NAME hid_gets_squirk - return any static quirks for a HID device
SYNOPSIS unsigned long hid_gets_squirk (const struct hid_device *hdev );
ARGUMENTS hdev the HID device to match
DESCRIPTION Given a HID device, return a pointer to the quirked hid_device_id entry associated with that device.
RETURN the quirks.
... |
hid_hw_close(9) | NAME hid_hw_close - signal underlaying HW to stop delivering events
SYNOPSIS void hid_hw_close (struct hid_device *hdev );
ARGUMENTS hdev hid device
DESCRIPTION This function indicates that we are not interested in the events from this device anymore. Delivery of events may or may not stop, depending on the n... |
hid_hw_idle(9) | NAME hid_hw_idle - send idle request to device
SYNOPSIS int hid_hw_idle (struct hid_device *hdev , int report , int idle , enum hid_class_request reqtype );
ARGUMENTS hdev hid device
report report to control
idle idle state
reqtype hid request type
SEE ALSO Kernel file... |
hid_hw_may_wakeup(9) | NAME hid_hw_may_wakeup - return if the hid device may act as a wakeup source during system-suspend
SYNOPSIS bool hid_hw_may_wakeup (struct hid_device *hdev );
ARGUMENTS hdev hid device
SEE ALSO Kernel file ./include/linux/hid.h Kernel API(9), struct hid_driver(9), struct hid_ll_driver(9), module_hid_driver(9... |
hid_hw_open(9) | NAME hid_hw_open - signal underlying HW to start delivering events
SYNOPSIS int hid_hw_open (struct hid_device *hdev );
ARGUMENTS hdev hid device
DESCRIPTION Tell underlying HW to start delivering events from the device. This function should be called sometime after successful call to hid_hw_start.
SEE ALSO... |
hid_hw_output_report(9) | NAME hid_hw_output_report - send output report to device
SYNOPSIS int hid_hw_output_report (struct hid_device *hdev , __u8 *buf , size_t len );
ARGUMENTS hdev hid device
buf raw data to transfer
len length of buf
RETURN count of data transferred, negative if error
SEE ALSO Ker... |
hid_hw_power(9) | NAME hid_hw_power - requests underlying HW to go into given power mode
SYNOPSIS int hid_hw_power (struct hid_device *hdev , int level );
ARGUMENTS hdev hid device
level requested power level (one of PM_HINT_* defines)
DESCRIPTION This function requests underlying hardware to enter requested powe... |
hid_hw_raw_request(9) | NAME hid_hw_raw_request - send report request to device
SYNOPSIS int hid_hw_raw_request (struct hid_device *hdev , unsigned char reportnum , __u8 *buf , size_t len , enum hid_report_type rtype , enum hid_class_request reqtype );
ARGUMENTS hdev hid device
reportnum report ID
buf in/out... |
hid_hw_request(9) | NAME hid_hw_request - send report request to device
SYNOPSIS void hid_hw_request (struct hid_device *hdev , struct hid_report *report , enum hid_class_request reqtype );
ARGUMENTS hdev hid device
report report to send
reqtype hid request type
SEE ALSO Kernel file ./drivers/hid/hid-c... |
hid_hw_start(9) | NAME hid_hw_start - start underlying HW
SYNOPSIS int hid_hw_start (struct hid_device *hdev , unsigned int connect_mask );
ARGUMENTS hdev hid device
connect_mask
which outputs to connect, see HID_CONNECT_*
DESCRIPTION Call this in probe function *after* hid_parse. This will setup HW ... |
hid_hw_stop(9) | NAME hid_hw_stop - stop underlying HW
SYNOPSIS void hid_hw_stop (struct hid_device *hdev );
ARGUMENTS hdev hid device
DESCRIPTION This is usually called from remove function or from probe when something failed and hid_hw_start was called already.
SEE ALSO Kernel file ./drivers/hid/hid-core.c hid_parse_rep... |
hid_hw_wait(9) | NAME hid_hw_wait - wait for buffered io to complete
SYNOPSIS void hid_hw_wait (struct hid_device *hdev );
ARGUMENTS hdev hid device
SEE ALSO Kernel file ./include/linux/hid.h Kernel API(9), struct hid_driver(9), struct hid_ll_driver(9), module_hid_driver(9), hid_device_io_start(9), hid_device_io_... |
hid_input_report(9) | NAME hid_input_report - report data from lower layer (usb, bt...)
SYNOPSIS int hid_input_report (struct hid_device *hid , enum hid_report_type type , u8 *data , u32 size , int interrupt );
ARGUMENTS hid hid device
type HID report type (HID_*_REPORT)
data report contents
s... |
hid_ishtp_cl_deinit(9) | NAME hid_ishtp_cl_deinit - Deinit function for ISHTP client
SYNOPSIS void hid_ishtp_cl_deinit (struct ishtp_cl *hid_ishtp_cl );
ARGUMENTS hid_ishtp_cl ISHTP client instance
DESCRIPTION Unlink and free hid client
SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp-hid-client.c report_bad_packet(9), process_rec... |
hid_ishtp_cl_init(9) | NAME hid_ishtp_cl_init - Init function for ISHTP client
SYNOPSIS int hid_ishtp_cl_init (struct ishtp_cl *hid_ishtp_cl , bool reset );
ARGUMENTS hid_ishtp_cl ISHTP client instance
reset true if called for init after reset
DESCRIPTION This function complete the initializtion of the client. The summary o... |
hid_ishtp_cl_probe(9) | NAME hid_ishtp_cl_probe - ISHTP client driver probe
SYNOPSIS int hid_ishtp_cl_probe (struct ishtp_cl_device *cl_device );
ARGUMENTS cl_device ISHTP client device instance
DESCRIPTION This function gets called on device create on ISHTP bus
RETURN 0 on success, non zero on error
SEE ALSO Kernel file ./drivers/h... |
hid_ishtp_cl_remove(9) | NAME hid_ishtp_cl_remove - ISHTP client driver remove
SYNOPSIS void hid_ishtp_cl_remove (struct ishtp_cl_device *cl_device );
ARGUMENTS cl_device ISHTP client device instance
DESCRIPTION This function gets called on device remove on ISHTP bus
RETURN 0
SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp-hid-... |
hid_ishtp_cl_reset(9) | NAME hid_ishtp_cl_reset - ISHTP client driver reset
SYNOPSIS int hid_ishtp_cl_reset (struct ishtp_cl_device *cl_device );
ARGUMENTS cl_device ISHTP client device instance
DESCRIPTION This function gets called on device reset on ISHTP bus
RETURN 0
SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp-hid-clien... |
hid_ishtp_cl_resume(9) | NAME hid_ishtp_cl_resume - ISHTP client driver resume
SYNOPSIS int hid_ishtp_cl_resume (struct device *device );
ARGUMENTS device device instance
DESCRIPTION This function gets called on system resume
RETURN 0
SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp-hid-client.c report_bad_packet(9), process... |
hid_ishtp_cl_suspend(9) | NAME hid_ishtp_cl_suspend - ISHTP client driver suspend
SYNOPSIS int hid_ishtp_cl_suspend (struct device *device );
ARGUMENTS device device instance
DESCRIPTION This function gets called on system suspend
RETURN 0
SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp-hid-client.c report_bad_packet(9), pro... |
hid_ishtp_get_report(9) | NAME hid_ishtp_get_report - request to get feature/input report
SYNOPSIS void hid_ishtp_get_report (struct hid_device *hid , int report_id , int report_type );
ARGUMENTS hid hid device instance for this request
report_id Report id for the get request
report_type Report type for the this requ... |
hid_ishtp_set_feature(9) | NAME hid_ishtp_set_feature - send request to ISH FW to set a feature request
SYNOPSIS void hid_ishtp_set_feature (struct hid_device *hid , char *buf , unsigned int len , int report_id );
ARGUMENTS hid hid device instance for this request
buf feature buffer
len Length of feature... |
hid_lookup_quirk(9) | NAME hid_lookup_quirk - return any quirks associated with a HID device
SYNOPSIS unsigned long hid_lookup_quirk (const struct hid_device *hdev );
ARGUMENTS hdev the HID device to look for
DESCRIPTION Given a HID device, return any quirks associated with that device.
RETURN an unsigned long quirks value.
SEE ... |
hid_map_usage(9) | NAME hid_map_usage - map usage input bits
SYNOPSIS void hid_map_usage (struct hid_input *hidinput , struct hid_usage *usage , unsigned long **bit , int *max , __u8 type , unsigned int c );
ARGUMENTS hidinput hidinput which we are interested in
usage usage to fill in
bit pointer to inp... |
hid_map_usage_clear(9) | NAME hid_map_usage_clear - map usage input bits and clear the input bit
SYNOPSIS void hid_map_usage_clear (struct hid_input *hidinput , struct hid_usage *usage , unsigned long **bit , int *max , __u8 type , __u16 c );
ARGUMENTS hidinput hidinput which we are interested in
usage usage to fill in
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.