id
stringlengths
4
63
text
stringlengths
153
8.81M
ishtp_cl_io_rb_recycle(9)
NAME ishtp_cl_io_rb_recycle - Recycle IO request blocks SYNOPSIS int ishtp_cl_io_rb_recycle (struct ishtp_cl_rb *rb ); ARGUMENTS rb IO request block DESCRIPTION Re-append rb to its client's free list and send flow control if needed RETURN 0 on success else -EFAULT SEE ALSO Kernel file ./drivers/hid/in...
ishtp_cl_is_other_connecting(9)
NAME ishtp_cl_is_other_connecting - Check other client is connecting SYNOPSIS bool ishtp_cl_is_other_connecting (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Checks if other client with the same fw client id is connecting RETURN true if other client is connected else false SEE AL...
ishtp_cl_link(9)
NAME ishtp_cl_link - Reserve a host id and link the client instance SYNOPSIS int ishtp_cl_link (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION This allocates a single bit in the hostmap. This function will make sure that not many client sessions are opened at the same time. Once allo...
ishtp_cl_read_complete(9)
NAME ishtp_cl_read_complete - read complete SYNOPSIS void ishtp_cl_read_complete (struct ishtp_cl_rb *rb ); ARGUMENTS rb Pointer to client request block DESCRIPTION If the message is completely received call ishtp_cl_bus_rx_event to process message SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/c...
ishtp_cl_read_start(9)
NAME ishtp_cl_read_start - Prepare to read client message SYNOPSIS int ishtp_cl_read_start (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Get a free buffer from pool of free read buffers and add to read buffer pool to add contents. Send a flow control request to firmware to be able ...
ishtp_cl_rx_get_rb(9)
NAME ishtp_cl_rx_get_rb - Get a rb from client device rx buffer list SYNOPSIS struct ishtp_cl_rb * ishtp_cl_rx_get_rb (struct ishtp_cl *cl ); ARGUMENTS cl Pointer to client device instance DESCRIPTION Check client device in-processing buffer list and get a rb from it. RETURN rb pointer if buffer list isn't...
ishtp_cl_send(9)
NAME ishtp_cl_send - Send a message to firmware SYNOPSIS int ishtp_cl_send (struct ishtp_cl *cl , uint8_t *buf , size_t length ); ARGUMENTS cl client device instance buf message buffer length length of message DESCRIPTION If the client is correct state to send message, this func...
ishtp_cl_send_msg(9)
NAME ishtp_cl_send_msg - Send message using DMA or IPC SYNOPSIS void ishtp_cl_send_msg (struct ishtp_device *dev , struct ishtp_cl *cl ); ARGUMENTS dev ISHTP device instance cl Pointer to client device instance DESCRIPTION Send message using DMA or IPC based on transfer_path SEE ALSO Kernel...
ishtp_cl_send_msg_dma(9)
NAME ishtp_cl_send_msg_dma - Send message using DMA SYNOPSIS void ishtp_cl_send_msg_dma (struct ishtp_device *dev , struct ishtp_cl *cl ); ARGUMENTS dev ISHTP device instance cl Pointer to client device instance DESCRIPTION Send message using DMA SEE ALSO Kernel file ./drivers/hid/intel-i...
ishtp_cl_send_msg_ipc(9)
NAME ishtp_cl_send_msg_ipc - Send message using IPC SYNOPSIS void ishtp_cl_send_msg_ipc (struct ishtp_device *dev , struct ishtp_cl *cl ); ARGUMENTS dev ISHTP device instance cl Pointer to client device instance DESCRIPTION Send message over IPC not using DMA SEE ALSO Kernel file ./driver...
ishtp_cl_unlink(9)
NAME ishtp_cl_unlink - remove fw_cl from the client device list SYNOPSIS void ishtp_cl_unlink (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Remove a previously linked device to a ishtp device SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/client.c ishtp_read_list_flu...
ishtp_dev_to_cl_device(9)
NAME ishtp_dev_to_cl_device - get ishtp_cl_device instance from device instance SYNOPSIS struct ishtp_cl_device * ishtp_dev_to_cl_device (struct device *device ); ARGUMENTS device device instance DESCRIPTION Get ish_cl_device instance which embeds device instance in it. RETURN pointer to ishtp_cl_device instan...
ishtp_device(9)
NAME ishtp_device - Return device pointer SYNOPSIS struct device * ishtp_device (struct ishtp_cl_device *device ); ARGUMENTS device ISH-TP client device instance DESCRIPTION This interface is used to return device pointer from ishtp_cl_device instance. RETURN device *. SEE ALSO Kernel file ./drivers/hid/i...
ishtp_device_init(9)
NAME ishtp_device_init - ishtp device init SYNOPSIS void ishtp_device_init (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION After ISHTP device is alloacted, this function is used to initialize each field which includes spin lock, work struct and lists SEE ALSO Kernel file ./drive...
ishtp_enum_enum_devices(9)
NAME ishtp_enum_enum_devices - Enumerate hid devices SYNOPSIS int ishtp_enum_enum_devices (struct ishtp_cl *hid_ishtp_cl ); ARGUMENTS hid_ishtp_cl client instance DESCRIPTION Helper function to send request to firmware to enumerate HID devices RETURN 0 on success, non zero on error SEE ALSO Kernel file ./drivers/h...
ishtp_fw_cl_by_id(9)
NAME ishtp_fw_cl_by_id - return index to fw_clients for client_id SYNOPSIS int ishtp_fw_cl_by_id (struct ishtp_device *dev , uint8_t client_id ); ARGUMENTS dev the ishtp device structure client_id fw client id to search DESCRIPTION Search firmware client using client id. RETURN index on success, -...
ishtp_fw_cl_by_uuid(9)
NAME ishtp_fw_cl_by_uuid - locate index of fw client SYNOPSIS int ishtp_fw_cl_by_uuid (struct ishtp_device *dev , const guid_t *uuid ); ARGUMENTS dev ishtp device uuid uuid of the client to search DESCRIPTION Search firmware client using UUID. RETURN fw client index or -ENOENT if not found S...
ishtp_fw_cl_get_client(9)
NAME ishtp_fw_cl_get_client - return client information to client SYNOPSIS struct ishtp_fw_client * ishtp_fw_cl_get_client (struct ishtp_device *dev , const guid_t *uuid ); ARGUMENTS dev the ishtp device structure uuid uuid of the client to search DESCRIPTION Search firmware client using UUID ...
ishtp_fw_is_ready(9)
NAME ishtp_fw_is_ready - Check if FW ready SYNOPSIS bool ishtp_fw_is_ready (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device pointer DESCRIPTION Check if ISH FW is ready RETURN Read true or false SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c ish_reg_read(9), ish_reg_write(9), ...
ishtp_get_device(9)
NAME ishtp_get_device - update usage count for the device SYNOPSIS void ishtp_get_device (struct ishtp_cl_device *cl_device ); ARGUMENTS cl_device client device instance DESCRIPTION Increment the usage count. The device can't be deleted SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_recv...
ishtp_get_drvdata(9)
NAME ishtp_get_drvdata - get client driver data SYNOPSIS void * ishtp_get_drvdata (struct ishtp_cl_device *cl_device ); ARGUMENTS cl_device client device instance DESCRIPTION Get client driver data from cl_device->driver_data. RETURN pointer of driver data SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ish...
ishtp_get_fw_client_id(9)
NAME ishtp_get_fw_client_id - Get fw client id SYNOPSIS int ishtp_get_fw_client_id (struct ishtp_fw_client *fw_client ); ARGUMENTS fw_client firmware client used to fetch the ID DESCRIPTION This interface is used to reset HW get FW client id. RETURN firmware client id. SEE ALSO Kernel file ./drivers/hid/inte...
ishtp_get_hid_descriptor(9)
NAME ishtp_get_hid_descriptor - Get hid descriptor SYNOPSIS int ishtp_get_hid_descriptor (struct ishtp_cl *hid_ishtp_cl , int index ); ARGUMENTS hid_ishtp_cl client instance index Index into the hid_descr array DESCRIPTION Helper function to send request to firmware get HID descriptor of a device RETU...
ishtp_get_pci_device(9)
NAME ishtp_get_pci_device - Return PCI device dev pointer This interface is used to return PCI device pointer from ishtp_cl_device instance. SYNOPSIS struct device * ishtp_get_pci_device (struct ishtp_cl_device *device ); ARGUMENTS device ISH-TP client device instance RETURN device *. SEE ALSO Kernel file ./d...
ishtp_get_report_descriptor(9)
NAME ishtp_get_report_descriptor - Get report descriptor SYNOPSIS int ishtp_get_report_descriptor (struct ishtp_cl *hid_ishtp_cl , int index ); ARGUMENTS hid_ishtp_cl client instance index Index into the hid_descr array DESCRIPTION Helper function to send request to firmware get HID report descriptor o...
ishtp_get_workqueue(9)
NAME ishtp_get_workqueue - Retrieve the workqueue associated with an ISHTP device SYNOPSIS struct workqueue_struct * ishtp_get_workqueue (struct ishtp_cl_device *cl_device ); ARGUMENTS cl_device Pointer to the ISHTP client device structure DESCRIPTION Returns the workqueue_struct pointer (unbound_wq) associated wi...
ishtp_hbm_cl_addr_equal(9)
NAME ishtp_hbm_cl_addr_equal - Compare client address SYNOPSIS bool ishtp_hbm_cl_addr_equal (struct ishtp_cl *cl , void *buf ); ARGUMENTS cl client buf Client command buffer DESCRIPTION Compare client address with the address in command buffer RETURN True if they have the same address SEE ...
ishtp_hbm_cl_connect_req(9)
NAME ishtp_hbm_cl_connect_req - Send connect request SYNOPSIS int ishtp_hbm_cl_connect_req (struct ishtp_device *dev , struct ishtp_cl *cl ); ARGUMENTS dev ISHTP device instance cl client device instance DESCRIPTION Send connection request to specific fw client RETURN 0 if success else erro...
ishtp_hbm_cl_connect_res(9)
NAME ishtp_hbm_cl_connect_res - Get connect response SYNOPSIS void ishtp_hbm_cl_connect_res (struct ishtp_device *dev , struct hbm_client_connect_response *rs ); ARGUMENTS dev ISHTP device instance rs Response message DESCRIPTION Received connect response from fw SEE ALSO Kernel file ./...
ishtp_hbm_cl_disconnect_req(9)
NAME ishtp_hbm_cl_disconnect_req - Send disconnect request SYNOPSIS int ishtp_hbm_cl_disconnect_req (struct ishtp_device *dev , struct ishtp_cl *cl ); ARGUMENTS dev ISHTP device instance cl ISHTP client instance DESCRIPTION Send disconnect message to fw RETURN 0 if success else error code ...
ishtp_hbm_cl_disconnect_res(9)
NAME ishtp_hbm_cl_disconnect_res - Get disconnect response SYNOPSIS void ishtp_hbm_cl_disconnect_res (struct ishtp_device *dev , struct hbm_client_connect_response *rs ); ARGUMENTS dev ISHTP device instance rs Response message DESCRIPTION Received disconnect response from fw SEE ALSO Kernel...
ishtp_hbm_cl_flow_control_req(9)
NAME ishtp_hbm_cl_flow_control_req - Send flow control request SYNOPSIS int ishtp_hbm_cl_flow_control_req (struct ishtp_device *dev , struct ishtp_cl *cl ); ARGUMENTS dev ISHTP device instance cl ISHTP client instance DESCRIPTION Send flow control request RETURN 0 if success else error code...
ishtp_hbm_cl_hdr(9)
NAME ishtp_hbm_cl_hdr - construct client hbm header SYNOPSIS void ishtp_hbm_cl_hdr (struct ishtp_cl *cl , uint8_t hbm_cmd , void *buf , size_t len ); ARGUMENTS cl client hbm_cmd host bus message command buf buffer for cl header len buffer length DESCRIPTION Initia...
ishtp_hbm_dispatch(9)
NAME ishtp_hbm_dispatch - HBM dispatch function SYNOPSIS void ishtp_hbm_dispatch (struct ishtp_device *dev , struct ishtp_bus_message *hdr ); ARGUMENTS dev ISHTP device instance hdr bus message DESCRIPTION Bottom half read routine after ISR to handle the read bus message cmd processing SEE A...
ishtp_hbm_dma_xfer(9)
NAME ishtp_hbm_dma_xfer - Receive DMA transfer message SYNOPSIS void ishtp_hbm_dma_xfer (struct ishtp_device *dev , struct dma_xfer_hbm *dma_xfer ); ARGUMENTS dev ISHTP device instance dma_xfer HBM transfer message DESCRIPTION Receive ISHTP-over-DMA client message SEE ALSO Kernel file ./drive...
ishtp_hbm_dma_xfer_ack(9)
NAME ishtp_hbm_dma_xfer_ack - Receive transfer ACK SYNOPSIS void ishtp_hbm_dma_xfer_ack (struct ishtp_device *dev , struct dma_xfer_hbm *dma_xfer ); ARGUMENTS dev ISHTP device instance dma_xfer HBM transfer message DESCRIPTION Receive ack for ISHTP-over-DMA client message SEE ALSO Kernel file ...
ishtp_hbm_enum_clients_req(9)
NAME ishtp_hbm_enum_clients_req - Send client enum req SYNOPSIS void ishtp_hbm_enum_clients_req (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Send enumeration client request message RETURN 0 if success else error code SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ish...
ishtp_hbm_fw_cl_allocate(9)
NAME ishtp_hbm_fw_cl_allocate - Allocate FW clients SYNOPSIS void ishtp_hbm_fw_cl_allocate (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Allocates storage for fw clients SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/hbm.c ishtp_hbm_cl_hdr(9), ishtp_hbm_cl_ad...
ishtp_hbm_fw_disconnect_req(9)
NAME ishtp_hbm_fw_disconnect_req - Receive disconnect request SYNOPSIS void ishtp_hbm_fw_disconnect_req (struct ishtp_device *dev , struct hbm_client_connect_request *disconnect_req ); ARGUMENTS dev ISHTP device instance disconnect_req disconnect request structure DESCRIPTION Disco...
ishtp_hbm_prop_req(9)
NAME ishtp_hbm_prop_req - Request property SYNOPSIS int ishtp_hbm_prop_req (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Request property for a single client RETURN 0 if success else error code SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/hbm.c ishtp_hbm_fw_cl...
ishtp_hbm_start_req(9)
NAME ishtp_hbm_start_req - Send HBM start message SYNOPSIS int ishtp_hbm_start_req (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Send HBM start message to firmware RETURN 0 if success else error code SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/hbm.c ishtp_hbm...
ishtp_hbm_start_wait(9)
NAME ishtp_hbm_start_wait - Wait for HBM start message SYNOPSIS int ishtp_hbm_start_wait (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Wait for HBM start message from firmware RETURN 0 if HBM start is/was received else timeout error SEE ALSO Kernel file ./drivers/hid/inte...
ishtp_hbm_stop_req(9)
NAME ishtp_hbm_stop_req - Send HBM stop SYNOPSIS void ishtp_hbm_stop_req (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Send stop request message SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/hbm.c ishtp_hbm_fw_cl_allocate(9), ishtp_hbm_cl_hdr(9), ishtp_hbm_cl...
ishtp_hid_link_ready_wait(9)
NAME ishtp_hid_link_ready_wait - Wait for link ready SYNOPSIS int ishtp_hid_link_ready_wait (struct ishtp_cl_data *client_data ); ARGUMENTS client_data client data instance DESCRIPTION If the transport link started suspend process, then wait, till either resumed or timeout RETURN 0 on success, non zero on error SE...
ishtp_hid_parse(9)
NAME ishtp_hid_parse - hid-core .parse() callback SYNOPSIS int ishtp_hid_parse (struct hid_device *hid ); ARGUMENTS hid hid device instance DESCRIPTION This function gets called during call to hid_add_device RETURN 0 on success and non zero on error SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp-hi...
ishtp_hid_probe(9)
NAME ishtp_hid_probe - hid register ll driver SYNOPSIS int ishtp_hid_probe (unsigned int cur_hid_dev , struct ishtp_cl_data *client_data ); ARGUMENTS cur_hid_dev Index of hid device calling to register client_data Client data pointer DESCRIPTION This function is used to allocate and add HID device. RETURN 0...
ishtp_hid_remove(9)
NAME ishtp_hid_remove - Remove registered hid device SYNOPSIS void ishtp_hid_remove (struct ishtp_cl_data *client_data ); ARGUMENTS client_data client data pointer DESCRIPTION This function is used to destroy allocatd HID device. SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp-hid.c ishtp_hid_parse(9), ishtp...
ishtp_hid_request(9)
NAME ishtp_hid_request - hid-core .request() callback SYNOPSIS void ishtp_hid_request (struct hid_device *hid , struct hid_report *rep , int reqtype ); ARGUMENTS hid hid device instance rep pointer to hid_report reqtype type of req. [GET|SET]_REPORT DESCRIPTION This function is us...
ishtp_hid_wakeup(9)
NAME ishtp_hid_wakeup - Wakeup caller SYNOPSIS void ishtp_hid_wakeup (struct hid_device *hid ); ARGUMENTS hid hid device instance DESCRIPTION This function will wakeup caller waiting for Get/Set feature report SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp-hid.c ishtp_hid_parse(9), ishtp_hid_request...
ishtp_io_rb_alloc_buf(9)
NAME ishtp_io_rb_alloc_buf - Allocate and init response buffer SYNOPSIS int ishtp_io_rb_alloc_buf (struct ishtp_cl_rb *rb , size_t length ); ARGUMENTS rb IO request block length length of response buffer DESCRIPTION Allocate respose buffer RETURN 0 on success else -ENOMEM SEE ALSO Kernel fi...
ishtp_io_rb_free(9)
NAME ishtp_io_rb_free - Free IO request block SYNOPSIS void ishtp_io_rb_free (struct ishtp_cl_rb *rb ); ARGUMENTS rb IO request block DESCRIPTION Free io request block memory SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/client-buffers.c ishtp_cl_alloc_rx_ring(9), ishtp_cl_alloc_tx_ring(9), ishtp_...
ishtp_io_rb_init(9)
NAME ishtp_io_rb_init - Allocate and init IO request block SYNOPSIS struct ishtp_cl_rb * ishtp_io_rb_init (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Allocate and initialize request block RETURN Allocted IO request block pointer SEE ALSO Kernel file ./drivers/hid/intel-ish-hi...
ishtp_loader_recv_msg(9)
NAME ishtp_loader_recv_msg - Receive a message from the ISHTP device SYNOPSIS void ishtp_loader_recv_msg (struct ishtp_device *dev , void *buf ); ARGUMENTS dev The ISHTP device buf The buffer containing the message SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/hbm.c ishtp_hbm_f...
ishtp_loader_work(9)
NAME ishtp_loader_work - The work function to start the firmware loading process SYNOPSIS void ishtp_loader_work (struct work_struct *work ); ARGUMENTS work The work structure SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/loader.h union loader_msg_header(9), struct loader_xfer_query(9), stru...
ishtp_put_device(9)
NAME ishtp_put_device - decrement usage count for the device SYNOPSIS void ishtp_put_device (struct ishtp_cl_device *cl_device ); ARGUMENTS cl_device client device instance DESCRIPTION Decrement the usage count. The device can be deleted is count = 0 SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus....
ishtp_query_subscribers(9)
NAME ishtp_query_subscribers - Send query subscribers message SYNOPSIS void ishtp_query_subscribers (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Send message to query subscribers SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/hbm.c ishtp_hbm_fw_cl_allocate(9), ...
ishtp_read_list_flush(9)
NAME ishtp_read_list_flush - Flush read queue SYNOPSIS void ishtp_read_list_flush (struct ishtp_cl *cl ); ARGUMENTS cl ishtp client instance DESCRIPTION Used to remove all entries from read queue for a client SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/client.c ishtp_cl_flush_queues(9),...
ishtp_recv(9)
NAME ishtp_recv - process ishtp message SYNOPSIS void ishtp_recv (struct ishtp_device *dev ); ARGUMENTS dev ishtp device DESCRIPTION If a message with valid header and size is received, then this function calls appropriate handler. The host or firmware address is zero, then they are host bus management messa...
ishtp_register_event_cb(9)
NAME ishtp_register_event_cb - Register callback SYNOPSIS int ishtp_register_event_cb (struct ishtp_cl_device *device , void (*event_cb)(struct ishtp_cl_device *) ); ARGUMENTS device client device instance event_cb Event processor for an client DESCRIPTION Register a callback for events, called from ...
ishtp_reset_compl_handler(9)
NAME ishtp_reset_compl_handler - Reset completion handler SYNOPSIS void ishtp_reset_compl_handler (struct ishtp_device *dev ); ARGUMENTS dev ishtp device DESCRIPTION ISHTP handler for IPC_RESET sequence completion to start host message bus start protocol sequence. SEE ALSO Kernel file ./drivers/hid/inte...
ishtp_reset_handler(9)
NAME ishtp_reset_handler - IPC reset handler SYNOPSIS void ishtp_reset_handler (struct ishtp_device *dev ); ARGUMENTS dev ishtp device DESCRIPTION ISHTP Handler for IPC_RESET notification SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_recv(9), ishtp_send_msg(9), ishtp_write_messa...
ishtp_send_msg(9)
NAME ishtp_send_msg - Send ishtp message SYNOPSIS int ishtp_send_msg (struct ishtp_device *dev , struct ishtp_msg_hdr *hdr , void *msg , void(*ipc_send_compl)(void *) , void *ipc_send_compl_prm ); ARGUMENTS dev ishtp device hdr Message header msg Message contents ipc_se...
ishtp_send_resume(9)
NAME ishtp_send_resume - Send resume message to FW SYNOPSIS void ishtp_send_resume (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Send resume message to FW. This is useful for system freeze (non S3) case SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/hbm.c ishtp_h...
ishtp_send_suspend(9)
NAME ishtp_send_suspend - Send suspend message to FW SYNOPSIS void ishtp_send_suspend (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Send suspend message to FW. This is useful for system freeze (non S3) case SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/hbm.c ishtp_...
ishtp_set_drvdata(9)
NAME ishtp_set_drvdata - set client driver data SYNOPSIS void ishtp_set_drvdata (struct ishtp_cl_device *cl_device , void *data ); ARGUMENTS cl_device client device instance data driver data need to be set DESCRIPTION Set client driver data to cl_device->driver_data. SEE ALSO Kernel file ./driv...
ishtp_start(9)
NAME ishtp_start - Start ISH processing SYNOPSIS int ishtp_start (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Start ISHTP processing by sending query subscriber message RETURN 0 on success else -ENODEV SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/init.c ishtp_devic...
ishtp_trace_callback(9)
NAME ishtp_trace_callback - Return trace callback SYNOPSIS ishtp_print_log ishtp_trace_callback (struct ishtp_cl_device *cl_device ); ARGUMENTS cl_device ISH-TP client device instance DESCRIPTION This interface is used to return trace callback function pointer. RETURN *ishtp_print_log SEE ALSO Kernel file ./...
ishtp_use_dma_transfer(9)
NAME ishtp_use_dma_transfer - Function to use DMA SYNOPSIS int ishtp_use_dma_transfer (void ); ARGUMENTS void no arguments DESCRIPTION This interface is used to enable usage of DMA Return non zero if DMA can be enabled SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_recv(9), ishtp_s...
ishtp_wait_for_response(9)
NAME ishtp_wait_for_response - hid-core .wait() callback SYNOPSIS int ishtp_wait_for_response (struct hid_device *hid ); ARGUMENTS hid hid device instance DESCRIPTION This function is used to wait after get feaure/input report. RETURN 0 on success and non zero on error SEE ALSO Kernel file ./drivers/hid/in...
ishtp_wait_resume(9)
NAME ishtp_wait_resume - Wait for IPC resume SYNOPSIS bool ishtp_wait_resume (struct ishtp_device *dev ); ARGUMENTS dev ishtp device DESCRIPTION Wait for IPC resume RETURN resume complete or not SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_recv(9), ishtp_send_msg(9), ishtp_wri...
ishtp_write_message(9)
NAME ishtp_write_message - Send ishtp single fragment message SYNOPSIS int ishtp_write_message (struct ishtp_device *dev , struct ishtp_msg_hdr *hdr , void *buf ); ARGUMENTS dev ishtp device hdr Message header buf message data DESCRIPTION Send a single fragment message via IPC...
isig(9)
NAME isig - handle the ISIG optio SYNOPSIS void isig (int sig , struct tty_struct *tty ); ARGUMENTS sig signal tty terminal DESCRIPTION Called when a signal is being sent due to terminal input. Called from the tty_driver.receive_buf path, so serialized. Performs input and output flush if !...
isinf(3)
NAME fpclassify, isfinite, isnormal, isnan, isinf - floating-point classification macros LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> int fpclassify(x); int isfinite(x); int isnormal(x); int isnan(x); int isinf(x); Feature Test Macro Requirements for glibc (see f...
isinf(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME isinf — test for infinity SYNOPSIS #include <math.h> i...
isinff(3)
NAME finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl - BSD floating-point classification functions LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> int finite(double x); int finitef(float x); int finitel(long double x); int isinf(double x); int is...
isinfl(3)
NAME finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl - BSD floating-point classification functions LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> int finite(double x); int finitef(float x); int finitel(long double x); int isinf(double x); int is...
isless(3)
NAME isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered - floating-point relational tests without exception for NaN LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> int isgreater(x, y); int isgreaterequal(x, y); int isless(x, y); int islessequal(x, y); ...
isless(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME isless — test if x is less than y SYNOPSIS #include <math.h> ...
islessequal(3)
NAME isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered - floating-point relational tests without exception for NaN LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> int isgreater(x, y); int isgreaterequal(x, y); int isless(x, y); int islessequal(x, y); ...
islessequal(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME islessequal — test if x is less than or equal to y SYNOPSIS #i...
islessgreater(3)
NAME isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered - floating-point relational tests without exception for NaN LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> int isgreater(x, y); int isgreaterequal(x, y); int isless(x, y); int islessequal(x, y); ...
islessgreater(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME islessgreater — test if x is less than or greater than y SYNOP...
islower(3)
NAME isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit, isalnum_l, isalpha_l, isascii_l, isblank_l, iscntrl_l, isdigit_l, isgraph_l, islower_l, isprint_l, ispunct_l, is‐ space_l, isupper_l, isxdigit_l - character classification functions LIBRARY S...
islower(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME islower, islower_l — test for a lowercase letter SYNOPSIS #inc...
islower_l(3)
NAME isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit, isalnum_l, isalpha_l, isascii_l, isblank_l, iscntrl_l, isdigit_l, isgraph_l, islower_l, isprint_l, ispunct_l, is‐ space_l, isupper_l, isxdigit_l - character classification functions LIBRARY S...
ismt_access(9)
NAME ismt_access - process an SMBus command SYNOPSIS int ismt_access (struct i2c_adapter *adap , u16 addr , unsigned short flags , char read_write , u8 command , int size , union i2c_smbus_data *data ); ARGUMENTS adap the i2c host adapter addr address of the i2c/SMBus target flags ...
ismt_desc_dump(9)
NAME ismt_desc_dump - dump the contents of a descriptor for debug purposes SYNOPSIS void ismt_desc_dump (struct ismt_priv *priv ); ARGUMENTS priv iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_mstr_reg_dump(9), ismt_submit_desc(9), ism...
ismt_dev_init(9)
NAME ismt_dev_init - initialize the iSMT data structures SYNOPSIS int ismt_dev_init (struct ismt_priv *priv ); ARGUMENTS priv iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_mstr_reg_dump(9), ismt_submit_desc(9), ...
ismt_do_interrupt(9)
NAME ismt_do_interrupt - IRQ interrupt handler SYNOPSIS irqreturn_t ismt_do_interrupt (int vec , void *data ); ARGUMENTS vec interrupt vector data iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_mst...
ismt_do_msi_interrupt(9)
NAME ismt_do_msi_interrupt - MSI interrupt handler SYNOPSIS irqreturn_t ismt_do_msi_interrupt (int vec , void *data ); ARGUMENTS vec interrupt vector data iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ...
ismt_func(9)
NAME ismt_func - report which i2c commands are supported by this adapter SYNOPSIS u32 ismt_func (struct i2c_adapter *adap ); ARGUMENTS adap the i2c host adapter SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_mstr_reg_dump(9), ismt...
ismt_gen_reg_dump(9)
NAME ismt_gen_reg_dump - dump the iSMT General Registers SYNOPSIS void ismt_gen_reg_dump (struct ismt_priv *priv ); ARGUMENTS priv iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_mstr_reg_dump(9), ismt_submit_desc(9), ismt_process_desc(...
ismt_handle_isr(9)
NAME ismt_handle_isr - interrupt handler bottom half SYNOPSIS irqreturn_t ismt_handle_isr (struct ismt_priv *priv ); ARGUMENTS priv iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_mstr_reg_dump(9), ismt_submit_des...
ismt_hw_init(9)
NAME ismt_hw_init - initialize the iSMT hardware SYNOPSIS void ismt_hw_init (struct ismt_priv *priv ); ARGUMENTS priv iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_mstr_reg_dump(9), ismt_submit_desc(9), ismt_pr...
ismt_int_init(9)
NAME ismt_int_init - initialize interrupts SYNOPSIS int ismt_int_init (struct ismt_priv *priv ); ARGUMENTS priv iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_mstr_reg_dump(9), ismt_submit_desc(9), ismt_process_...
ismt_kill_transaction(9)
NAME ismt_kill_transaction - kill current transaction SYNOPSIS void ismt_kill_transaction (struct ismt_priv *priv ); ARGUMENTS priv iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_mstr_reg_dump(9), ismt_submit_desc(9), i...
ismt_mstr_reg_dump(9)
NAME ismt_mstr_reg_dump - dump the iSMT Master Registers SYNOPSIS void ismt_mstr_reg_dump (struct ismt_priv *priv ); ARGUMENTS priv iSMT private data SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_submit_desc(9), ismt_process_desc...
ismt_probe(9)
NAME ismt_probe - probe for iSMT devices SYNOPSIS int ismt_probe (struct pci_dev *pdev , const struct pci_device_id *id ); ARGUMENTS pdev PCI-Express device id PCI-Express device ID SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_...
ismt_process_desc(9)
NAME ismt_process_desc - handle the completion of the descriptor SYNOPSIS int ismt_process_desc (const struct ismt_desc *desc , union i2c_smbus_data *data , struct ismt_priv *priv , int size , char read_write ); ARGUMENTS desc the iSMT hardware descriptor data data buffer from the upper layer ...
ismt_remove(9)
NAME ismt_remove - release driver resources SYNOPSIS void ismt_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI-Express device SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ismt.c __ismt_desc_dump(9), ismt_desc_dump(9), ismt_gen_reg_dump(9), ismt_mstr_reg_dump(9), ismt_submit_desc(9), ismt_process_d...