id
stringlengths
4
63
text
stringlengths
153
8.81M
iscsi_tcp_r2t_rsp(9)
NAME iscsi_tcp_r2t_rsp - iSCSI R2T Response processing SYNOPSIS int iscsi_tcp_r2t_rsp (struct iscsi_conn *conn , struct iscsi_hdr *hdr ); ARGUMENTS conn iscsi connection hdr PDU header SEE ALSO Kernel file ./drivers/scsi/libiscsi_tcp.c iscsi_tcp_segment_init_sg(9), iscsi_tcp_segment_ma...
iscsi_tcp_recv_segment_is_hdr(9)
NAME iscsi_tcp_recv_segment_is_hdr - tests if we are reading in a header SYNOPSIS int iscsi_tcp_recv_segment_is_hdr (struct iscsi_tcp_conn *tcp_conn ); ARGUMENTS tcp_conn iscsi tcp conn DESCRIPTION returns non zero if we are currently processing or setup to process a header. SEE ALSO Kernel file ./drivers/sc...
iscsi_tcp_recv_skb(9)
NAME iscsi_tcp_recv_skb - Process skb SYNOPSIS int iscsi_tcp_recv_skb (struct iscsi_conn *conn , struct sk_buff *skb , unsigned int offset , bool offloaded , int *status ); ARGUMENTS conn iscsi connection skb network buffer with header and/or data segment offset offset in skb ...
iscsi_tcp_segment_done(9)
NAME iscsi_tcp_segment_done - check whether the segment is complete SYNOPSIS int iscsi_tcp_segment_done (struct iscsi_tcp_conn *tcp_conn , struct iscsi_segment *segment , int recv , unsigned copied ); ARGUMENTS tcp_conn iscsi tcp connection segment iscsi segment to check recv set to one ...
iscsi_tcp_segment_init_sg(9)
NAME iscsi_tcp_segment_init_sg - init indicated scatterlist entry SYNOPSIS void iscsi_tcp_segment_init_sg (struct iscsi_segment *segment , struct scatterlist *sg , unsigned int offset ); ARGUMENTS segment the buffer object sg scatterlist offset byte offset into that sg entry DESCRIP...
iscsi_tcp_segment_map(9)
NAME iscsi_tcp_segment_map - map the current S/G page SYNOPSIS void iscsi_tcp_segment_map (struct iscsi_segment *segment , int recv ); ARGUMENTS segment iscsi_segment recv 1 if called from recv path DESCRIPTION We only need to possibly kmap data if scatter lists are being used, because the iscsi p...
iscsi_tcp_segment_recv(9)
NAME iscsi_tcp_segment_recv - copy data to segment SYNOPSIS int iscsi_tcp_segment_recv (struct iscsi_tcp_conn *tcp_conn , struct iscsi_segment *segment , const void *ptr , unsigned int len ); ARGUMENTS tcp_conn the iSCSI TCP connection segment the buffer to copy to ptr data pointer ...
iscsi_tcp_task_init(9)
NAME iscsi_tcp_task_init - Initialize iSCSI SCSI_READ or SCSI_WRITE commands SYNOPSIS int iscsi_tcp_task_init (struct iscsi_task *task ); ARGUMENTS task scsi command task SEE ALSO Kernel file ./drivers/scsi/libiscsi_tcp.c iscsi_tcp_segment_init_sg(9), iscsi_tcp_segment_map(9), iscsi_tcp_segment_done...
iscsi_tcp_task_xmit(9)
NAME iscsi_tcp_task_xmit - xmit normal PDU task SYNOPSIS int iscsi_tcp_task_xmit (struct iscsi_task *task ); ARGUMENTS task iscsi command task DESCRIPTION We're expected to return 0 when everything was transmitted successfully, -EAGAIN if there's still data in the queue, or != 0 for any other kind of error. ...
iscsi_unblock_session(9)
NAME iscsi_unblock_session - set a session as logged in and start IO. SYNOPSIS void iscsi_unblock_session (struct iscsi_cls_session *session ); ARGUMENTS session iscsi session DESCRIPTION Mark a session as ready to accept IO. SEE ALSO Kernel file ./drivers/scsi/scsi_transport_iscsi.c iscsi_lookup_endpo...
isdigit(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...
isdigit(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 isdigit, isdigit_l — test for a decimal digit SYNOPSIS #includ...
isdigit_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...
isendwin.3x(3)
NAME initscr, newterm, endwin, isendwin, set_term, delscreen - initialize, manipulate, or tear down curses terminal interface SYNOPSIS #include <ncursesw/curses.h> WINDOW *initscr(void); int endwin(void); bool isendwin(void); SCREEN *newterm(const char *type, FILE *outf, FILE *inf); ...
isendwin_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
iser_alloc_fastreg_pool(9)
NAME iser_alloc_fastreg_pool - Creates pool of fast_reg descriptors for fast registration work requests. SYNOPSIS int iser_alloc_fastreg_pool (struct ib_conn *ib_conn , unsigned cmds_max , unsigned int size ); ARGUMENTS ib_conn connection RDMA resources cmds_max max number of SCSI commands for this con...
iser_conn_release(9)
NAME iser_conn_release - Frees all conn objects and deallocs conn descriptor SYNOPSIS void iser_conn_release (struct iser_conn *iser_conn ); ARGUMENTS iser_conn iSER connection context SEE ALSO Kernel file ./drivers/infiniband/ulp/iser/iser_verbs.c iser_alloc_fastreg_pool(9), iser_free_fastreg_pool(9), iser_free_i...
iser_conn_terminate(9)
NAME iser_conn_terminate - triggers start of the disconnect procedures and waits for them to be done SYNOPSIS int iser_conn_terminate (struct iser_conn *iser_conn ); ARGUMENTS iser_conn iSER connection context DESCRIPTION Called with state mutex held SEE ALSO Kernel file ./drivers/infiniband/ulp/iser/iser_verbs.c...
iser_free_fastreg_pool(9)
NAME iser_free_fastreg_pool - releases the pool of fast_reg descriptors SYNOPSIS void iser_free_fastreg_pool (struct ib_conn *ib_conn ); ARGUMENTS ib_conn connection RDMA resources SEE ALSO Kernel file ./drivers/infiniband/ulp/iser/iser_verbs.c iser_alloc_fastreg_pool(9), iser_free_ib_conn_res(9), iser_conn_rele...
iser_free_ib_conn_res(9)
NAME iser_free_ib_conn_res - release IB related resources SYNOPSIS void iser_free_ib_conn_res (struct iser_conn *iser_conn , bool destroy ); ARGUMENTS iser_conn iser connection struct destroy indicator if we need to try to release the iser device and memory regoins pool (only iscsi shutdown and DEVICE_R...
iser_initialize_task_headers(9)
NAME iser_initialize_task_headers - Initialize task headers SYNOPSIS int iser_initialize_task_headers (struct iscsi_task *task , struct iser_tx_desc *tx_desc ); ARGUMENTS task iscsi task tx_desc iser tx descriptor NOTES This routine may race with iser teardown flow for scsi error handling TMFs. So...
iser_post_send(9)
NAME iser_post_send - Initiate a Send DTO operation SYNOPSIS int iser_post_send (struct ib_conn *ib_conn , struct iser_tx_desc *tx_desc ); ARGUMENTS ib_conn connection RDMA resources tx_desc iSER TX descriptor RETURN 0 on success, -1 on failure SEE ALSO Kernel file ./drivers/infiniband/ulp/iser/iser...
iser_send_command(9)
NAME iser_send_command - send command PDU SYNOPSIS int iser_send_command (struct iscsi_conn *conn , struct iscsi_task *task ); ARGUMENTS conn link to matching iscsi connection task SCSI command task SEE ALSO Kernel file ./drivers/infiniband/ulp/iser/iser_initiator.c iser_send_data_out(9) April...
iser_send_data_out(9)
NAME iser_send_data_out - send data out PDU SYNOPSIS int iser_send_data_out (struct iscsi_conn *conn , struct iscsi_task *task , struct iscsi_data *hdr ); ARGUMENTS conn link to matching iscsi connection task SCSI command task hdr pointer to the LLD's iSCSI message header SEE AL...
isert_conn_terminate(9)
NAME isert_conn_terminate - Initiate connection termination SYNOPSIS void isert_conn_terminate (struct isert_conn *isert_conn ); ARGUMENTS isert_conn isert connection struct NOTES In case the connection state is BOUND, move state to TEMINATING and start teardown sequence (rdma_disconnect). In case the connection s...
isert_put_unsol_pending_cmds(9)
NAME isert_put_unsol_pending_cmds - Drop commands waiting for unsolicitate dataout SYNOPSIS void isert_put_unsol_pending_cmds (struct iscsit_conn *conn ); ARGUMENTS conn iscsi connection DESCRIPTION We might still have commands that are waiting for unsolicited dataouts messages. We must put the extra referenc...
isfdtype(3)
NAME isfdtype - test file type of a file descriptor LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/stat.h> #include <sys/socket.h> int isfdtype(int fd, int fdtype); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): isfdtype(): Since glibc 2.20: ...
isfinite(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...
isfinite(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 isfinite — test for finite value SYNOPSIS #include <math.h> ...
isgraph(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...
isgraph(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 isgraph, isgraph_l — test for a visible character SYNOPSIS #in...
isgraph_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...
isgreater(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); ...
isgreater(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 isgreater — test if x greater than y SYNOPSIS #include <math.h...
isgreaterequal(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); ...
isgreaterequal(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 isgreaterequal — test if x is greater than or equal to y SYNOP...
ish_cl_event_cb(9)
NAME ish_cl_event_cb - bus driver callback for incoming message/packet SYNOPSIS void ish_cl_event_cb (struct ishtp_cl_device *device ); ARGUMENTS device Pointer to the ishtp client device for which this message is targeted DESCRIPTION Remove the packet from the list and process the message by calling process_re...
ish_clr_host_rdy(9)
NAME ish_clr_host_rdy - Indicate host not ready SYNOPSIS void ish_clr_host_rdy (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device pointer DESCRIPTION Send host not ready indication to FW SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c ish_reg_read(9), ish_reg_write(9), _ish_read_fw...
ish_dev_init(9)
NAME ish_dev_init - Initialize ISH devoce SYNOPSIS struct ishtp_device * ish_dev_init (struct pci_dev *pdev ); ARGUMENTS pdev PCI device DESCRIPTION Allocate ISHTP device and initialize IPC processing RETURN ISHTP device instance on success else NULL SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/...
ish_device_disable(9)
NAME ish_device_disable - Disable ISH device SYNOPSIS void ish_device_disable (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device pointer DESCRIPTION Disable ISH by clearing host ready to inform firmware. SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c ish_reg_read(9), ish_reg_writ...
ish_disable_dma(9)
NAME ish_disable_dma - disable dma communication between host and ISHFW SYNOPSIS int ish_disable_dma (struct ishtp_device *dev ); ARGUMENTS dev ishtp device pointer DESCRIPTION Clear the dma enable bit and wait for dma inactive. RETURN 0 for success else error code. SEE ALSO Kernel file ./drivers/hid/i...
ish_event_cb(9)
NAME ish_event_cb - bus driver callback for incoming message SYNOPSIS void ish_event_cb (struct ishtp_cl_device *cl_device ); ARGUMENTS cl_device ISHTP client device for which this message is targeted. DESCRIPTION Remove the packet from the list and process the message by calling process_recv. SEE ALSO Kernel fi...
ish_event_tracer(9)
NAME ish_event_tracer - Callback function to dump trace messages SYNOPSIS void ish_event_tracer (struct ishtp_device *dev , const char *format , ... ); ARGUMENTS dev ishtp device format printf style format ... variable arguments DESCRIPTION Callback to direct log messages to Linu...
ish_evt_handler(9)
NAME ish_evt_handler - ISH to AP event handler SYNOPSIS void ish_evt_handler (struct work_struct *work ); ARGUMENTS work Work struct SEE ALSO Kernel file ./drivers/platform/chrome/cros_ec_ishtp.c struct response_info(9), struct ishtp_cl_data(9), ish_send(9), process_recv(9), ish_event_cb(9), cros_is...
ish_fw_reset_handler(9)
NAME ish_fw_reset_handler - FW reset handler SYNOPSIS int ish_fw_reset_handler (struct ishtp_device *dev ); ARGUMENTS dev ishtp device pointer DESCRIPTION Handle FW reset RETURN 0 for success else failure code SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c ish_reg_read(9), ish_reg_write...
ish_fw_start(9)
NAME ish_fw_start - Start executing ISH main firmware SYNOPSIS int ish_fw_start (struct ishtp_cl_data *client_data ); ARGUMENTS client_data client data instance DESCRIPTION This function sends message to Shim firmware loader to start the execution of ISH main firmware. RETURN 0 for success, negative error code for ...
ish_fw_xfer_direct_dma(9)
NAME ish_fw_xfer_direct_dma - Loads ISH firmware using direct dma SYNOPSIS int ish_fw_xfer_direct_dma (struct ishtp_cl_data *client_data , const struct firmware *fw , const struct shim_fw_info fw_info ); ARGUMENTS client_data Client data instance fw Pointer to firmware data struct in host memory ...
ish_fw_xfer_ishtp(9)
NAME ish_fw_xfer_ishtp - Loads ISH firmware using ishtp interface SYNOPSIS int ish_fw_xfer_ishtp (struct ishtp_cl_data *client_data , const struct firmware *fw ); ARGUMENTS client_data Client data instance fw Pointer to firmware data struct in host memory DESCRIPTION This function uses ISH-TP to tra...
ish_hw_reset(9)
NAME ish_hw_reset - Call HW reset IPC callback SYNOPSIS int ish_hw_reset (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION This interface is used to reset HW in case of error. RETURN value from IPC hw_reset callback SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c...
ish_hw_start(9)
NAME ish_hw_start - Start ISH HW SYNOPSIS int ish_hw_start (struct ishtp_device *dev ); ARGUMENTS dev ishtp device pointer DESCRIPTION Set host to ready state and wait for FW reset RETURN 0 for success else error fault code SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c ish_reg_read(9), ...
ish_init(9)
NAME ish_init - Init function SYNOPSIS int ish_init (struct ishtp_device *dev ); ARGUMENTS dev ishtp device DESCRIPTION This function initialize wait queues for suspend/resume and call calls hadware initialization function. This will initiate startup sequence RETURN 0 for success or error code for failure ...
ish_ipc_get_header(9)
NAME ish_ipc_get_header - Get doorbell value SYNOPSIS uint32_t ish_ipc_get_header (struct ishtp_device *dev , int length , int busy ); ARGUMENTS dev ishtp device pointer length length of message busy busy status DESCRIPTION Get door bell value from message header RETURN door bell...
ish_irq_handler(9)
NAME ish_irq_handler - ISH IRQ handler SYNOPSIS irqreturn_t ish_irq_handler (int irq , void *dev_id ); ARGUMENTS irq irq number dev_id ishtp device pointer DESCRIPTION ISH IRQ handler. If interrupt is generated and is for ISH it will process the interrupt. SEE ALSO Kernel file ./drivers/hid...
ish_is_input_ready(9)
NAME ish_is_input_ready - Check if FW ready for RX SYNOPSIS bool ish_is_input_ready (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device pointer DESCRIPTION Check if ISH FW is ready for receiving data RETURN Read true or false SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c ish_reg_re...
ish_probe(9)
NAME ish_probe - PCI driver probe callback SYNOPSIS int ish_probe (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev pci device ent pci device id DESCRIPTION Initialize PCI function, setup interrupt and call for ISH initialization RETURN 0 for success or error code for ...
ish_query_loader_prop(9)
NAME ish_query_loader_prop - Query ISH Shim firmware loader SYNOPSIS int ish_query_loader_prop (struct ishtp_cl_data *client_data , const struct firmware *fw , struct shim_fw_info *fw_info ); ARGUMENTS client_data Client data instance fw Pointer to firmware data struct in host memory fw_info ...
ish_reg_read(9)
NAME ish_reg_read - Read register SYNOPSIS uint32_t ish_reg_read (const struct ishtp_device *dev , unsigned long offset ); ARGUMENTS dev ISHTP device pointer offset Register offset DESCRIPTION Read 32 bit register at a given offset RETURN Read register value SEE ALSO Kernel file ./drivers/...
ish_reg_write(9)
NAME ish_reg_write - Write register SYNOPSIS void ish_reg_write (struct ishtp_device *dev , unsigned long offset , uint32_t value ); ARGUMENTS dev ISHTP device pointer offset Register offset value Value to write DESCRIPTION Writes 32 bit register at a give offset SEE ALSO Kernel ...
ish_remove(9)
NAME ish_remove - PCI driver remove callback SYNOPSIS void ish_remove (struct pci_dev *pdev ); ARGUMENTS pdev pci device DESCRIPTION This function does cleanup of ISH on pci remove callback SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/pci-ish.c ish_event_tracer(9), ish_init(9), ish_probe(9), ish_shut...
ish_resume(9)
NAME ish_resume - ISH resume callback SYNOPSIS int __maybe_unused ish_resume (struct device *device ); ARGUMENTS device device pointer DESCRIPTION ISH resume callback RETURN 0 to the pm core SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/pci-ish.c ish_event_tracer(9), ish_init(9), ish_probe(9), ish_remo...
ish_resume_handler(9)
NAME ish_resume_handler - Work function to complete resume SYNOPSIS void __maybe_unused ish_resume_handler (struct work_struct *work ); ARGUMENTS work work struct DESCRIPTION The resume work function to complete resume function asynchronously. There are two resume paths, one where ISH is not powered off, in ...
ish_send(9)
NAME ish_send - Send message from host to firmware SYNOPSIS int ish_send (struct ishtp_cl_data *client_data , u8 *out_msg , size_t out_size , u8 *in_msg , size_t in_size ); ARGUMENTS client_data Client data instance out_msg Message buffer to be sent to firmware out_size Size of out going messag...
ish_set_host_rdy(9)
NAME ish_set_host_rdy - Indicate host ready SYNOPSIS void ish_set_host_rdy (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device pointer DESCRIPTION Set host ready indication to FW SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c ish_reg_read(9), ish_reg_write(9), _ish_read_fw_sts_reg(...
ish_set_host_ready(9)
NAME ish_set_host_ready - reconfig ipc host registers SYNOPSIS void ish_set_host_ready (struct ishtp_device *dev ); ARGUMENTS dev ishtp device pointer DESCRIPTION Set host to ready state This API is called in some case: fw is still on, but ipc is powered down. such as OOB case. RETURN 0 for success else er...
ish_shutdown(9)
NAME ish_shutdown - PCI driver shutdown callback SYNOPSIS void ish_shutdown (struct pci_dev *pdev ); ARGUMENTS pdev pci device DESCRIPTION This function sets up wakeup for S5 SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/pci-ish.c ish_event_tracer(9), ish_init(9), ish_probe(9), ish_remove(9), ish_resu...
ish_suspend(9)
NAME ish_suspend - ISH suspend callback SYNOPSIS int __maybe_unused ish_suspend (struct device *device ); ARGUMENTS device device pointer DESCRIPTION ISH suspend callback RETURN 0 to the pm core SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/pci-ish.c ish_event_tracer(9), ish_init(9), ish_probe(9), ish_...
ish_wakeup(9)
NAME ish_wakeup - wakeup ishfw from waiting-for-host state SYNOPSIS int ish_wakeup (struct ishtp_device *dev ); ARGUMENTS dev ishtp device pointer DESCRIPTION Set the dma enable bit and send a IPC RESET message to FW, it wil wakeup FW from waiting-for-host state. RETURN 0 for success else error code. SEE A...
ishtp_bus_add_device(9)
NAME ishtp_bus_add_device - Function to create device on bus SYNOPSIS struct ishtp_cl_device * ishtp_bus_add_device (struct ishtp_device *dev , guid_t uuid , char *name ); ARGUMENTS dev ishtp device uuid uuid of the client name Name of the client DESCRIPTION Allocate ISHTP bus c...
ishtp_bus_event_work(9)
NAME ishtp_bus_event_work - event work function SYNOPSIS void ishtp_bus_event_work (struct work_struct *work ); ARGUMENTS work work struct pointer DESCRIPTION Once an event is received for a client this work function is called. If the device has registered a callback then the callback is called. SEE ALSO Ker...
ishtp_bus_new_client(9)
NAME ishtp_bus_new_client - Create a new client SYNOPSIS int ishtp_bus_new_client (struct ishtp_device *dev ); ARGUMENTS dev ISHTP device instance DESCRIPTION Once bus protocol enumerates a client, this is called to add a device for the client. RETURN 0 on success or error code on failure SEE ALSO Kernel ...
ishtp_bus_register(9)
NAME ishtp_bus_register - Function to register bus SYNOPSIS int ishtp_bus_register (void ); ARGUMENTS void no arguments DESCRIPTION This register ishtp bus RETURN Return output of bus_register SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_recv(9), ishtp_send_msg(9), ishtp_write...
ishtp_bus_remove_all_clients(9)
NAME ishtp_bus_remove_all_clients - Remove all clients SYNOPSIS void ishtp_bus_remove_all_clients (struct ishtp_device *ishtp_dev , bool warm_reset ); ARGUMENTS ishtp_dev ishtp device warm_reset Reset due to FW reset dure to errors or S3 suspend DESCRIPTION This is part of reset/remove flow. This function...
ishtp_bus_remove_device(9)
NAME ishtp_bus_remove_device - Function to relase device on bus SYNOPSIS void ishtp_bus_remove_device (struct ishtp_cl_device *device ); ARGUMENTS device client device instance DESCRIPTION This is a counterpart of ishtp_bus_add_device. Device is unregistered. the device structure is freed in 'ishtp_cl_dev_rel...
ishtp_bus_unregister(9)
NAME ishtp_bus_unregister - Function to unregister bus SYNOPSIS void ishtp_bus_unregister (void ); ARGUMENTS void no arguments DESCRIPTION This unregister ishtp bus SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_recv(9), ishtp_send_msg(9), ishtp_write_message(9), ishtp_fw_cl_by_u...
ishtp_cl_alloc_dma_buf(9)
NAME ishtp_cl_alloc_dma_buf - Allocate DMA RX and TX buffer SYNOPSIS void ishtp_cl_alloc_dma_buf (struct ishtp_device *dev ); ARGUMENTS dev ishtp device DESCRIPTION Allocate RX and TX DMA buffer once during bus setup. It allocates 1MB, RX and TX DMA buffer, which are divided into slots. SEE ALSO Kernel ...
ishtp_cl_alloc_rx_ring(9)
NAME ishtp_cl_alloc_rx_ring - Allocate RX ring buffers SYNOPSIS int ishtp_cl_alloc_rx_ring (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Allocate and initialize RX ring buffers RETURN 0 on success else -ENOMEM SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/client-buff...
ishtp_cl_alloc_tx_ring(9)
NAME ishtp_cl_alloc_tx_ring - Allocate TX ring buffers SYNOPSIS int ishtp_cl_alloc_tx_ring (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Allocate and initialize TX ring buffers RETURN 0 on success else -ENOMEM SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/client-buff...
ishtp_cl_allocate(9)
NAME ishtp_cl_allocate - allocates client structure and sets it up. SYNOPSIS struct ishtp_cl * ishtp_cl_allocate (struct ishtp_cl_device *cl_device ); ARGUMENTS cl_device ishtp client device DESCRIPTION Allocate memory for new client device and call to initialize each field. RETURN The allocated client instance o...
ishtp_cl_bus_match(9)
NAME ishtp_cl_bus_match - Bus match() callback SYNOPSIS int ishtp_cl_bus_match (struct device *dev , const struct device_driver *drv ); ARGUMENTS dev the device structure drv the driver structure DESCRIPTION This is a bus match callback, called when a new ishtp_cl_device is registered during ...
ishtp_cl_bus_rx_event(9)
NAME ishtp_cl_bus_rx_event - schedule event work SYNOPSIS void ishtp_cl_bus_rx_event (struct ishtp_cl_device *device ); ARGUMENTS device client device instance DESCRIPTION Once an event is received for a client this schedules a work function to process. SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/isht...
ishtp_cl_cmp_id(9)
NAME ishtp_cl_cmp_id - tells if file private data have same id returns true - if ids are the same and not NULL SYNOPSIS bool ishtp_cl_cmp_id (const struct ishtp_cl *cl1 , const struct ishtp_cl *cl2 ); ARGUMENTS cl1 -- undescribed -- cl2 -- undescribed -- SEE ALSO Kernel file ./drivers/hid/int...
ishtp_cl_connect(9)
NAME ishtp_cl_connect - Build connection with firmware SYNOPSIS int ishtp_cl_connect (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Call ishtp_cl_connect_to_fw to connect and bind to firmware. If successful, allocate RX and TX ring buffers, and start flow control with firmware to st...
ishtp_cl_connect_to_fw(9)
NAME ishtp_cl_connect_to_fw - Send connect request to firmware SYNOPSIS int ishtp_cl_connect_to_fw (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Send a connect request to the firmware and wait for firmware response. If there is successful connection response from the firmware, cha...
ishtp_cl_destroy_connection(9)
NAME ishtp_cl_destroy_connection - Disconnect with the firmware SYNOPSIS void ishtp_cl_destroy_connection (struct ishtp_cl *cl , bool reset ); ARGUMENTS cl client device instance reset true if called for firmware reset, false for normal disconnection DESCRIPTION This is a helper function for c...
ishtp_cl_device_bind(9)
NAME ishtp_cl_device_bind - bind a device SYNOPSIS int ishtp_cl_device_bind (struct ishtp_cl *cl ); ARGUMENTS cl ishtp client device DESCRIPTION Binds connected ishtp_cl to ISHTP bus device RETURN 0 on success or fault code SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_recv(9), ...
ishtp_cl_device_probe(9)
NAME ishtp_cl_device_probe - Bus probe() callback SYNOPSIS int ishtp_cl_device_probe (struct device *dev ); ARGUMENTS dev the device structure DESCRIPTION This is a bus probe callback and calls the drive probe function. RETURN Return value from driver probe call. SEE ALSO Kernel file ./drivers/hid/intel-...
ishtp_cl_device_remove(9)
NAME ishtp_cl_device_remove - Bus remove() callback SYNOPSIS void ishtp_cl_device_remove (struct device *dev ); ARGUMENTS dev the device structure DESCRIPTION This is a bus remove callback and calls the drive remove function. Since the ISH driver model supports only built in, this is primarily can be called...
ishtp_cl_device_reset(9)
NAME ishtp_cl_device_reset - Reset callback SYNOPSIS int ishtp_cl_device_reset (struct ishtp_cl_device *device ); ARGUMENTS device ishtp client device instance DESCRIPTION This is a callback when HW reset is done and the device need reinit. RETURN Return value from driver reset call. SEE ALSO Kernel file ...
ishtp_cl_device_resume(9)
NAME ishtp_cl_device_resume - Bus resume callback SYNOPSIS int ishtp_cl_device_resume (struct device *dev ); ARGUMENTS dev device DESCRIPTION Called during device resume process. RETURN Return value from driver resume call. SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_recv(9), ...
ishtp_cl_device_suspend(9)
NAME ishtp_cl_device_suspend - Bus suspend callback SYNOPSIS int ishtp_cl_device_suspend (struct device *dev ); ARGUMENTS dev device DESCRIPTION Called during device suspend process. RETURN Return value from driver suspend call. SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_recv(9), i...
ishtp_cl_disconnect(9)
NAME ishtp_cl_disconnect - Send disconnect request to firmware SYNOPSIS int ishtp_cl_disconnect (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Send a disconnect request for a client to firmware. RETURN 0 if successful disconnect response from the firmware or error code on failure ...
ishtp_cl_driver_register(9)
NAME ishtp_cl_driver_register - Client driver register SYNOPSIS int ishtp_cl_driver_register (struct ishtp_cl_driver *driver , struct module *owner ); ARGUMENTS driver the client driver instance owner Owner of this driver module DESCRIPTION Once a client driver is probed, it created a client insta...
ishtp_cl_driver_unregister(9)
NAME ishtp_cl_driver_unregister - Client driver unregister SYNOPSIS void ishtp_cl_driver_unregister (struct ishtp_cl_driver *driver ); ARGUMENTS driver the client driver instance DESCRIPTION Unregister client during device removal process. SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c isht...
ishtp_cl_establish_connection(9)
NAME ishtp_cl_establish_connection - Establish connection with the firmware SYNOPSIS int ishtp_cl_establish_connection (struct ishtp_cl *cl , const guid_t *uuid , int tx_size , int rx_size , bool reset ); ARGUMENTS cl client device instance uuid uuid of the client to search tx_size ...
ishtp_cl_flush_queues(9)
NAME ishtp_cl_flush_queues - Flush all queues for a client SYNOPSIS int ishtp_cl_flush_queues (struct ishtp_cl *cl ); ARGUMENTS cl ishtp client instance DESCRIPTION Used to remove all queues for a client. This is called when a client device needs reset due to error, S3 resume or during module removal RETUR...
ishtp_cl_free(9)
NAME ishtp_cl_free - Frees a client device SYNOPSIS void ishtp_cl_free (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Frees a client device SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/client.c ishtp_read_list_flush(9), ishtp_cl_flush_queues(9), ishtp_cl_init(...
ishtp_cl_free_dma_buf(9)
NAME ishtp_cl_free_dma_buf - Free DMA RX and TX buffer SYNOPSIS void ishtp_cl_free_dma_buf (struct ishtp_device *dev ); ARGUMENTS dev ishtp device DESCRIPTION Free DMA buffer when all clients are released. This is only happens during error path in ISH built in driver model SEE ALSO Kernel file ./drivers/...
ishtp_cl_free_rx_ring(9)
NAME ishtp_cl_free_rx_ring - Free RX ring buffers SYNOPSIS void ishtp_cl_free_rx_ring (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Free RX ring buffers SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/client-buffers.c ishtp_cl_alloc_rx_ring(9), ishtp_cl_alloc_tx_ring...
ishtp_cl_free_tx_ring(9)
NAME ishtp_cl_free_tx_ring - Free TX ring buffers SYNOPSIS void ishtp_cl_free_tx_ring (struct ishtp_cl *cl ); ARGUMENTS cl client device instance DESCRIPTION Free TX ring buffers SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ishtp/client-buffers.c ishtp_cl_alloc_rx_ring(9), ishtp_cl_alloc_tx_ring...
ishtp_cl_init(9)
NAME ishtp_cl_init - Initialize all fields of a client device SYNOPSIS void ishtp_cl_init (struct ishtp_cl *cl , struct ishtp_device *dev ); ARGUMENTS cl ishtp client instance dev ishtp device DESCRIPTION Initializes a client device fields: Init spinlocks, init queues etc. This function is ...