Home
last modified time | relevance | path

Searched refs:dev_conf (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_xlnx_ps_bank.h17 #define GPIO_XLNX_PS_BANK_MASK_DATA_LSW_REG (dev_conf->base_addr\
18 + ((uint32_t)dev_conf->bank_index * 0x8))
19 #define GPIO_XLNX_PS_BANK_MASK_DATA_MSW_REG ((dev_conf->base_addr + 0x04)\
20 + ((uint32_t)dev_conf->bank_index * 0x8))
21 #define GPIO_XLNX_PS_BANK_DATA_REG ((dev_conf->base_addr + 0x40)\
22 + ((uint32_t)dev_conf->bank_index * 0x4))
23 #define GPIO_XLNX_PS_BANK_DATA_RO_REG ((dev_conf->base_addr + 0x60)\
24 + ((uint32_t)dev_conf->bank_index * 0x4))
25 #define GPIO_XLNX_PS_BANK_DIRM_REG ((dev_conf->base_addr + 0x204)\
26 + ((uint32_t)dev_conf->bank_index * 0x40))
[all …]
Dgpio_xlnx_ps.c44 const struct gpio_xlnx_ps_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_init() local
47 dev_conf->config_func(dev); in gpio_xlnx_ps_init()
66 const struct gpio_xlnx_ps_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_isr() local
74 for (bank = 0; bank < dev_conf->num_banks; bank++) { in gpio_xlnx_ps_isr()
75 api = dev_conf->bank_devices[bank]->api; in gpio_xlnx_ps_isr()
79 int_mask = api->get_pending_int(dev_conf->bank_devices[bank]); in gpio_xlnx_ps_isr()
83 dev_conf->bank_devices[bank]->data; in gpio_xlnx_ps_isr()
85 dev_conf->bank_devices[bank], int_mask); in gpio_xlnx_ps_isr()
Dgpio_xlnx_ps_bank.c50 const struct gpio_xlnx_ps_bank_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_pin_configure() local
130 const struct gpio_xlnx_ps_bank_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_bank_get() local
162 const struct gpio_xlnx_ps_bank_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_bank_set_masked() local
190 const struct gpio_xlnx_ps_bank_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_bank_set_bits() local
218 const struct gpio_xlnx_ps_bank_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_bank_clear_bits() local
246 const struct gpio_xlnx_ps_bank_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_bank_toggle_bits() local
285 const struct gpio_xlnx_ps_bank_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_bank_pin_irq_configure() local
361 const struct gpio_xlnx_ps_bank_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_bank_get_int_status() local
422 const struct gpio_xlnx_ps_bank_dev_cfg *dev_conf = dev->config; in gpio_xlnx_ps_bank_init() local
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_xlnx_gem.c93 const struct eth_xlnx_gem_dev_cfg *dev_conf = dev->config; in DT_INST_FOREACH_STATUS_OKAY() local
99 if (dev_conf->init_phy) { in DT_INST_FOREACH_STATUS_OKAY()
100 __ASSERT((dev_conf->phy_mdio_addr_fix >= 0 && in DT_INST_FOREACH_STATUS_OKAY()
101 dev_conf->phy_mdio_addr_fix <= 32), in DT_INST_FOREACH_STATUS_OKAY()
104 dev->name, dev_conf->phy_mdio_addr_fix); in DT_INST_FOREACH_STATUS_OKAY()
105 __ASSERT(dev_conf->phy_poll_interval > 0, in DT_INST_FOREACH_STATUS_OKAY()
111 __ASSERT((dev_conf->max_link_speed == LINK_10MBIT || in DT_INST_FOREACH_STATUS_OKAY()
112 dev_conf->max_link_speed == LINK_100MBIT || in DT_INST_FOREACH_STATUS_OKAY()
113 dev_conf->max_link_speed == LINK_1GBIT), in DT_INST_FOREACH_STATUS_OKAY()
115 dev->name, (uint32_t)dev_conf->max_link_speed); in DT_INST_FOREACH_STATUS_OKAY()
[all …]
Dphy_xlnx_gem.c199 const struct eth_xlnx_gem_dev_cfg *dev_conf = dev->config; in phy_xlnx_gem_marvell_alaska_reset() local
209 phy_data = phy_xlnx_gem_mdio_read(dev_conf->base_addr, dev_data->phy_addr, in phy_xlnx_gem_marvell_alaska_reset()
212 phy_xlnx_gem_mdio_write(dev_conf->base_addr, dev_data->phy_addr, in phy_xlnx_gem_marvell_alaska_reset()
217 phy_data = phy_xlnx_gem_mdio_read(dev_conf->base_addr, dev_data->phy_addr, in phy_xlnx_gem_marvell_alaska_reset()
234 const struct eth_xlnx_gem_dev_cfg *dev_conf = dev->config; in phy_xlnx_gem_marvell_alaska_cfg() local
247 phy_data = phy_xlnx_gem_mdio_read(dev_conf->base_addr, dev_data->phy_addr, in phy_xlnx_gem_marvell_alaska_cfg()
250 phy_xlnx_gem_mdio_write(dev_conf->base_addr, dev_data->phy_addr, in phy_xlnx_gem_marvell_alaska_cfg()
267 phy_xlnx_gem_mdio_write(dev_conf->base_addr, dev_data->phy_addr, in phy_xlnx_gem_marvell_alaska_cfg()
271 phy_data = phy_xlnx_gem_mdio_read(dev_conf->base_addr, dev_data->phy_addr, in phy_xlnx_gem_marvell_alaska_cfg()
274 phy_xlnx_gem_mdio_write(dev_conf->base_addr, dev_data->phy_addr, in phy_xlnx_gem_marvell_alaska_cfg()
[all …]
Deth_stellaris.c274 const struct eth_stellaris_config *dev_conf = dev->config; in eth_stellaris_init() local
289 dev_conf->config_func(dev); in eth_stellaris_init()
Deth_xlnx_gem_priv.h524 if (dev_conf->base_addr == DT_REG_ADDR_BY_IDX(DT_INST(port, xlnx_gem), 0)) {\
/Zephyr-Core-3.5.0/drivers/sensor/lsm6dso16is/
Dlsm6dso16is_shub.c424 int (*dev_conf)(const struct device *dev, uint8_t i2c_addr, member
438 .dev_conf = (lsm6dso16is_lis2mdl_conf),
452 .dev_conf = (lsm6dso16is_hts221_conf),
479 .dev_conf = (lsm6dso16is_lps22hh_conf),
493 .dev_conf = (lsm6dso16is_lps22df_conf),
761 if (sp == NULL || sp->dev_conf == NULL) { in lsm6dso16is_shub_config()
766 return sp->dev_conf(dev, sp->ext_i2c_addr, chan, attr, val); in lsm6dso16is_shub_config()
/Zephyr-Core-3.5.0/drivers/sensor/lsm6dsv16x/
Dlsm6dsv16x_shub.c424 int (*dev_conf)(const struct device *dev, uint8_t i2c_addr, member
438 .dev_conf = (lsm6dsv16x_lis2mdl_conf),
452 .dev_conf = (lsm6dsv16x_hts221_conf),
479 .dev_conf = (lsm6dsv16x_lps22hh_conf),
493 .dev_conf = (lsm6dsv16x_lps22df_conf),
761 if (sp == NULL || sp->dev_conf == NULL) { in lsm6dsv16x_shub_config()
766 return sp->dev_conf(dev, sp->ext_i2c_addr, chan, attr, val); in lsm6dsv16x_shub_config()
/Zephyr-Core-3.5.0/drivers/sensor/iis2iclx/
Diis2iclx_shub.c359 int (*dev_conf)(const struct device *dev, uint8_t i2c_addr, member
373 .dev_conf = (iis2iclx_lis2mdl_conf),
387 .dev_conf = (iis2iclx_hts221_conf),
414 .dev_conf = (iis2iclx_lps22hh_conf),
741 if (sp == NULL || sp->dev_conf == NULL) { in iis2iclx_shub_config()
746 return sp->dev_conf(dev, sp->ext_i2c_addr, chan, attr, val); in iis2iclx_shub_config()
/Zephyr-Core-3.5.0/drivers/sensor/lsm6dso/
Dlsm6dso_shub.c343 int (*dev_conf)(const struct device *dev, uint8_t i2c_addr, member
357 .dev_conf = (lsm6dso_lis2mdl_conf),
371 .dev_conf = (lsm6dso_hts221_conf),
398 .dev_conf = (lsm6dso_lps22hh_conf),
666 if (sp == NULL || sp->dev_conf == NULL) { in lsm6dso_shub_config()
671 return sp->dev_conf(dev, sp->ext_i2c_addr, chan, attr, val); in lsm6dso_shub_config()
/Zephyr-Core-3.5.0/drivers/sensor/ism330dhcx/
Dism330dhcx_shub.c341 int (*dev_conf)(const struct device *dev, uint8_t i2c_addr, enum sensor_channel chan, member
354 .dev_conf = (ism330dhcx_lis2mdl_conf),
368 .dev_conf = (ism330dhcx_hts221_conf),
395 .dev_conf = (ism330dhcx_lps22hh_conf),
711 if (sp == NULL || sp->dev_conf == NULL) { in ism330dhcx_shub_config()
716 return sp->dev_conf(dev, sp->ext_i2c_addr, chan, attr, val); in ism330dhcx_shub_config()