id
stringlengths
4
63
text
stringlengths
153
8.81M
mq_unlink(3)
NAME mq_unlink - remove a message queue LIBRARY Real-time library (librt, -lrt) SYNOPSIS #include <mqueue.h> int mq_unlink(const char *name); DESCRIPTION mq_unlink() removes the specified message queue name. The message queue name is removed immediately. The queue itself is destroyed once any other process...
mq_unlink(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 mq_unlink — remove a message queue (REALTIME) SYNOPSIS #includ...
mqueue.h(0p)
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 mqueue.h — message queues (REALTIME) SYNOPSIS #include <mqueue...
mraid_mm_adapter_app_handle(9)
NAME mraid_mm_adapter_app_handle - return the application handle for this adapter SYNOPSIS uint32_t mraid_mm_adapter_app_handle (uint32_t unique_id ); ARGUMENTS unique_id adapter unique identifier DESCRIPTION For the given driver data, locate the adapter in our global list and return the corresponding handle, wh...
mraid_mm_alloc_kioc(9)
NAME mraid_mm_alloc_kioc - Returns a uioc_t from free list SYNOPSIS uioc_t * mraid_mm_alloc_kioc (mraid_mmadp_t *adp ); ARGUMENTS adp Adapter softstate for this module DESCRIPTION The kioc_semaphore is initialized with number of kioc nodes in the free kioc pool. If the kioc pool is empty, this function block...
mraid_mm_attach_buf(9)
NAME mraid_mm_attach_buf - Attach a free dma buffer for required size SYNOPSIS int mraid_mm_attach_buf (mraid_mmadp_t *adp , uioc_t *kioc , int xferlen ); ARGUMENTS adp Adapter softstate kioc kioc that the buffer needs to be attached to xferlen required length for buffer DESCRIPTIO...
mraid_mm_dealloc_kioc(9)
NAME mraid_mm_dealloc_kioc - Return kioc to free pool SYNOPSIS void mraid_mm_dealloc_kioc (mraid_mmadp_t *adp , uioc_t *kioc ); ARGUMENTS adp Adapter softstate kioc uioc_t node to be returned to free pool SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_...
mraid_mm_exit(9)
NAME mraid_mm_exit - Module exit point SYNOPSIS void mraid_mm_exit (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_mm_ioctl(9), mraid_mm_get_adapter(9), handle_drvrcmd(9), mimd_to_kioc(9), mraid_mm_attach_buf(9), mraid_mm_alloc_kioc(9), m...
mraid_mm_free_adp_resources(9)
NAME mraid_mm_free_adp_resources - Free adapter softstate SYNOPSIS void mraid_mm_free_adp_resources (mraid_mmadp_t *adp ); ARGUMENTS adp Adapter softstate SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_mm_ioctl(9), mraid_mm_get_adapter(9), handle_drvrcmd(9), mimd_to_kioc(9...
mraid_mm_get_adapter(9)
NAME mraid_mm_get_adapter - Returns corresponding adapters for the mimd packet SYNOPSIS mraid_mmadp_t * mraid_mm_get_adapter (mimd_t __user *umimd , int *rval ); ARGUMENTS umimd User space mimd_t ioctl packet rval returned success/error status DESCRIPTION The function return value is a pointer t...
mraid_mm_init(9)
NAME mraid_mm_init - Module entry point SYNOPSIS int mraid_mm_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_mm_ioctl(9), mraid_mm_get_adapter(9), handle_drvrcmd(9), mimd_to_kioc(9), mraid_mm_attach_buf(9), mraid_mm_alloc_kioc(9), m...
mraid_mm_ioctl(9)
NAME mraid_mm_ioctl - module entry-point for ioctls SYNOPSIS int mraid_mm_ioctl (struct file *filep , unsigned int cmd , unsigned long arg ); ARGUMENTS filep file operations pointer (ignored) cmd ioctl command arg user ioctl packet SEE ALSO Kernel file ./drivers/scsi/megaraid/...
mraid_mm_open(9)
NAME mraid_mm_open - open routine for char node interface SYNOPSIS int mraid_mm_open (struct inode *inode , struct file *filep ); ARGUMENTS inode unused filep unused DESCRIPTION Allow ioctl operations by apps only if they have superuser privilege. SEE ALSO Kernel file ./drivers/scsi/megaraid/m...
mraid_mm_register_adp(9)
NAME mraid_mm_register_adp - Registration routine for low level drivers SYNOPSIS int mraid_mm_register_adp (mraid_mmadp_t *lld_adp ); ARGUMENTS lld_adp Adapter object SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_mm_ioctl(9), mraid_mm_get_adapter(9), handle_drvrcmd(9), mimd_t...
mraid_mm_setup_dma_pools(9)
NAME mraid_mm_setup_dma_pools - Set up dma buffer pools per adapter SYNOPSIS int mraid_mm_setup_dma_pools (mraid_mmadp_t *adp ); ARGUMENTS adp Adapter softstate DESCRIPTION We maintain a pool of dma buffers per each adapter. Each pool has one buffer. E.g, we may have 5 dma pools - one each for 4k, 8k ... ...
mraid_mm_teardown_dma_pools(9)
NAME mraid_mm_teardown_dma_pools - Free all per adapter dma buffers SYNOPSIS void mraid_mm_teardown_dma_pools (mraid_mmadp_t *adp ); ARGUMENTS adp Adapter softstate SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_mm_ioctl(9), mraid_mm_get_adapter(9), handle_drvrcmd(9), mimd...
mraid_mm_unregister_adp(9)
NAME mraid_mm_unregister_adp - Unregister routine for low level drivers SYNOPSIS int mraid_mm_unregister_adp (uint32_t unique_id ); ARGUMENTS unique_id UID of the adpater DESCRIPTION Assumes no outstanding ioctls to llds. SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_mm_ioctl(...
mrand48(3)
NAME drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 - generate uniformly distributed pseudo-random numbers LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> double drand48(void); double erand48(unsigned short xsubi[3]); long lrand48(void); ...
mrand48(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 mrand48 — generate uniformly distributed pseudo-random signed l...
mrand48_r(3)
NAME drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r - generate uniformly distributed pseudo-random numbers reentrantly LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int drand48_r(struct drand48_data *restrict buffer, ...
mrd(1)
Name mrd - remove an MSDOS subdirectory Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description The mrd command is used to remove an MS-DOS subdirectory. Its syntax is: ...
mremap(2)
NAME mremap - remap a virtual memory address LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <sys/mman.h> void *mremap(size_t old_size; void old_address[old_size], size_t old_size, size_t new_size, in...
mren(1)
Name mren - rename an existing MSDOS file Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description The mren command is used to rename or move an existing MS-DOS file or subdir...
ms_sensors_convert_and_read(9)
NAME ms_sensors_convert_and_read - ADC conversion & read function SYNOPSIS int ms_sensors_convert_and_read (void *cli , u8 conv , u8 rd , unsigned int delay , u32 *adc ); ARGUMENTS cli pointer to device client conv ADC conversion command. Depends on device in use rd ADC read co...
ms_sensors_crc_valid(9)
NAME ms_sensors_crc_valid - CRC check function SYNOPSIS bool ms_sensors_crc_valid (u32 value ); ARGUMENTS value input and CRC compare value DESCRIPTION Cyclic Redundancy Check function used in TSYS02D, HTU21, MS8607. This function performs a x^8 + x^5 + x^4 + 1 polynomial CRC. The argument contains CRC value...
ms_sensors_ht_read_humidity(9)
NAME ms_sensors_ht_read_humidity - Read humidity SYNOPSIS int ms_sensors_ht_read_humidity (struct ms_ht_dev *dev_data , u32 *humidity ); ARGUMENTS dev_data pointer to temperature/humidity device data humidity pointer to humidity destination value DESCRIPTION This function will get humidity ADC value fr...
ms_sensors_ht_read_temperature(9)
NAME ms_sensors_ht_read_temperature - Read temperature SYNOPSIS int ms_sensors_ht_read_temperature (struct ms_ht_dev *dev_data , s32 *temperature ); ARGUMENTS dev_data pointer to temperature/humidity device data temperature pointer to temperature destination value DESCRIPTION This function will get temper...
ms_sensors_read_prom_word(9)
NAME ms_sensors_read_prom_word - PROM word read function SYNOPSIS int ms_sensors_read_prom_word (void *cli , int cmd , u16 *word ); ARGUMENTS cli pointer to device client cmd PROM read cmd. Depends on device and prom id word pointer to word destination value DESCRIPTION Generic...
ms_sensors_read_serial(9)
NAME ms_sensors_read_serial - Serial number read function SYNOPSIS int ms_sensors_read_serial (struct i2c_client *client , u64 *sn ); ARGUMENTS client pointer to i2c client sn pointer to 64-bits destination value DESCRIPTION Generic i2c serial number read function for Measurement Specialtie...
ms_sensors_read_temp_and_pressure(9)
NAME ms_sensors_read_temp_and_pressure - read temp and pressure SYNOPSIS int ms_sensors_read_temp_and_pressure (struct ms_tp_dev *dev_data , int *temperature , unsigned int *pressure ); ARGUMENTS dev_data pointer to temperature/pressure device data temperature pointer to temperature destination value ...
ms_sensors_reset(9)
NAME ms_sensors_reset - Reset function SYNOPSIS int ms_sensors_reset (void *cli , u8 cmd , unsigned int delay ); ARGUMENTS cli pointer to device client cmd reset cmd. Depends on device in use delay usleep minimal delay after reset command is issued DESCRIPTION Generic I2C reset ...
ms_sensors_show_battery_low(9)
NAME ms_sensors_show_battery_low - Show device battery low indicator SYNOPSIS ssize_t ms_sensors_show_battery_low (struct ms_ht_dev *dev_data , char *buf ); ARGUMENTS dev_data pointer to temperature/humidity device data buf pointer to char buffer to write result DESCRIPTION This function will read...
ms_sensors_show_heater(9)
NAME ms_sensors_show_heater - Show device heater SYNOPSIS ssize_t ms_sensors_show_heater (struct ms_ht_dev *dev_data , char *buf ); ARGUMENTS dev_data pointer to temperature/humidity device data buf pointer to char buffer to write result DESCRIPTION This function will read heater enable value in t...
ms_sensors_tp_crc4(9)
NAME ms_sensors_tp_crc4 - Calculate PROM CRC for Temperature and pressure devices. This function is only used when reading PROM coefficients SYNOPSIS u8 ms_sensors_tp_crc4 (u16 *prom ); ARGUMENTS prom pointer to PROM coefficients array RETURN CRC. SEE ALSO Kernel file ./drivers/iio/common/ms_sensors/ms_sens...
ms_sensors_tp_crc_valid_112(9)
NAME ms_sensors_tp_crc_valid_112 - CRC check function for Temperature and pressure devices for 112bit PROM. This function is only used when reading PROM coefficients SYNOPSIS bool ms_sensors_tp_crc_valid_112 (u16 *prom ); ARGUMENTS prom pointer to PROM coefficients array RETURN True if CRC is ok. SEE ALSO Ke...
ms_sensors_tp_crc_valid_128(9)
NAME ms_sensors_tp_crc_valid_128 - CRC check function for Temperature and pressure devices for 128bit PROM. This function is only used when reading PROM coefficients SYNOPSIS bool ms_sensors_tp_crc_valid_128 (u16 *prom ); ARGUMENTS prom pointer to PROM coefficients array RETURN True if CRC is ok. SEE ALSO Ke...
ms_sensors_tp_read_prom(9)
NAME ms_sensors_tp_read_prom - prom coeff read function SYNOPSIS int ms_sensors_tp_read_prom (struct ms_tp_dev *dev_data ); ARGUMENTS dev_data pointer to temperature/pressure device data DESCRIPTION This function will read prom coefficients and check CRC. This function is used for MS5637 and MS8607 chipsets. RE...
ms_sensors_write_heater(9)
NAME ms_sensors_write_heater - Write device heater SYNOPSIS ssize_t ms_sensors_write_heater (struct ms_ht_dev *dev_data , const char *buf , size_t len ); ARGUMENTS dev_data pointer to temperature/humidity device data buf pointer to char buffer from user space len length of buf DESC...
ms_sensors_write_resolution(9)
NAME ms_sensors_write_resolution - Set resolution function SYNOPSIS ssize_t ms_sensors_write_resolution (struct ms_ht_dev *dev_data , u8 i ); ARGUMENTS dev_data pointer to temperature/humidity device data i resolution index to set DESCRIPTION This function will program the appropriate resolution...
msa311_get_axis(9)
NAME msa311_get_axis - Read MSA311 accel data for certain IIO channel axis spec SYNOPSIS int msa311_get_axis (struct msa311_priv *msa311 , const struct iio_chan_spec * const chan , __le16 *axis ); ARGUMENTS msa311 MSA311 internal private state chan IIO channel specification axis Out...
msa311_get_odr(9)
NAME msa311_get_odr - Read Output Data Rate (ODR) value from MSA311 accel SYNOPSIS int msa311_get_odr (struct msa311_priv *msa311 , unsigned int *odr ); ARGUMENTS msa311 MSA311 internal private state odr output ODR value DESCRIPTION This function should be called under msa311->lock. RETURN 0 on...
msa311_set_odr(9)
NAME msa311_set_odr - Setup Output Data Rate (ODR) value for MSA311 accel SYNOPSIS int msa311_set_odr (struct msa311_priv *msa311 , unsigned int odr ); ARGUMENTS msa311 MSA311 internal private state odr requested ODR value DESCRIPTION This function should be called under msa311->lock. Possible ...
msa311_set_pwr_mode(9)
NAME msa311_set_pwr_mode - Install certain MSA311 power mode SYNOPSIS int msa311_set_pwr_mode (struct msa311_priv *msa311 , unsigned int mode ); ARGUMENTS msa311 MSA311 internal private state mode Power mode can be equal to NORMAL or SUSPEND DESCRIPTION This function should be called under msa311...
msa311_wait_for_next_data(9)
NAME msa311_wait_for_next_data - Wait next accel data available after resume SYNOPSIS int msa311_wait_for_next_data (struct msa311_priv *msa311 ); ARGUMENTS msa311 MSA311 internal private state RETURN 0 on success, -EINTR if msleep was interrupted, -ERRNO in other failures SEE ALSO Kernel file ./drivers/iio/ac...
msc_buffer_alloc(9)
NAME msc_buffer_alloc - allocate a buffer for MSC SYNOPSIS int msc_buffer_alloc (struct msc *msc , unsigned long *nr_pages , unsigned int nr_wins ); ARGUMENTS msc MSC device nr_pages number of pages for each window nr_wins number of windows DESCRIPTION Allocate a storage buffer for MSC...
msc_buffer_clear_hw_header(9)
NAME msc_buffer_clear_hw_header - clear hw header for multiblock SYNOPSIS void msc_buffer_clear_hw_header (struct msc *msc ); ARGUMENTS msc MSC device SEE ALSO Kernel file ./drivers/hwtracing/intel_th/msu.c struct msc_window(9), struct msc_iter(9), struct msc(9), struct msu_buffer_entry(9), msc_is_la...
msc_buffer_contig_alloc(9)
NAME msc_buffer_contig_alloc - allocate a contiguous buffer for SINGLE mode SYNOPSIS int msc_buffer_contig_alloc (struct msc *msc , unsigned long size ); ARGUMENTS msc MSC device size allocation size in bytes DESCRIPTION This modifies msc::base, which requires msc::buf_mutex to serialize, so t...
msc_buffer_contig_free(9)
NAME msc_buffer_contig_free - free a contiguous buffer SYNOPSIS void msc_buffer_contig_free (struct msc *msc ); ARGUMENTS msc MSC configured in SINGLE mode SEE ALSO Kernel file ./drivers/hwtracing/intel_th/msu.c struct msc_window(9), struct msc_iter(9), struct msc(9), struct msu_buffer_entry(9), msc_...
msc_buffer_contig_get_page(9)
NAME msc_buffer_contig_get_page - find a page at a given offset SYNOPSIS struct page * msc_buffer_contig_get_page (struct msc *msc , unsigned long pgoff ); ARGUMENTS msc MSC configured in SINGLE mode pgoff page offset RETURN page, if pgoff is within the range, NULL otherwise. SEE ALSO Kernel ...
msc_buffer_free(9)
NAME msc_buffer_free - free buffers for MSC SYNOPSIS void msc_buffer_free (struct msc *msc ); ARGUMENTS msc MSC device DESCRIPTION Free MSC's storage buffers. This modifies msc::win_list and msc::base, which requires msc::buf_mutex to serialize, so the caller is expected to hold it. SEE ALSO Kernel file ...
msc_buffer_free_unless_used(9)
NAME msc_buffer_free_unless_used - free a buffer unless it's in use SYNOPSIS int msc_buffer_free_unless_used (struct msc *msc ); ARGUMENTS msc MSC device DESCRIPTION This is a locked version of msc_buffer_unlocked_free_unless_used. RETURN 0 on successful deallocation or if there was no buffer to deallocate,...
msc_buffer_get_page(9)
NAME msc_buffer_get_page - get MSC buffer page at a given offset SYNOPSIS struct page * msc_buffer_get_page (struct msc *msc , unsigned long pgoff ); ARGUMENTS msc MSC device pgoff page offset into the storage buffer DESCRIPTION This traverses msc::win_list, so holding msc::buf_mutex is expecte...
msc_buffer_iterate(9)
NAME msc_buffer_iterate - go through multiblock buffer's data SYNOPSIS ssize_t msc_buffer_iterate (struct msc_iter *iter , size_t size , void *data , unsigned long (*fn)(void *, void *, size_t) ); ARGUMENTS iter iterator structure size amount of data to scan data callback's privat...
msc_buffer_relink(9)
NAME msc_buffer_relink - set up block descriptors for multiblock mode SYNOPSIS void msc_buffer_relink (struct msc *msc ); ARGUMENTS msc MSC device DESCRIPTION This traverses msc::win_list, which requires msc::buf_mutex to serialize, so the caller is expected to hold it. SEE ALSO Kernel file ./drivers/hwtr...
msc_buffer_unlocked_free_unless_used(9)
NAME msc_buffer_unlocked_free_unless_used - free a buffer unless it's in use SYNOPSIS int msc_buffer_unlocked_free_unless_used (struct msc *msc ); ARGUMENTS msc MSC device DESCRIPTION This will free MSC buffer unless it is in use or there is no allocated buffer. Caller needs to hold msc::buf_mutex. RETURN ...
msc_buffer_win_alloc(9)
NAME msc_buffer_win_alloc - alloc a window for a multiblock mode SYNOPSIS int msc_buffer_win_alloc (struct msc *msc , unsigned int nr_blocks ); ARGUMENTS msc MSC device nr_blocks number of pages in this window DESCRIPTION This modifies msc::win_list and msc::base, which requires msc::buf_mutex to s...
msc_buffer_win_free(9)
NAME msc_buffer_win_free - free a window from MSC's window list SYNOPSIS void msc_buffer_win_free (struct msc *msc , struct msc_window *win ); ARGUMENTS msc MSC device win window to free DESCRIPTION This modifies msc::win_list and msc::base, which requires msc::buf_mutex to serialize, so the ...
msc_configure(9)
NAME msc_configure - set up MSC hardware SYNOPSIS int msc_configure (struct msc *msc ); ARGUMENTS msc the MSC device to configure DESCRIPTION Program storage mode, wrapping, burst length and trace buffer address into a given MSC. Then, enable tracing and set msc::enabled. The latter is serialized on msc::bu...
msc_disable(9)
NAME msc_disable - disable MSC hardware SYNOPSIS void msc_disable (struct msc *msc ); ARGUMENTS msc MSC device to disable DESCRIPTION If msc is enabled, disable tracing on the switch and then disable MSC storage. Caller must hold msc::buf_mutex. SEE ALSO Kernel file ./drivers/hwtracing/intel_th/msu.c str...
msc_find_window(9)
NAME msc_find_window - find a window matching a given sg_table SYNOPSIS struct msc_window * msc_find_window (struct msc *msc , struct sg_table *sgt , bool nonempty ); ARGUMENTS msc MSC device sgt SG table of the window nonempty skip over empty windows RETURN MSC window structure po...
msc_is_last_win(9)
NAME msc_is_last_win - check if a window is the last one for a given MSC SYNOPSIS bool msc_is_last_win (struct msc_window *win ); ARGUMENTS win window RETURN true if win is the last window in MSC's multiblock buffer SEE ALSO Kernel file ./drivers/hwtracing/intel_th/msu.c struct msc_window(9), struct msc...
msc_next_window(9)
NAME msc_next_window - return next window in the multiblock buffer SYNOPSIS struct msc_window * msc_next_window (struct msc_window *win ); ARGUMENTS win current window RETURN window following the current one SEE ALSO Kernel file ./drivers/hwtracing/intel_th/msu.c struct msc_window(9), struct msc_iter(9)...
msc_oldest_window(9)
NAME msc_oldest_window - locate the window with oldest data SYNOPSIS struct msc_window * msc_oldest_window (struct msc *msc ); ARGUMENTS msc MSC device DESCRIPTION This should only be used in multiblock mode. Caller should hold the msc::user_count reference. RETURN the oldest window with valid data SEE ALS...
msc_win_oldest_sg(9)
NAME msc_win_oldest_sg - locate the oldest block in a given window SYNOPSIS struct scatterlist * msc_win_oldest_sg (struct msc_window *win ); ARGUMENTS win window to look at RETURN index of the block with the oldest data SEE ALSO Kernel file ./drivers/hwtracing/intel_th/msu.c struct msc_window(9), stru...
msc_win_to_user(9)
NAME msc_win_to_user - iterator for msc_buffer_iterate() to copy data to user SYNOPSIS unsigned long msc_win_to_user (void *data , void *src , size_t len ); ARGUMENTS data callback's private data src source buffer len amount of data to copy from the source buffer RETURN >= 0 fo...
msecs_to_jiffies(9)
NAME msecs_to_jiffies - - convert milliseconds to jiffies SYNOPSIS unsigned long msecs_to_jiffies (const unsigned int m ); ARGUMENTS m time in milliseconds DESCRIPTION conversion is done as follows: - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET) - 'too large' values [that would result in lar...
msg_command_size(9)
NAME msg_command_size - Actual size of transport SDU for command. SYNOPSIS size_t msg_command_size (struct scmi_xfer *xfer ); ARGUMENTS xfer message which core has prepared for sending RETURN transport SDU size. SEE ALSO Kernel file ./drivers/firmware/arm_scmi/msg.c msg_response_size(9), msg_tx_prepare(9), m...
msg_fetch_notification(9)
NAME msg_fetch_notification - Fetch notification payload from transport SDU. SYNOPSIS void msg_fetch_notification (struct scmi_msg_payld *msg , size_t len , size_t max_len , struct scmi_xfer *xfer ); ARGUMENTS msg transport SDU with notification len transport SDU size max_len maxim...
msg_fetch_response(9)
NAME msg_fetch_response - Fetch response SCMI payload from transport SDU. SYNOPSIS void msg_fetch_response (struct scmi_msg_payld *msg , size_t len , struct scmi_xfer *xfer ); ARGUMENTS msg transport SDU with response len transport SDU size xfer message being responded to SEE A...
msg_read_header(9)
NAME msg_read_header - Read SCMI header from transport SDU. SYNOPSIS u32 msg_read_header (struct scmi_msg_payld *msg ); ARGUMENTS msg transport SDU RETURN SCMI header SEE ALSO Kernel file ./drivers/firmware/arm_scmi/msg.c msg_command_size(9), msg_response_size(9), msg_tx_prepare(9), msg_fetch_response(9), m...
msg_response_size(9)
NAME msg_response_size - Maximum size of transport SDU for response. SYNOPSIS size_t msg_response_size (struct scmi_xfer *xfer ); ARGUMENTS xfer message which core has prepared for sending RETURN transport SDU size. SEE ALSO Kernel file ./drivers/firmware/arm_scmi/msg.c msg_command_size(9), msg_tx_prepare(9)...
msg_to_mgmt_async(9)
NAME msg_to_mgmt_async - send message to mgmt without response SYNOPSIS int msg_to_mgmt_async (struct hinic_pf_to_mgmt *pf_to_mgmt , enum hinic_mod_type mod , u8 cmd , u8 *buf_in , u16 in_size , enum mgmt_direction_type direction , u16 resp_msg_id ); ARGUMENTS pf_to_mgmt PF to MGMT channel mod module...
msg_to_mgmt_sync(9)
NAME msg_to_mgmt_sync - send sync message to mgmt SYNOPSIS int msg_to_mgmt_sync (struct hinic_pf_to_mgmt *pf_to_mgmt , enum hinic_mod_type mod , u8 cmd , u8 *buf_in , u16 in_size , u8 *buf_out , u16 *out_size , enum mgmt_direction_type direction , u16 resp_msg_id , u32 timeout ); ARGUMENTS pf_to_mgmt PF to MGMT chan...
msg_tx_prepare(9)
NAME msg_tx_prepare - Set up transport SDU for command. SYNOPSIS void msg_tx_prepare (struct scmi_msg_payld *msg , struct scmi_xfer *xfer ); ARGUMENTS msg transport SDU for command xfer message which is being sent SEE ALSO Kernel file ./drivers/firmware/arm_scmi/msg.c msg_command_size(9), msg_...
msgb_bytes_used(9)
NAME msgb_bytes_used - Return the current number of bytes used in the buffer. SYNOPSIS size_t msgb_bytes_used (const struct msgbuf *msgb ); ARGUMENTS msgb The message buffer. SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_msgb.h struct msgbuf(9), msgb_init(9), msgb_push_u16(9), msgb_push_syn(...
msgb_init(9)
NAME msgb_init - Initialize the given message buffer struct. SYNOPSIS void msgb_init (struct msgbuf *msgb , u8 *ptr , size_t cap ); ARGUMENTS msgb The buffer struct to initialize ptr Pointer to the underlying memory by which the buffer will be backed. cap Size of the underlying ...
msgb_push_ack(9)
NAME msgb_push_ack - Push a SSH ACK frame to the buffer. SYNOPSIS void msgb_push_ack (struct msgbuf *msgb , u8 seq ); ARGUMENTS msgb The message buffer seq The sequence ID of the frame/packet to be ACKed. SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_msgb.h struct msgb...
msgb_push_buf(9)
NAME msgb_push_buf - Push raw data to the buffer. SYNOPSIS void msgb_push_buf (struct msgbuf *msgb , const u8 *buf , size_t len ); ARGUMENTS msgb The message buffer. buf The data to push to the buffer. len The length of the data to push to the buffer. SEE ALSO Kernel file ....
msgb_push_cmd(9)
NAME msgb_push_cmd - Push a SSH command frame with payload to the buffer. SYNOPSIS void msgb_push_cmd (struct msgbuf *msgb , u8 seq , u16 rqid , const struct ssam_request *rqst ); ARGUMENTS msgb The message buffer. seq The sequence ID (SEQ) of the frame/packet. rqid The request I...
msgb_push_crc(9)
NAME msgb_push_crc - Compute CRC and push it to the buffer. SYNOPSIS void msgb_push_crc (struct msgbuf *msgb , const u8 *buf , size_t len ); ARGUMENTS msgb The message buffer. buf The data for which the CRC should be computed. len The length of the data for which the CRC should ...
msgb_push_frame(9)
NAME msgb_push_frame - Push a SSH message frame header to the buffer. SYNOPSIS void msgb_push_frame (struct msgbuf *msgb , u8 ty , u16 len , u8 seq ); ARGUMENTS msgb The message buffer ty The type of the frame. len The length of the payload of the frame. seq The...
msgb_push_nak(9)
NAME msgb_push_nak - Push a SSH NAK frame to the buffer. SYNOPSIS void msgb_push_nak (struct msgbuf *msgb ); ARGUMENTS msgb The message buffer SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_msgb.h struct msgbuf(9), msgb_init(9), msgb_bytes_used(9), msgb_push_u16(9), msgb_push_syn...
msgb_push_syn(9)
NAME msgb_push_syn - Push SSH SYN bytes to the buffer. SYNOPSIS void msgb_push_syn (struct msgbuf *msgb ); ARGUMENTS msgb The message buffer. SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_msgb.h struct msgbuf(9), msgb_init(9), msgb_bytes_used(9), msgb_push_u16(9), msgb_push_buf(...
msgb_push_u16(9)
NAME msgb_push_u16 - Push a u16 value to the buffer. SYNOPSIS void msgb_push_u16 (struct msgbuf *msgb , u16 value ); ARGUMENTS msgb The message buffer. value The value to push to the buffer. SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_msgb.h struct msgbuf(9), msgb_in...
msgctl(2)
NAME msgctl - System V message control operations LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/msg.h> int msgctl(int msqid, int op, struct msqid_ds *buf); DESCRIPTION msgctl() performs the control operation specified by op on the System V message queue with identifier msqid. The msqi...
msgctl(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 msgctl — XSI message control operations SYNOPSIS #include <sys...
msgdma_alloc_chan_resources(9)
NAME msgdma_alloc_chan_resources - Allocate channel resources SYNOPSIS int msgdma_alloc_chan_resources (struct dma_chan *dchan ); ARGUMENTS dchan DMA channel RETURN Number of descriptors on success and failure value on error SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdma_extended_desc(9)...
msgdma_chan_desc_cleanup(9)
NAME msgdma_chan_desc_cleanup - Cleanup the completed descriptors SYNOPSIS void msgdma_chan_desc_cleanup (struct msgdma_device *mdev ); ARGUMENTS mdev Pointer to the Altera mSGDMA device structure SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdma_extended_desc(9), struct msgdma_sw_desc(9), m...
msgdma_complete_descriptor(9)
NAME msgdma_complete_descriptor - Mark the active descriptor as complete SYNOPSIS void msgdma_complete_descriptor (struct msgdma_device *mdev ); ARGUMENTS mdev Pointer to the Altera mSGDMA device structure SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdma_extended_desc(9), struct msgdma_sw_d...
msgdma_copy_desc_to_fifo(9)
NAME msgdma_copy_desc_to_fifo - copy descriptor(s) into controller FIFO SYNOPSIS void msgdma_copy_desc_to_fifo (struct msgdma_device *mdev , struct msgdma_sw_desc *desc ); ARGUMENTS mdev Pointer to the Altera mSGDMA device structure desc Transaction descriptor pointer SEE ALSO Kernel file ./d...
msgdma_desc_config(9)
NAME msgdma_desc_config - Configure the descriptor SYNOPSIS void msgdma_desc_config (struct msgdma_extended_desc *desc , dma_addr_t dst , dma_addr_t src , size_t len , u32 stride ); ARGUMENTS desc Hw descriptor pointer dst Destination buffer address src Source buffer address ...
msgdma_desc_config_eod(9)
NAME msgdma_desc_config_eod - Mark the descriptor as end descriptor SYNOPSIS void msgdma_desc_config_eod (struct msgdma_extended_desc *desc ); ARGUMENTS desc Hw descriptor pointer SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdma_extended_desc(9), struct msgdma_sw_desc(9), msgdma_get_descr...
msgdma_dev_remove(9)
NAME msgdma_dev_remove - Device remove function SYNOPSIS void msgdma_dev_remove (struct msgdma_device *mdev ); ARGUMENTS mdev Pointer to the Altera mSGDMA device structure SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdma_extended_desc(9), struct msgdma_sw_desc(9), msgdma_get_descriptor(9), ...
msgdma_free_chan_resources(9)
NAME msgdma_free_chan_resources - Free channel resources SYNOPSIS void msgdma_free_chan_resources (struct dma_chan *dchan ); ARGUMENTS dchan DMA channel pointer SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdma_extended_desc(9), struct msgdma_sw_desc(9), msgdma_get_descriptor(9), msgdma_free_...
msgdma_free_desc_list(9)
NAME msgdma_free_desc_list - Free descriptors list SYNOPSIS void msgdma_free_desc_list (struct msgdma_device *mdev , struct list_head *list ); ARGUMENTS mdev Pointer to the Altera mSGDMA device structure list List to parse and delete the descriptor SEE ALSO Kernel file ./drivers/dma/altera-ms...
msgdma_free_descriptor(9)
NAME msgdma_free_descriptor - Issue pending transactions SYNOPSIS void msgdma_free_descriptor (struct msgdma_device *mdev , struct msgdma_sw_desc *desc ); ARGUMENTS mdev Pointer to the Altera mSGDMA device structure desc Transaction descriptor pointer SEE ALSO Kernel file ./drivers/dma/altera...
msgdma_free_descriptors(9)
NAME msgdma_free_descriptors - Free channel descriptors SYNOPSIS void msgdma_free_descriptors (struct msgdma_device *mdev ); ARGUMENTS mdev Pointer to the Altera mSGDMA device structure SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdma_extended_desc(9), struct msgdma_sw_desc(9), msgdma_get_d...
msgdma_get_descriptor(9)
NAME msgdma_get_descriptor - Get the sw descriptor from the pool SYNOPSIS struct msgdma_sw_desc * msgdma_get_descriptor (struct msgdma_device *mdev ); ARGUMENTS mdev Pointer to the Altera mSGDMA device structure RETURN The sw descriptor SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdma_ext...
msgdma_irq_handler(9)
NAME msgdma_irq_handler - Altera mSGDMA Interrupt handler SYNOPSIS irqreturn_t msgdma_irq_handler (int irq , void *data ); ARGUMENTS irq IRQ number data Pointer to the Altera mSGDMA device structure RETURN IRQ_HANDLED/IRQ_NONE SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdm...
msgdma_issue_pending(9)
NAME msgdma_issue_pending - Issue pending transactions SYNOPSIS void msgdma_issue_pending (struct dma_chan *chan ); ARGUMENTS chan DMA channel pointer SEE ALSO Kernel file ./drivers/dma/altera-msgdma.c struct msgdma_extended_desc(9), struct msgdma_sw_desc(9), msgdma_get_descriptor(9), msgdma_free_descript...