Searched refs:new_config (Results 1 – 4 of 4) sorted by relevance
1629 struct hayes_esp_config new_config; in set_esp_config() local1640 if (copy_from_user(&new_config, new_info, sizeof(new_config))) in set_esp_config()1643 if ((new_config.flow_on >= new_config.flow_off) || in set_esp_config()1644 (new_config.rx_trigger < 1) || in set_esp_config()1645 (new_config.tx_trigger < 1) || in set_esp_config()1646 (new_config.flow_off < 1) || in set_esp_config()1647 (new_config.flow_on < 1) || in set_esp_config()1648 (new_config.rx_trigger > 1023) || in set_esp_config()1649 (new_config.tx_trigger > 1023) || in set_esp_config()1650 (new_config.flow_off > 1023) || in set_esp_config()[all …]
31 u32 config, new_config; in scx200_gpio_configure() local39 new_config = (config & mask) | bits; in scx200_gpio_configure()40 outl(new_config, scx200_gpio_base + 0x24); in scx200_gpio_configure()
415 u32 old_config, new_config; in sb1250pc_set_mem_map() local433 new_config = old_config | M_PCMCIA_CFG_ATTRMEM; in sb1250pc_set_mem_map()436 new_config = old_config & ~M_PCMCIA_CFG_ATTRMEM; in sb1250pc_set_mem_map()438 if (new_config != old_config) in sb1250pc_set_mem_map()439 sb1250pc_write_config(new_config); in sb1250pc_set_mem_map()
639 u8 config, new_config; member1382 fsg->new_config = ctrl->wValue; in standard_setup_req()3133 static int do_set_config(struct fsg_dev *fsg, u8 new_config) in do_set_config() argument3145 if (new_config != 0) { in do_set_config()3146 fsg->config = new_config; in do_set_config()3175 u8 new_config; in handle_exception() local3239 new_config = fsg->new_config; in handle_exception()3304 rc = do_set_config(fsg, new_config); in handle_exception()