Home
last modified time | relevance | path

Searched refs:pdata (Results 1 – 25 of 1289) sorted by relevance

12345678910>>...52

/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-mdio.c331 xgbe_change_mode(pdata, pdata->phy_if.phy_impl.switch_mode(pdata)); in xgbe_switch_mode()
500 netif_dbg(pdata, link, pdata->netdev, in xgbe_an73_tx_training()
811 pdata->an_result = pdata->an_state; in xgbe_an37_state_machine()
894 pdata->an_result = pdata->an_state; in xgbe_an73_state_machine()
1047 pdata->an_mode = pdata->phy_if.phy_impl.an_mode(pdata); in xgbe_an_init()
1159 mode = pdata->phy_if.phy_impl.get_mode(pdata, pdata->phy.speed); in xgbe_phy_config_fixed()
1344 pdata->phy.link = pdata->phy_if.phy_impl.link_status(pdata, in xgbe_phy_status()
1394 devm_free_irq(pdata->dev, pdata->an_irq, pdata); in xgbe_phy_stop()
1396 pdata->phy_if.phy_impl.stop(pdata); in xgbe_phy_stop()
1459 devm_free_irq(pdata->dev, pdata->an_irq, pdata); in xgbe_phy_start()
[all …]
A Dxgbe-main.c226 pdata->tx_max_q_count = pdata->hw_feat.tx_q_cnt; in xgbe_set_counts()
228 pdata->rx_max_q_count = pdata->hw_feat.rx_q_cnt; in xgbe_set_counts()
244 pdata->tx_q_count = pdata->tx_ring_count; in xgbe_set_counts()
256 pdata->tx_ring_count, pdata->rx_ring_count); in xgbe_set_counts()
258 pdata->tx_q_count, pdata->rx_q_count); in xgbe_set_counts()
281 ret = pdata->hw_if.exit(pdata); in xgbe_config_netdev()
300 pdata->tx_max_fifo_size = pdata->hw_feat.tx_fifo_size; in xgbe_config_netdev()
302 pdata->rx_max_fifo_size = pdata->hw_feat.rx_fifo_size; in xgbe_config_netdev()
321 pdata->tx_ring_count, pdata->rx_ring_count); in xgbe_config_netdev()
333 ret = pdata->phy_if.phy_init(pdata); in xgbe_config_netdev()
[all …]
A Dxgbe-pci.c145 pdata->dev_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_multi_msi()
146 pdata->ecc_irq = pci_irq_vector(pdata->pcidev, 1); in xgbe_config_multi_msi()
147 pdata->i2c_irq = pci_irq_vector(pdata->pcidev, 2); in xgbe_config_multi_msi()
148 pdata->an_irq = pci_irq_vector(pdata->pcidev, 3); in xgbe_config_multi_msi()
186 pdata->an_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_irqs()
339 pdata->pp0 = XP_IOREAD(pdata, XP_PROP_0); in xgbe_pci_probe()
340 pdata->pp1 = XP_IOREAD(pdata, XP_PROP_1); in xgbe_pci_probe()
341 pdata->pp2 = XP_IOREAD(pdata, XP_PROP_2); in xgbe_pci_probe()
342 pdata->pp3 = XP_IOREAD(pdata, XP_PROP_3); in xgbe_pci_probe()
343 pdata->pp4 = XP_IOREAD(pdata, XP_PROP_4); in xgbe_pci_probe()
[all …]
A Dxgbe-dev.c576 netif_dbg(pdata, drv, pdata->netdev, in xgbe_enable_tx_flow_control()
992 netif_dbg(pdata, drv, pdata->netdev, in xgbe_set_mac_reg()
2552 netif_info(pdata, drv, pdata->netdev, in xgbe_config_tx_fifo_size()
2574 if (pdata->pfc && pdata->ets) in xgbe_config_rx_fifo_size()
2585 if (pdata->pfc && pdata->ets && pdata->pfc->pfc_en) { in xgbe_config_rx_fifo_size()
2586 netif_info(pdata, drv, pdata->netdev, in xgbe_config_rx_fifo_size()
2593 netif_info(pdata, drv, pdata->netdev, in xgbe_config_rx_fifo_size()
2616 netif_dbg(pdata, drv, pdata->netdev, in xgbe_config_queue_mapping()
2624 netif_dbg(pdata, drv, pdata->netdev, in xgbe_config_queue_mapping()
2783 pdata->hw_if.disable_rx(pdata); in xgbe_config_dcb_pfc()
[all …]
A Dxgbe-i2c.c225 tx_slots = pdata->i2c.tx_fifo_size - XI2C_IOREAD(pdata, IC_TXFLR); in xgbe_i2c_write()
279 struct xgbe_prv_data *pdata = from_tasklet(pdata, t, tasklet_i2c); in xgbe_i2c_isr_task() local
287 netif_dbg(pdata, intr, pdata->netdev, in xgbe_i2c_isr_task()
293 netif_dbg(pdata, link, pdata->netdev, in xgbe_i2c_isr_task()
442 netif_dbg(pdata, link, pdata->netdev, "stopping I2C\n"); in xgbe_i2c_stop()
450 if (pdata->dev_irq != pdata->i2c_irq) in xgbe_i2c_stop()
451 devm_free_irq(pdata->dev, pdata->i2c_irq, pdata); in xgbe_i2c_stop()
461 netif_dbg(pdata, link, pdata->netdev, "starting I2C\n"); in xgbe_i2c_start()
464 if (pdata->dev_irq != pdata->i2c_irq) { in xgbe_i2c_start()
467 ret = devm_request_irq(pdata->dev, pdata->i2c_irq, in xgbe_i2c_start()
[all …]
A Dxgbe-drv.c212 channel->pdata = pdata; in xgbe_alloc_channels()
581 pdata->phy_if.an_isr(pdata); in xgbe_isr_task()
584 if (pdata->vdata->ecc_support && (pdata->dev_irq == pdata->ecc_irq)) in xgbe_isr_task()
589 pdata->i2c_if.i2c_isr(pdata); in xgbe_isr_task()
679 pdata->phy_if.phy_status(pdata); in xgbe_service()
913 pdata->hw_if.enable_vxlan(pdata); in xgbe_vxlan_set_port()
1050 devm_free_irq(pdata->dev, pdata->ecc_irq, pdata); in xgbe_request_irqs()
1053 devm_free_irq(pdata->dev, pdata->dev_irq, pdata); in xgbe_request_irqs()
1063 devm_free_irq(pdata->dev, pdata->dev_irq, pdata); in xgbe_free_irqs()
1066 devm_free_irq(pdata->dev, pdata->ecc_irq, pdata); in xgbe_free_irqs()
[all …]
A Dxgbe-platform.c209 pdata->sysclk_rate = clk_get_rate(pdata->sysclk); in xgbe_of_support()
217 pdata->ptpclk_rate = clk_get_rate(pdata->ptpclk); in xgbe_of_support()
295 return pdata->use_acpi ? xgbe_acpi_vdata(pdata) in xgbe_get_vdata()
311 if (IS_ERR(pdata)) { in xgbe_platform_probe()
324 pdata->vdata = xgbe_get_vdata(pdata); in xgbe_platform_probe()
432 if (pdata->use_acpi) in xgbe_platform_probe()
456 pdata->tx_max_fifo_size = pdata->vdata->tx_max_fifo_size; in xgbe_platform_probe()
457 pdata->rx_max_fifo_size = pdata->vdata->rx_max_fifo_size; in xgbe_platform_probe()
540 pdata->lpm_ctrl = XMDIO_READ(pdata, MDIO_MMD_PCS, MDIO_CTRL1); in xgbe_platform_suspend()
542 XMDIO_WRITE(pdata, MDIO_MMD_PCS, MDIO_CTRL1, pdata->lpm_ctrl); in xgbe_platform_suspend()
[all …]
A Dxgbe-phy-v1.c252 pdata->phy.tx_pause = 0; in xgbe_phy_an_outcome()
253 pdata->phy.rx_pause = 0; in xgbe_phy_an_outcome()
256 pdata->phy.tx_pause = 1; in xgbe_phy_an_outcome()
257 pdata->phy.rx_pause = 1; in xgbe_phy_an_outcome()
260 pdata->phy.rx_pause = 1; in xgbe_phy_an_outcome()
358 netif_dbg(pdata, link, pdata->netdev, "SerDes rx/tx not ready (%#hx)\n", in xgbe_phy_complete_ratechange()
407 netif_dbg(pdata, link, pdata->netdev, "10GbE KR mode set\n"); in xgbe_phy_kr_mode()
450 netif_dbg(pdata, link, pdata->netdev, "2.5GbE KX mode set\n"); in xgbe_phy_kx_2500_mode()
493 netif_dbg(pdata, link, pdata->netdev, "1GbE KX mode set\n"); in xgbe_phy_kx_1000_mode()
564 xgbe_phy_kr_mode(pdata); in xgbe_phy_set_mode()
[all …]
A Dxgbe-phy-v2.c393 return pdata->i2c_if.i2c_xfer(pdata, i2c_op); in xgbe_phy_i2c_xfer()
450 netif_dbg(pdata, drv, pdata->netdev, in xgbe_phy_redrv_write()
674 return pdata->hw_if.read_ext_mii_regs(pdata, addr, reg); in xgbe_phy_mdio_mii_read()
894 netif_dbg(pdata, drv, pdata->netdev, in xgbe_phy_finisar_phy_quirks()
975 netif_dbg(pdata, drv, pdata->netdev, in xgbe_phy_belfuse_phy_quirks()
2002 netif_dbg(pdata, link, pdata->netdev, in xgbe_phy_perform_ratechange()
2025 netif_dbg(pdata, link, pdata->netdev, in xgbe_phy_perform_ratechange()
3061 pdata->i2c_if.i2c_stop(pdata); in xgbe_phy_stop()
3070 ret = pdata->i2c_if.i2c_start(pdata); in xgbe_phy_start()
3109 pdata->i2c_if.i2c_stop(pdata); in xgbe_phy_start()
[all …]
A Dxgbe-debugfs.c198 value = XGMAC_IOREAD(pdata, pdata->debugfs_xgmac_reg); in xgmac_reg_value_read()
215 XGMAC_IOWRITE(pdata, pdata->debugfs_xgmac_reg, value); in xgmac_reg_value_write()
274 value = XMDIO_READ(pdata, pdata->debugfs_xpcs_mmd, in xpcs_reg_value_read()
292 XMDIO_WRITE(pdata, pdata->debugfs_xpcs_mmd, pdata->debugfs_xpcs_reg, in xpcs_reg_value_write()
343 value = XP_IOREAD(pdata, pdata->debugfs_xprop_reg); in xprop_reg_value_read()
360 XP_IOWRITE(pdata, pdata->debugfs_xprop_reg, value); in xprop_reg_value_write()
403 value = XI2C_IOREAD(pdata, pdata->debugfs_xi2c_reg); in xi2c_reg_value_read()
420 XI2C_IOWRITE(pdata, pdata->debugfs_xi2c_reg, value); in xi2c_reg_value_write()
460 debugfs_create_file("xpcs_mmd", 0600, pdata->xgbe_debugfs, pdata, in xgbe_debugfs_init()
474 pdata->xgbe_debugfs, pdata, in xgbe_debugfs_init()
[all …]
/linux/drivers/net/ethernet/smsc/
A Dsmsc911x.c183 data = pdata->ops->reg_read(pdata, reg); in smsc911x_reg_read()
216 pdata->ioaddr + __smsc_shift(pdata, reg)); in __smsc911x_reg_write_shift()
218 pdata->ioaddr + __smsc_shift(pdata, reg + 2)); in __smsc911x_reg_write_shift()
231 pdata->ops->reg_write(pdata, reg, val); in smsc911x_reg_write()
284 iowrite32_rep(pdata->ioaddr + __smsc_shift(pdata, in smsc911x_tx_writefifo_shift()
350 ioread32_rep(pdata->ioaddr + __smsc_shift(pdata, in smsc911x_rx_readfifo_shift()
996 pdata->gpio_setting = smsc911x_reg_read(pdata, in smsc911x_phy_adjust_link()
1078 pdata->mii_bus->priv = pdata; in smsc911x_mii_init()
1262 pdata->ops->rx_readfifo(pdata, in smsc911x_poll()
1304 mac_cr, pdata->hashhi, pdata->hashlo); in smsc911x_rx_multicast_update()
[all …]
/linux/drivers/net/ethernet/apm/xgene/
A Dxgene_enet_xgmac.c282 pdata->mac_ops->enable_tx_pause(pdata, enable); in xgene_xgmac_flowctl_tx()
303 xgene_xgmac_reset(pdata); in xgene_xgmac_init()
344 xgene_xgmac_flowctl_tx(pdata, pdata->tx_pause); in xgene_xgmac_init()
345 xgene_xgmac_flowctl_rx(pdata, pdata->rx_pause); in xgene_xgmac_init()
407 xgene_enet_ecc_init(pdata); in xgene_enet_reset()
439 if (!IS_ERR(pdata->clk)) in xgene_enet_shutdown()
465 if (IS_ERR(pdata->sfp_rdy)) in xgene_enet_gpio_lookup()
468 if (IS_ERR(pdata->sfp_rdy)) in xgene_enet_gpio_lookup()
483 (!IS_ERR(pdata->sfp_rdy) || !xgene_enet_gpio_lookup(pdata)) && in xgene_enet_link_state()
490 xgene_xgmac_rx_enable(pdata); in xgene_enet_link_state()
[all …]
A Dxgene_enet_hw.c543 pdata->mac_ops->enable_tx_pause(pdata, enable); in xgene_gmac_flowctl_tx()
564 if (!pdata->mdio_driver) in xgene_gmac_init()
565 xgene_gmac_reset(pdata); in xgene_gmac_init()
591 xgene_gmac_flowctl_tx(pdata, pdata->tx_pause); in xgene_gmac_init()
592 xgene_gmac_flowctl_rx(pdata, pdata->rx_pause); in xgene_gmac_init()
701 if (pdata->mdio_driver) { in xgene_enet_reset()
769 if (pdata->tx_pause) in xgene_enet_flowctrl_cfg()
772 if (pdata->rx_pause) in xgene_enet_flowctrl_cfg()
789 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause); in xgene_enet_flowctrl_cfg()
794 pdata->mac_ops->flowctl_rx(pdata, pdata->rx_pause); in xgene_enet_flowctrl_cfg()
[all …]
A Dxgene_enet_main.c296 pdata->mac_ops->set_mss(pdata, mss, i); in xgene_enet_setup_mss()
868 pdata->mac_ops->reset(pdata); in xgene_enet_timeout()
1066 pdata->port_ops->clear(pdata, ring); in xgene_enet_delete_desc_rings()
1081 pdata->port_ops->clear(pdata, page_pool); in xgene_enet_delete_desc_rings()
1087 pdata->port_ops->clear(pdata, buf_pool); in xgene_enet_delete_desc_rings()
1458 pdata->ring_ops->coalesce(pdata->tx_ring[0]); in xgene_enet_create_desc_rings()
1513 pdata->mac_ops->set_mac_addr(pdata); in xgene_enet_set_mac_address()
1817 ret = pdata->port_ops->reset(pdata); in xgene_enet_init_hw()
1856 ret = pdata->cle_ops->cle_init(pdata); in xgene_enet_init_hw()
1873 pdata->mac_ops->init(pdata); in xgene_enet_init_hw()
[all …]
/linux/drivers/net/ethernet/synopsys/
A Ddwc-xlgmac-common.c57 strlcpy(pdata->drv_name, XLGMAC_DRV_NAME, sizeof(pdata->drv_name)); in xlgmac_default_config()
58 strlcpy(pdata->drv_ver, XLGMAC_DRV_VERSION, sizeof(pdata->drv_ver)); in xlgmac_default_config()
112 if (pdata->tx_desc_count & (pdata->tx_desc_count - 1)) { in xlgmac_init()
120 if (pdata->rx_desc_count & (pdata->rx_desc_count - 1)) { in xlgmac_init()
129 pdata->tx_ring_count = min_t(unsigned int, pdata->tx_ring_count, in xlgmac_init()
131 pdata->tx_q_count = pdata->tx_ring_count; in xlgmac_init()
141 pdata->rx_ring_count = min_t(unsigned int, pdata->rx_ring_count, in xlgmac_init()
143 pdata->rx_q_count = pdata->rx_ring_count; in xlgmac_init()
151 max_t(unsigned int, pdata->tx_ring_count, pdata->rx_ring_count); in xlgmac_init()
154 netdev_rss_key_fill(pdata->rss_key, sizeof(pdata->rss_key)); in xlgmac_init()
[all …]
A Ddwc-xlgmac-hw.c94 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_set_mac_reg()
679 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_tx_start_xmit() local
704 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_dev_xmit() local
764 netif_dbg(pdata, tx_queued, pdata->netdev, in xlgmac_dev_xmit()
793 netif_dbg(pdata, tx_queued, pdata->netdev, in xlgmac_dev_xmit()
1520 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_config_queue_mapping()
1534 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_config_queue_mapping()
1559 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_config_queue_mapping()
1566 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_config_queue_mapping()
1647 netif_info(pdata, drv, pdata->netdev, in xlgmac_config_tx_fifo_size()
[all …]
A Ddwc-xlgmac-net.c43 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_maybe_stop_tx_queue() local
46 netif_info(pdata, drv, pdata->netdev, in xlgmac_maybe_stop_tx_queue()
364 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_tx_timer() local
429 netif_napi_add(pdata->netdev, &pdata->napi, in xlgmac_napi_enable()
499 devm_free_irq(pdata->dev, pdata->dev_irq, pdata); in xlgmac_request_irqs()
509 devm_free_irq(pdata->dev, pdata->dev_irq, pdata); in xlgmac_free_irqs()
773 pdata->hw_ops.read_mmc_stats(pdata); in xlgmac_get_stats64()
873 xlgmac_isr(pdata->dev_irq, pdata); in xlgmac_poll_controller()
953 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_rx_refresh() local
1036 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_tx_poll() local
[all …]
/linux/drivers/gpu/drm/bridge/
A Dti-sn65dsi86.c322 if (pdata->refclk) in ti_sn65dsi86_resume()
333 if (pdata->refclk) in ti_sn65dsi86_suspend()
634 ret = drm_connector_init(pdata->bridge.dev, &pdata->connector, in ti_sn_bridge_connector_init()
728 pdata->dsi = dsi; in ti_sn_bridge_attach()
1039 pdata->dp_lanes = min(pdata->dp_lanes, max_dp_lanes); in ti_sn_bridge_enable()
1046 regmap_write(pdata->regmap, SN_LN_ASSIGN_REG, pdata->ln_assign); in ti_sn_bridge_enable()
1237 if (!pdata) in ti_sn_bridge_remove()
1418 pdata->gchip.label = dev_name(pdata->dev); in ti_sn_gpio_probe()
1419 pdata->gchip.parent = pdata->dev; in ti_sn_gpio_probe()
1433 ret = devm_gpiochip_add_data(&adev->dev, &pdata->gchip, pdata); in ti_sn_gpio_probe()
[all …]
/linux/drivers/input/keyboard/
A Dmatrix_keypad.c82 !pdata->active_low : pdata->active_low; in row_asserted()
87 const struct matrix_keypad_platform_data *pdata = keypad->pdata; in enable_row_irqs() local
100 const struct matrix_keypad_platform_data *pdata = keypad->pdata; in disable_row_irqs() local
120 const struct matrix_keypad_platform_data *pdata = keypad->pdata; in matrix_keypad_scan() local
413 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in matrix_keypad_parse_dt()
414 if (!pdata) { in matrix_keypad_parse_dt()
443 pdata->num_row_gpios + pdata->num_col_gpios, in matrix_keypad_parse_dt()
466 pdata->col_gpios = &gpios[pdata->num_row_gpios]; in matrix_keypad_parse_dt()
468 return pdata; in matrix_keypad_parse_dt()
488 if (!pdata) { in matrix_keypad_probe()
[all …]
/linux/drivers/usb/misc/
A Dappledisplay.c136 pdata->udev, in appledisplay_bl_update_status()
159 pdata->udev, in appledisplay_bl_get_brightness()
224 if (!pdata) { in appledisplay_probe()
261 pdata, 1); in appledisplay_probe()
275 pdata->bd = backlight_device_register(bl_name, NULL, pdata, in appledisplay_probe()
304 if (pdata) { in appledisplay_probe()
309 pdata->urbdata, pdata->urb->transfer_dma); in appledisplay_probe()
317 kfree(pdata); in appledisplay_probe()
325 if (pdata) { in appledisplay_disconnect()
330 pdata->urbdata, pdata->urb->transfer_dma); in appledisplay_disconnect()
[all …]
/linux/drivers/uio/
A Duio_hv_generic.c117 pdata->info.irq = 0; in hv_uio_rescind()
184 vfree(pdata->send_buf); in hv_uio_cleanup()
248 pdata = devm_kzalloc(&dev->device, sizeof(*pdata), GFP_KERNEL); in hv_uio_probe()
249 if (!pdata) in hv_uio_probe()
303 snprintf(pdata->recv_name, sizeof(pdata->recv_name), in hv_uio_probe()
305 pdata->info.mem[RECV_BUF_MAP].name = pdata->recv_name; in hv_uio_probe()
324 snprintf(pdata->send_name, sizeof(pdata->send_name), in hv_uio_probe()
326 pdata->info.mem[SEND_BUF_MAP].name = pdata->send_name; in hv_uio_probe()
332 pdata->info.priv = pdata; in hv_uio_probe()
333 pdata->device = dev; in hv_uio_probe()
[all …]
/linux/drivers/rtc/
A Drtc-mxc_v2.c80 spin_lock(&pdata->lock); in mxc_rtc_interrupt()
105 clk_disable(pdata->clk); in mxc_rtc_interrupt()
129 clk_disable(pdata->clk); in mxc_rtc_unlock()
150 clk_disable(pdata->clk); in mxc_rtc_read_time()
255 mxc_rtc_unlock(pdata); in mxc_rtc_set_alarm()
284 pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL); in mxc_rtc_probe()
285 if (!pdata) in mxc_rtc_probe()
292 ioaddr = pdata->ioaddr; in mxc_rtc_probe()
302 if (pdata->irq < 0) in mxc_rtc_probe()
303 return pdata->irq; in mxc_rtc_probe()
[all …]
A Drtc-pic32.c89 clk_enable(pdata->clk); in pic32_rtc_alarmirq()
91 clk_disable(pdata->clk); in pic32_rtc_alarmirq()
103 clk_enable(pdata->clk); in pic32_rtc_setaie()
109 clk_disable(pdata->clk); in pic32_rtc_setaie()
121 clk_enable(pdata->clk); in pic32_rtc_setfreq()
138 clk_enable(pdata->clk); in pic32_rtc_gettime()
178 clk_enable(pdata->clk); in pic32_rtc_settime()
293 pdata->clk = NULL; in pic32_rtc_remove()
303 pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL); in pic32_rtc_probe()
304 if (!pdata) in pic32_rtc_probe()
[all …]
A Drtc-ds1553.c134 writeb(pdata->alrm_mday < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
137 writeb(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
140 writeb(pdata->alrm_min < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
143 writeb(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
173 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in ds1553_rtc_read_alarm()
174 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in ds1553_rtc_read_alarm()
175 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in ds1553_rtc_read_alarm()
176 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in ds1553_rtc_read_alarm()
266 pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL); in ds1553_rtc_probe()
267 if (!pdata) in ds1553_rtc_probe()
[all …]
A Drtc-stk17ta8.c141 writeb(pdata->alrm_mday < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
144 writeb(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
147 writeb(pdata->alrm_min < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
150 writeb(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
181 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in stk17ta8_rtc_read_alarm()
182 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in stk17ta8_rtc_read_alarm()
183 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in stk17ta8_rtc_read_alarm()
184 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in stk17ta8_rtc_read_alarm()
273 pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL); in stk17ta8_rtc_probe()
274 if (!pdata) in stk17ta8_rtc_probe()
[all …]

Completed in 164 milliseconds

12345678910>>...52