Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 25 of 143) sorted by relevance

123456

/drivers/i2c/busses/
A Dscx200_acb.c186 --iface->len; in scx200_acb_machine()
199 --iface->len; in scx200_acb_machine()
209 scx200_acb_state_name[iface->state], iface->address_byte, in scx200_acb_machine()
326 iface->len = len; in scx200_acb_smbus_xfer()
421 iface = kzalloc(sizeof(*iface), GFP_KERNEL); in scx200_create_iface()
422 if (!iface) in scx200_create_iface()
435 return iface; in scx200_create_iface()
489 return iface; in scx200_create_dev()
493 kfree(iface); in scx200_create_dev()
507 if (!iface) in scx200_probe()
[all …]
/drivers/most/
A Dcore.c776 typeof(c->iface->enqueue) enqueue = c->iface->enqueue; in hdm_enqueue_thread()
1111 if (c->iface->configure(c->iface, c->channel_id, &c->cfg)) { in most_start_channel()
1181 if (iface->mod) in most_stop_channel()
1185 if (c->iface->poison_channel(c->iface, c->channel_id)) { in most_stop_channel()
1285 if (!iface || !iface->enqueue || !iface->configure || in most_register_interface()
1295 iface->p = kzalloc(sizeof(*iface->p), GFP_KERNEL); in most_register_interface()
1296 if (!iface->p) { in most_register_interface()
1303 strscpy(iface->p->name, iface->description, sizeof(iface->p->name)); in most_register_interface()
1306 dev_set_drvdata(iface->dev, iface); in most_register_interface()
1331 c->iface = iface; in most_register_interface()
[all …]
A Dmost_snd.c47 struct most_interface *iface; member
62 struct most_interface *iface; member
164 struct sound_adapter *adpt = iface->priv; in get_channel()
168 if ((channel->iface == iface) && (channel->id == channel_id)) in get_channel()
538 if (adpt->iface != iface) in audio_probe_channel()
549 adpt->iface = iface; in audio_probe_channel()
551 iface->priv = adpt; in audio_probe_channel()
564 if (get_channel(iface, channel_id)) { in audio_probe_channel()
566 iface->description, channel_id); in audio_probe_channel()
584 channel->iface = iface; in audio_probe_channel()
[all …]
A Dmost_usb.c105 struct most_interface iface; member
238 struct most_dev *mdev = to_mdev(iface); in hdm_poison_channel()
460 struct most_dev *mdev = to_mdev(iface); in hdm_enqueue()
571 struct most_dev *mdev = to_mdev(iface); in hdm_configure_channel()
976 mdev->iface.mod = hdm_usb_fops.owner; in hdm_probe()
977 mdev->iface.dev = &mdev->dev; in hdm_probe()
979 mdev->iface.interface = ITYPE_USB; in hdm_probe()
982 mdev->iface.enqueue = hdm_enqueue; in hdm_probe()
984 mdev->iface.dma_alloc = hdm_dma_alloc; in hdm_probe()
985 mdev->iface.dma_free = hdm_dma_free; in hdm_probe()
[all …]
A Dmost_cdev.c36 struct most_interface *iface; member
52 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo()
58 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo()
72 if ((c->iface == iface) && (c->channel_id == id)) { in get_channel()
87 most_stop_channel(c->iface, c->channel_id, &comp.cc); in stop_channel()
143 ret = most_start_channel(c->iface, c->channel_id, &comp.cc); in comp_open()
324 c = get_channel(iface, channel_id); in comp_disconnect_channel()
388 c = get_channel(iface, channel_id); in comp_tx_completion()
392 if ((channel_id < 0) || (channel_id >= iface->num_channels)) { in comp_tx_completion()
424 c = get_channel(iface, channel_id); in comp_probe()
[all …]
/drivers/media/platform/amphion/
A Dvpu_malone.c370 shared->iface = iface; in vpu_malone_init_rpc()
455 struct malone_iface *iface = shared->iface; in vpu_malone_set_log_buf() local
471 struct malone_iface *iface = shared->iface; in vpu_malone_set_system_cfg() local
487 struct malone_iface *iface = shared->iface; in vpu_malone_get_version() local
504 struct malone_iface *iface = shared->iface; in vpu_malone_config_stream_buffer() local
625 struct malone_iface *iface = shared->iface; in vpu_malone_set_stream_cfg() local
651 struct malone_iface *iface = shared->iface; in vpu_malone_set_params() local
694 struct malone_iface *iface = shared->iface; in vpu_malone_is_non_frame_mode() local
706 struct malone_iface *iface = shared->iface; in vpu_malone_update_params() local
1684 struct malone_iface *iface = shared->iface; in vpu_malone_check_ready() local
[all …]
A Dvpu_rpc.h20 void *iface; member
205 core->iface = shared; in vpu_iface_init()
221 ops->set_log_buf(core->iface, log); in vpu_iface_set_log_buf()
245 return ops->get_stream_buffer_size(core->iface); in vpu_iface_get_stream_buffer_size()
255 ops->set_stream_cfg(inst->core->iface, inst->id); in vpu_iface_config_stream()
266 return ops->send_cmd_buf(core->iface, cmd); in vpu_iface_send_cmd()
276 return ops->receive_msg_buf(core->iface, msg); in vpu_iface_receive_msg()
320 ret = ops->input_frame(inst->core->iface, inst, vb); in vpu_iface_input_frame()
390 return ops->get_version(core->iface); in vpu_iface_get_version()
400 return ops->get_max_instance_count(core->iface); in vpu_iface_get_max_instance_count()
[all …]
A Dvpu_windsor.c569 iface = rpc->virt; in vpu_windsor_init_rpc()
570 shared->iface = iface; in vpu_windsor_init_rpc()
584 iface->cmd_buffer_desc.end = iface->cmd_buffer_desc.start + CMD_SIZE; in vpu_windsor_init_rpc()
593 iface->msg_buffer_desc.end = iface->msg_buffer_desc.start + MSG_SIZE; in vpu_windsor_init_rpc()
637 struct windsor_iface *iface = shared->iface; in vpu_windsor_set_log_buf() local
642 iface->log_buffer_desc.end = iface->log_buffer_desc.start + log->length; in vpu_windsor_set_log_buf()
648 struct windsor_iface *iface = shared->iface; in vpu_windsor_set_system_cfg() local
912 struct windsor_iface *iface = shared->iface; in vpu_windsor_get_version() local
914 return iface->fw_version; in vpu_windsor_get_version()
1177 struct windsor_iface *iface = shared->iface; in vpu_windsor_get_max_instance_count() local
[all …]
A Dvpu_dbg.c250 struct vpu_shared_addr *iface = core->iface; in vpu_dbg_core() local
298 iface->cmd_desc->start, in vpu_dbg_core()
299 iface->cmd_desc->end, in vpu_dbg_core()
300 iface->cmd_desc->wptr, in vpu_dbg_core()
301 iface->cmd_desc->rptr); in vpu_dbg_core()
306 iface->msg_desc->start, in vpu_dbg_core()
307 iface->msg_desc->end, in vpu_dbg_core()
308 iface->msg_desc->wptr, in vpu_dbg_core()
309 iface->msg_desc->rptr); in vpu_dbg_core()
/drivers/staging/most/net/
A Dnet.c62 struct most_interface *iface; member
213 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo); in most_nd_open()
226 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, NULL); in most_nd_stop()
285 if (nd->iface == iface) in get_net_dev()
296 nd = get_net_dev(iface); in get_net_dev_hold()
315 if (!iface) in comp_probe_channel()
322 nd = get_net_dev(iface); in comp_probe_channel()
332 nd->iface = iface; in comp_probe_channel()
371 nd = get_net_dev(iface); in comp_disconnect_channel()
414 nd = get_net_dev_hold(iface); in comp_resume_tx_channel()
[all …]
/drivers/net/ethernet/marvell/prestera/
A Dprestera_router_hw.c192 switch (in->iface.type) { in __prestera_rif_entry_key_copy()
194 out->iface.dev_port.hw_dev_num = in->iface.dev_port.hw_dev_num; in __prestera_rif_entry_key_copy()
195 out->iface.dev_port.port_num = in->iface.dev_port.port_num; in __prestera_rif_entry_key_copy()
198 out->iface.lag_id = in->iface.lag_id; in __prestera_rif_entry_key_copy()
201 out->iface.vlan_id = in->iface.vlan_id; in __prestera_rif_entry_key_copy()
208 out->iface.type = in->iface.type; in __prestera_rif_entry_key_copy()
234 struct prestera_iface iface; in prestera_rif_entry_destroy() local
238 memcpy(&iface, &e->key.iface, sizeof(iface)); in prestera_rif_entry_destroy()
239 iface.vr_id = e->vr->hw_vr_id; in prestera_rif_entry_destroy()
253 struct prestera_iface iface; in prestera_rif_entry_create() local
[all …]
/drivers/usb/misc/
A Dappledisplay.c206 static int appledisplay_probe(struct usb_interface *iface, in appledisplay_probe() argument
212 struct usb_device *udev = interface_to_usbdev(iface); in appledisplay_probe()
222 dev_err(&iface->dev, "Could not find int-in endpoint\n"); in appledisplay_probe()
259 dev_err(&iface->dev, "Allocating URB buffer failed\n"); in appledisplay_probe()
271 dev_err(&iface->dev, "Submitting URB failed\n"); in appledisplay_probe()
284 dev_err(&iface->dev, "Backlight registration failed\n"); in appledisplay_probe()
295 dev_err(&iface->dev, in appledisplay_probe()
304 usb_set_intfdata(iface, pdata); in appledisplay_probe()
323 usb_set_intfdata(iface, NULL); in appledisplay_probe()
328 static void appledisplay_disconnect(struct usb_interface *iface) in appledisplay_disconnect() argument
[all …]
/drivers/mtd/nand/raw/
A Dnand_toshiba.c203 struct nand_interface_config *iface) in tc58teg5dclta00_choose_interface_config() argument
205 onfi_fill_interface_config(chip, iface, NAND_SDR_IFACE, 5); in tc58teg5dclta00_choose_interface_config()
207 return nand_choose_best_sdr_timings(chip, iface, NULL); in tc58teg5dclta00_choose_interface_config()
212 struct nand_interface_config *iface) in tc58nvg0s3e_choose_interface_config() argument
214 onfi_fill_interface_config(chip, iface, NAND_SDR_IFACE, 2); in tc58nvg0s3e_choose_interface_config()
216 return nand_choose_best_sdr_timings(chip, iface, NULL); in tc58nvg0s3e_choose_interface_config()
221 struct nand_interface_config *iface) in th58nvg2s3hbai4_choose_interface_config() argument
223 struct nand_sdr_timings *sdr = &iface->timings.sdr; in th58nvg2s3hbai4_choose_interface_config()
226 onfi_fill_interface_config(chip, iface, NAND_SDR_IFACE, 4); in th58nvg2s3hbai4_choose_interface_config()
243 return nand_choose_best_sdr_timings(chip, iface, sdr); in th58nvg2s3hbai4_choose_interface_config()
A Dnand_sandisk.c7 struct nand_interface_config *iface) in sdtnqgama_choose_interface_config() argument
9 onfi_fill_interface_config(chip, iface, NAND_SDR_IFACE, 0); in sdtnqgama_choose_interface_config()
11 return nand_choose_best_sdr_timings(chip, iface, NULL); in sdtnqgama_choose_interface_config()
A Dnand_timings.c653 struct nand_interface_config *iface, in onfi_fill_sdr_interface_config() argument
661 *iface = onfi_sdr_timings[timing_mode]; in onfi_fill_sdr_interface_config()
669 struct nand_sdr_timings *timings = &iface->timings.sdr; in onfi_fill_sdr_interface_config()
689 struct nand_interface_config *iface, in onfi_fill_nvddr_interface_config() argument
697 *iface = onfi_nvddr_timings[timing_mode]; in onfi_fill_nvddr_interface_config()
705 struct nand_nvddr_timings *timings = &iface->timings.nvddr; in onfi_fill_nvddr_interface_config()
729 struct nand_interface_config *iface, in onfi_fill_interface_config() argument
734 return onfi_fill_sdr_interface_config(chip, iface, timing_mode); in onfi_fill_interface_config()
736 return onfi_fill_nvddr_interface_config(chip, iface, timing_mode); in onfi_fill_interface_config()
/drivers/net/can/c_can/
A Dc_can_main.c48 #define C_CAN_IFACE(reg, iface) (C_CAN_IF1_##reg + (iface) * IF_ENUM_REG_LEN) argument
238 int cnt, reg = C_CAN_IFACE(COMREQ_REG, iface); in c_can_obj_update()
253 c_can_obj_update(dev, iface, cmd, obj); in c_can_object_get()
259 c_can_obj_update(dev, iface, cmd | IF_COMM_WR, obj); in c_can_object_put()
271 c_can_object_put(dev, iface, obj, IF_COMM_INVAL); in c_can_inval_tx_object()
279 c_can_inval_tx_object(dev, iface, obj); in c_can_inval_msg_object()
307 c_can_inval_msg_object(dev, iface, obj); in c_can_setup_tx_object()
316 u32 data = 0, dreg = C_CAN_IFACE(DATA1_REG, iface); in c_can_setup_tx_object()
328 C_CAN_IFACE(DATA1_REG, iface) + i / 2, in c_can_setup_tx_object()
336 int iface, int objno, u32 ctrl) in c_can_handle_lost_msg_obj() argument
[all …]
/drivers/usb/core/
A Dmessage.c1529 struct usb_interface *iface; in usb_set_interface() local
1540 if (!iface) { in usb_set_interface()
1545 if (iface->unregistering) in usb_set_interface()
1620 remove_intf_ep_devs(iface); in usb_set_interface()
1625 iface->cur_altsetting = alt; in usb_set_interface()
1661 create_intf_ep_devs(iface); in usb_set_interface()
1898 struct usb_interface *iface = in __usb_queue_reset_device() local
1916 struct usb_interface *iface = in __usb_wireless_status_intf() local
1919 device_lock(iface->dev.parent); in __usb_wireless_status_intf()
1920 if (iface->sysfs_files_created) in __usb_wireless_status_intf()
[all …]
/drivers/staging/most/video/
A Dvideo.c30 struct most_interface *iface; member
98 ret = most_start_channel(mdev->iface, mdev->ch_idx, &comp); in comp_vdev_open()
140 most_stop_channel(mdev->iface, mdev->ch_idx, &comp); in comp_vdev_close()
251 "%s", mdev->iface->description); in vidioc_querycap()
368 static struct most_video_dev *get_comp_dev(struct most_interface *iface, int channel_idx) in get_comp_dev() argument
375 if (mdev->iface == iface && mdev->ch_idx == channel_idx) { in get_comp_dev()
449 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument
454 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_probe_channel()
480 mdev->iface = iface; in comp_probe_channel()
508 static int comp_disconnect_channel(struct most_interface *iface, in comp_disconnect_channel() argument
[all …]
/drivers/input/mouse/
A Dappletouch.c843 iface_desc = iface->cur_altsetting; in atp_probe()
861 dev_err(&iface->dev, "Out of memory\n"); in atp_probe()
866 dev->intf = iface; in atp_probe()
895 input_dev->dev.parent = &iface->dev; in atp_probe()
926 usb_set_intfdata(iface, dev); in atp_probe()
936 usb_set_intfdata(iface, NULL); in atp_probe()
944 struct atp *dev = usb_get_intfdata(iface); in atp_disconnect()
946 usb_set_intfdata(iface, NULL); in atp_disconnect()
974 struct atp *dev = usb_get_intfdata(iface); in atp_suspend()
982 struct atp *dev = usb_get_intfdata(iface); in atp_resume()
[all …]
A Dbcm5974.c863 struct bcm5974 *dev = usb_get_intfdata(iface); in bcm5974_suspend()
873 static int bcm5974_resume(struct usb_interface *iface) in bcm5974_resume() argument
875 struct bcm5974 *dev = usb_get_intfdata(iface); in bcm5974_resume()
885 static int bcm5974_probe(struct usb_interface *iface, in bcm5974_probe() argument
901 dev_err(&iface->dev, "out of memory\n"); in bcm5974_probe()
906 dev->intf = iface; in bcm5974_probe()
961 input_dev->dev.parent = &iface->dev; in bcm5974_probe()
975 usb_set_intfdata(iface, dev); in bcm5974_probe()
991 usb_set_intfdata(iface, NULL); in bcm5974_probe()
999 struct bcm5974 *dev = usb_get_intfdata(iface); in bcm5974_disconnect()
[all …]
/drivers/media/platform/ti/omap3isp/
A Dispcsiphy.c24 enum isp_interface_type iface, in csiphy_routing_cfg_3630() argument
32 switch (iface) { in csiphy_routing_cfg_3630()
55 if (iface == ISP_INTERFACE_CCP2B_PHY1 || in csiphy_routing_cfg_3630()
56 iface == ISP_INTERFACE_CCP2B_PHY2) { in csiphy_routing_cfg_3630()
69 static void csiphy_routing_cfg_3430(struct isp_csiphy *phy, u32 iface, bool on, in csiphy_routing_cfg_3430() argument
76 if (iface != ISP_INTERFACE_CCP2B_PHY1) in csiphy_routing_cfg_3430()
103 enum isp_interface_type iface, bool on, in csiphy_routing_cfg() argument
107 return csiphy_routing_cfg_3630(phy, iface, ccp2_strobe); in csiphy_routing_cfg()
109 return csiphy_routing_cfg_3430(phy, iface, on, ccp2_strobe); in csiphy_routing_cfg()
/drivers/usb/storage/
A Dusb.h174 extern int usb_stor_suspend(struct usb_interface *iface, pm_message_t message);
175 extern int usb_stor_resume(struct usb_interface *iface);
176 extern int usb_stor_reset_resume(struct usb_interface *iface);
183 extern int usb_stor_pre_reset(struct usb_interface *iface);
184 extern int usb_stor_post_reset(struct usb_interface *iface);
/drivers/acpi/
A Dacpi_ipmi.c96 static void ipmi_register_bmc(int iface, struct device *dev);
97 static void ipmi_bmc_gone(int iface);
114 ipmi_dev_alloc(int iface, struct device *dev, acpi_handle handle) in ipmi_dev_alloc() argument
130 ipmi_device->ipmi_ifnum = iface; in ipmi_dev_alloc()
132 err = ipmi_create_user(iface, &driver_data.ipmi_hndlrs, in ipmi_dev_alloc()
437 static void ipmi_register_bmc(int iface, struct device *dev) in ipmi_register_bmc() argument
444 err = ipmi_get_smi_info(iface, &smi_data); in ipmi_register_bmc()
454 ipmi_device = ipmi_dev_alloc(iface, smi_data.dev, handle); in ipmi_register_bmc()
486 static void ipmi_bmc_gone(int iface) in ipmi_bmc_gone() argument
493 if (iter->ipmi_ifnum != iface) { in ipmi_bmc_gone()
/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-sti.c26 #define IS_PHY_IF_MODE_GBIT(iface) (phy_interface_mode_is_rgmii(iface) || \ argument
27 iface == PHY_INTERFACE_MODE_GMII)
165 int iface = dwmac->interface; in sti_dwmac_set_mode() local
172 regmap_update_bits(regmap, reg, MII_PHY_SEL_MASK, phy_intf_sels[iface]); in sti_dwmac_set_mode()
174 val = (iface == PHY_INTERFACE_MODE_REVMII) ? 0 : ENMII; in sti_dwmac_set_mode()
/drivers/usb/gadget/udc/
A Dpxa27x_udc.h263 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \ argument
269 .config = _config, .interface = iface, .alternate = altset, \
272 #define PXA_EP_BULK(_idx, addr, dir, config, iface, alt) \ argument
274 config, iface, alt)
275 #define PXA_EP_ISO(_idx, addr, dir, config, iface, alt) \ argument
277 config, iface, alt)
278 #define PXA_EP_INT(_idx, addr, dir, config, iface, alt) \ argument
280 config, iface, alt)

Completed in 92 milliseconds

123456