| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | scx200_acb.c | 80 #define ACBSDA (iface->base + 0) 81 #define ACBST (iface->base + 1) 87 #define ACBCST (iface->base + 2) 89 #define ACBCTL1 (iface->base + 3) 95 #define ACBADDR (iface->base + 4) 96 #define ACBCTL2 (iface->base + 5) 101 static void scx200_acb_machine(struct scx200_acb_iface *iface, u8 status) in scx200_acb_machine() argument 105 dev_dbg(&iface->adapter.dev, "state %s, status = 0x%02x\n", in scx200_acb_machine() 106 scx200_acb_state_name[iface->state], status); in scx200_acb_machine() 117 dev_dbg(&iface->adapter.dev, "negative ack in state %s\n", in scx200_acb_machine() [all …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-4.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 116 if (!iface->mclk) { in axg_tdm_iface_set_fmt() [all …]
|
| /kernel/linux/linux-5.10/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 56 iface->slots = slots; in axg_tdm_set_tdm_slots() 80 iface->slot_width = slot_width; in axg_tdm_set_tdm_slots() 102 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_iface_set_sysclk() local 106 if (!iface->mclk) { in axg_tdm_iface_set_sysclk() 109 ret = clk_set_rate(iface->mclk, freq); in axg_tdm_iface_set_sysclk() 111 iface->mclk_rate = freq; in axg_tdm_iface_set_sysclk() 120 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_iface_set_fmt() local 124 if (!iface->mclk) { in axg_tdm_iface_set_fmt() 141 iface->fmt = fmt; in axg_tdm_iface_set_fmt() [all …]
|
| /kernel/linux/linux-5.10/drivers/most/ |
| D | core.c | 49 struct most_interface *iface; member 105 if (c->iface->dma_free) in most_free_mbo_coherent() 106 c->iface->dma_free(mbo, coherent_buf_size); in most_free_mbo_coherent() 176 if (c->iface->channel_vector[i].direction & MOST_CH_RX) in available_directions_show() 178 if (c->iface->channel_vector[i].direction & MOST_CH_TX) in available_directions_show() 192 if (c->iface->channel_vector[i].data_type & MOST_CH_CONTROL) in available_datatypes_show() 194 if (c->iface->channel_vector[i].data_type & MOST_CH_ASYNC) in available_datatypes_show() 196 if (c->iface->channel_vector[i].data_type & MOST_CH_SYNC) in available_datatypes_show() 198 if (c->iface->channel_vector[i].data_type & MOST_CH_ISOC) in available_datatypes_show() 212 c->iface->channel_vector[i].num_buffers_packet); in number_of_packet_buffers_show() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/most/ |
| 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 …]
|
| /kernel/linux/linux-5.10/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_errors 62 What: /sys/class/<iface>/statistics/rx_fifo_errors 71 What: /sys/class/<iface>/statistics/rx_frame_errors 81 What: /sys/class/<iface>/statistics/rx_length_errors [all …]
|
| D | sysfs-class-net | 1 What: /sys/class/net/<iface>/name_assign_type 15 What: /sys/class/net/<iface>/addr_assign_type 29 What: /sys/class/net/<iface>/addr_len 39 What: /sys/class/net/<iface>/address 48 What: /sys/class/net/<bridge iface>/bridge/group_fwd_mask 70 What: /sys/class/net/<iface>/broadcast 79 What: /sys/class/net/<iface>/carrier 96 What: /sys/class/net/<iface>/dev_id 106 What: /sys/class/net/<iface>/dev_port 124 What: /sys/class/net/<iface>/dormant [all …]
|
| D | sysfs-class-net-cdc_ncm | 1 What: /sys/class/net/<iface>/cdc_ncm/min_tx_pkt 22 What: /sys/class/net/<iface>/cdc_ncm/ndp_to_end 41 What: /sys/class/net/<iface>/cdc_ncm/rx_max 57 What: /sys/class/net/<iface>/cdc_ncm/tx_max 69 What: /sys/class/net/<iface>/cdc_ncm/tx_timer_usecs 89 What: /sys/class/net/<iface>/cdc_ncm/bmNtbFormatsSupported 98 What: /sys/class/net/<iface>/cdc_ncm/dwNtbInMaxSize 105 What: /sys/class/net/<iface>/cdc_ncm/wNdpInDivisor 112 What: /sys/class/net/<iface>/cdc_ncm/wNdpInPayloadRemainder 121 What: /sys/class/net/<iface>/cdc_ncm/wNdpInAlignment [all …]
|
| /kernel/linux/linux-4.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() 233 * @iface: the associated interface entry 240 * interface entry specified by @iface. On success zero is returned, otherwise 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() 273 * @iface: the associated interface entry [all …]
|
| /kernel/linux/linux-5.10/net/netlabel/ |
| D | netlabel_unlabeled.c | 149 struct netlbl_unlhsh_iface *iface; in netlbl_unlhsh_free_iface() local 157 iface = container_of(entry, struct netlbl_unlhsh_iface, rcu); in netlbl_unlhsh_free_iface() 162 netlbl_af4list_foreach_safe(iter4, tmp4, &iface->addr4_list) { in netlbl_unlhsh_free_iface() 167 netlbl_af6list_foreach_safe(iter6, tmp6, &iface->addr6_list) { in netlbl_unlhsh_free_iface() 172 kfree(iface); in netlbl_unlhsh_free_iface() 220 * @iface: the associated interface entry 227 * interface entry specified by @iface. On success zero is returned, otherwise 231 static int netlbl_unlhsh_add_addr4(struct netlbl_unlhsh_iface *iface, in netlbl_unlhsh_add_addr4() argument 249 ret_val = netlbl_af4list_add(&entry->list, &iface->addr4_list); in netlbl_unlhsh_add_addr4() 260 * @iface: the associated interface entry [all …]
|
| /kernel/linux/linux-4.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-cdc_ncm | 1 What: /sys/class/net/<iface>/cdc_ncm/min_tx_pkt 22 What: /sys/class/net/<iface>/cdc_ncm/ndp_to_end 41 What: /sys/class/net/<iface>/cdc_ncm/rx_max 57 What: /sys/class/net/<iface>/cdc_ncm/tx_max 69 What: /sys/class/net/<iface>/cdc_ncm/tx_timer_usecs 89 What: /sys/class/net/<iface>/cdc_ncm/bmNtbFormatsSupported 98 What: /sys/class/net/<iface>/cdc_ncm/dwNtbInMaxSize 105 What: /sys/class/net/<iface>/cdc_ncm/wNdpInDivisor 112 What: /sys/class/net/<iface>/cdc_ncm/wNdpInPayloadRemainder 121 What: /sys/class/net/<iface>/cdc_ncm/wNdpInAlignment [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
| D | hostap_pci.c | 58 struct hostap_interface *iface; in hfa384x_outb_debug() local 63 iface = netdev_priv(dev); in hfa384x_outb_debug() 64 local = iface->local; in hfa384x_outb_debug() 75 struct hostap_interface *iface; in hfa384x_inb_debug() local 81 iface = netdev_priv(dev); in hfa384x_inb_debug() 82 local = iface->local; in hfa384x_inb_debug() 94 struct hostap_interface *iface; in hfa384x_outw_debug() local 99 iface = netdev_priv(dev); in hfa384x_outw_debug() 100 local = iface->local; in hfa384x_outw_debug() 111 struct hostap_interface *iface; in hfa384x_inw_debug() local [all …]
|
| D | hostap_main.c | 51 struct hostap_interface *iface; in hostap_add_interface() local 58 iface = netdev_priv(dev); in hostap_add_interface() 59 iface->dev = dev; in hostap_add_interface() 60 iface->local = local; in hostap_add_interface() 61 iface->type = type; in hostap_add_interface() 62 list_add(&iface->list, &local->hostap_interfaces); in hostap_add_interface() 101 struct hostap_interface *iface; in hostap_remove_interface() local 106 iface = netdev_priv(dev); in hostap_remove_interface() 109 list_del(&iface->list); in hostap_remove_interface() 112 if (dev == iface->local->ddev) in hostap_remove_interface() [all …]
|
| D | hostap_cs.c | 49 struct hostap_interface *iface; in hfa384x_outb_debug() local 53 iface = netdev_priv(dev); in hfa384x_outb_debug() 54 local = iface->local; in hfa384x_outb_debug() 63 struct hostap_interface *iface; in hfa384x_inb_debug() local 68 iface = netdev_priv(dev); in hfa384x_inb_debug() 69 local = iface->local; in hfa384x_inb_debug() 79 struct hostap_interface *iface; in hfa384x_outw_debug() local 83 iface = netdev_priv(dev); in hfa384x_outw_debug() 84 local = iface->local; in hfa384x_outw_debug() 93 struct hostap_interface *iface; in hfa384x_inw_debug() local [all …]
|
| /kernel/linux/linux-4.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_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_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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/most/net/ |
| D | net.c | 62 struct most_interface *iface; member 183 static void on_netinfo(struct most_interface *iface, 193 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) { in most_nd_open() 199 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) { in most_nd_open() 201 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_open() 212 if (nd->iface->request_netinfo) in most_nd_open() 213 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo); in most_nd_open() 225 if (nd->iface->request_netinfo) in most_nd_stop() 226 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, NULL); in most_nd_stop() 227 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_stop() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/most/net/ |
| D | net.c | 62 struct most_interface *iface; member 183 static void on_netinfo(struct most_interface *iface, 193 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) { in most_nd_open() 199 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) { in most_nd_open() 201 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_open() 212 if (nd->iface->request_netinfo) in most_nd_open() 213 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo); in most_nd_open() 225 if (nd->iface->request_netinfo) in most_nd_stop() 226 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, NULL); in most_nd_stop() 227 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_stop() [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ipset/ |
| D | ip_set_hash_netiface.c | 4 /* Kernel module implementing an IP set type: the hash:net,iface type */ 33 IP_SET_MODULE_DESC("hash:net,iface", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX); 34 MODULE_ALIAS("ip_set_hash:net,iface"); 62 char iface[IFNAMSIZ]; member 77 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface4_data_equal() 78 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface4_data_equal() 117 nla_put_string(skb, IPSET_ATTR_IFACE, data->iface) || in hash_netiface4_data_list() 174 #define IFACE(dir) (par->state->dir ? par->state->dir->name : "") in hash_netiface4_kadt() macro 184 STRLCPY(e.iface, eiface); in hash_netiface4_kadt() 188 STRLCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in hash_netiface4_kadt() [all …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
| D | usb.c | 398 * @iface: USB interface to link to 410 int i2400mu_probe(struct usb_interface *iface, in i2400mu_probe() argument 415 struct device *dev = &iface->dev; in i2400mu_probe() 418 struct usb_device *usb_dev = interface_to_usbdev(iface); in i2400mu_probe() 420 if (iface->cur_altsetting->desc.bNumEndpoints < 4) in i2400mu_probe() 440 i2400mu->usb_iface = iface; in i2400mu_probe() 441 usb_set_intfdata(iface, i2400mu); in i2400mu_probe() 490 iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */ in i2400mu_probe() 505 usb_set_intfdata(iface, NULL); in i2400mu_probe() 521 void i2400mu_disconnect(struct usb_interface *iface) in i2400mu_disconnect() argument [all …]
|