/drivers/acpi/ |
H A D | scan.c | 298 if (acpi_drv && acpi_drv->ops.suspend) 299 return acpi_drv->ops.suspend(acpi_dev, state); 308 if (acpi_drv && acpi_drv->ops.resume) 309 return acpi_drv->ops.resume(acpi_dev); 343 device->driver->ops.notify(device, event); 406 if (acpi_drv->ops.notify) { 409 if (acpi_drv->ops.remove) 410 acpi_drv->ops.remove(acpi_dev, 430 if (acpi_drv->ops.notify) 432 if (acpi_drv->ops 1232 acpi_add_single_object(struct acpi_device **child, acpi_handle handle, int type, unsigned long long sta, struct acpi_bus_ops *ops) argument 1333 struct acpi_bus_ops ops = { local 1387 struct acpi_bus_ops *ops = context; local 1433 acpi_bus_scan(acpi_handle handle, struct acpi_bus_ops *ops, struct acpi_device **child) argument 1469 struct acpi_bus_ops ops; local 1480 struct acpi_bus_ops ops; local 1556 struct acpi_bus_ops ops; local 1585 struct acpi_bus_ops ops; local [all...] |
/drivers/tty/ |
H A D | tty_port.c | 65 if (port->ops->destruct) 66 port->ops->destruct(port); 122 if (port->ops->shutdown && !port->console && 124 port->ops->shutdown(port); 166 if (port->ops->carrier_raised == NULL) 168 return port->ops->carrier_raised(port); 183 if (port->ops->dtr_rts) 184 port->ops->dtr_rts(port, 1); 199 if (port->ops->dtr_rts) 200 port->ops [all...] |
/drivers/clk/ |
H A D | clk.c | 221 if (__clk_is_enabled(clk) && clk->ops->disable) 222 clk->ops->disable(clk->hw); 322 if (!clk->ops->is_enabled) { 327 ret = clk->ops->is_enabled(clk->hw); 391 if (clk->ops->unprepare) 392 clk->ops->unprepare(clk->hw); 428 if (clk->ops->prepare) { 429 ret = clk->ops->prepare(clk->hw); 477 if (clk->ops->disable) 478 clk->ops 1326 clk_register(struct device *dev, const char *name, const struct clk_ops *ops, struct clk_hw *hw, char **parent_names, u8 num_parents, unsigned long flags) argument [all...] |
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_x540.c | 82 return hw->phy.ops.setup_link_speed(hw, speed, autoneg, 100 status = hw->mac.ops.stop_adapter(hw); 141 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); 149 hw->mac.ops.init_rx_addrs(hw); 152 hw->mac.ops.get_san_mac_addr(hw, hw->mac.san_addr); 156 hw->mac.ops.set_rar(hw, hw->mac.num_rar_entries - 1, 164 hw->mac.ops.get_wwn_prefix(hw, &hw->mac.wwnn_prefix, 204 hw->phy.ops.identify(hw); 206 hw->phy.ops.read_reg(hw, MDIO_PMA_EXTABLE, MDIO_MMD_PMAPMD, 260 if (hw->mac.ops [all...] |
H A D | ixgbe_82598.c | 151 phy->ops.identify(hw); 154 if (mac->ops.get_media_type(hw) == ixgbe_media_type_copper) { 155 mac->ops.setup_link = &ixgbe_setup_copper_link_82598; 156 mac->ops.get_link_capabilities = 162 phy->ops.setup_link = &ixgbe_setup_phy_link_tnx; 163 phy->ops.check_link = &ixgbe_check_phy_link_tnx; 164 phy->ops.get_firmware_version = 168 phy->ops.reset = &ixgbe_reset_phy_nl; 171 ret_val = phy->ops.identify_sfp(hw); 373 hw->mac.ops [all...] |
/drivers/hwspinlock/ |
H A D | hwspinlock_core.c | 120 ret = hwlock->bank->ops->trylock(hwlock); 202 if (hwlock->bank->ops->relax) 203 hwlock->bank->ops->relax(hwlock); 248 hwlock->bank->ops->unlock(hwlock); 314 * @ops: hwspinlock handlers for this device 326 const struct hwspinlock_ops *ops, int base_id, int num_locks) 331 if (!bank || !ops || !dev || !num_locks || !ops->trylock || 332 !ops->unlock) { 338 bank->ops 325 hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev, const struct hwspinlock_ops *ops, int base_id, int num_locks) argument [all...] |
H A D | hwspinlock_internal.h | 57 * @ops: platform-specific hwspinlock handlers 64 const struct hwspinlock_ops *ops; member in struct:hwspinlock_device
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2800lib.h | 56 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; 65 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; 74 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; 83 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; 92 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; 102 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; 112 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; 120 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; 127 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; 134 const struct rt2800_ops *rt2800ops = entry->queue->rt2x00dev->ops [all...] |
H A D | rt2x00firmware.c | 43 fw_name = rt2x00dev->ops->lib->get_firmware_name(rt2x00dev); 71 retval = rt2x00dev->ops->lib->check_firmware(rt2x00dev, fw->data, fw->size); 114 retval = rt2x00dev->ops->lib->load_firmware(rt2x00dev,
|
/drivers/media/video/ |
H A D | soc_camera.c | 45 (((ici)->ops->init_videobuf) ? \ 176 ret = ici->ops->try_fmt(icd, f); 266 return ici->ops->enum_fsizes(icd, fsize); 281 if (ici->ops->init_videobuf) { 286 ret = ici->ops->reqbufs(icd, p); 305 if (ici->ops->init_videobuf) 322 if (ici->ops->init_videobuf) 339 if (ici->ops->init_videobuf) 352 if (ici->ops->init_videobuf) 365 if (ici->ops [all...] |
/drivers/mtd/ |
H A D | nftlcore.c | 140 struct mtd_oob_ops ops; local 143 ops.mode = MTD_OPS_PLACE_OOB; 144 ops.ooboffs = offs & mask; 145 ops.ooblen = len; 146 ops.oobbuf = buf; 147 ops.datbuf = NULL; 149 res = mtd_read_oob(mtd, offs & ~mask, &ops); 150 *retlen = ops.oobretlen; 161 struct mtd_oob_ops ops; local 164 ops 184 struct mtd_oob_ops ops; local [all...] |
/drivers/media/common/tuners/ |
H A D | mt2060.c | 175 if (fe->ops.i2c_gate_ctrl) 176 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ 240 if (fe->ops.i2c_gate_ctrl) 241 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ 307 if (fe->ops.i2c_gate_ctrl) 308 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ 313 if (fe->ops.i2c_gate_ctrl) 314 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ 324 if (fe->ops.i2c_gate_ctrl) 325 fe->ops [all...] |
H A D | tda18212.c | 163 if (fe->ops.i2c_gate_ctrl) 164 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ 244 if (fe->ops.i2c_gate_ctrl) 245 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ 300 if (fe->ops.i2c_gate_ctrl) 301 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ 306 if (fe->ops.i2c_gate_ctrl) 307 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ 317 memcpy(&fe->ops.tuner_ops, &tda18212_tuner_ops,
|
/drivers/usb/musb/ |
H A D | musb_core.h | 325 const struct musb_platform_ops *ops; member in struct:musb 551 if (musb->ops->set_vbus) 552 musb->ops->set_vbus(musb, is_on); 557 if (musb->ops->enable) 558 musb->ops->enable(musb); 563 if (musb->ops->disable) 564 musb->ops->disable(musb); 569 if (!musb->ops->set_mode) 572 return musb->ops->set_mode(musb, mode); 578 if (musb->ops [all...] |
/drivers/bluetooth/ |
H A D | hci_ath.c | 55 int status = tty->driver->ops->tiocmget(tty); 66 status = tty->driver->ops->tiocmget(tty); 67 tty->driver->ops->tiocmset(tty, 0x00, TIOCM_RTS); 71 status = tty->driver->ops->tiocmget(tty); 72 tty->driver->ops->tiocmset(tty, TIOCM_RTS, 0x00); 75 status = tty->driver->ops->tiocmget(tty);
|
/drivers/mfd/ |
H A D | mcp-core.c | 68 mcp->ops->set_telecom_divisor(mcp, div); 85 mcp->ops->set_audio_divisor(mcp, div); 104 mcp->ops->reg_write(mcp, reg, val); 123 val = mcp->ops->reg_read(mcp, reg); 142 mcp->ops->enable(mcp); 161 mcp->ops->disable(mcp);
|
/drivers/staging/media/as102/ |
H A D | as10x_cmd_cfg.c | 58 if (adap->ops->xfer_cmd) { 59 error = adap->ops->xfer_cmd(adap, 119 if (adap->ops->xfer_cmd) { 120 error = adap->ops->xfer_cmd(adap, 174 if (adap->ops->xfer_cmd) { 175 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd,
|
/drivers/gpu/ion/ |
H A D | ion_system_mapper.c | 91 static struct ion_mapper_ops ops = { variable in typeref:struct:ion_mapper_ops 105 mapper->ops = &ops;
|
/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_pci.c | 65 priv->card_8192 = priv->ops->nic_type; 87 if (priv->ops->nic_type != priv->card_8192) { 89 priv->ops->nic_type, priv->card_8192);
|
/drivers/tty/hvc/ |
H A D | hvc_console.h | 58 const struct hv_ops *ops; member in struct:hvc_struct 84 const struct hv_ops *ops); 88 const struct hv_ops *ops, int outbuf_size);
|
/drivers/usb/gadget/ |
H A D | mass_storage.c | 107 static const struct fsg_operations ops = { local 122 config.ops = &ops;
|
/drivers/media/video/saa7134/ |
H A D | saa7134-dvb.c | 201 if (fe->ops.i2c_gate_ctrl) 202 fe->ops.i2c_gate_ctrl(fe, 1); 206 if (fe->ops.i2c_gate_ctrl) 207 fe->ops.i2c_gate_ctrl(fe, 1); 369 if (fe->ops.i2c_gate_ctrl) 370 fe->ops.i2c_gate_ctrl(fe, 1); 389 if (fe->ops.i2c_gate_ctrl) 390 fe->ops.i2c_gate_ctrl(fe, 1); 434 if (fe->ops.i2c_gate_ctrl) 435 fe->ops [all...] |
/drivers/media/dvb/ttpci/ |
H A D | budget-patch.c | 293 if (fe->ops.i2c_gate_ctrl) 294 fe->ops.i2c_gate_ctrl(fe, 1); 320 if (fe->ops.i2c_gate_ctrl) 321 fe->ops.i2c_gate_ctrl(fe, 1); 340 budget->dvb_frontend->ops.tuner_ops.set_params = alps_bsrv2_tuner_set_params; 341 budget->dvb_frontend->ops.diseqc_send_master_cmd = budget_patch_diseqc_send_master_cmd; 342 budget->dvb_frontend->ops.diseqc_send_burst = budget_patch_diseqc_send_burst; 343 budget->dvb_frontend->ops.set_tone = budget_patch_set_tone; 350 budget->dvb_frontend->ops.tuner_ops.set_params = alps_bsru6_tuner_set_params; 353 budget->dvb_frontend->ops [all...] |
/drivers/oprofile/ |
H A D | oprofile_perf.c | 272 int __init oprofile_perf_init(struct oprofile_operations *ops) argument 311 ops->create_files = oprofile_perf_create_files; 312 ops->setup = oprofile_perf_setup; 313 ops->start = oprofile_perf_start; 314 ops->stop = oprofile_perf_stop; 315 ops->shutdown = oprofile_perf_stop; 316 ops->cpu_type = op_name_from_perf_id(); 318 if (!ops->cpu_type) 321 pr_info("oprofile: using %s\n", ops->cpu_type);
|
/drivers/pci/pcie/aer/ |
H A D | aer_inject.c | 67 struct pci_ops *ops; member in struct:pci_bus_ops 119 return bus_ops->ops; 190 struct pci_ops *ops; local 210 ops = __find_pci_bus_ops(bus); 212 return ops->read(bus, devfn, where, size, val); 222 struct pci_ops *ops; local 245 ops = __find_pci_bus_ops(bus); 247 return ops->write(bus, devfn, where, size, val); 257 struct pci_ops *ops) 261 bus_ops->ops 255 pci_bus_ops_init(struct pci_bus_ops *bus_ops, struct pci_bus *bus, struct pci_ops *ops) argument 266 struct pci_ops *ops; local [all...] |