Searched refs:other_settings (Results 1 - 3 of 3) sorted by relevance

/src/sys/dev/usb/
H A Dumcpmio_gpio.c67 mcp2210_counter_gp_to_flags(uint8_t other_settings) argument
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) !
[all...]
H A Dumcpmio_hid_reports.h154 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::__anon70a7b65a010a::__anon70a7b65a0308
508 uint8_t other_settings; member in struct:mcp2210_get_nvram_res::__anon70a7b65a070a::__anon70a7b65a0908
/src/usr.sbin/umcpmioctl/
H A Dputflash.c206 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;

Completed in 7 milliseconds