relay_flush (9) Linux Manual Page
relay_flush – close the channel Synopsis void relay_flush(struct rchan *chan); Arguments chan the channel Description Flushes all channel buffers, i.e. forces buffer switch. Copyright
relay_flush – close the channel Synopsis void relay_flush(struct rchan *chan); Arguments chan the channel Description Flushes all channel buffers, i.e. forces buffer switch. Copyright
relay_file_release – release file op for relay files Synopsis int relay_file_release(struct inode *inode, struct file *filp); Arguments inode the inode filp the file Description Decrements the channel refcount, as the filesystem is no longer using it. Copyright
relay_file_read_subbuf_avail – return bytes available in sub-buffer Synopsis size_t relay_file_read_subbuf_avail(size_t read_pos, struct rchan_buf *buf); Arguments read_pos file read position buf relay channel buffer Copyright
relay_file_read_start_pos – find the first available byte to read Synopsis size_t relay_file_read_start_pos(size_t read_pos, struct rchan_buf *buf); Arguments read_pos file read position buf relay channel buffer Description If the read_pos is in the middle of padding, return the position of the first actually available byte, otherwise return the original value. Copyright
relay_file_read_end_pos – return the new read position Synopsis size_t relay_file_read_end_pos(struct rchan_buf *buf, size_t read_pos, size_t count); Arguments buf relay channel buffer read_pos file read position count number of bytes to be read Copyright
relay_file_poll – poll file op for relay files Synopsis unsigned int relay_file_poll(struct file *filp, poll_table *wait); Arguments filp the file wait poll table Description Poll implemention. Copyright
relay_file_open – open file op for relay files Synopsis int relay_file_open(struct inode *inode, struct file *filp); Arguments inode the inode filp the file Description Increments the channel buffer refcount. Copyright
relay_file_mmap – mmap file op for relay files Synopsis int relay_file_mmap(struct file *filp, struct vm_area_struct *vma); Arguments filp the file vma the vma describing what to map Description Calls upon relay_mmap_buf to map the file into user space. Copyright
relay_destroy_channel – free the channel struct Synopsis void relay_destroy_channel(struct kref *kref); Arguments kref target kernel reference that contains the relay channel Description Should only be called from kref_put. Copyright
relay_destroy_buf – destroy an rchan_buf struct and associated buffer Synopsis void relay_destroy_buf(struct rchan_buf *buf); Arguments buf the buffer struct Copyright
relay_create_buf – allocate and initialize a channel buffer Synopsis struct rchan_buf *relay_create_buf(struct rchan *chan); Arguments chan the relay channel Description Returns channel buffer if successful, NULL otherwise. Copyright
relay_close_buf – close a channel buffer Synopsis void relay_close_buf(struct rchan_buf *buf); Arguments buf channel buffer Description Marks the buffer finalized and restores the default callbacks. The channel buffer and channel buffer data structure are then freed automatically when the last reference is given up. Copyright
relay_close – close the channel Synopsis void relay_close(struct rchan *chan); Arguments chan the channel Description Closes all channel buffers and frees the channel. Copyright
relay_buf_full – boolean, is the channel buffer full? Synopsis int relay_buf_full(struct rchan_buf *buf); Arguments buf channel buffer Description Returns 1 if the buffer is full, 0 otherwise. Copyright
relay_buf_empty – boolean, is the channel buffer empty? Synopsis int relay_buf_empty(struct rchan_buf *buf); Arguments buf channel buffer Description Returns 1 if the buffer is empty, 0 otherwise. Copyright
relay_alloc_buf – allocate a channel buffer Synopsis void *relay_alloc_buf(struct rchan_buf *buf, size_t *size); Arguments buf the buffer struct size total size of the buffer Description Returns a pointer to the resulting buffer, NULL if unsuccessful. The passed in size will get page aligned, if it isn’t already. Copyright
regulator_unregister_supply_alias – Remove device alias Synopsis void regulator_unregister_supply_alias(struct device *dev, const char *id); Arguments dev device that will be given as the regulator “consumer” id Supply name or regulator ID Description Remove a lookup alias if one exists for id on dev. Authors Liam Girdwood <lrg [at] slimlogic.co.uk> Author. Mark Brown <broonie [at] opensource.wolfsonmicro.com> Wolfson…
regulator_unregister_notifier – unregister regulator event notifier Synopsis int regulator_unregister_notifier(struct regulator *regulator, struct notifier_block *nb); Arguments regulator regulator source nb notifier block Description Unregister regulator event notifier block. Authors Liam Girdwood <lrg [at] slimlogic.co.uk> Author. Mark Brown <broonie [at] opensource.wolfsonmicro.com> Wolfson Microelectronics, Author. Copyright
regulator_unregister – unregister regulator Synopsis void regulator_unregister(struct regulator_dev *rdev); Arguments rdev regulator to unregister Description Called by regulator drivers to unregister a regulator. Authors Liam Girdwood <lrg [at] slimlogic.co.uk> Author. Mark Brown <broonie [at] opensource.wolfsonmicro.com> Wolfson Microelectronics, Author. Copyright
regulator_sync_voltage – re-apply last regulator output voltage Synopsis int regulator_sync_voltage(struct regulator *regulator); Arguments regulator regulator source Description Re-apply the last configured voltage. This is intended to be used where some external control source the consumer is cooperating with has caused the configured voltage to change. Authors Liam Girdwood <lrg [at] slimlogic.co.uk> Author. Mark Brown <broonie…