/openbmc/linux/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_enc_hw.c | 238 struct mtk_jpeg_dev *master_jpeg = cjpeg->master_dev; in mtk_jpegenc_timeout_work() 265 struct mtk_jpeg_dev *master_jpeg = jpeg->master_dev; in mtk_jpegenc_hw_irq_handler() 322 struct mtk_jpeg_dev *master_dev; in mtk_jpegenc_hw_probe() local 331 master_dev = dev_get_drvdata(decs->parent); in mtk_jpegenc_hw_probe() 332 if (!master_dev) in mtk_jpegenc_hw_probe() 364 i = atomic_add_return(1, &master_dev->hw_index) - 1; in mtk_jpegenc_hw_probe() 365 master_dev->enc_hw_dev[i] = dev; in mtk_jpegenc_hw_probe() 366 master_dev->reg_encbase[i] = dev->reg_base; in mtk_jpegenc_hw_probe() 367 dev->master_dev = master_dev; in mtk_jpegenc_hw_probe()
|
H A D | mtk_jpeg_dec_hw.c | 493 struct mtk_jpeg_dev *master_jpeg = cjpeg->master_dev; in mtk_jpegdec_timeout_work() 521 struct mtk_jpeg_dev *master_jpeg = jpeg->master_dev; in mtk_jpegdec_hw_irq_handler() 589 struct mtk_jpeg_dev *master_dev; in mtk_jpegdec_hw_probe() local 598 master_dev = dev_get_drvdata(decs->parent); in mtk_jpegdec_hw_probe() 599 if (!master_dev) in mtk_jpegdec_hw_probe() 611 master_dev->workqueue); in mtk_jpegdec_hw_probe() 639 i = atomic_add_return(1, &master_dev->hw_index) - 1; in mtk_jpegdec_hw_probe() 640 master_dev->dec_hw_dev[i] = dev; in mtk_jpegdec_hw_probe() 641 master_dev->reg_decbase[i] = dev->reg_base; in mtk_jpegdec_hw_probe() 642 dev->master_dev = master_dev; in mtk_jpegdec_hw_probe()
|
H A D | mtk_jpeg_core.h | 155 struct mtk_jpeg_dev *master_dev; member 182 struct mtk_jpeg_dev *master_dev; member
|
/openbmc/linux/drivers/net/can/sja1000/ |
H A D | kvaser_pci.c | 197 struct net_device **master_dev, in kvaser_pci_add_chan() argument 234 struct sja1000_priv *master_priv = netdev_priv(*master_dev); in kvaser_pci_add_chan() 269 *master_dev = dev; in kvaser_pci_add_chan() 282 struct net_device *master_dev = NULL; in kvaser_pci_init_one() local 329 err = kvaser_pci_add_chan(pdev, i, &master_dev, in kvaser_pci_init_one() 336 priv = netdev_priv(master_dev); in kvaser_pci_init_one() 342 pci_set_drvdata(pdev, master_dev); in kvaser_pci_init_one() 346 kvaser_pci_del_chan(master_dev); in kvaser_pci_init_one()
|
/openbmc/linux/drivers/net/ |
H A D | eql.c | 188 eql->queue.master_dev = dev; in eql_setup() 385 equalizer_t *eql = netdev_priv(queue->master_dev); in eql_is_full() 413 static int eql_enslave(struct net_device *master_dev, slaving_request_t __user *srqp) in eql_enslave() argument 425 if ((master_dev->flags & IFF_UP) == IFF_UP) { in eql_enslave() 429 equalizer_t *eql = netdev_priv(master_dev); in eql_enslave() 454 static int eql_emancipate(struct net_device *master_dev, slaving_request_t __user *srqp) in eql_emancipate() argument 456 equalizer_t *eql = netdev_priv(master_dev); in eql_emancipate()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_drv.c | 1142 static int add_components_mdp(struct device *master_dev, in add_components_mdp() argument 1145 struct device_node *np = master_dev->of_node; in add_components_mdp() 1155 DRM_DEV_ERROR(master_dev, "unable to parse port endpoint\n"); in add_components_mdp() 1178 drm_of_component_match_add(master_dev, matchptr, in add_components_mdp() 1232 int msm_drv_probe(struct device *master_dev, in msm_drv_probe() argument 1239 priv = devm_kzalloc(master_dev, sizeof(*priv), GFP_KERNEL); in msm_drv_probe() 1244 dev_set_drvdata(master_dev, priv); in msm_drv_probe() 1248 ret = add_components_mdp(master_dev, &match); in msm_drv_probe() 1253 ret = add_gpu_components(master_dev, &match); in msm_drv_probe() 1260 ret = dma_set_mask_and_coherent(master_dev, ~0); in msm_drv_probe() [all …]
|
/openbmc/linux/include/linux/ |
H A D | if_eql.h | 41 struct net_device *master_dev; member
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | roce_gid_mgmt.c | 174 struct net_device *master_dev; in is_eth_port_inactive_slave_filter() local 181 master_dev = netdev_master_upper_dev_get_rcu(rdma_ndev); in is_eth_port_inactive_slave_filter() 182 res = is_eth_active_slave_of_bonding_rcu(rdma_ndev, master_dev) == in is_eth_port_inactive_slave_filter()
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 563 struct net_device *master_dev; in rtnl_link_get_slave_info_data_size() local 570 if (!master_dev) in rtnl_link_get_slave_info_data_size() 573 ops = master_dev->rtnl_link_ops; in rtnl_link_get_slave_info_data_size() 678 struct net_device *master_dev; in rtnl_have_link_slave_info() local 684 if (master_dev && master_dev->rtnl_link_ops) in rtnl_have_link_slave_info() 693 struct net_device *master_dev; in rtnl_link_slave_info_fill() local 699 if (!master_dev) in rtnl_link_slave_info_fill() 701 ops = master_dev->rtnl_link_ops; in rtnl_link_slave_info_fill() 3565 struct net_device *master_dev; in __rtnl_newlink() local 3603 master_dev = NULL; in __rtnl_newlink() [all …]
|
H A D | dev.c | 7716 struct net_device *master_dev; in __netdev_upper_dev_link() local 7735 master_dev = __netdev_master_upper_dev_get(dev); in __netdev_upper_dev_link() 7736 if (master_dev) in __netdev_upper_dev_link() 7737 return master_dev == upper_dev ? -EEXIST : -EBUSY; in __netdev_upper_dev_link()
|
/openbmc/linux/drivers/w1/masters/ |
H A D | omap_hdq.c | 210 static void omap_w1_search_bus(void *_hdq, struct w1_master *master_dev, in omap_w1_search_bus() argument 228 slave_found(master_dev, id); in omap_w1_search_bus()
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_main.c | 5321 static struct net_device *bond_xmit_get_slave(struct net_device *master_dev, in bond_xmit_get_slave() argument 5325 struct bonding *bond = netdev_priv(master_dev); in bond_xmit_get_slave()
|