Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 02-09-2015, 05:54 AM   #1
Registered: Aug 2014
Posts: 118

Rep: Reputation: Disabled
Applicability of using the functions in linux/ioport.h , asm/io.h in device drivers


While writing device drivers to access memory regions in peripherals there are some functions declared in <asm/io.h> , <linux/ioport.h>. But those are not applicable to all peripherals as there are many peripherals which are all not of same type of memory access. So those functions should be of some having generic type of memory access i guess correct me if not. If I am right, then how to decide that those functions can be applied for any peripheral?

Please help!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
libnet-functions.h:1432:error:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before Jane2008 Linux - Newbie 2 11-13-2009 03:36 AM
[SOLVED] Help to undestand the applicability of an iPod Nano in Puppy Linux Benny7440 Linux - Software 1 09-21-2009 10:14 AM
How to use C functions in asm? LongName Programming 4 08-29-2004 12:25 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration