hwd 144 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 146 drivers/clk/clk-cdce706.c hwd->parent = index; hwd 152 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 154 drivers/clk/clk-cdce706.c return hwd->parent; hwd 165 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 167 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 169 drivers/clk/clk-cdce706.c __func__, hwd->idx, hwd->mux, hwd->mul, hwd->div); hwd 171 drivers/clk/clk-cdce706.c if (!hwd->mux) { hwd 172 drivers/clk/clk-cdce706.c if (hwd->div && hwd->mul) { hwd 173 drivers/clk/clk-cdce706.c u64 res = (u64)parent_rate * hwd->mul; hwd 175 drivers/clk/clk-cdce706.c do_div(res, hwd->div); hwd 179 drivers/clk/clk-cdce706.c if (hwd->div) hwd 180 drivers/clk/clk-cdce706.c return parent_rate / hwd->div; hwd 188 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 192 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 199 drivers/clk/clk-cdce706.c hwd->mul = mul; hwd 200 drivers/clk/clk-cdce706.c hwd->div = div; hwd 202 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 204 drivers/clk/clk-cdce706.c __func__, hwd->idx, mul, div); hwd 206 drivers/clk/clk-cdce706.c res = (u64)*parent_rate * hwd->mul; hwd 207 drivers/clk/clk-cdce706.c do_div(res, hwd->div); hwd 214 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 215 drivers/clk/clk-cdce706.c unsigned long mul = hwd->mul, div = hwd->div; hwd 218 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 220 drivers/clk/clk-cdce706.c __func__, hwd->idx, mul, div); hwd 222 drivers/clk/clk-cdce706.c err = cdce706_reg_update(hwd->dev_data, hwd 223 drivers/clk/clk-cdce706.c CDCE706_PLL_HI(hwd->idx), hwd 231 drivers/clk/clk-cdce706.c err = cdce706_reg_write(hwd->dev_data, hwd 232 drivers/clk/clk-cdce706.c CDCE706_PLL_M_LOW(hwd->idx), hwd 237 drivers/clk/clk-cdce706.c err = cdce706_reg_write(hwd->dev_data, hwd 238 drivers/clk/clk-cdce706.c CDCE706_PLL_N_LOW(hwd->idx), hwd 243 drivers/clk/clk-cdce706.c err = cdce706_reg_update(hwd->dev_data, hwd 245 drivers/clk/clk-cdce706.c CDCE706_PLL_FVCO_MASK(hwd->idx), hwd 247 drivers/clk/clk-cdce706.c CDCE706_PLL_FVCO_MASK(hwd->idx) : 0); hwd 259 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 261 drivers/clk/clk-cdce706.c if (hwd->parent == index) hwd 263 drivers/clk/clk-cdce706.c hwd->parent = index; hwd 264 drivers/clk/clk-cdce706.c return cdce706_reg_update(hwd->dev_data, hwd 265 drivers/clk/clk-cdce706.c CDCE706_DIVIDER_PLL(hwd->idx), hwd 266 drivers/clk/clk-cdce706.c CDCE706_DIVIDER_PLL_MASK(hwd->idx), hwd 267 drivers/clk/clk-cdce706.c index << CDCE706_DIVIDER_PLL_SHIFT(hwd->idx)); hwd 272 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 274 drivers/clk/clk-cdce706.c return hwd->parent; hwd 280 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 282 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 284 drivers/clk/clk-cdce706.c __func__, hwd->idx, hwd->div); hwd 285 drivers/clk/clk-cdce706.c if (hwd->div) hwd 286 drivers/clk/clk-cdce706.c return parent_rate / hwd->div; hwd 293 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 294 drivers/clk/clk-cdce706.c struct cdce706_dev_data *cdce = hwd->dev_data; hwd 297 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 336 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 344 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 349 drivers/clk/clk-cdce706.c hwd->div = div; hwd 351 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 353 drivers/clk/clk-cdce706.c __func__, hwd->idx, div); hwd 361 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 363 drivers/clk/clk-cdce706.c dev_dbg(&hwd->dev_data->client->dev, hwd 365 drivers/clk/clk-cdce706.c __func__, hwd->idx, hwd->div); hwd 367 drivers/clk/clk-cdce706.c return cdce706_reg_update(hwd->dev_data, hwd 368 drivers/clk/clk-cdce706.c CDCE706_DIVIDER(hwd->idx), hwd 370 drivers/clk/clk-cdce706.c hwd->div); hwd 383 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 385 drivers/clk/clk-cdce706.c return cdce706_reg_update(hwd->dev_data, CDCE706_CLKOUT(hwd->idx), hwd 392 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 394 drivers/clk/clk-cdce706.c cdce706_reg_update(hwd->dev_data, CDCE706_CLKOUT(hwd->idx), hwd 400 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 402 drivers/clk/clk-cdce706.c if (hwd->parent == index) hwd 404 drivers/clk/clk-cdce706.c hwd->parent = index; hwd 405 drivers/clk/clk-cdce706.c return cdce706_reg_update(hwd->dev_data, hwd 406 drivers/clk/clk-cdce706.c CDCE706_CLKOUT(hwd->idx), hwd 412 drivers/clk/clk-cdce706.c struct cdce706_hw_data *hwd = to_hw_data(hw); hwd 414 drivers/clk/clk-cdce706.c return hwd->parent; hwd 108 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c void __iomem *hwd; hwd 172 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c inst->reg_base.hwd = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_HWD); hwd 229 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c void __iomem *hwd = inst->reg_base.hwd; hwd 246 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c writel(0x1, hwd + VP8_RW_VP8_CTRL); hwd 253 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c void __iomem *hwd = inst->reg_base.hwd; hwd 257 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c writel(addr, hwd + VP8_BSASET); hwd 260 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c writel(val, hwd + VP8_BSDSET); hwd 271 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c void __iomem *hwd = inst->reg_base.hwd; hwd 274 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c writel(addr, hwd + VP8_BSASET); hwd 276 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c *p++ = readl(hwd + VP8_BSDSET); hwd 277 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c *p++ = readl(hwd + VP8_BSDSET); hwd 278 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c *p++ = readl(hwd + VP8_BSDSET) & 0xFFFFFF; hwd 983 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwd = start->hwdescr; hwd 991 drivers/net/ethernet/toshiba/spider_net.c int cstat = hwd->dmac_cmd_status; hwd 1004 drivers/net/ethernet/toshiba/spider_net.c hwd = descr->hwdescr; hwd 1006 drivers/net/ethernet/toshiba/spider_net.c status = hwd->dmac_cmd_status; hwd 1020 drivers/net/ethernet/toshiba/spider_net.c if (hwd->next_descr_addr == 0) hwd 1045 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwd = descr->hwdescr; hwd 1046 drivers/net/ethernet/toshiba/spider_net.c status = spider_net_get_descr_status(hwd); hwd 1051 drivers/net/ethernet/toshiba/spider_net.c descr->bus_addr, hwd->buf_addr, hwd->buf_size); hwd 1053 drivers/net/ethernet/toshiba/spider_net.c hwd->next_descr_addr, hwd->result_size, hwd 1054 drivers/net/ethernet/toshiba/spider_net.c hwd->valid_size); hwd 1056 drivers/net/ethernet/toshiba/spider_net.c hwd->dmac_cmd_status, hwd->data_status, hwd 1057 drivers/net/ethernet/toshiba/spider_net.c hwd->data_error);