Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/i2c/busses/
Di2c-iop3xx.c395 struct i2c_algo_iop3xx_data *adapter_data = in iop3xx_i2c_remove() local
398 unsigned long cr = __raw_readl(adapter_data->ioaddr + CR_OFFSET); in iop3xx_i2c_remove()
405 __raw_writel(cr, adapter_data->ioaddr + CR_OFFSET); in iop3xx_i2c_remove()
407 iounmap(adapter_data->ioaddr); in iop3xx_i2c_remove()
409 kfree(adapter_data); in iop3xx_i2c_remove()
421 struct i2c_algo_iop3xx_data *adapter_data; in iop3xx_i2c_probe() local
429 adapter_data = kzalloc(sizeof(struct i2c_algo_iop3xx_data), GFP_KERNEL); in iop3xx_i2c_probe()
430 if (!adapter_data) { in iop3xx_i2c_probe()
435 adapter_data->gpio_scl = devm_gpiod_get_optional(&pdev->dev, in iop3xx_i2c_probe()
438 if (IS_ERR(adapter_data->gpio_scl)) { in iop3xx_i2c_probe()
[all …]
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_netdev.c4614 static void ena_update_on_link_change(void *adapter_data, in ena_update_on_link_change() argument
4617 struct ena_adapter *adapter = (struct ena_adapter *)adapter_data; in ena_update_on_link_change()
4634 static void ena_keep_alive_wd(void *adapter_data, in ena_keep_alive_wd() argument
4637 struct ena_adapter *adapter = (struct ena_adapter *)adapter_data; in ena_keep_alive_wd()
4657 static void ena_notification(void *adapter_data, in ena_notification() argument
4660 struct ena_adapter *adapter = (struct ena_adapter *)adapter_data; in ena_notification()