| /drivers/input/misc/ |
| A D | adxl34x.c | 181 #define AC_READ(ac, reg) ((ac)->bops->read((ac)->dev, reg)) argument 421 if (!ac->suspended && !ac->disabled && ac->opened) in adxl34x_suspend() 435 if (ac->suspended && !ac->disabled && ac->opened) in adxl34x_resume() 508 ac->hwcal.x -= (ac->saved.x / 4); in adxl34x_calibrate_store() 509 ac->swcal.x = ac->saved.x % 4; in adxl34x_calibrate_store() 511 ac->hwcal.y -= (ac->saved.y / 4); in adxl34x_calibrate_store() 512 ac->swcal.y = ac->saved.y % 4; in adxl34x_calibrate_store() 514 ac->hwcal.z -= (ac->saved.z / 4); in adxl34x_calibrate_store() 515 ac->swcal.z = ac->saved.z % 4; in adxl34x_calibrate_store() 587 if (!ac->disabled && !ac->suspended && ac->opened) in adxl34x_autosleep_store() [all …]
|
| A D | adxl34x-spi.c | 70 struct adxl34x *ac; in adxl34x_spi_probe() local 78 ac = adxl34x_probe(&spi->dev, spi->irq, in adxl34x_spi_probe() 82 if (IS_ERR(ac)) in adxl34x_spi_probe() 83 return PTR_ERR(ac); in adxl34x_spi_probe() 85 spi_set_drvdata(spi, ac); in adxl34x_spi_probe()
|
| A D | adxl34x-i2c.c | 79 struct adxl34x *ac; in adxl34x_i2c_probe() local 89 ac = adxl34x_probe(&client->dev, client->irq, false, in adxl34x_i2c_probe() 93 if (IS_ERR(ac)) in adxl34x_i2c_probe() 94 return PTR_ERR(ac); in adxl34x_i2c_probe() 96 i2c_set_clientdata(client, ac); in adxl34x_i2c_probe()
|
| /drivers/power/supply/ |
| A D | surface_charger.c | 69 __le32 old = ac->state; in spwr_ac_update_unlocked() 74 status = ssam_retry(ssam_bat_get_psrc, ac->sdev, &ac->state); in spwr_ac_update_unlocked() 85 mutex_lock(&ac->lock); in spwr_ac_update() 178 strscpy(ac->name, name, sizeof(ac->name)); in spwr_ac_init() 180 ac->sdev = sdev; in spwr_ac_init() 190 ac->psy_desc.name = ac->name; in spwr_ac_init() 215 ac->psy = devm_power_supply_register(&ac->sdev->dev, &ac->psy_desc, &psy_cfg); in spwr_ac_register() 216 if (IS_ERR(ac->psy)) in spwr_ac_register() 219 return ssam_device_notifier_register(ac->sdev, &ac->notif); in spwr_ac_register() 240 ac = devm_kzalloc(&sdev->dev, sizeof(*ac), GFP_KERNEL); in surface_ac_probe() [all …]
|
| A D | tps65090-charger.c | 36 struct power_supply *ac; member 182 power_supply_changed(charger->ac); in tps65090_charger_isr() 265 cdata->ac = devm_power_supply_register(&pdev->dev, &tps65090_charger_desc, in tps65090_charger_probe() 267 if (IS_ERR(cdata->ac)) { in tps65090_charger_probe() 269 return PTR_ERR(cdata->ac); in tps65090_charger_probe() 299 power_supply_changed(cdata->ac); in tps65090_charger_probe()
|
| A D | goldfish_battery.c | 27 struct power_supply *ac; member 176 power_supply_changed(data->ac); in goldfish_battery_interrupt() 235 data->ac = devm_power_supply_register(&pdev->dev, in goldfish_battery_probe() 238 if (IS_ERR(data->ac)) in goldfish_battery_probe() 239 return PTR_ERR(data->ac); in goldfish_battery_probe()
|
| /drivers/acpi/ |
| A D | ac.c | 70 if (!ac) in acpi_ac_get_state() 74 ac->state = 1; in acpi_ac_get_state() 79 &ac->state); in acpi_ac_get_state() 98 if (!ac) in get_ac_property() 143 acpi_ac_get_state(ac); in acpi_ac_notify() 208 struct acpi_ac *ac; in acpi_ac_probe() local 212 if (!ac) in acpi_ac_probe() 215 ac->device = adev; in acpi_ac_probe() 225 psy_cfg.drv_data = ac; in acpi_ac_probe() 256 kfree(ac); in acpi_ac_probe() [all …]
|
| /drivers/media/pci/tw686x/ |
| A D | tw686x-audio.c | 48 if (!ac->ss || !ac->curr_bufs[0] || !ac->curr_bufs[1]) { in tw686x_audio_irq() 58 ac->curr_bufs[pb] = next; in tw686x_audio_irq() 76 ac->ptr = done->dma - ac->buf[0].dma; in tw686x_audio_irq() 111 ac->ss = ss; in tw686x_pcm_open() 126 ac->ss = NULL; in tw686x_pcm_close() 184 list_add_tail(&ac->buf[i].list, &ac->buf_list); in tw686x_pcm_prepare() 195 ac->ptr = 0; in tw686x_pcm_prepare() 220 if (ac->curr_bufs[0] && ac->curr_bufs[1]) { in tw686x_pcm_trigger() 324 u32 reg = pb ? ADMA_B_ADDR[ac->ch] : ADMA_P_ADDR[ac->ch]; in tw686x_audio_dma_alloc() 388 ac->dev = dev; in tw686x_audio_init() [all …]
|
| /drivers/s390/crypto/ |
| A D | ap_card.c | 86 if (ac == aq->card) in request_count_store() 107 if (ac == aq->card) in requestq_count_show() 126 if (ac == aq->card) in pendingq_count_show() 169 ap_send_config_uevent(&ac->ap_dev, ac->config); in config_store() 229 kfree(ac); in ap_card_device_release() 235 struct ap_card *ac; in ap_card_create() local 237 ac = kzalloc(sizeof(*ac), GFP_KERNEL); in ap_card_create() 238 if (!ac) in ap_card_create() 243 ac->hwinfo = hwinfo; in ap_card_create() 244 ac->id = id; in ap_card_create() [all …]
|
| A D | zcrypt_cex4.c | 82 struct ap_card *ac = to_ap_card(dev); in cca_serialnr_show() local 217 ep11_get_card_info(ac->id, &ci, 0); in ep11_api_ordinalnr_show() 473 zc->card = ac; in zcrypt_cex4_card_probe() 475 if (ac->hwinfo.accel) { in zcrypt_cex4_card_probe() 504 if (ac->hwinfo.mex4k && ac->hwinfo.crt4k) { in zcrypt_cex4_card_probe() 513 } else if (ac->hwinfo.cca) { in zcrypt_cex4_card_probe() 553 } else if (ac->hwinfo.ep11) { in zcrypt_cex4_card_probe() 596 if (ac->hwinfo.cca) { in zcrypt_cex4_card_probe() 603 } else if (ac->hwinfo.ep11) { in zcrypt_cex4_card_probe() 624 if (ac->hwinfo.cca) in zcrypt_cex4_card_remove() [all …]
|
| A D | ap_bus.c | 1983 ac->id, dom); in ap_scan_domains() 2061 if (ac) { in ap_scan_adapter() 2085 if (ac) { in ap_scan_adapter() 2098 if (ac) { in ap_scan_adapter() 2109 if (ac) { in ap_scan_adapter() 2116 ac = NULL; in ap_scan_adapter() 2122 ac = NULL; in ap_scan_adapter() 2141 ap_send_config_uevent(&ac->ap_dev, ac->config); in ap_scan_adapter() 2146 ap_send_config_uevent(&ac->ap_dev, ac->config); in ap_scan_adapter() 2151 if (!ac) { in ap_scan_adapter() [all …]
|
| A D | zcrypt_card.c | 55 struct ap_card *ac = to_ap_card(dev); in online_show() local 56 int online = ac->config && !ac->chkstop && zc->online ? 1 : 0; in online_show() 66 struct ap_card *ac = to_ap_card(dev); in online_store() local 74 if (online && (!ac->config || ac->chkstop)) in online_store() 82 ap_send_online_uevent(&ac->ap_dev, online); in online_store()
|
| /drivers/net/ethernet/pensando/ionic/ |
| A D | ionic_rx_filter.c | 24 struct ionic_rx_filter_add_cmd *ac; in ionic_rx_filter_replay() local 35 ac = &ctx.cmd.rx_filter_add; in ionic_rx_filter_replay() 48 switch (le16_to_cpu(ac->match)) { in ionic_rx_filter_replay() 56 err, ac->mac.addr); in ionic_rx_filter_replay() 62 ac->mac.addr); in ionic_rx_filter_replay() 133 ac = &ctx->cmd.rx_filter_add; in ionic_rx_filter_save() 135 switch (le16_to_cpu(ac->match)) { in ionic_rx_filter_save() 137 key = le16_to_cpu(ac->vlan.vlan); in ionic_rx_filter_save() 141 key = *(u32 *)ac->mac.addr; in ionic_rx_filter_save() 252 le16_to_cpu(ac->match)); in ionic_rx_filter_find() [all …]
|
| /drivers/of/ |
| A D | cpu.c | 17 int ac, len; in of_get_cpu_hwid() local 19 ac = of_n_addr_cells(cpun); in of_get_cpu_hwid() 21 if (!cell || !ac || ((sizeof(*cell) * ac * (thread + 1)) > len)) in of_get_cpu_hwid() 24 cell += ac * thread; in of_get_cpu_hwid() 25 return of_read_number(cell, ac); in of_get_cpu_hwid() 56 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local 59 ac = of_n_addr_cells(cpun); in __of_find_n_match_cpu_property() 63 if (!cell || !ac) in __of_find_n_match_cpu_property() 65 prop_len /= sizeof(*cell) * ac; in __of_find_n_match_cpu_property() 67 hwid = of_read_number(cell, ac); in __of_find_n_match_cpu_property() [all …]
|
| /drivers/crypto/axis/ |
| A D | artpec6_crypto.c | 512 ac->pending_count++; in artpec6_crypto_start_dma() 2025 ac->pad_buffer, in artpec6_crypto_prepare_aead() 2075 struct artpec6_crypto *ac = timer_container_of(ac, t, timer); in artpec6_crypto_timeout() local 2130 ac->pending_count--; in artpec6_crypto_task() 2872 if (!ac) in artpec6_crypto_probe() 2883 ac->base = base; in artpec6_crypto_probe() 2890 if (!ac->dma_cache) in artpec6_crypto_probe() 2902 if (!ac->pad_buffer) in artpec6_crypto_probe() 2904 ac->pad_buffer = PTR_ALIGN(ac->pad_buffer, ARTPEC_CACHE_LINE_MAX); in artpec6_crypto_probe() 2908 if (!ac->zero_buffer) in artpec6_crypto_probe() [all …]
|
| /drivers/net/ethernet/microsoft/mana/ |
| A D | mana_en.c | 53 if (apc && apc->ac && apc->ac->gdma_dev && in mana_en_need_log() 1442 if (!ac->eqs) in mana_destroy_eq() 1456 kfree(ac->eqs); in mana_destroy_eq() 1482 if (!ac->eqs) in mana_create_eq() 2148 struct mana_context *ac = apc->ac; in mana_create_txq() local 2605 struct mana_context *ac = apc->ac; in mana_add_rx_queues() local 3146 apc->ac = ac; in mana_probe_port() 3366 ac = kzalloc(sizeof(*ac), GFP_KERNEL); in mana_probe() 3367 if (!ac) in mana_probe() 3406 err = mana_probe_port(ac, i, &ac->ports[i]); in mana_probe() [all …]
|
| /drivers/virt/coco/sev-guest/ |
| A D | sev-guest.c | 350 struct svsm_attest_call ac = {}; in sev_svsm_report_new() local 392 ac.report_buf.pa = __pa(rep); in sev_svsm_report_new() 393 ac.report_buf.len = rep_len; in sev_svsm_report_new() 396 ac.manifest_buf.pa = __pa(man); in sev_svsm_report_new() 397 ac.manifest_buf.len = man_len; in sev_svsm_report_new() 401 ac.certificates_buf.len = certs_len; in sev_svsm_report_new() 403 ac.nonce.pa = __pa(desc->inblob); in sev_svsm_report_new() 404 ac.nonce.len = desc->inblob_len; in sev_svsm_report_new() 414 if (ac.report_buf.len > rep_len) { in sev_svsm_report_new() 448 rep_len = ac.report_buf.len; in sev_svsm_report_new() [all …]
|
| /drivers/net/wireless/realtek/rtw88/ |
| A D | Kconfig | 3 tristate "Realtek 802.11ac wireless chips support" 69 802.11ac PCIe wireless network adapter 80 802.11ac SDIO wireless network adapter 91 802.11ac USB wireless network adapter 102 802.11ac PCIe wireless network adapter 113 802.11ac SDIO wireless network adapter 124 802.11ac USB wireless network adapter 204 802.11ac USB wireless network adapter 215 802.11ac USB wireless network adapter 226 802.11ac USB wireless network adapter [all …]
|
| /drivers/scsi/ |
| A D | raid_class.c | 48 container_of(acont, struct transport_container, ac); \ 53 struct attribute_container *ac = \ 55 ac_to_raid_internal(ac); \ 224 i->r.raid_attrs.ac.class = &raid_class.class; in raid_class_attach() 225 i->r.raid_attrs.ac.match = raid_match; in raid_class_attach() 226 i->r.raid_attrs.ac.attrs = &i->attrs[0]; in raid_class_attach() 228 attribute_container_register(&i->r.raid_attrs.ac); in raid_class_attach() 246 BUG_ON(attribute_container_unregister(&i->r.raid_attrs.ac)); in raid_class_release()
|
| A D | scsi_transport_sas.c | 275 if (shost->transportt->host_attrs.ac.class != in sas_host_match() 280 return &i->t.host_attrs.ac == cont; in sas_host_match() 678 if (shost->transportt->host_attrs.ac.class != in sas_phy_match() 683 return &i->phy_attr_cont.ac == cont; in sas_phy_match() 849 if (shost->transportt->host_attrs.ac.class != in sas_port_match() 854 return &i->port_attr_cont.ac == cont; in sas_port_match() 1376 return &i->rphy_attr_cont.ac == cont; in sas_rphy_match() 1398 return &i->end_dev_attr_cont.ac == cont && in sas_end_dev_match() 1421 return &i->expander_attr_cont.ac == cont && in sas_expander_match() 1826 i->t.host_attrs.ac.match = sas_host_match; in sas_attach_transport() [all …]
|
| /drivers/net/wireless/ti/wlcore/ |
| A D | tx.c | 194 int id, ret = -EBUSY, ac; in wl1271_tx_allocate() local 230 wl->tx_allocated_pkts[ac]++; in wl1271_tx_allocate() 252 int ac, rate_idx; in wl1271_tx_fill_hdr() local 482 int i, q = -1, ac; in wlcore_select_ac() local 496 q = ac; in wlcore_select_ac() 526 u8 hlid, u8 ac, in wlcore_lnk_dequeue_high_prio() argument 546 u8 ac, u8 *hlid, in wlcore_vif_dequeue_high_prio() argument 584 int ac; in wl1271_skb_dequeue() local 587 ac = wlcore_select_ac(wl); in wl1271_skb_dequeue() 588 if (ac < 0) in wl1271_skb_dequeue() [all …]
|
| /drivers/platform/x86/hp/ |
| A D | hp_accel.c | 142 lis3_dev.ac = *((union axis_conversion *)dmi->driver_data); in lis3lv02d_dmi_matched() 313 if (lis3_dev.ac.x && lis3_dev.ac.y && lis3_dev.ac.z) { in lis3lv02d_probe() 315 lis3_dev.ac.x, lis3_dev.ac.y, lis3_dev.ac.z); in lis3lv02d_probe() 318 lis3_dev.ac = lis3lv02d_axis_normal; in lis3lv02d_probe()
|
| /drivers/net/wireless/microchip/wilc1000/ |
| A D | wlan.c | 388 (*ac)++; in ac_change() 389 } while (*ac < NQUEUES); in ac_change() 824 u8 k, ac; in wilc_wlan_handle_txq() local 859 for (ac = 0; ac < NQUEUES; ac++) in wilc_wlan_handle_txq() 860 tqe_q[ac] = wilc_wlan_txq_get_first(wilc, ac); in wilc_wlan_handle_txq() 868 for (ac = 0; (ac < NQUEUES) && (!max_size_over); ac++) { in wilc_wlan_handle_txq() 869 if (!tqe_q[ac]) in wilc_wlan_handle_txq() 904 tqe_q[ac], in wilc_wlan_handle_txq() 905 ac); in wilc_wlan_handle_txq() 1425 u8 ac; in wilc_wlan_cleanup() local [all …]
|
| /drivers/ata/ |
| A D | libata-transport.c | 525 return &i->dev_attr_cont.ac == cont; in ata_tdev_match() 655 return &i->link_attr_cont.ac == cont; in ata_tlink_match() 768 i->t.host_attrs.ac.attrs = &i->port_attrs[0]; in ata_attach_transport() 769 i->t.host_attrs.ac.class = &ata_port_class.class; in ata_attach_transport() 770 i->t.host_attrs.ac.match = ata_tport_match; in ata_attach_transport() 773 i->link_attr_cont.ac.class = &ata_link_class.class; in ata_attach_transport() 774 i->link_attr_cont.ac.attrs = &i->link_attrs[0]; in ata_attach_transport() 775 i->link_attr_cont.ac.match = ata_tlink_match; in ata_attach_transport() 778 i->dev_attr_cont.ac.class = &ata_dev_class.class; in ata_attach_transport() 779 i->dev_attr_cont.ac.attrs = &i->dev_attrs[0]; in ata_attach_transport() [all …]
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | power.c | 134 for (enum ieee80211_ac_numbers ac = IEEE80211_AC_VO; in iwl_mld_power_configure_uapsd() local 135 ac <= IEEE80211_AC_BK; in iwl_mld_power_configure_uapsd() 136 ac++) { in iwl_mld_power_configure_uapsd() 137 if (!link->queue_params[ac].uapsd) in iwl_mld_power_configure_uapsd() 144 cmd->uapsd_ac_flags |= BIT(ac); in iwl_mld_power_configure_uapsd() 147 if (!tid_found && !link->queue_params[ac].acm) { in iwl_mld_power_configure_uapsd() 149 switch (ac) { in iwl_mld_power_configure_uapsd()
|