Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_ccwgroup_driver(9) [centos man page]

STRUCT 
CCWGROUP_DRIV(9) The ccwgroup bus STRUCT CCWGROUP_DRIV(9) NAME
struct_ccwgroup_driver - driver for ccw group devices SYNOPSIS
struct ccwgroup_driver { int (* setup) (struct ccwgroup_device *); void (* remove) (struct ccwgroup_device *); int (* set_online) (struct ccwgroup_device *); int (* set_offline) (struct ccwgroup_device *); void (* shutdown) (struct ccwgroup_device *); int (* prepare) (struct ccwgroup_device *); void (* complete) (struct ccwgroup_device *); int (* freeze) (struct ccwgroup_device *); int (* thaw) (struct ccwgroup_device *); int (* restore) (struct ccwgroup_device *); struct device_driver driver; }; MEMBERS
setup function called during device creation to setup the device remove function called on remove set_online function called when device is set online set_offline function called when device is set offline shutdown function called when device is shut down prepare prepare for pm state transition complete undo work done in prepare freeze callback for freezing during hibernation snapshotting thaw undo work done in freeze restore callback for restoring after hibernation driver embedded driver structure AUTHOR
Cornelia Huck <cornelia.huck@de.ibm.com> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT CCWGROUP_DRIV(9)

Check Out this Related Man Page

STRUCT 
SPI_DRIVER(9) Serial Peripheral Interface (S STRUCT SPI_DRIVER(9) NAME
struct_spi_driver - Host side "protocol" driver SYNOPSIS
struct spi_driver { const struct spi_device_id * id_table; int (* probe) (struct spi_device *spi); int (* remove) (struct spi_device *spi); void (* shutdown) (struct spi_device *spi); int (* suspend) (struct spi_device *spi, pm_message_t mesg); int (* resume) (struct spi_device *spi); struct device_driver driver; }; MEMBERS
id_table List of SPI devices supported by this driver probe Binds this driver to the spi device. Drivers can verify that the device is actually present, and may need to configure characteristics (such as bits_per_word) which weren't needed for the initial configuration done during system setup. remove Unbinds this driver from the spi device shutdown Standard shutdown callback used during system state transitions such as powerdown/halt and kexec suspend Standard suspend callback used during system state transitions resume Standard resume callback used during system state transitions driver SPI device drivers should initialize the name and owner field of this structure. DESCRIPTION
This represents the kind of device driver that uses SPI messages to interact with the hardware at the other end of a SPI link. It's called a "protocol" driver because it works through messages rather than talking directly to SPI hardware (which is what the underlying SPI controller driver does to pass those messages). These protocols are defined in the specification for the device(s) supported by the driver. As a rule, those device protocols represent the lowest level interface supported by a driver, and it will support upper level interfaces too. Examples of such upper levels include frameworks like MTD, networking, MMC, RTC, filesystem character device nodes, and hardware monitoring. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT SPI_DRIVER(9)
Man Page

6 More Discussions You Might Find Interesting

1. Programming

freeBSD device driver (use struct uio)

Hi, everybody I have next problem... 1) My Example program code void main() { int fd; int len; int buf; fd=open("mydev", O_RDONLY); lseek(fd, 0, SEEK_SET); len=read(fd, buf, sizeof(buf)); } 2) My Example Driver code static int mydev_read(dev_t dev, ?, ?, struct uio* uio) {... (0 Replies)
Discussion started by: Alex_T
0 Replies

2. Programming

struct tm problem

I receive an integer as argument for a function. within function definition i want it to be of type struct tm. eg.. main() { int a; ...... } function(...,..,a,..) int a; { struct tm tm; if(!a) ^ time(&a); ^ ... (4 Replies)
Discussion started by: bankpro
4 Replies

3. AIX

remove device

Hello I need to remove a device (tape rmt0) for to put dinamic in another lpar but when I try to remove I get the next message I try also If there are some process about it but nothing. and before that the device was available and I put on defined status but the same thing I canīt remove it.... (3 Replies)
Discussion started by: lo-lp-kl
3 Replies

4. AIX

How to prepare for Test 190: AIX Basic Operations V5

Hi I like to sit for the exam Test 190: AIX Basic Operations V5. Could any one tell me how to prepare for that. It would be very helpful if I get a PDF. I have searched at redbooks.ibm.com but get nothing. thanks in advance suman (2 Replies)
Discussion started by: sumanbangladesh
2 Replies

5. SCO

Panic: k_trap; unable to freeze processor

I shutdown my sco 5.0.7 machine about a month and a half ago and upon bringing it back up got the following kernel panic: Panic: k_trap - Kernel mode trap type0x0000000E Unable to freeze processor 2, proceeding.... Cannot dump ?????? pages (I don't remember how many pages it was) Dump not... (0 Replies)
Discussion started by: powwm
0 Replies

6. Red Hat

Can't boot RHEL7.2 due to "Start Job is Running"

Dear community, as already done tons of times, I prepare the RedHat installation on VMWare, then clone it with clonezilla, and finally restore it on final server. Due to different hrdware, I have to boot from rhel-server-7.4-x86_64-boot.iso cd and rewrite the initramfs that contains the hardware... (3 Replies)
Discussion started by: Lord Spectre
3 Replies