Home
last modified time | relevance | path

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

/linux/Documentation/networking/
H A Dbatman-adv.rst33 $ ip link add name bat0 type batadv
35 To activate a given interface simply attach it to the ``bat0`` interface::
37 $ ip link set dev eth0 master bat0
42 To deactivate an interface you have to detach it from the "bat0" interface::
48 batctl -m bat0 interface create
49 batctl -m bat0 interface add -M eth0
51 To detach eth0 and destroy bat0::
53 batctl -m bat0 interface del -M eth0
54 batctl -m bat0 interface destroy
64 $ batctl -M bat0 orig_interval
[all …]
/linux/drivers/platform/surface/
H A Dsurface3_power.c50 struct i2c_client *bat0; member
209 struct i2c_client *client = cdata->bat0; in mshw0011_bix()
273 struct i2c_client *client = cdata->bat0; in mshw0011_bst()
433 dev_info(&cdata->bat0->dev, "command(0x%02x) is not supported.\n", gsb->cmd.arg1); in mshw0011_space_handler()
510 struct i2c_client *bat0; in mshw0011_probe() local
524 bat0 = i2c_acpi_new_device(dev, 1, &board_info); in mshw0011_probe()
525 if (IS_ERR(bat0)) in mshw0011_probe()
526 return PTR_ERR(bat0); in mshw0011_probe()
528 data->bat0 = bat0; in mshw0011_probe()
529 i2c_set_clientdata(bat0, data); in mshw0011_probe()
[all …]