You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
FTDI_kernel_space_gpio_driver/gpio_callbacks.c

20 lines
569 B

static int get_value(struct gpio_chip *gc, unsigned offset){
DEBUG_OUT("<1>%s: GET_VALUE of pin%d ",MOD_NAME,offset);
return 0;
}
static void set_value(struct gpio_chip *chip, unsigned offset, int value){
DEBUG_OUT("<1>%s: SET_VALUE of pin%d to %d",MOD_NAME,offset,value);
}
static int set_in(struct gpio_chip *chip, unsigned offset){
DEBUG_OUT("<1>%s: SET_INPUT of pin%d ",MOD_NAME,offset);
return 0;
}
static int set_out(struct gpio_chip *chip, unsigned offset, int value){
DEBUG_OUT("<1>%s: SET_OUTPUT of pin%d to %d",MOD_NAME,offset,value);
return 0;
}