/Linux-v4.19/drivers/i2c/busses/ |
D | scx200_acb.c | 88 #define ACBSDA (iface->base + 0) 89 #define ACBST (iface->base + 1) 95 #define ACBCST (iface->base + 2) 97 #define ACBCTL1 (iface->base + 3) 103 #define ACBADDR (iface->base + 4) 104 #define ACBCTL2 (iface->base + 5) 109 static void scx200_acb_machine(struct scx200_acb_iface *iface, u8 status) in scx200_acb_machine() argument 113 dev_dbg(&iface->adapter.dev, "state %s, status = 0x%02x\n", in scx200_acb_machine() 114 scx200_acb_state_name[iface->state], status); in scx200_acb_machine() 125 dev_dbg(&iface->adapter.dev, "negative ack in state %s\n", in scx200_acb_machine() [all …]
|
/Linux-v4.19/sound/soc/meson/ |
D | axg-tdm-interface.c | 39 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_set_tdm_slots() local 69 iface->slots = slots; in axg_tdm_set_tdm_slots() 74 iface->slot_width = 32; in axg_tdm_set_tdm_slots() 80 iface->slot_width = slot_width; in axg_tdm_set_tdm_slots() 94 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_iface_set_sysclk() local 98 if (!iface->mclk) { in axg_tdm_iface_set_sysclk() 101 ret = clk_set_rate(iface->mclk, freq); in axg_tdm_iface_set_sysclk() 103 iface->mclk_rate = freq; in axg_tdm_iface_set_sysclk() 112 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_iface_set_fmt() local 121 if (!iface->mclk && (fmt & SND_SOC_DAIFMT_CBS_CFS)) { in axg_tdm_iface_set_fmt() [all …]
|
/Linux-v4.19/net/netlabel/ |
D | netlabel_unlabeled.c | 163 struct netlbl_unlhsh_iface *iface; in netlbl_unlhsh_free_iface() local 171 iface = container_of(entry, struct netlbl_unlhsh_iface, rcu); in netlbl_unlhsh_free_iface() 176 netlbl_af4list_foreach_safe(iter4, tmp4, &iface->addr4_list) { in netlbl_unlhsh_free_iface() 181 netlbl_af6list_foreach_safe(iter6, tmp6, &iface->addr6_list) { in netlbl_unlhsh_free_iface() 186 kfree(iface); in netlbl_unlhsh_free_iface() 244 static int netlbl_unlhsh_add_addr4(struct netlbl_unlhsh_iface *iface, in netlbl_unlhsh_add_addr4() argument 262 ret_val = netlbl_af4list_add(&entry->list, &iface->addr4_list); in netlbl_unlhsh_add_addr4() 284 static int netlbl_unlhsh_add_addr6(struct netlbl_unlhsh_iface *iface, in netlbl_unlhsh_add_addr6() argument 306 ret_val = netlbl_af6list_add(&entry->list, &iface->addr6_list); in netlbl_unlhsh_add_addr6() 328 struct netlbl_unlhsh_iface *iface; in netlbl_unlhsh_add_iface() local [all …]
|
/Linux-v4.19/sound/usb/ |
D | quirks.c | 44 struct usb_interface *iface, in create_composite_quirk() argument 48 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; in create_composite_quirk() 53 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk() 54 if (!iface) in create_composite_quirk() 57 usb_interface_claimed(iface)) in create_composite_quirk() 59 err = snd_usb_create_quirk(chip, iface, driver, quirk); in create_composite_quirk() 65 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk() 66 if (!iface) in create_composite_quirk() 69 !usb_interface_claimed(iface)) in create_composite_quirk() 70 usb_driver_claim_interface(driver, iface, (void *)-1L); in create_composite_quirk() [all …]
|
/Linux-v4.19/drivers/staging/most/ |
D | core.h | 241 int (*configure)(struct most_interface *iface, int channel_idx, 243 int (*enqueue)(struct most_interface *iface, int channel_idx, 245 int (*poison_channel)(struct most_interface *iface, int channel_idx); 246 void (*request_netinfo)(struct most_interface *iface, int channel_idx, 247 void (*on_netinfo)(struct most_interface *iface, 268 int (*probe_channel)(struct most_interface *iface, int channel_idx, 270 int (*disconnect_channel)(struct most_interface *iface, 273 int (*tx_completion)(struct most_interface *iface, int channel_idx); 285 int most_register_interface(struct most_interface *iface); 291 void most_deregister_interface(struct most_interface *iface); [all …]
|
D | core.c | 58 struct most_interface *iface; member 114 if (c->iface->dma_free) in most_free_mbo_coherent() 115 c->iface->dma_free(mbo, coherent_buf_size); in most_free_mbo_coherent() 185 if (c->iface->channel_vector[i].direction & MOST_CH_RX) in available_directions_show() 187 if (c->iface->channel_vector[i].direction & MOST_CH_TX) in available_directions_show() 201 if (c->iface->channel_vector[i].data_type & MOST_CH_CONTROL) in available_datatypes_show() 203 if (c->iface->channel_vector[i].data_type & MOST_CH_ASYNC) in available_datatypes_show() 205 if (c->iface->channel_vector[i].data_type & MOST_CH_SYNC) in available_datatypes_show() 207 if (c->iface->channel_vector[i].data_type & MOST_CH_ISOC) in available_datatypes_show() 221 c->iface->channel_vector[i].num_buffers_packet); in number_of_packet_buffers_show() [all …]
|
/Linux-v4.19/drivers/net/wireless/intersil/hostap/ |
D | hostap_pci.c | 57 struct hostap_interface *iface; in hfa384x_outb_debug() local 62 iface = netdev_priv(dev); in hfa384x_outb_debug() 63 local = iface->local; in hfa384x_outb_debug() 74 struct hostap_interface *iface; in hfa384x_inb_debug() local 80 iface = netdev_priv(dev); in hfa384x_inb_debug() 81 local = iface->local; in hfa384x_inb_debug() 93 struct hostap_interface *iface; in hfa384x_outw_debug() local 98 iface = netdev_priv(dev); in hfa384x_outw_debug() 99 local = iface->local; in hfa384x_outw_debug() 110 struct hostap_interface *iface; in hfa384x_inw_debug() local [all …]
|
D | hostap_cs.c | 48 struct hostap_interface *iface; in hfa384x_outb_debug() local 52 iface = netdev_priv(dev); in hfa384x_outb_debug() 53 local = iface->local; in hfa384x_outb_debug() 62 struct hostap_interface *iface; in hfa384x_inb_debug() local 67 iface = netdev_priv(dev); in hfa384x_inb_debug() 68 local = iface->local; in hfa384x_inb_debug() 78 struct hostap_interface *iface; in hfa384x_outw_debug() local 82 iface = netdev_priv(dev); in hfa384x_outw_debug() 83 local = iface->local; in hfa384x_outw_debug() 92 struct hostap_interface *iface; in hfa384x_inw_debug() local [all …]
|
D | hostap_80211_tx.c | 64 struct hostap_interface *iface; in hostap_data_start_xmit() local 77 iface = netdev_priv(dev); in hostap_data_start_xmit() 78 local = iface->local; in hostap_data_start_xmit() 180 else if (iface->type == HOSTAP_INTERFACE_WDS) in hostap_data_start_xmit() 181 memcpy(&hdr.addr1, iface->u.wds.remote_addr, in hostap_data_start_xmit() 217 iface->stats.tx_dropped++; in hostap_data_start_xmit() 223 iface->stats.tx_dropped++; in hostap_data_start_xmit() 231 iface->stats.tx_dropped++; in hostap_data_start_xmit() 237 iface->stats.tx_dropped++; in hostap_data_start_xmit() 249 iface->stats.tx_packets++; in hostap_data_start_xmit() [all …]
|
D | hostap_main.c | 55 struct hostap_interface *iface; in hostap_add_interface() local 62 iface = netdev_priv(dev); in hostap_add_interface() 63 iface->dev = dev; in hostap_add_interface() 64 iface->local = local; in hostap_add_interface() 65 iface->type = type; in hostap_add_interface() 66 list_add(&iface->list, &local->hostap_interfaces); in hostap_add_interface() 105 struct hostap_interface *iface; in hostap_remove_interface() local 110 iface = netdev_priv(dev); in hostap_remove_interface() 113 list_del(&iface->list); in hostap_remove_interface() 116 if (dev == iface->local->ddev) in hostap_remove_interface() [all …]
|
D | hostap_ioctl.c | 19 struct hostap_interface *iface; in hostap_get_wireless_stats() local 23 iface = netdev_priv(dev); in hostap_get_wireless_stats() 24 local = iface->local; in hostap_get_wireless_stats() 27 if (iface->type != HOSTAP_INTERFACE_MAIN) in hostap_get_wireless_stats() 79 struct hostap_interface *iface; in prism2_get_datarates() local 85 iface = netdev_priv(dev); in prism2_get_datarates() 86 local = iface->local; in prism2_get_datarates() 129 struct hostap_interface *iface; in prism2_ioctl_siwencode() local 134 iface = netdev_priv(dev); in prism2_ioctl_siwencode() 135 local = iface->local; in prism2_ioctl_siwencode() [all …]
|
D | hostap_plx.c | 110 struct hostap_interface *iface; in hfa384x_outb_debug() local 114 iface = netdev_priv(dev); in hfa384x_outb_debug() 115 local = iface->local; in hfa384x_outb_debug() 125 struct hostap_interface *iface; in hfa384x_inb_debug() local 130 iface = netdev_priv(dev); in hfa384x_inb_debug() 131 local = iface->local; in hfa384x_inb_debug() 142 struct hostap_interface *iface; in hfa384x_outw_debug() local 146 iface = netdev_priv(dev); in hfa384x_outw_debug() 147 local = iface->local; in hfa384x_outw_debug() 157 struct hostap_interface *iface; in hfa384x_inw_debug() local [all …]
|
/Linux-v4.19/drivers/net/wimax/i2400m/ |
D | usb.c | 460 int i2400mu_probe(struct usb_interface *iface, in i2400mu_probe() argument 465 struct device *dev = &iface->dev; in i2400mu_probe() 468 struct usb_device *usb_dev = interface_to_usbdev(iface); in i2400mu_probe() 470 if (iface->cur_altsetting->desc.bNumEndpoints < 4) in i2400mu_probe() 490 i2400mu->usb_iface = iface; in i2400mu_probe() 491 usb_set_intfdata(iface, i2400mu); in i2400mu_probe() 540 iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */ in i2400mu_probe() 561 usb_set_intfdata(iface, NULL); in i2400mu_probe() 577 void i2400mu_disconnect(struct usb_interface *iface) in i2400mu_disconnect() argument 579 struct i2400mu *i2400mu = usb_get_intfdata(iface); in i2400mu_disconnect() [all …]
|
/Linux-v4.19/drivers/staging/most/net/ |
D | net.c | 62 struct most_interface *iface; member 173 static void on_netinfo(struct most_interface *iface, 183 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) { in most_nd_open() 189 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) { in most_nd_open() 191 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_open() 202 if (nd->iface->request_netinfo) in most_nd_open() 203 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo); in most_nd_open() 215 if (nd->iface->request_netinfo) in most_nd_stop() 216 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, NULL); in most_nd_stop() 217 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_stop() [all …]
|
/Linux-v4.19/drivers/usb/wusbcore/ |
D | cbaf.c | 303 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_chid_show() local 304 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_chid_show() 316 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_chid_store() local 317 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_chid_store() 350 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_name_show() local 351 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_host_name_show() 361 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_name_store() local 362 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_host_name_store() 377 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_band_groups_show() local 378 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_host_band_groups_show() [all …]
|
D | wa-hc.c | 22 int wa_create(struct wahc *wa, struct usb_interface *iface, in wa_create() argument 26 struct device *dev = &iface->dev; in wa_create() 28 if (iface->cur_altsetting->desc.bNumEndpoints < 3) in wa_create() 36 wa->dti_epd = &iface->cur_altsetting->endpoint[1].desc; in wa_create() 37 wa->dto_epd = &iface->cur_altsetting->endpoint[2].desc; in wa_create() 44 result = wa_nep_create(wa, iface); in wa_create()
|
/Linux-v4.19/ipc/ |
D | util.c | 141 struct ipc_proc_iface *iface; in ipc_init_proc_interface() local 143 iface = kmalloc(sizeof(*iface), GFP_KERNEL); in ipc_init_proc_interface() 144 if (!iface) in ipc_init_proc_interface() 146 iface->path = path; in ipc_init_proc_interface() 147 iface->header = header; in ipc_init_proc_interface() 148 iface->ids = ids; in ipc_init_proc_interface() 149 iface->show = show; in ipc_init_proc_interface() 155 iface); in ipc_init_proc_interface() 157 kfree(iface); in ipc_init_proc_interface() 713 struct ipc_proc_iface *iface; member [all …]
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-class-net-statistics | 1 What: /sys/class/<iface>/statistics/collisions 9 What: /sys/class/<iface>/statistics/multicast 17 What: /sys/class/<iface>/statistics/rx_bytes 26 What: /sys/class/<iface>/statistics/rx_compressed 35 What: /sys/class/<iface>/statistics/rx_crc_errors 44 What: /sys/class/<iface>/statistics/rx_dropped 54 What: /sys/class/<iface>/statistics/rx_fifo_errors 63 What: /sys/class/<iface>/statistics/rx_frame_errors 73 What: /sys/class/<iface>/statistics/rx_length_errors 82 What: /sys/class/<iface>/statistics/rx_missed_errors [all …]
|
D | sysfs-class-net | 1 What: /sys/class/net/<iface>/name_assign_type 12 What: /sys/class/net/<iface>/addr_assign_type 23 What: /sys/class/net/<iface>/addr_len 33 What: /sys/class/net/<iface>/address 42 What: /sys/class/net/<bridge iface>/bridge/group_fwd_mask 61 What: /sys/class/net/<iface>/broadcast 70 What: /sys/class/net/<iface>/carrier 84 What: /sys/class/net/<iface>/dev_id 94 What: /sys/class/net/<iface>/dormant 109 What: /sys/clas/net/<iface>/duplex [all …]
|
D | sysfs-class-net-batman-adv | 2 What: /sys/class/net/<iface>/batman-adv/elp_interval 9 What: /sys/class/net/<iface>/batman-adv/iface_status 13 Indicates the status of <iface> as it is seen by batman. 15 What: /sys/class/net/<iface>/batman-adv/mesh_iface 19 The /sys/class/net/<iface>/batman-adv/mesh_iface file 20 displays the batman mesh interface this <iface> 23 What: /sys/class/net/<iface>/batman-adv/throughput_override
|
/Linux-v4.19/drivers/uwb/i1480/dfu/ |
D | usb.c | 63 int i1480_usb_create(struct i1480_usb *i1480_usb, struct usb_interface *iface) in i1480_usb_create() argument 65 struct usb_device *usb_dev = interface_to_usbdev(iface); in i1480_usb_create() 69 i1480_usb->usb_iface = usb_get_intf(iface); in i1480_usb_create() 70 usb_set_intfdata(iface, i1480_usb); /* Bind the driver to iface0 */ in i1480_usb_create() 77 usb_set_intfdata(iface, NULL); in i1480_usb_create() 78 usb_put_intf(iface); in i1480_usb_create() 342 int i1480_usb_probe(struct usb_interface *iface, const struct usb_device_id *id) in i1480_usb_probe() argument 344 struct usb_device *udev = interface_to_usbdev(iface); in i1480_usb_probe() 347 struct device *dev = &iface->dev; in i1480_usb_probe() 351 if (iface->cur_altsetting->desc.bInterfaceNumber != 0) { in i1480_usb_probe() [all …]
|
/Linux-v4.19/sound/soc/codecs/ |
D | wm8711.c | 164 u16 iface = snd_soc_component_read32(component, WM8711_IFACE) & 0xfff3; in wm8711_hw_params() local 176 iface |= 0x0004; in wm8711_hw_params() 179 iface |= 0x0008; in wm8711_hw_params() 183 snd_soc_component_write(component, WM8711_IFACE, iface); in wm8711_hw_params() 245 u16 iface = snd_soc_component_read32(component, WM8711_IFACE) & 0x000c; in wm8711_set_dai_fmt() local 250 iface |= 0x0040; in wm8711_set_dai_fmt() 261 iface |= 0x0002; in wm8711_set_dai_fmt() 266 iface |= 0x0001; in wm8711_set_dai_fmt() 269 iface |= 0x0003; in wm8711_set_dai_fmt() 272 iface |= 0x0013; in wm8711_set_dai_fmt() [all …]
|
D | uda1380.c | 424 int iface; in uda1380_set_dai_fmt_both() local 427 iface = uda1380_read_reg_cache(component, UDA1380_IFACE); in uda1380_set_dai_fmt_both() 428 iface &= ~(R01_SFORI_MASK | R01_SIM | R01_SFORO_MASK); in uda1380_set_dai_fmt_both() 432 iface |= R01_SFORI_I2S | R01_SFORO_I2S; in uda1380_set_dai_fmt_both() 435 iface |= R01_SFORI_LSB16 | R01_SFORO_LSB16; in uda1380_set_dai_fmt_both() 438 iface |= R01_SFORI_MSB | R01_SFORO_MSB; in uda1380_set_dai_fmt_both() 445 uda1380_write_reg_cache(component, UDA1380_IFACE, iface); in uda1380_set_dai_fmt_both() 454 int iface; in uda1380_set_dai_fmt_playback() local 457 iface = uda1380_read_reg_cache(component, UDA1380_IFACE); in uda1380_set_dai_fmt_playback() 458 iface &= ~R01_SFORI_MASK; in uda1380_set_dai_fmt_playback() [all …]
|
/Linux-v4.19/drivers/staging/most/usb/ |
D | usb.c | 105 struct most_interface iface; member 124 #define to_mdev(d) container_of(d, struct most_dev, iface) 228 static int hdm_poison_channel(struct most_interface *iface, int channel) in hdm_poison_channel() argument 230 struct most_dev *mdev = to_mdev(iface); in hdm_poison_channel() 234 if (unlikely(!iface)) { in hdm_poison_channel() 238 if (unlikely(channel < 0 || channel >= iface->num_channels)) { in hdm_poison_channel() 550 static int hdm_enqueue(struct most_interface *iface, int channel, in hdm_enqueue() argument 560 if (unlikely(!iface || !mbo)) in hdm_enqueue() 562 if (unlikely(iface->num_channels <= channel || channel < 0)) in hdm_enqueue() 565 mdev = to_mdev(iface); in hdm_enqueue() [all …]
|
/Linux-v4.19/net/appletalk/ |
D | ddp.c | 208 struct atalk_iface **iface = &atalk_interfaces; in atif_drop_device() local 212 while ((tmp = *iface) != NULL) { in atif_drop_device() 214 *iface = tmp->next; in atif_drop_device() 219 iface = &tmp->next; in atif_drop_device() 227 struct atalk_iface *iface = kzalloc(sizeof(*iface), GFP_KERNEL); in atif_add_device() local 229 if (!iface) in atif_add_device() 233 iface->dev = dev; in atif_add_device() 234 dev->atalk_ptr = iface; in atif_add_device() 235 iface->address = *sa; in atif_add_device() 236 iface->status = 0; in atif_add_device() [all …]
|