Lines Matching defs:enable
389 static void qeth_l2_promisc_to_bridge(struct qeth_card *card, bool enable)
396 if (enable) {
405 QETH_CARD_TEXT_(card, 2, "bpm%c%04x", enable ? '+' : '-', rc);
408 card->info.promisc_mode = enable;
414 bool enable = card->dev->flags & IFF_PROMISC;
416 if (card->info.promisc_mode == enable)
420 qeth_setadp_promisc_mode(card, enable);
424 qeth_l2_promisc_to_bridge(card, enable);
734 * @enable: Enable or disable 'dev to bridge network address notification'
738 * On enable, emits a series of address notifications for all
743 static int qeth_l2_dev2br_an_set(struct qeth_card *card, bool enable)
747 if (enable) {
804 bool enable, has_protinfo = false;
837 enable = !!nla_get_u8(bp_tb[IFLA_BRPORT_LEARNING_SYNC]);
839 if (enable == !!(priv->brport_features & BR_LEARNING_SYNC))
847 } else if (enable) {
1027 "failed to enable bridge learning_sync: %d\n",
1731 * @enable: 0 - disable, non-zero - enable notifications
1735 * On enable, emits a series of address notifications udev events for all
1738 int qeth_bridgeport_an_set(struct qeth_card *card, int enable)
1745 if (enable) {
1866 /* VNICC enable/disable characteristic request */
1925 /* check if characteristic and enable/disable are supported */
1933 /* set enable/disable command and store wanted characteristic */
2089 bool enable)
2091 u32 cmd = enable ? IPA_VNICC_ENABLE : IPA_VNICC_DISABLE;
2106 bool enable, error = false;
2154 enable = card->options.vnicc.wanted_chars & vnicc;
2155 error |= qeth_l2_vnicc_recover_char(card, vnicc, enable);