/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | r535.c | 23 #include "chan.h" 54 r535_chan_user(struct nvkm_disp_chan *chan, u64 *psize) argument 56 switch (chan->object.oclass & 0xff) { 58 case 0x7e: *psize = 0x01000; return 0x690000 + (chan->head * *psize); 59 case 0x7b: *psize = 0x01000; return 0x6b0000 + (chan->head * *psize); 60 case 0x7a: *psize = 0x01000; return 0x6d8000 + (chan->head * *psize); 70 r535_chan_intr(struct nvkm_disp_chan *chan, bool en) argument 75 r535_chan_fini(struct nvkm_disp_chan *chan) argument 77 nvkm_gsp_rm_free(&chan->rm.object); 81 r535_chan_push(struct nvkm_disp_chan *chan) argument 122 r535_curs_init(struct nvkm_disp_chan *chan) argument 157 r535_dmac_bind(struct nvkm_disp_chan *chan, struct nvkm_object *object, u32 handle) argument 165 r535_dmac_fini(struct nvkm_disp_chan *chan) argument 175 r535_dmac_init(struct nvkm_disp_chan *chan) argument 197 r535_dmac_push(struct nvkm_disp_chan *chan, u64 memory) argument 238 r535_core_fini(struct nvkm_disp_chan *chan) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 867 struct nouveau_channel *chan = drm->ttm.chan; local 868 struct nouveau_cli *cli = (void *)chan->user.client; 887 ret = nouveau_fence_sync(nouveau_bo(bo), chan, true, ctx->interruptible); 891 ret = drm->ttm.move(chan, bo, bo->resource, new_reg); 895 ret = nouveau_fence_new(&fence, chan); 959 struct nouveau_channel *chan; local 962 chan = drm->cechan; 964 chan = drm->channel; 965 if (chan [all...] |
H A D | nouveau_abi16.c | 115 nouveau_abi16_ntfy_fini(struct nouveau_abi16_chan *chan, argument 119 nvkm_mm_free(&chan->heap, &ntfy->node); 126 struct nouveau_abi16_chan *chan) 131 if (chan->sched) 132 drm_sched_entity_fini(&chan->sched->entity); 134 if (chan->chan) 135 nouveau_channel_idle(chan->chan); 137 if (chan 125 nouveau_abi16_chan_fini(struct nouveau_abi16 *abi16, struct nouveau_abi16_chan *chan) argument 168 struct nouveau_abi16_chan *chan, *temp; local 290 struct nouveau_abi16_chan *chan; local 447 struct nouveau_abi16_chan *chan; local 463 struct nouveau_abi16_chan *chan; local 500 struct nouveau_abi16_chan *chan; local 517 struct nouveau_abi16_chan *chan; local 610 struct nouveau_abi16_chan *chan; local 680 struct nouveau_abi16_chan *chan; local [all...] |
H A D | nouveau_abi16.h | 23 struct nouveau_channel *chan; member in struct:nouveau_abi16_chan
|
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | crc.c | 512 ret = nvif_object_ctor(&core->chan.base.user, "kmsCrcNtfyCtxDma",
|
/linux-master/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi.c | 257 unsigned int chan; local 270 chan = MSM_HDMI_AUDIO_CHANNEL_2; 275 chan = MSM_HDMI_AUDIO_CHANNEL_4; 280 chan = MSM_HDMI_AUDIO_CHANNEL_6; 285 chan = MSM_HDMI_AUDIO_CHANNEL_8; 320 msm_hdmi_audio_info_setup(hdmi, 1, chan, channel_allocation,
|
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_hdmi.c | 1542 unsigned int chan = params->cea.channels; local 1545 params->sample_rate, params->sample_width, chan); 1550 switch (chan) { 1564 dev_err(hdmi->dev, "channel[%d] not supported!\n", chan);
|
H A D | mtk_crtc.c | 130 dev = client->chan->mbox->dev; 148 dma_unmap_single(client->chan->mbox->dev, pkt->pa_base, pkt->buf_size, 163 if (mtk_crtc->cmdq_client.chan) { 164 mbox_free_channel(mtk_crtc->cmdq_client.chan); 165 mtk_crtc->cmdq_client.chan = NULL; 604 if (mtk_crtc->cmdq_client.chan) { 605 mbox_flush(mtk_crtc->cmdq_client.chan, 2000); 611 dma_sync_single_for_device(mtk_crtc->cmdq_client.chan->mbox->dev, 624 mbox_send_message(mtk_crtc->cmdq_client.chan, cmdq_handle); 625 mbox_client_txdone(mtk_crtc->cmdq_client.chan, [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_hwmon.c | 337 hwm_power_is_visible(const struct hwm_drvdata *ddat, u32 attr, int chan) argument 455 hwm_power_read(struct hwm_drvdata *ddat, u32 attr, int chan, long *val) argument 486 hwm_power_write(struct hwm_drvdata *ddat, u32 attr, int chan, long val) argument
|
/linux-master/drivers/dma/ |
H A D | pl330.c | 424 struct dma_chan chan; member in struct:dma_pl330_chan 555 static int pl330_config_write(struct dma_chan *chan, 842 u8 chan; member in struct:_arg_GO 850 u8 chan = arg->chan; local 859 buf[1] = chan & 0x7; 1043 go.chan = thrd->id; 2033 return container_of(ch, struct dma_pl330_chan, chan); 2159 return dma_get_slave_channel(&pl330->peripherals[chan_id].chan); 2162 static int pl330_alloc_chan_resources(struct dma_chan *chan) argument 2244 pl330_config_write(struct dma_chan *chan, struct dma_slave_config *slave_config, enum dma_transfer_direction direction) argument 2270 pl330_config(struct dma_chan *chan, struct dma_slave_config *slave_config) argument 2280 pl330_terminate_all(struct dma_chan *chan) argument 2331 pl330_pause(struct dma_chan *chan) argument 2356 pl330_free_chan_resources(struct dma_chan *chan) argument 2407 pl330_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument 2480 pl330_issue_pending(struct dma_chan *chan) argument 2683 pl330_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t dma_addr, size_t len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) argument 2775 pl330_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dst, dma_addr_t src, size_t len, unsigned long flags) argument 2847 pl330_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl, unsigned int sg_len, enum dma_transfer_direction direction, unsigned long flg, void *context) argument [all...] |
/linux-master/drivers/accel/qaic/ |
H A D | qaic_drv.c | 596 { .chan = "QAIC_CONTROL", },
|
H A D | sahara.c | 426 { .chan = "QAIC_SAHARA", },
|
H A D | qaic_debugfs.c | 315 { .chan = "QAIC_LOGGING", },
|
/linux-master/net/wireless/ |
H A D | trace.h | 122 #define CHAN_ASSIGN(chan) \ 124 if (chan) { \ 125 __entry->band = chan->band; \ 126 __entry->center_freq = chan->center_freq; \ 127 __entry->freq_offset = chan->freq_offset; \ 147 if ((chandef) && (chandef)->chan) { \ 148 __entry->band = (chandef)->chan->band; \ 150 (chandef)->chan->center_freq; \ 152 (chandef)->chan->freq_offset; \ 1217 struct ieee80211_channel *chan), [all...] |
H A D | scan.c | 750 struct ieee80211_channel *chan, 759 if (request->channels[i] == chan) { 766 request->channels[n_channels] = chan; 932 struct ieee80211_channel *chan = local 935 if (!chan || chan->flags & IEEE80211_CHAN_DISABLED) 939 if (rdev_req->channels[i] == chan) 957 cfg80211_scan_req_add_chan(request, chan, true); 970 if (cfg80211_channel_is_psc(chan) && !need_scan_psc) 2185 drv_data->chan); 749 cfg80211_scan_req_add_chan(struct cfg80211_scan_request *request, struct ieee80211_channel *chan, bool add_to_6ghz) argument 3276 cfg80211_update_assoc_bss_entry(struct wireless_dev *wdev, unsigned int link_id, struct ieee80211_channel *chan) argument [all...] |
H A D | reg.c | 234 struct ieee80211_channel chan; member in struct:reg_beacon 1691 const struct ieee80211_channel *chan) 1695 bool is_s1g = chan->band == NL80211_BAND_S1GHZ; 1700 center_freq_khz = ieee80211_channel_to_khz(chan); 1773 struct ieee80211_channel *chan, 1786 bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); 1796 chan->flags = chan->orig_flags = 1798 chan->max_antenna_gain = chan 1689 reg_rule_to_chan_bw_flags(const struct ieee80211_regdomain *regd, const struct ieee80211_reg_rule *reg_rule, const struct ieee80211_channel *chan) argument 1771 handle_channel_single_rule(struct wiphy *wiphy, enum nl80211_reg_initiator initiator, struct ieee80211_channel *chan, u32 flags, struct regulatory_request *lr, struct wiphy *request_wiphy, const struct ieee80211_reg_rule *reg_rule) argument 1850 handle_channel_adjacent_rules(struct wiphy *wiphy, enum nl80211_reg_initiator initiator, struct ieee80211_channel *chan, u32 flags, struct regulatory_request *lr, struct wiphy *request_wiphy, const struct ieee80211_reg_rule *rrule1, const struct ieee80211_reg_rule *rrule2, struct ieee80211_freq_range *comb_range) argument 1970 handle_channel(struct wiphy *wiphy, enum nl80211_reg_initiator initiator, struct ieee80211_channel *chan) argument 2188 struct ieee80211_channel *chan; local 2273 is_ht40_allowed(struct ieee80211_channel *chan) argument 2379 struct ieee80211_channel *chan; local 2542 handle_channel_custom(struct wiphy *wiphy, struct ieee80211_channel *chan, const struct ieee80211_regdomain *regd, u32 min_bw) argument 3459 struct ieee80211_channel *chan; local [all...] |
H A D | nl80211.c | 1096 struct ieee80211_channel *chan, 1102 if (!large && chan->flags & 1105 if (!large && chan->freq_offset) 1109 chan->center_freq)) 1112 if (nla_put_u32(msg, NL80211_FREQUENCY_ATTR_OFFSET, chan->freq_offset)) 1115 if ((chan->flags & IEEE80211_CHAN_PSD) && 1116 nla_put_s8(msg, NL80211_FREQUENCY_ATTR_PSD, chan->psd)) 1119 if ((chan->flags & IEEE80211_CHAN_DISABLED) && 1122 if (chan->flags & IEEE80211_CHAN_NO_IR) { 1128 if (chan 1095 nl80211_msg_put_channel(struct sk_buff *msg, struct wiphy *wiphy, struct ieee80211_channel *chan, bool large) argument 1594 struct ieee80211_channel *chan; local 2412 struct ieee80211_channel *chan; local 9024 cfg80211_off_channel_oper_allowed(struct wireless_dev *wdev, struct ieee80211_channel *chan) argument 9231 struct ieee80211_channel *chan; local 9260 struct ieee80211_channel *chan; local 9281 struct ieee80211_channel *chan = request->channels[i]; local 9669 struct ieee80211_channel *chan; local 9693 struct ieee80211_channel *chan; local 10609 struct ieee80211_channel *chan; local 10888 struct ieee80211_channel *chan; local 18561 nl80211_send_remain_on_chan_event( int cmd, struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, u64 cookie, struct ieee80211_channel *chan, unsigned int duration, gfp_t gfp) argument 18644 cfg80211_ready_on_channel(struct wireless_dev *wdev, u64 cookie, struct ieee80211_channel *chan, unsigned int duration, gfp_t gfp) argument 18658 cfg80211_remain_on_channel_expired(struct wireless_dev *wdev, u64 cookie, struct ieee80211_channel *chan, gfp_t gfp) argument 18671 cfg80211_tx_mgmt_expired(struct wireless_dev *wdev, u64 cookie, struct ieee80211_channel *chan, gfp_t gfp) argument [all...] |
/linux-master/net/qrtr/ |
H A D | mhi.c | 116 { .chan = "IPCR" },
|
/linux-master/net/mac80211/ |
H A D | util.c | 936 center_freq = chanctx_conf->def.chan->center_freq; 984 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && 1246 if (chandef->chan && sband->band == NL80211_BAND_2GHZ) { 1252 ieee80211_frequency_to_channel(chandef->chan->center_freq)); 1472 struct ieee80211_channel *chan, 1491 chandef.chan = NULL; 1493 chandef.chan = chan; 1500 rate_masks[chan->band] = ratemask; 1502 ie, ie_len, BIT(chan 1469 ieee80211_build_probe_req(struct ieee80211_sub_if_data *sdata, const u8 *src, const u8 *dst, u32 ratemask, struct ieee80211_channel *chan, const u8 *ssid, size_t ssid_len, const u8 *ie, size_t ie_len, u32 flags) argument [all...] |
H A D | tx.c | 2429 info->band = chandef->chan->band; 2837 band = chanctx_conf->def.chan->band; 3084 build.band = chanctx_conf->def.chan->band; 4812 info->band = chanctx_conf->def.chan->band; 5237 band = chanctx_conf->def.chan->band; 5948 info->band = chanctx_conf->def.chan->band; 6123 band = chanctx_conf->def.chan->band;
|
H A D | scan.c | 190 bss_meta.chan = channel; 479 local->scan_chandef.chan = NULL; 662 enum nl80211_band band = local->hw.conf.chandef.chan->band; 685 tx_flags, local->hw.conf.chandef.chan); 796 (req->channels[0] == local->hw.conf.chandef.chan)) { 872 ieee80211_scan_get_channel_time(struct ieee80211_channel *chan) argument 878 if (chan->flags & (IEEE80211_CHAN_NO_IR | IEEE80211_CHAN_RADAR)) 954 struct ieee80211_channel *chan; local 961 chan = scan_req->channels[local->scan_channel_idx]; 963 local->scan_chandef.chan [all...] |
H A D | spectmgmt.c | 28 u32 cf0 = ieee80211_channel_to_frequency(ccfs0, chandef->chan->band); 29 u32 cf1 = ieee80211_channel_to_frequency(ccfs1, chandef->chan->band); 85 chandef->chan = NULL; 89 control_freq = chandef->chan->center_freq; 139 chandef->chan = NULL; 161 chandef->chan = NULL; 165 control_freq = chandef->chan->center_freq; 218 chandef->chan = NULL; 345 new_chandef.chan = new_chan; 370 if (new_chandef.chan) { [all...] |
H A D | offchannel.c | 183 roc->cookie, roc->chan, 188 roc->chan, GFP_KERNEL); 249 roc->chan->band); 254 roc->chan, roc->req_duration, 314 if (tmp->sdata != roc->sdata || tmp->chan != roc->chan) 322 int ret = drv_remain_on_channel(local, roc->sdata, roc->chan, 334 tmp->chan != roc->chan) 345 if (tmp->sdata != roc->sdata || tmp->chan ! 671 ieee80211_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev, struct ieee80211_channel *chan, unsigned int duration, u64 *cookie) argument [all...] |
H A D | mlme.c | 170 .chan = channel, 602 if (chandef->punctured && chandef->chan->band == NL80211_BAND_5GHZ && 711 chanreq->ap.chan = NULL; 790 struct ieee80211_channel *channel = link->conf->chanreq.oper.chan; 821 chanreq.ap.chan = NULL; 851 link->u.mgd.bssid, chanreq.oper.chan->center_freq, 852 chanreq.oper.chan->freq_offset, chanreq.oper.width, 1220 struct ieee80211_channel *chan = cbss->channel; local 1260 sband = local->hw.wiphy->bands[chan->band]; 1279 .chan 2225 int chan = ieee80211_frequency_to_channel(channel->center_freq); local 6167 struct ieee80211_channel *chan; local [all...] |
H A D | ieee80211_i.h | 351 struct ieee80211_channel *chan; member in struct:ieee80211_roc_work 1636 band = chanctx_conf->def.chan->band; 1656 band = chanctx_conf->def.chan->band; 1974 struct ieee80211_channel *chan, 2467 struct ieee80211_channel *chan, 2550 chanreq->ap.chan = NULL;
|