HomeSort by: relevance | last modified time | path
    Searched refs:other_settings (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/dev/usb/
umcpmio_gpio.c 67 mcp2210_counter_gp_to_flags(uint8_t other_settings)
71 switch ((other_settings >> 1) & 0x07) {
86 printf("mcp2210_counter_gp_to_flags: Unhandled flag on counter pin: 0x%02x\n", other_settings);
973 if (mcp2210_counter_gp_to_flags(mcp2210_get_gpio_sram_res.other_settings) != GPIO_PIN_ALT3) {
974 mcp2210_set_gpio_sram_req.other_settings &= 0xf1;
975 mcp2210_set_gpio_sram_req.other_settings |= MCP2210_COUNTER_FALLING_EDGE << 1;
986 if (mcp2210_counter_gp_to_flags(mcp2210_get_gpio_sram_res.other_settings) != GPIO_PIN_ALT4) {
987 mcp2210_set_gpio_sram_req.other_settings &= 0xf1;
988 mcp2210_set_gpio_sram_req.other_settings |= MCP2210_COUNTER_RISING_EDGE << 1;
999 if (mcp2210_counter_gp_to_flags(mcp2210_get_gpio_sram_res.other_settings) != GPIO_PIN_ALT5)
    [all...]
umcpmio_hid_reports.h 154 uint8_t other_settings; member in struct:mcp2210_get_gpio_sram_res
175 uint8_t other_settings; member in struct:mcp2210_set_gpio_sram_req
421 uint8_t other_settings; member in struct:mcp2210_set_nvram_req::__anon3798::__anon3800
508 uint8_t other_settings; member in struct:mcp2210_get_nvram_res::__anon3804::__anon3806
  /src/usr.sbin/umcpmioctl/
putflash.c 192 "- DIRECTION: %02x %02x - VALUE: %02x %02x - OTHER_SETTINGS: %02x\n",
206 current_flash.res.mcp2210_get_nvram_res.u.cs.other_settings);
277 req->u.cs.other_settings &= 0xf1;
278 req->u.cs.other_settings |= MCP2210_COUNTER_FALLING_EDGE << 1;
284 req->u.cs.other_settings &= 0xf1;
285 req->u.cs.other_settings |= MCP2210_COUNTER_RISING_EDGE << 1;
290 req->u.cs.other_settings &= 0xf1;
291 req->u.cs.other_settings |= MCP2210_COUNTER_LOW_PULSE << 1;
296 req->u.cs.other_settings &= 0xf1;
297 req->u.cs.other_settings |= MCP2210_COUNTER_HIGH_PULSE << 1
    [all...]

Completed in 63 milliseconds