Home
last modified time | relevance | path

Searched refs:pdev (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/ethernet/
Ddsa_ksz8xxx.c47 static void dsa_ksz8xxx_write_reg(const struct ksz8xxx_data *pdev, in dsa_ksz8xxx_write_reg() argument
66 spi_write_dt(&pdev->spi, &tx); in dsa_ksz8xxx_write_reg()
70 static void dsa_ksz8xxx_read_reg(const struct ksz8xxx_data *pdev, in dsa_ksz8xxx_read_reg() argument
98 if (!spi_transceive_dt(&pdev->spi, &tx, &rx)) { in dsa_ksz8xxx_read_reg()
107 static bool dsa_ksz8xxx_port_link_status(struct ksz8xxx_data *pdev, in dsa_ksz8xxx_port_link_status() argument
117 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_STAT2_PORTn(port), &tmp); in dsa_ksz8xxx_port_link_status()
123 static void dsa_ksz8xxx_soft_reset(struct ksz8xxx_data *pdev) in dsa_ksz8xxx_soft_reset() argument
126 dsa_ksz8xxx_write_reg(pdev, KSZ8XXX_RESET_REG, in dsa_ksz8xxx_soft_reset()
129 dsa_ksz8xxx_write_reg(pdev, KSZ8XXX_RESET_REG, KSZ8XXX_RESET_CLEAR); in dsa_ksz8xxx_soft_reset()
133 static int dsa_ksz8xxx_probe(struct ksz8xxx_data *pdev) in dsa_ksz8xxx_probe() argument
[all …]
Deth_nxp_imx_netc_psi.c25 static void netc_eth_phylink_callback(const struct device *pdev, struct phy_link_state *state, in netc_eth_phylink_callback() argument
32 ARG_UNUSED(pdev); in netc_eth_phylink_callback()
Deth_renesas_ra.c162 static void phy_link_state_changed(const struct device *pdev, struct phy_link_state *state, in phy_link_state_changed() argument
171 ARG_UNUSED(pdev); in phy_link_state_changed()
Deth_nxp_s32_netc_psi.c59 static void phy_link_state_changed(const struct device *pdev, in phy_link_state_changed() argument
67 ARG_UNUSED(pdev); in phy_link_state_changed()
Deth_nxp_s32_gmac.c103 static void phy_link_state_changed(const struct device *pdev, in phy_link_state_changed() argument
112 ARG_UNUSED(pdev); in phy_link_state_changed()
Deth_sam_gmac.c1764 static void phy_link_state_changed(const struct device *pdev, in phy_link_state_changed() argument
/Zephyr-latest/drivers/sensor/st/vl53l1x/
Dvl53l1_platform.h30 VL53L1_Error VL53L1_WriteMulti(VL53L1_Dev_t *pdev, uint16_t index,
42 VL53L1_Error VL53L1_ReadMulti(VL53L1_Dev_t *pdev, uint16_t index,
53 VL53L1_Error VL53L1_WrByte(VL53L1_Dev_t *pdev, uint16_t index, uint8_t data);
63 VL53L1_Error VL53L1_WrWord(VL53L1_Dev_t *pdev, uint16_t index, uint16_t data);
73 VL53L1_Error VL53L1_WrDWord(VL53L1_Dev_t *pdev, uint16_t index, uint32_t data);
83 VL53L1_Error VL53L1_RdByte(VL53L1_Dev_t *pdev, uint16_t index, uint8_t *pdata);
93 VL53L1_Error VL53L1_RdWord(VL53L1_Dev_t *pdev, uint16_t index, uint16_t *pdata);
103 VL53L1_Error VL53L1_RdDWord(VL53L1_Dev_t *pdev, uint16_t index, uint32_t *pdata);
112 VL53L1_Error VL53L1_WaitUs(VL53L1_Dev_t *pdev, int32_t wait_us);
121 VL53L1_Error VL53L1_WaitMs(VL53L1_Dev_t *pdev, int32_t wait_ms);
Dvl53l1_platform.c23 VL53L1_Error VL53L1_WriteMulti(VL53L1_Dev_t *pdev, uint16_t reg, in VL53L1_WriteMulti() argument
36 status_int = i2c_write_dt(pdev->i2c, buffer, count + 2); in VL53L1_WriteMulti()
46 VL53L1_Error VL53L1_ReadMulti(VL53L1_Dev_t *pdev, uint16_t reg, in VL53L1_ReadMulti() argument
54 status_int = i2c_write_read_dt(pdev->i2c, (uint8_t *)(&reg), 2, pdata, count); in VL53L1_ReadMulti()
65 VL53L1_Error VL53L1_WrByte(VL53L1_Dev_t *pdev, uint16_t reg, uint8_t data) in VL53L1_WrByte() argument
69 status = VL53L1_WriteMulti(pdev, reg, &data, 1); in VL53L1_WrByte()
74 VL53L1_Error VL53L1_WrWord(VL53L1_Dev_t *pdev, uint16_t reg, uint16_t data) in VL53L1_WrWord() argument
80 status = VL53L1_WriteMulti(pdev, reg, (uint8_t *)(&data), VL53L1_BYTES_PER_WORD); in VL53L1_WrWord()
85 VL53L1_Error VL53L1_WrDWord(VL53L1_Dev_t *pdev, uint16_t reg, uint32_t data) in VL53L1_WrDWord() argument
91 status = VL53L1_WriteMulti(pdev, reg, (uint8_t *)(&data), VL53L1_BYTES_PER_DWORD); in VL53L1_WrDWord()
[all …]