Home
last modified time | relevance | path

Searched refs:new_cfg (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/arm/broadcom/bcm2835/
H A Draspberrypi_gpio.c75 union msg_set_gpio_config new_cfg; in rpi_fw_gpio_pin_configure() local
79 bzero(&new_cfg, sizeof(new_cfg)); in rpi_fw_gpio_pin_configure()
90 new_cfg.req.gpio = RPI_FW_GPIO_BASE + pin->gp_pin; in rpi_fw_gpio_pin_configure()
92 new_cfg.req.dir = BCM2835_FIRMWARE_GPIO_IN; in rpi_fw_gpio_pin_configure()
93 new_cfg.req.state = 0; in rpi_fw_gpio_pin_configure()
96 new_cfg.req.dir = BCM2835_FIRMWARE_GPIO_OUT; in rpi_fw_gpio_pin_configure()
99 new_cfg.req.state = 1; in rpi_fw_gpio_pin_configure()
102 new_cfg.req.state = 0; in rpi_fw_gpio_pin_configure()
107 new_cfg.req.state = 1; in rpi_fw_gpio_pin_configure()
109 new_cfg.req.state = 0; in rpi_fw_gpio_pin_configure()
[all …]
/freebsd/sys/dev/ice/
H A Dice_lib.c166 struct ice_dcbx_cfg *new_cfg);
8671 * @new_cfg: New DCBX configuration to check in ice_pf_vsi_cfg_tc()
8673 * @return true if something changed in new_cfg that requires the driver in ice_pf_vsi_cfg_tc()
8678 struct ice_dcbx_cfg *new_cfg) in ice_pf_vsi_cfg_tc()
8684 if (!memcmp(old_cfg, new_cfg, sizeof(*old_cfg))) { in ice_pf_vsi_cfg_tc()
8691 if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, in ice_pf_vsi_cfg_tc()
8692 sizeof(new_cfg->etscfg))) { in ice_pf_vsi_cfg_tc()
8694 if (memcmp(&new_cfg->etscfg.prio_table, in ice_pf_vsi_cfg_tc()
8696 sizeof(new_cfg->etscfg.prio_table))) { in ice_pf_vsi_cfg_tc()
8702 if (memcmp(&new_cfg in ice_pf_vsi_cfg_tc()
8489 ice_dcb_needs_reconfig(struct ice_softc * sc,struct ice_dcbx_cfg * old_cfg,struct ice_dcbx_cfg * new_cfg) ice_dcb_needs_reconfig() argument
[all...]