Home
last modified time | relevance | path

Searched refs:dev (Results 326 – 350 of 25421) sorted by relevance

1...<<11121314151617181920>>...1017

/openbmc/linux/kernel/dma/
H A Ddirect.c25 static inline dma_addr_t phys_to_dma_direct(struct device *dev, in phys_to_dma_direct() argument
28 if (force_dma_unencrypted(dev)) in phys_to_dma_direct()
29 return phys_to_dma_unencrypted(dev, phys); in phys_to_dma_direct()
30 return phys_to_dma(dev, phys); in phys_to_dma_direct()
33 static inline struct page *dma_direct_to_page(struct device *dev, in dma_direct_to_page() argument
36 return pfn_to_page(PHYS_PFN(dma_to_phys(dev, dma_addr))); in dma_direct_to_page()
39 u64 dma_direct_get_required_mask(struct device *dev) in dma_direct_get_required_mask() argument
42 u64 max_dma = phys_to_dma_direct(dev, phys); in dma_direct_get_required_mask()
47 static gfp_t dma_direct_optimal_gfp_mask(struct device *dev, u64 *phys_limit) in dma_direct_optimal_gfp_mask() argument
50 dev->coherent_dma_mask, in dma_direct_optimal_gfp_mask()
[all …]
/openbmc/linux/drivers/misc/mei/
H A Dmain.c49 struct mei_device *dev; in mei_open() local
54 dev = container_of(inode->i_cdev, struct mei_device, cdev); in mei_open()
56 mutex_lock(&dev->device_lock); in mei_open()
58 if (dev->dev_state != MEI_DEV_ENABLED) { in mei_open()
59 dev_dbg(dev->dev, "dev_state != MEI_ENABLED dev_state = %s\n", in mei_open()
60 mei_dev_state_str(dev->dev_state)); in mei_open()
65 cl = mei_cl_alloc_linked(dev); in mei_open()
74 mutex_unlock(&dev->device_lock); in mei_open()
79 mutex_unlock(&dev->device_lock); in mei_open()
115 struct mei_device *dev; in mei_release() local
[all …]
/openbmc/linux/drivers/xen/xen-pciback/
H A Dpciback_ops.c24 static void xen_pcibk_control_isr(struct pci_dev *dev, int reset) in xen_pcibk_control_isr() argument
30 dev_data = pci_get_drvdata(dev); in xen_pcibk_control_isr()
35 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) in xen_pcibk_control_isr()
53 dev_data->irq = dev->irq; in xen_pcibk_control_isr()
62 dev_dbg(&dev->dev, "%s: #%d %s %s%s %s-> %s\n", in xen_pcibk_control_isr()
65 pci_is_enabled(dev) ? "on" : "off", in xen_pcibk_control_isr()
66 dev->msi_enabled ? "MSI" : "", in xen_pcibk_control_isr()
67 dev->msix_enabled ? "MSI/X" : "", in xen_pcibk_control_isr()
76 if (dev->msi_enabled || dev->msix_enabled) in xen_pcibk_control_isr()
81 dev_data->irq_name, dev); in xen_pcibk_control_isr()
[all …]
/openbmc/linux/drivers/media/pci/saa7134/
H A Dsaa7134-tvaudio.c158 static void tvaudio_setcarrier(struct saa7134_dev *dev, in tvaudio_setcarrier() argument
171 static void mute_input_7134(struct saa7134_dev *dev) in mute_input_7134() argument
179 in = dev->input; in mute_input_7134()
180 mute = (dev->ctl_mute || in mute_input_7134()
181 (dev->automute && (&card(dev).radio) != in)); in mute_input_7134()
182 if (card(dev).mute.type) { in mute_input_7134()
188 in = &card(dev).mute; in mute_input_7134()
191 if (dev->hw_mute == mute && in mute_input_7134()
192 dev->hw_input == in && !dev->insuspend) { in mute_input_7134()
199 dev->ctl_mute, dev->automute, in mute_input_7134()
[all …]
/openbmc/linux/include/linux/
H A Dpnp.h27 struct resource *pnp_get_resource(struct pnp_dev *dev, unsigned long type,
30 static inline struct resource *pnp_get_resource(struct pnp_dev *dev, in pnp_get_resource() argument
59 static inline resource_size_t pnp_port_start(struct pnp_dev *dev, in pnp_port_start() argument
62 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_start()
69 static inline resource_size_t pnp_port_end(struct pnp_dev *dev, in pnp_port_end() argument
72 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_end()
79 static inline unsigned long pnp_port_flags(struct pnp_dev *dev, in pnp_port_flags() argument
82 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_flags()
89 static inline int pnp_port_valid(struct pnp_dev *dev, unsigned int bar) in pnp_port_valid() argument
91 return pnp_resource_valid(pnp_get_resource(dev, IORESOURCE_IO, bar)); in pnp_port_valid()
[all …]
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c85 struct mtk_vcodec_enc_dev *dev = priv; in mtk_vcodec_enc_irq_handler() local
91 spin_lock_irqsave(&dev->irqlock, flags); in mtk_vcodec_enc_irq_handler()
92 ctx = dev->curr_ctx; in mtk_vcodec_enc_irq_handler()
93 spin_unlock_irqrestore(&dev->irqlock, flags); in mtk_vcodec_enc_irq_handler()
95 core_id = dev->venc_pdata->core_id; in mtk_vcodec_enc_irq_handler()
103 addr = dev->reg_base[core_id] + MTK_VENC_IRQ_ACK_OFFSET; in mtk_vcodec_enc_irq_handler()
105 ctx->irq_status = readl(dev->reg_base[core_id] + in mtk_vcodec_enc_irq_handler()
116 struct mtk_vcodec_enc_dev *dev = video_drvdata(file); in fops_vcodec_open() local
125 mutex_lock(&dev->dev_mutex); in fops_vcodec_open()
130 ctx->id = dev->id_counter++; in fops_vcodec_open()
[all …]
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-vbi.c28 static inline void print_err_status(struct cx231xx *dev, int packet, int status) in print_err_status() argument
59 dev_err(dev->dev, in print_err_status()
62 dev_err(dev->dev, in print_err_status()
71 static inline int cx231xx_isoc_vbi_copy(struct cx231xx *dev, struct urb *urb) in cx231xx_isoc_vbi_copy() argument
79 if (!dev) in cx231xx_isoc_vbi_copy()
82 if (dev->state & DEV_DISCONNECTED) in cx231xx_isoc_vbi_copy()
86 print_err_status(dev, -1, urb->status); in cx231xx_isoc_vbi_copy()
115 bytes_parsed += cx231xx_get_vbi_line(dev, dma_q, in cx231xx_isoc_vbi_copy()
136 bytes_parsed += cx231xx_get_vbi_line(dev, in cx231xx_isoc_vbi_copy()
160 struct cx231xx *dev = vb2_get_drv_priv(vq); in vbi_queue_setup() local
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dmvmdio.c90 struct orion_mdio_dev *dev = bus->priv; in orion_mdio_wait_ready() local
94 if (dev->err_interrupt <= 0) { in orion_mdio_wait_ready()
96 MVMDIO_SMI_TIMEOUT, false, dev)) in orion_mdio_wait_ready()
105 if (wait_event_timeout(dev->smi_busy_wait, in orion_mdio_wait_ready()
106 ops->is_done(dev), timeout)) in orion_mdio_wait_ready()
114 static int orion_mdio_smi_is_done(struct orion_mdio_dev *dev) in orion_mdio_smi_is_done() argument
116 return !(readl(dev->regs) & MVMDIO_SMI_BUSY); in orion_mdio_smi_is_done()
126 struct orion_mdio_dev *dev = bus->priv; in orion_mdio_smi_read() local
137 dev->regs); in orion_mdio_smi_read()
143 val = readl(dev->regs); in orion_mdio_smi_read()
[all …]
/openbmc/qemu/hw/net/
H A Dspapr_llan.c114 SpaprVioVlan *dev = qemu_get_nic_opaque(nc); in spapr_vlan_can_receive() local
116 return dev->isopen && dev->rx_bufs > 0; in spapr_vlan_can_receive()
126 static void spapr_vlan_record_dropped_rx_frame(SpaprVioVlan *dev) in spapr_vlan_record_dropped_rx_frame() argument
130 cnt = vio_ldq(&dev->sdev, dev->buf_list + 4096 - 8); in spapr_vlan_record_dropped_rx_frame()
131 vio_stq(&dev->sdev, dev->buf_list + 4096 - 8, cnt + 1); in spapr_vlan_record_dropped_rx_frame()
137 static vlan_bd_t spapr_vlan_get_rx_bd_from_pool(SpaprVioVlan *dev, in spapr_vlan_get_rx_bd_from_pool() argument
144 if (dev->rx_pool[pool]->count > 0 && in spapr_vlan_get_rx_bd_from_pool()
145 dev->rx_pool[pool]->bufsize >= size + 8) { in spapr_vlan_get_rx_bd_from_pool()
156 dev->rx_pool[pool]->count, in spapr_vlan_get_rx_bd_from_pool()
157 dev->rx_bufs); in spapr_vlan_get_rx_bd_from_pool()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dpci.c33 static int mt7921e_init_reset(struct mt792x_dev *dev) in mt7921e_init_reset() argument
35 return mt792x_wpdma_reset(dev, true); in mt7921e_init_reset()
38 static void mt7921e_unregister_device(struct mt792x_dev *dev) in mt7921e_unregister_device() argument
41 struct mt76_connac_pm *pm = &dev->pm; in mt7921e_unregister_device()
43 cancel_work_sync(&dev->init_work); in mt7921e_unregister_device()
44 mt76_unregister_device(&dev->mt76); in mt7921e_unregister_device()
45 mt76_for_each_q_rx(&dev->mt76, i) in mt7921e_unregister_device()
46 napi_disable(&dev->mt76.napi[i]); in mt7921e_unregister_device()
49 cancel_work_sync(&dev->reset_work); in mt7921e_unregister_device()
51 mt76_connac2_tx_token_put(&dev->mt76); in mt7921e_unregister_device()
[all …]
H A Dsdio_mac.c10 static void mt7921s_enable_irq(struct mt76_dev *dev) in mt7921s_enable_irq() argument
12 struct mt76_sdio *sdio = &dev->sdio; in mt7921s_enable_irq()
19 static void mt7921s_disable_irq(struct mt76_dev *dev) in mt7921s_disable_irq() argument
21 struct mt76_sdio *sdio = &dev->sdio; in mt7921s_disable_irq()
28 static u32 mt7921s_read_whcr(struct mt76_dev *dev) in mt7921s_read_whcr() argument
30 return sdio_readl(dev->sdio.func, MCR_WHCR, NULL); in mt7921s_read_whcr()
33 int mt7921s_wfsys_reset(struct mt792x_dev *dev) in mt7921s_wfsys_reset() argument
35 struct mt76_sdio *sdio = &dev->mt76.sdio; in mt7921s_wfsys_reset()
38 mt7921s_mcu_drv_pmctrl(dev); in mt7921s_wfsys_reset()
58 readx_poll_timeout(mt7921s_read_whcr, &dev->mt76, status, in mt7921s_wfsys_reset()
[all …]
/openbmc/linux/drivers/usb/core/
H A Dhcd-pci.c107 if (dev_get_drvdata(&pdev->dev)) { /* Succeeded */ in ehci_post_add()
108 dev_dbg(&pdev->dev, "HS companion for %s\n", in ehci_post_add()
109 dev_name(&companion->dev)); in ehci_post_add()
126 dev_dbg(&pdev->dev, "FS/LS companion for %s\n", in non_ehci_add()
127 dev_name(&companion->dev)); in non_ehci_add()
147 device_pm_wait_for_dev(&pdev->dev, &companion->dev); in ehci_wait_for_companions()
172 int usb_hcd_pci_probe(struct pci_dev *dev, const struct hc_driver *driver) in usb_hcd_pci_probe() argument
184 if (pci_enable_device(dev) < 0) in usb_hcd_pci_probe()
192 retval = pci_alloc_irq_vectors(dev, 1, 1, PCI_IRQ_LEGACY | PCI_IRQ_MSI); in usb_hcd_pci_probe()
194 dev_err(&dev->dev, in usb_hcd_pci_probe()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dbeacon.c6 struct mt7603_dev *dev; member
13 mt7603_mac_stuck_beacon_recovery(struct mt7603_dev *dev) in mt7603_mac_stuck_beacon_recovery() argument
15 if (dev->beacon_check % 5 != 4) in mt7603_mac_stuck_beacon_recovery()
18 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_EN); in mt7603_mac_stuck_beacon_recovery()
19 mt76_set(dev, MT_SCH_4, MT_SCH_4_RESET); in mt7603_mac_stuck_beacon_recovery()
20 mt76_clear(dev, MT_SCH_4, MT_SCH_4_RESET); in mt7603_mac_stuck_beacon_recovery()
21 mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_EN); in mt7603_mac_stuck_beacon_recovery()
23 mt76_set(dev, MT_WF_CFG_OFF_WOCCR, MT_WF_CFG_OFF_WOCCR_TMAC_GC_DIS); in mt7603_mac_stuck_beacon_recovery()
24 mt76_set(dev, MT_ARB_SCR, MT_ARB_SCR_TX_DISABLE); in mt7603_mac_stuck_beacon_recovery()
25 mt76_clear(dev, MT_ARB_SCR, MT_ARB_SCR_TX_DISABLE); in mt7603_mac_stuck_beacon_recovery()
[all …]
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A D21142.c32 struct net_device *dev = tp->dev; in t21142_media_task() local
43 dev_info(&dev->dev, "21143 negotiation status %08x, %s\n", in t21142_media_task()
44 csr12, medianame[dev->if_port]); in t21142_media_task()
45 if (tulip_media_cap[dev->if_port] & MediaIsMII) { in t21142_media_task()
46 if (tulip_check_duplex(dev) < 0) { in t21142_media_task()
47 netif_carrier_off(dev); in t21142_media_task()
50 netif_carrier_on(dev); in t21142_media_task()
56 dev_info(&dev->dev, in t21142_media_task()
58 medianame[dev->if_port], csr12); in t21142_media_task()
61 } else if (dev->if_port == 3) { in t21142_media_task()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c86 static u64 get_async_ev_mask(struct mlx4_dev *dev) in get_async_ev_mask() argument
89 if (dev->caps.flags & MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV) in get_async_ev_mask()
91 if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RECOVERABLE_ERROR_EVENT) in get_async_ev_mask()
144 struct mlx4_dev *dev = &priv->dev; in mlx4_gen_slave_eqe() local
156 mlx4_is_bonded(dev)) { in mlx4_gen_slave_eqe()
159 if (!mlx4_QUERY_PORT(dev, 1, &port_cap) && port_cap.link_state) in mlx4_gen_slave_eqe()
162 if (!mlx4_QUERY_PORT(dev, 2, &port_cap) && port_cap.link_state) in mlx4_gen_slave_eqe()
167 for (i = 0; i <= dev->persist->num_vfs; i++) { in mlx4_gen_slave_eqe()
172 slave_port = mlx4_phys_to_slave_port(dev, i, phys_port); in mlx4_gen_slave_eqe()
177 if (mlx4_GEN_EQE(dev, i, eqe)) in mlx4_gen_slave_eqe()
[all …]
/openbmc/qemu/hw/i2c/
H A Dsmbus_slave.c26 do { printf("smbus(%02x): " fmt , dev->i2c.address, ## __VA_ARGS__); } while (0)
28 do { g_autofree char *qom_path = object_get_canonical_path(OBJECT(dev)); \
34 do { g_autofree char *qom_path = object_get_canonical_path(OBJECT(dev)); \
47 static void smbus_do_quick_cmd(SMBusDevice *dev, int recv) in smbus_do_quick_cmd() argument
49 SMBusDeviceClass *sc = SMBUS_DEVICE_GET_CLASS(dev); in smbus_do_quick_cmd()
53 sc->quick_cmd(dev, recv); in smbus_do_quick_cmd()
57 static void smbus_do_write(SMBusDevice *dev) in smbus_do_write() argument
59 SMBusDeviceClass *sc = SMBUS_DEVICE_GET_CLASS(dev); in smbus_do_write()
61 DPRINTF("Command %d len %d\n", dev->data_buf[0], dev->data_len); in smbus_do_write()
63 sc->write_data(dev, dev->data_buf, dev->data_len); in smbus_do_write()
[all …]
/openbmc/qemu/hw/usb/
H A Dbus.c17 static char *usb_get_dev_path(DeviceState *dev);
57 USBDevice *dev = opaque; in usb_device_post_load() local
59 if (dev->state == USB_STATE_NOTATTACHED) { in usb_device_post_load()
60 dev->attached = false; in usb_device_post_load()
62 dev->attached = true; in usb_device_post_load()
103 static void usb_device_realize(USBDevice *dev, Error **errp) in usb_device_realize() argument
105 USBDeviceClass *klass = USB_DEVICE_GET_CLASS(dev); in usb_device_realize()
108 klass->realize(dev, errp); in usb_device_realize()
112 USBDevice *usb_device_find_device(USBDevice *dev, uint8_t addr) in usb_device_find_device() argument
114 USBDeviceClass *klass = USB_DEVICE_GET_CLASS(dev); in usb_device_find_device()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Ds626.c105 static void s626_mc_enable(struct comedi_device *dev, in s626_mc_enable() argument
110 writel(val, dev->mmio + reg); in s626_mc_enable()
113 static void s626_mc_disable(struct comedi_device *dev, in s626_mc_disable() argument
116 writel(cmd << 16, dev->mmio + reg); in s626_mc_disable()
119 static bool s626_mc_test(struct comedi_device *dev, in s626_mc_test() argument
124 val = readl(dev->mmio + reg); in s626_mc_test()
144 static void s626_debi_transfer(struct comedi_device *dev) in s626_debi_transfer() argument
150 s626_mc_enable(dev, S626_MC2_UPLD_DEBI, S626_P_MC2); in s626_debi_transfer()
157 if (s626_mc_test(dev, S626_MC2_UPLD_DEBI, S626_P_MC2)) in s626_debi_transfer()
162 dev_err(dev->class_dev, in s626_debi_transfer()
[all …]
H A Dni_atmio16d.c149 static void reset_counters(struct comedi_device *dev) in reset_counters() argument
152 outw(0xFFC2, dev->iobase + AM9513A_COM_REG); in reset_counters()
153 outw(0xFF02, dev->iobase + AM9513A_COM_REG); in reset_counters()
154 outw(0x4, dev->iobase + AM9513A_DATA_REG); in reset_counters()
155 outw(0xFF0A, dev->iobase + AM9513A_COM_REG); in reset_counters()
156 outw(0x3, dev->iobase + AM9513A_DATA_REG); in reset_counters()
157 outw(0xFF42, dev->iobase + AM9513A_COM_REG); in reset_counters()
158 outw(0xFF42, dev->iobase + AM9513A_COM_REG); in reset_counters()
160 outw(0xFFC4, dev->iobase + AM9513A_COM_REG); in reset_counters()
161 outw(0xFF03, dev->iobase + AM9513A_COM_REG); in reset_counters()
[all …]
/openbmc/u-boot/net/
H A Deth_legacy.c46 void eth_set_dev(struct eth_device *dev) in eth_set_dev() argument
48 eth_current = dev; in eth_set_dev()
53 struct eth_device *dev, *target_dev; in eth_get_dev_by_name() local
60 dev = eth_devices; in eth_get_dev_by_name()
63 if (strcmp(devname, dev->name) == 0) { in eth_get_dev_by_name()
64 target_dev = dev; in eth_get_dev_by_name()
67 dev = dev->next; in eth_get_dev_by_name()
68 } while (dev != eth_devices); in eth_get_dev_by_name()
75 struct eth_device *dev, *target_dev; in eth_get_dev_by_index() local
80 dev = eth_devices; in eth_get_dev_by_index()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Deeprom.c12 static int mt7615_efuse_read(struct mt7615_dev *dev, u32 base, in mt7615_efuse_read() argument
18 val = mt76_rr(dev, base + MT_EFUSE_CTRL); in mt7615_efuse_read()
22 mt76_wr(dev, base + MT_EFUSE_CTRL, val); in mt7615_efuse_read()
24 if (!mt76_poll(dev, base + MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt7615_efuse_read()
29 val = mt76_rr(dev, base + MT_EFUSE_CTRL); in mt7615_efuse_read()
37 val = mt76_rr(dev, base + MT_EFUSE_RDATA(i)); in mt7615_efuse_read()
44 static int mt7615_efuse_init(struct mt7615_dev *dev, u32 base) in mt7615_efuse_init() argument
50 if (is_mt7663(&dev->mt76)) in mt7615_efuse_init()
53 val = mt76_rr(dev, base + MT_EFUSE_BASE_CTRL); in mt7615_efuse_init()
57 dev->mt76.otp.data = devm_kzalloc(dev->mt76.dev, len, GFP_KERNEL); in mt7615_efuse_init()
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dmn88472.c20 struct mn88472_dev *dev = i2c_get_clientdata(client); in mn88472_read_status() local
26 if (!dev->active) { in mn88472_read_status()
33 ret = regmap_read(dev->regmap[0], 0x7f, &utmp); in mn88472_read_status()
43 ret = regmap_read(dev->regmap[2], 0x92, &utmp); in mn88472_read_status()
58 ret = regmap_read(dev->regmap[1], 0x84, &utmp); in mn88472_read_status()
75 ret = regmap_bulk_read(dev->regmap[2], 0x8e + i, in mn88472_read_status()
82 dev_dbg(&client->dev, "strength=%u\n", utmp1); in mn88472_read_status()
93 ret = regmap_bulk_read(dev->regmap[0], 0x9c, buf, 2); in mn88472_read_status()
104 dev_dbg(&client->dev, "cnr=%d value=%u\n", stmp, utmp); in mn88472_read_status()
115 ret = regmap_bulk_read(dev->regmap[2], 0xbc + i, in mn88472_read_status()
[all …]
/openbmc/linux/drivers/net/arcnet/
H A Darcnet.c62 static void null_rx(struct net_device *dev, int bufnum,
64 static int null_build_header(struct sk_buff *skb, struct net_device *dev,
66 static int null_prepare_tx(struct net_device *dev, struct archdr *pkt,
69 static void arcnet_rx(struct net_device *dev, int bufnum);
104 static int arcnet_header(struct sk_buff *skb, struct net_device *dev,
107 static int go_tx(struct net_device *dev);
146 void arcnet_dump_skb(struct net_device *dev, in arcnet_dump_skb() argument
152 snprintf(hdr, sizeof(hdr), "%6s:%s skb->data:", dev->name, desc); in arcnet_dump_skb()
161 static void arcnet_dump_packet(struct net_device *dev, int bufnum, in arcnet_dump_packet() argument
164 struct arcnet_local *lp = netdev_priv(dev); in arcnet_dump_packet()
[all …]
/openbmc/linux/drivers/media/tuners/
H A Dit913x.c28 struct it913x_dev *dev = fe->tuner_priv; in it913x_init() local
29 struct platform_device *pdev = dev->pdev; in it913x_init()
36 dev_dbg(&pdev->dev, "role %u\n", dev->role); in it913x_init()
38 ret = regmap_write(dev->regmap, 0x80ec4c, 0x68); in it913x_init()
44 ret = regmap_read(dev->regmap, 0x80ec86, &utmp); in it913x_init()
51 dev->clk_mode = utmp; in it913x_init()
52 dev->xtal = 2000; in it913x_init()
53 dev->fdiv = 3; in it913x_init()
58 dev->clk_mode = utmp; in it913x_init()
59 dev->xtal = 640; in it913x_init()
[all …]
/openbmc/linux/net/core/
H A Ddev.c166 struct net_device *dev,
254 static struct netdev_name_node *netdev_name_node_alloc(struct net_device *dev, in netdev_name_node_alloc() argument
263 name_node->dev = dev; in netdev_name_node_alloc()
269 netdev_name_node_head_alloc(struct net_device *dev) in netdev_name_node_head_alloc() argument
273 name_node = netdev_name_node_alloc(dev, dev->name); in netdev_name_node_head_alloc()
327 int netdev_name_node_alt_create(struct net_device *dev, const char *name) in netdev_name_node_alt_create() argument
330 struct net *net = dev_net(dev); in netdev_name_node_alt_create()
335 name_node = netdev_name_node_alloc(dev, name); in netdev_name_node_alt_create()
340 list_add_tail(&name_node->list, &dev->name_node->list); in netdev_name_node_alt_create()
352 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name) in netdev_name_node_alt_destroy() argument
[all …]

1...<<11121314151617181920>>...1017