id
stringlengths
4
63
text
stringlengths
153
8.81M
hdlcdev_exit(9)
NAME hdlcdev_exit - called by device driver when removing device instance SYNOPSIS void hdlcdev_exit (struct slgt_info *info ); ARGUMENTS info pointer to device instance information DESCRIPTION Do generic HDLC cleanup. SEE ALSO Kernel file ./drivers/tty/synclink_gt.c hdlcdev_attach(9), hdlcdev_xmit(9), hdlcd...
hdlcdev_init(9)
NAME hdlcdev_init - called by device driver when adding device instance SYNOPSIS int hdlcdev_init (struct slgt_info *info ); ARGUMENTS info pointer to device instance information DESCRIPTION Do generic HDLC initialization. RETURN 0 if success, otherwise error code SEE ALSO Kernel file ./drivers/tty/synclink...
hdlcdev_ioctl(9)
NAME hdlcdev_ioctl - called by network layer to process IOCTL call to network device SYNOPSIS int hdlcdev_ioctl (struct net_device *dev , struct if_settings *ifs ); ARGUMENTS dev pointer to network device structure ifs -- undescribed -- RETURN 0 if success, otherwise error code SEE ALSO Kern...
hdlcdev_open(9)
NAME hdlcdev_open - called by network layer when interface enabled SYNOPSIS int hdlcdev_open (struct net_device *dev ); ARGUMENTS dev pointer to network device structure DESCRIPTION Claim resources and initialize hardware. RETURN 0 if success, otherwise error code SEE ALSO Kernel file ./drivers/tty/synclin...
hdlcdev_rx(9)
NAME hdlcdev_rx - called by device driver when frame received SYNOPSIS void hdlcdev_rx (struct slgt_info *info , char *buf , int size ); ARGUMENTS info pointer to device instance information buf pointer to buffer contianing frame data size count of data bytes in buf DESCRIPTION ...
hdlcdev_tx_done(9)
NAME hdlcdev_tx_done - called by device driver when transmit completes SYNOPSIS void hdlcdev_tx_done (struct slgt_info *info ); ARGUMENTS info pointer to device instance information DESCRIPTION Reenable network layer transmit if stopped. SEE ALSO Kernel file ./drivers/tty/synclink_gt.c hdlcdev_attach(9), hdl...
hdlcdev_tx_timeout(9)
NAME hdlcdev_tx_timeout - called by network layer when transmit timeout is detected SYNOPSIS void hdlcdev_tx_timeout (struct net_device *dev , unsigned int txqueue ); ARGUMENTS dev pointer to network device structure txqueue unused SEE ALSO Kernel file ./drivers/tty/synclink_gt.c hdlcdev_attach(9...
hdlcdev_xmit(9)
NAME hdlcdev_xmit - called by generic HDLC layer to send a frame SYNOPSIS netdev_tx_t hdlcdev_xmit (struct sk_buff *skb , struct net_device *dev ); ARGUMENTS skb socket buffer containing HDLC frame dev pointer to network device structure SEE ALSO Kernel file ./drivers/tty/synclink_gt.c hdlcde...
hdm_add_padding(9)
NAME hdm_add_padding - add padding bytes SYNOPSIS int hdm_add_padding (struct most_dev *mdev , int channel , struct mbo *mbo ); ARGUMENTS mdev most device channel channel ID mbo buffer object DESCRIPTION This inserts the INIC hardware specific padding bytes into a streaming channel...
hdm_configure_channel(9)
NAME hdm_configure_channel - receive channel configuration from core SYNOPSIS int hdm_configure_channel (struct most_interface *iface , int channel , struct most_channel_config *conf ); ARGUMENTS iface interface channel channel ID conf structure that holds the configuration informatio...
hdm_disconnect(9)
NAME hdm_disconnect - disconnect function of USB device driver SYNOPSIS void hdm_disconnect (struct usb_interface *interface ); ARGUMENTS interface Interface of the attached USB device DESCRIPTION This deregisters the interface with the core, removes the kernel timer and frees resources. CONTEXT hub kernel thread...
hdm_enqueue(9)
NAME hdm_enqueue - receive a buffer to be used for data transfer SYNOPSIS int hdm_enqueue (struct most_interface *iface , int channel , struct mbo *mbo ); ARGUMENTS iface interface to enqueue to channel ID of the channel mbo pointer to the buffer object DESCRIPTION This allocates a...
hdm_poison_channel(9)
NAME hdm_poison_channel - mark buffers of this channel as invalid SYNOPSIS int hdm_poison_channel (struct most_interface *iface , int channel ); ARGUMENTS iface pointer to the interface channel channel ID DESCRIPTION This unlinks all URBs submitted to the HCD, calls the associated completion functi...
hdm_probe(9)
NAME hdm_probe - probe function of USB device driver SYNOPSIS int hdm_probe (struct usb_interface *interface , const struct usb_device_id *id ); ARGUMENTS interface Interface of the attached USB device id Pointer to the USB ID table. DESCRIPTION This allocates and initializes the device instan...
hdm_read_completion(9)
NAME hdm_read_completion - completion function for submitted Rx URBs SYNOPSIS void hdm_read_completion (struct urb *urb ); ARGUMENTS urb the URB that has been completed DESCRIPTION This checks the status of the completed URB. In case the URB has been unlinked before it is immediately freed. On any other...
hdm_remove_padding(9)
NAME hdm_remove_padding - remove padding bytes SYNOPSIS int hdm_remove_padding (struct most_dev *mdev , int channel , struct mbo *mbo ); ARGUMENTS mdev most device channel channel ID mbo buffer object DESCRIPTION This takes the INIC hardware specific padding bytes off a streaming c...
hdm_request_netinfo(9)
NAME hdm_request_netinfo - request network information SYNOPSIS void hdm_request_netinfo (struct most_interface *iface , int channel , void (*on_netinfo)(struct most_interface *, unsigned char, unsigned char *) ); ARGUMENTS iface pointer to interface channel channel ID on_netinfo -- undescr...
hdm_write_completion(9)
NAME hdm_write_completion - completion function for submitted Tx URBs SYNOPSIS void hdm_write_completion (struct urb *urb ); ARGUMENTS urb the URB that has been completed DESCRIPTION This checks the status of the completed URB. In case the URB has been unlinked before, it is immediately freed. On any other...
hdmi_audio_infoframe_check(9)
NAME hdmi_audio_infoframe_check - check a HDMI audio infoframe SYNOPSIS int hdmi_audio_infoframe_check (const struct hdmi_audio_infoframe *frame ); ARGUMENTS frame HDMI audio infoframe DESCRIPTION Validates that the infoframe is consistent and updates derived fields (eg. length) based on other fields. Returns...
hdmi_audio_infoframe_init(9)
NAME hdmi_audio_infoframe_init - initialize an HDMI audio infoframe SYNOPSIS int hdmi_audio_infoframe_init (struct hdmi_audio_infoframe *frame ); ARGUMENTS frame HDMI audio infoframe DESCRIPTION Returns 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/video/hdmi.c hdmi_av...
hdmi_audio_infoframe_pack(9)
NAME hdmi_audio_infoframe_pack - check a HDMI Audio infoframe, and write it to binary buffer SYNOPSIS ssize_t hdmi_audio_infoframe_pack (struct hdmi_audio_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI Audio infoframe buffer destination buffer size size of buff...
hdmi_audio_infoframe_pack_for_dp(9)
NAME hdmi_audio_infoframe_pack_for_dp - Pack a HDMI Audio infoframe for DisplayPort SYNOPSIS ssize_t hdmi_audio_infoframe_pack_for_dp (const struct hdmi_audio_infoframe *frame , struct dp_sdp *sdp , u8 dp_version ); ARGUMENTS frame HDMI Audio infoframe sdp Secondary data packet for DisplayPort. ...
hdmi_audio_infoframe_pack_only(9)
NAME hdmi_audio_infoframe_pack_only - write HDMI audio infoframe to binary buffer SYNOPSIS ssize_t hdmi_audio_infoframe_pack_only (const struct hdmi_audio_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI audio infoframe buffer destination buffer size size of buff...
hdmi_audio_infoframe_unpack(9)
NAME hdmi_audio_infoframe_unpack - unpack binary buffer to a HDMI AUDIO infoframe SYNOPSIS int hdmi_audio_infoframe_unpack (struct hdmi_audio_infoframe *frame , const void *buffer , size_t size ); ARGUMENTS frame HDMI Audio infoframe buffer source buffer size size of buffer DESCRIPT...
hdmi_avi_infoframe_check(9)
NAME hdmi_avi_infoframe_check - check a HDMI AVI infoframe SYNOPSIS int hdmi_avi_infoframe_check (struct hdmi_avi_infoframe *frame ); ARGUMENTS frame HDMI AVI infoframe DESCRIPTION Validates that the infoframe is consistent and updates derived fields (eg. length) based on other fields. Returns 0 on success or...
hdmi_avi_infoframe_init(9)
NAME hdmi_avi_infoframe_init - initialize an HDMI AVI infoframe SYNOPSIS void hdmi_avi_infoframe_init (struct hdmi_avi_infoframe *frame ); ARGUMENTS frame HDMI AVI infoframe SEE ALSO Kernel file ./drivers/video/hdmi.c hdmi_avi_infoframe_check(9), hdmi_avi_infoframe_pack_only(9), hdmi_avi_infoframe_pack(9)...
hdmi_avi_infoframe_pack(9)
NAME hdmi_avi_infoframe_pack - check a HDMI AVI infoframe, and write it to binary buffer SYNOPSIS ssize_t hdmi_avi_infoframe_pack (struct hdmi_avi_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI AVI infoframe buffer destination buffer size size of buffer DESCRI...
hdmi_avi_infoframe_pack_only(9)
NAME hdmi_avi_infoframe_pack_only - write HDMI AVI infoframe to binary buffer SYNOPSIS ssize_t hdmi_avi_infoframe_pack_only (const struct hdmi_avi_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI AVI infoframe buffer destination buffer size size of buffer DESCRI...
hdmi_avi_infoframe_unpack(9)
NAME hdmi_avi_infoframe_unpack - unpack binary buffer to a HDMI AVI infoframe SYNOPSIS int hdmi_avi_infoframe_unpack (struct hdmi_avi_infoframe *frame , const void *buffer , size_t size ); ARGUMENTS frame HDMI AVI infoframe buffer source buffer size size of buffer DESCRIPTION Unpack...
hdmi_cec_state_show(9)
NAME hdmi_cec_state_show - Read out the HDMI-CEC feature status SYNOPSIS int hdmi_cec_state_show (struct seq_file *m , void *data ); ARGUMENTS m sequence file. data unused. DESCRIPTION Return 0 on success SEE ALSO Kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c hdmi_...
hdmi_cec_state_write(9)
NAME hdmi_cec_state_write - Enable/Disable HDMI-CEC feature from driver side SYNOPSIS ssize_t hdmi_cec_state_write (struct file *f , const char __user *buf , size_t size , loff_t *pos ); ARGUMENTS f file structure. buf userspace buffer. set to '1' to enable; '0' to disable cec feature. ...
hdmi_drm_infoframe_check(9)
NAME hdmi_drm_infoframe_check - check a HDMI DRM infoframe SYNOPSIS int hdmi_drm_infoframe_check (struct hdmi_drm_infoframe *frame ); ARGUMENTS frame HDMI DRM infoframe DESCRIPTION Validates that the infoframe is consistent. Returns 0 on success or a negative error code on failure. SEE ALSO Kernel file ....
hdmi_drm_infoframe_init(9)
NAME hdmi_drm_infoframe_init - initialize an HDMI Dynaminc Range and mastering infoframe SYNOPSIS int hdmi_drm_infoframe_init (struct hdmi_drm_infoframe *frame ); ARGUMENTS frame HDMI DRM infoframe DESCRIPTION Returns 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/video/h...
hdmi_drm_infoframe_pack(9)
NAME hdmi_drm_infoframe_pack - check a HDMI DRM infoframe, and write it to binary buffer SYNOPSIS ssize_t hdmi_drm_infoframe_pack (struct hdmi_drm_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI DRM infoframe buffer destination buffer size size of buffer DESCRI...
hdmi_drm_infoframe_pack_only(9)
NAME hdmi_drm_infoframe_pack_only - write HDMI DRM infoframe to binary buffer SYNOPSIS ssize_t hdmi_drm_infoframe_pack_only (const struct hdmi_drm_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI DRM infoframe buffer destination buffer size size of buffer DESCRI...
hdmi_drm_infoframe_unpack(9)
NAME hdmi_drm_infoframe_unpack - unpack binary buffer to a HDMI DRM infoframe SYNOPSIS int hdmi_drm_infoframe_unpack (struct hdmi_drm_infoframe *frame , const void *buffer , size_t size ); ARGUMENTS frame HDMI DRM infoframe buffer source buffer size size of buffer DESCRIPTION Unpack...
hdmi_drm_infoframe_unpack_only(9)
NAME hdmi_drm_infoframe_unpack_only - unpack binary buffer of CTA-861-G DRM infoframe DataBytes to a HDMI DRM infoframe SYNOPSIS int hdmi_drm_infoframe_unpack_only (struct hdmi_drm_infoframe *frame , const void *buffer , size_t size ); ARGUMENTS frame HDMI DRM infoframe buffer source buffer ...
hdmi_infoframe_log(9)
NAME hdmi_infoframe_log - log info of HDMI infoframe SYNOPSIS void hdmi_infoframe_log (const char *level , struct device *dev , const union hdmi_infoframe *frame ); ARGUMENTS level logging level dev device frame HDMI infoframe SEE ALSO Kernel file ./drivers/video/hdmi.c hdmi...
hdmi_infoframe_pack(9)
NAME hdmi_infoframe_pack - check a HDMI infoframe, and write it to binary buffer SYNOPSIS ssize_t hdmi_infoframe_pack (union hdmi_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI infoframe buffer destination buffer size size of buffer DESCRIPTION Validates that...
hdmi_infoframe_pack_only(9)
NAME hdmi_infoframe_pack_only - write a HDMI infoframe to binary buffer SYNOPSIS ssize_t hdmi_infoframe_pack_only (const union hdmi_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI infoframe buffer destination buffer size size of buffer DESCRIPTION Packs the in...
hdmi_infoframe_unpack(9)
NAME hdmi_infoframe_unpack - unpack binary buffer to a HDMI infoframe SYNOPSIS int hdmi_infoframe_unpack (union hdmi_infoframe *frame , const void *buffer , size_t size ); ARGUMENTS frame HDMI infoframe buffer source buffer size size of buffer DESCRIPTION Unpacks the information ...
hdmi_recommended_n(9)
NAME hdmi_recommended_n - Return N value recommended by HDMI specification SYNOPSIS unsigned int hdmi_recommended_n (unsigned int freq , unsigned int clock ); ARGUMENTS freq audio sample rate in Hz clock rounded TMDS clock in kHz SEE ALSO Kernel file ./drivers/gpu/drm/mediatek/mtk_hdmi_common.c ...
hdmi_spd_infoframe_check(9)
NAME hdmi_spd_infoframe_check - check a HDMI SPD infoframe SYNOPSIS int hdmi_spd_infoframe_check (struct hdmi_spd_infoframe *frame ); ARGUMENTS frame HDMI SPD infoframe DESCRIPTION Validates that the infoframe is consistent and updates derived fields (eg. length) based on other fields. Returns 0 on success or...
hdmi_spd_infoframe_init(9)
NAME hdmi_spd_infoframe_init - initialize an HDMI SPD infoframe SYNOPSIS int hdmi_spd_infoframe_init (struct hdmi_spd_infoframe *frame , const char *vendor , const char *product ); ARGUMENTS frame HDMI SPD infoframe vendor vendor string product product string DESCRIPTION Returns 0 on s...
hdmi_spd_infoframe_pack(9)
NAME hdmi_spd_infoframe_pack - check a HDMI SPD infoframe, and write it to binary buffer SYNOPSIS ssize_t hdmi_spd_infoframe_pack (struct hdmi_spd_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI SPD infoframe buffer destination buffer size size of buffer DESCRI...
hdmi_spd_infoframe_pack_only(9)
NAME hdmi_spd_infoframe_pack_only - write HDMI SPD infoframe to binary buffer SYNOPSIS ssize_t hdmi_spd_infoframe_pack_only (const struct hdmi_spd_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI SPD infoframe buffer destination buffer size size of buffer DESCRI...
hdmi_spd_infoframe_unpack(9)
NAME hdmi_spd_infoframe_unpack - unpack binary buffer to a HDMI SPD infoframe SYNOPSIS int hdmi_spd_infoframe_unpack (struct hdmi_spd_infoframe *frame , const void *buffer , size_t size ); ARGUMENTS frame HDMI SPD infoframe buffer source buffer size size of buffer DESCRIPTION Unpack...
hdmi_vendor_any_infoframe_unpack(9)
NAME hdmi_vendor_any_infoframe_unpack - unpack binary buffer to a HDMI vendor infoframe SYNOPSIS int hdmi_vendor_any_infoframe_unpack (union hdmi_vendor_any_infoframe *frame , const void *buffer , size_t size ); ARGUMENTS frame HDMI Vendor infoframe buffer source buffer size size of ...
hdmi_vendor_infoframe_check(9)
NAME hdmi_vendor_infoframe_check - check a HDMI vendor infoframe SYNOPSIS int hdmi_vendor_infoframe_check (struct hdmi_vendor_infoframe *frame ); ARGUMENTS frame HDMI infoframe DESCRIPTION Validates that the infoframe is consistent and updates derived fields (eg. length) based on other fields. Returns 0 on su...
hdmi_vendor_infoframe_init(9)
NAME hdmi_vendor_infoframe_init - initialize an HDMI vendor infoframe SYNOPSIS int hdmi_vendor_infoframe_init (struct hdmi_vendor_infoframe *frame ); ARGUMENTS frame HDMI vendor infoframe DESCRIPTION Returns 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/video/hdmi.c hd...
hdmi_vendor_infoframe_pack(9)
NAME hdmi_vendor_infoframe_pack - check a HDMI Vendor infoframe, and write it to binary buffer SYNOPSIS ssize_t hdmi_vendor_infoframe_pack (struct hdmi_vendor_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI Vendor infoframe buffer destination buffer size size of...
hdmi_vendor_infoframe_pack_only(9)
NAME hdmi_vendor_infoframe_pack_only - write a HDMI vendor infoframe to binary buffer SYNOPSIS ssize_t hdmi_vendor_infoframe_pack_only (const struct hdmi_vendor_infoframe *frame , void *buffer , size_t size ); ARGUMENTS frame HDMI infoframe buffer destination buffer size size of buff...
head(1)
NAME head - output the first part of files SYNOPSIS head [OPTION]... [FILE]... DESCRIPTION Print the first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input. Mandatory arguments to l...
head(1p)
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 head — copy the first part of files SYNOPSIS head [-n num...
helene_attach(9)
NAME helene_attach - Attach a helene tuner (terrestrial and cable standards) SYNOPSIS struct dvb_frontend * helene_attach (struct dvb_frontend *fe , const struct helene_config *config , struct i2c_adapter *i2c ); ARGUMENTS fe frontend to be attached config pointer to struct helene_config with tu...
helene_attach_s(9)
NAME helene_attach_s - Attach a helene tuner (satellite standards) SYNOPSIS struct dvb_frontend * helene_attach_s (struct dvb_frontend *fe , const struct helene_config *config , struct i2c_adapter *i2c ); ARGUMENTS fe frontend to be attached config pointer to struct helene_config with tuner conf...
herror(3)
NAME gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, gethostbyname_r, gethostent_r - get network host entry LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <netdb.h> void sethostent(int stayopen); ...
hex2bin(9)
NAME hex2bin - convert an ascii hexadecimal string to its binary representation SYNOPSIS int hex2bin (u8 *dst , const char *src , size_t count ); ARGUMENTS dst binary result src ascii hexadecimal string count result length DESCRIPTION Return 0 on success, -EINVAL in case of bad ...
hex_dump_to_buffer(9)
NAME hex_dump_to_buffer - convert a blob of data to "hex ASCII" in memory SYNOPSIS int hex_dump_to_buffer (const void *buf , size_t len , int rowsize , int groupsize , char *linebuf , size_t linebuflen , bool ascii ); ARGUMENTS buf data blob to dump len number of bytes in the buf rowsi...
hex_to_bin(9)
NAME hex_to_bin - convert a hex digit to its real value SYNOPSIS int hex_to_bin (unsigned char ch ); ARGUMENTS ch ascii character represents hex digit DESCRIPTION hex_to_bin converts one hex digit to its actual value or -1 in case of bad input. This function is used to load cryptographic keys, so it is cod...
hexdump(1)
NAME hexdump - display file contents in hexadecimal, decimal, octal, or ascii SYNOPSIS hexdump options file ... hd options file ... DESCRIPTION The hexdump utility is a filter which displays the specified files, or standard input if no files are specified, in a user-specified format. OPTIONS Below, the lengt...
hfi1_addr_from_offset(9)
NAME hfi1_addr_from_offset - return addr for readq/writeq SYNOPSIS void __iomem * hfi1_addr_from_offset (const struct hfi1_devdata *dd , u32 offset ); ARGUMENTS dd the dd device offset the offset of the CSR within bar0 DESCRIPTION This routine selects the appropriate base address based on the i...
hfi1_alloc_ctxt_rcv_groups(9)
NAME hfi1_alloc_ctxt_rcv_groups - initialize expected receive groups SYNOPSIS int hfi1_alloc_ctxt_rcv_groups (struct hfi1_ctxtdata *rcd ); ARGUMENTS rcd the context to add the groupings to SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/exp_rcv.c hfi1_exp_tid_set_init(9), hfi1_exp_tid_group_init(9), hfi1_f...
hfi1_alloc_devdata(9)
NAME hfi1_alloc_devdata - Allocate our primary per-unit data structure. SYNOPSIS struct hfi1_devdata * hfi1_alloc_devdata (struct pci_dev *pdev , size_t extra ); ARGUMENTS pdev Valid PCI device extra How many bytes to alloc past the default DESCRIPTION Must be done via verbs allocator, because t...
hfi1_alloc_rx(9)
NAME hfi1_alloc_rx - Allocates the rx support structure SYNOPSIS int hfi1_alloc_rx (struct hfi1_devdata *dd ); ARGUMENTS dd hfi1 dev data DESCRIPTION Allocate the rx structure to support gathering the receive resources and the dummy netdev. Updates dd struct pointer upon success. RETURN 0 (success) -error...
hfi1_create_rcvhdrq(9)
NAME hfi1_create_rcvhdrq - create a receive header queue SYNOPSIS int hfi1_create_rcvhdrq (struct hfi1_devdata *dd , struct hfi1_ctxtdata *rcd ); ARGUMENTS dd the hfi1_ib device rcd the context data DESCRIPTION This must be contiguous memory (from an i/o perspective), and must be DMA'able (w...
hfi1_do_send(9)
NAME hfi1_do_send - perform a send on a QP SYNOPSIS void hfi1_do_send (struct rvt_qp *qp , bool in_thread ); ARGUMENTS qp a pointer to the QP in_thread true if in a workqueue thread DESCRIPTION Process entries in the send work queue until credit or queue is exhausted. Only allow one CPU to send a...
hfi1_error_port_qps(9)
NAME hfi1_error_port_qps - put a port's RC/UC qps into error state SYNOPSIS void hfi1_error_port_qps (struct hfi1_ibport *ibp , u8 sl ); ARGUMENTS ibp the ibport. sl the service level. DESCRIPTION This function places all RC/UC qps with a given service level into error state. It is generally...
hfi1_exp_tid_group_init(9)
NAME hfi1_exp_tid_group_init - initialize rcd expected receive SYNOPSIS void hfi1_exp_tid_group_init (struct hfi1_ctxtdata *rcd ); ARGUMENTS rcd the rcd SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/exp_rcv.c hfi1_exp_tid_set_init(9), hfi1_alloc_ctxt_rcv_groups(9), hfi1_free_ctxt_rcv_groups(9) April 202...
hfi1_exp_tid_set_init(9)
NAME hfi1_exp_tid_set_init - initialize exp_tid_set SYNOPSIS void hfi1_exp_tid_set_init (struct exp_tid_set *set ); ARGUMENTS set the set SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/exp_rcv.c hfi1_exp_tid_group_init(9), hfi1_alloc_ctxt_rcv_groups(9), hfi1_free_ctxt_rcv_groups(9) April 2026 ...
hfi1_fill_device_attr(9)
NAME hfi1_fill_device_attr - Fill in rvt dev info device attributes. SYNOPSIS void hfi1_fill_device_attr (struct hfi1_devdata *dd ); ARGUMENTS dd the device data structure SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/verbs.c hfi1_ib_rcv(9), update_tx_opstats(9), egress_pkey_check(9), hfi1_verbs_send(9)...
hfi1_free_ctxt(9)
NAME hfi1_free_ctxt - free context SYNOPSIS void hfi1_free_ctxt (struct hfi1_ctxtdata *rcd ); ARGUMENTS rcd pointer to an initialized rcd data structure DESCRIPTION This wrapper is the free function that matches hfi1_create_ctxtdata. When a context is done being used (kernel or user), this function is...
hfi1_free_ctxt_rcv_groups(9)
NAME hfi1_free_ctxt_rcv_groups - free expected receive groups SYNOPSIS void hfi1_free_ctxt_rcv_groups (struct hfi1_ctxtdata *rcd ); ARGUMENTS rcd the context to free DESCRIPTION The routine dismantles the expect receive linked list and clears any tids associated with the receive context. This should only be...
hfi1_free_ctxtdata(9)
NAME hfi1_free_ctxtdata - free a context's allocated data SYNOPSIS void hfi1_free_ctxtdata (struct hfi1_devdata *dd , struct hfi1_ctxtdata *rcd ); ARGUMENTS dd the hfi1_ib device rcd the ctxtdata structure DESCRIPTION free up any allocated data for a context It should never change any chip s...
hfi1_free_devdata(9)
NAME hfi1_free_devdata - cleans up and frees per-unit data structure SYNOPSIS void hfi1_free_devdata (struct hfi1_devdata *dd ); ARGUMENTS dd pointer to a valid devdata structure DESCRIPTION It cleans up and frees all data structures set up by by hfi1_alloc_devdata. SEE ALSO Kernel file ./drivers/infinib...
hfi1_get_npkeys(9)
NAME hfi1_get_npkeys - return the size of the PKEY table for context 0 SYNOPSIS unsigned hfi1_get_npkeys (struct hfi1_devdata *dd ); ARGUMENTS dd the hfi1_ib device SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/verbs.c hfi1_ib_rcv(9), update_tx_opstats(9), egress_pkey_check(9), hfi1_verbs_send(9), hfi1_...
hfi1_get_qp_map(9)
NAME hfi1_get_qp_map - get qp map SYNOPSIS u8 hfi1_get_qp_map (struct hfi1_devdata *dd , u8 idx ); ARGUMENTS dd device data idx index to read SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/chip.c hfi1_addr_from_offset(9), read_csr(9), write_csr(9), get_csr_addr(9), update_xmit_counter...
hfi1_get_rc_ohdr(9)
NAME hfi1_get_rc_ohdr - get extended header @opah - the opaheader SYNOPSIS struct ib_other_headers * hfi1_get_rc_ohdr (struct hfi1_opa_header *opah ); ARGUMENTS opah -- undescribed -- SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/hfi.h rcvhdrq_size(9), hfi1_rcd_head(9), hfi1_set_rcd_head(9), hfi1_seq_i...
hfi1_ib_rcv(9)
NAME hfi1_ib_rcv - process an incoming packet SYNOPSIS void hfi1_ib_rcv (struct hfi1_packet *packet ); ARGUMENTS packet data packet information DESCRIPTION This is called to process an incoming packet at interrupt level. SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/verbs.c update_tx_opstats(9), egress_pke...
hfi1_idx_to_tid_group(9)
NAME hfi1_idx_to_tid_group - convert a group to an index @rcd - the receive context @idx - the index SYNOPSIS struct tid_group * hfi1_idx_to_tid_group (struct hfi1_ctxtdata *rcd , u16 idx ); ARGUMENTS rcd -- undescribed -- idx -- undescribed -- SEE ALSO Kernel file ./drivers/infiniband/hw/hfi...
hfi1_init(9)
NAME hfi1_init - do the actual initialization sequence on the chip SYNOPSIS int hfi1_init (struct hfi1_devdata *dd , int reinit ); ARGUMENTS dd the hfi1_ib device reinit re-initializing, so don't allocate new memory DESCRIPTION Do the actual initialization sequence on the chip. This is done b...
hfi1_init_dd(9)
NAME hfi1_init_dd - Initialize most of the dd structure. SYNOPSIS int hfi1_init_dd (struct hfi1_devdata *dd ); ARGUMENTS dd the dd device DESCRIPTION This is global, and is called directly at init to set up the chip-specific function pointers for later use. SEE ALSO Kernel file ./drivers/infiniband/hw/hf...
hfi1_is_fastpath(9)
NAME hfi1_is_fastpath - check if this context is fast path SYNOPSIS bool hfi1_is_fastpath (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_w...
hfi1_is_slowpath(9)
NAME hfi1_is_slowpath - check if this context is slow path SYNOPSIS bool hfi1_is_slowpath (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_w...
hfi1_kern_exp_rcv_free_flows(9)
NAME hfi1_kern_exp_rcv_free_flows - free previously allocated flow information SYNOPSIS void hfi1_kern_exp_rcv_free_flows (struct tid_rdma_request *req ); ARGUMENTS req the tid rdma request to be cleaned SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/tid_rdma.c Kernel API(9), qp_to_rcd(9), Kernel ...
hfi1_kern_exp_rcv_setup(9)
NAME hfi1_kern_exp_rcv_setup - setup TID's and flow for one segment of a TID RDMA request SYNOPSIS int hfi1_kern_exp_rcv_setup (struct tid_rdma_request *req , struct rvt_sge_state *ss , bool *last ); ARGUMENTS req TID RDMA request for which the segment/flow is being set up ss sge state, maint...
hfi1_make_grh(9)
NAME hfi1_make_grh - construct a GRH header SYNOPSIS u32 hfi1_make_grh (struct hfi1_ibport *ibp , struct ib_grh *hdr , const struct ib_global_route *grh , u32 hwords , u32 nwords ); ARGUMENTS ibp a pointer to the IB port hdr a pointer to the GRH header being constructed grh the...
hfi1_make_rc_req(9)
NAME hfi1_make_rc_req - construct a request packet (SEND, RDMA r/w, ATOMIC) SYNOPSIS int hfi1_make_rc_req (struct rvt_qp *qp , struct hfi1_pkt_state *ps ); ARGUMENTS qp a pointer to the QP ps the current packet state DESCRIPTION Assumes s_lock is held. Return 1 if constructed; otherwise, r...
hfi1_make_ruc_header_16B(9)
NAME hfi1_make_ruc_header_16B - build a 16B header SYNOPSIS void hfi1_make_ruc_header_16B (struct rvt_qp *qp , struct ib_other_headers *ohdr , u32 bth0 , u32 bth1 , u32 bth2 , int middle , struct hfi1_pkt_state *ps ); ARGUMENTS qp the queue pair ohdr a pointer to the destination header memory ...
hfi1_make_ruc_header_9B(9)
NAME hfi1_make_ruc_header_9B - build a 9B header SYNOPSIS void hfi1_make_ruc_header_9B (struct rvt_qp *qp , struct ib_other_headers *ohdr , u32 bth0 , u32 bth1 , u32 bth2 , int middle , struct hfi1_pkt_state *ps ); ARGUMENTS qp the queue pair ohdr a pointer to the destination header memory ...
hfi1_make_uc_req(9)
NAME hfi1_make_uc_req - construct a request packet (SEND, RDMA write) SYNOPSIS int hfi1_make_uc_req (struct rvt_qp *qp , struct hfi1_pkt_state *ps ); ARGUMENTS qp a pointer to the QP ps the current packet state DESCRIPTION Assume s_lock is held. Return 1 if constructed; otherwise, return 0...
hfi1_make_ud_req(9)
NAME hfi1_make_ud_req - construct a UD request packet SYNOPSIS int hfi1_make_ud_req (struct rvt_qp *qp , struct hfi1_pkt_state *ps ); ARGUMENTS qp the QP ps the current packet state DESCRIPTION Assume s_lock is held. Return 1 if constructed; otherwise, return 0. SEE ALSO Kernel file ./dri...
hfi1_may_ecn(9)
NAME hfi1_may_ecn - Check whether FECN or BECN processing should be done SYNOPSIS bool hfi1_may_ecn (struct hfi1_packet *pkt ); ARGUMENTS pkt the packet to be evaluated DESCRIPTION Check whether the FECN or BECN bits in the packet's header are enabled, depending on packet type. This function only checks f...
hfi1_need_drop(9)
NAME hfi1_need_drop - detect need for drop SYNOPSIS bool hfi1_need_drop (struct hfi1_devdata *dd ); ARGUMENTS dd - the device DESCRIPTION In some cases, the first packet needs to be dropped. Return true is the current packet needs to be dropped and false otherwise. SEE ALSO Kernel file ./drivers/infinib...
hfi1_netdev_add_data(9)
NAME hfi1_netdev_add_data - Registers data with unique identifier to be requested later this is needed for VNIC and IPoIB VLANs implementations. This call is protected by mutex idr_lock. SYNOPSIS int hfi1_netdev_add_data (struct hfi1_devdata *dd , int id , void *data ); ARGUMENTS dd hfi1 dev data id ...
hfi1_netdev_enable_queues(9)
NAME hfi1_netdev_enable_queues - This is napi enable function. It enables napi objects associated with queues. When at least one device has called it it increments atomic counter. Disable function decrements counter and when it is 0, calls napi_disable for every queue. SYNOPSIS void hfi1_netdev_enable_queues (struct...
hfi1_netdev_get_data(9)
NAME hfi1_netdev_get_data - Gets data with given id SYNOPSIS void * hfi1_netdev_get_data (struct hfi1_devdata *dd , int id ); ARGUMENTS dd hfi1 dev data id requested integer id up to INT_MAX SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/netdev_rx.c hfi1_num_netdev_contexts(9), hfi1_netd...
hfi1_netdev_get_first_data(9)
NAME hfi1_netdev_get_first_data - Gets first entry with greater or equal id. SYNOPSIS void * hfi1_netdev_get_first_data (struct hfi1_devdata *dd , int *start_id ); ARGUMENTS dd hfi1 dev data start_id requested integer id up to INT_MAX SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/netdev_rx.c ...
hfi1_netdev_remove_data(9)
NAME hfi1_netdev_remove_data - Removes data with previously given id. Returns the reference to removed entry. SYNOPSIS void * hfi1_netdev_remove_data (struct hfi1_devdata *dd , int id ); ARGUMENTS dd hfi1 dev data id requested integer id up to INT_MAX SEE ALSO Kernel file ./drivers/infini...
hfi1_netdev_rx_destroy(9)
NAME hfi1_netdev_rx_destroy - Decrements netdevs counter, when it reaches 0 napi is deleted and receive queses memory is freed. SYNOPSIS int hfi1_netdev_rx_destroy (struct hfi1_devdata *dd ); ARGUMENTS dd hfi1 dev data SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/netdev_rx.c hfi1_num_netdev_contexts...